/* =====================================================
   BARAKAH360 ERP LOGIN PAGE - PREMIUM BLUE/CYAN THEME
   Palette:
   Primary  : #1A237E
   Accent   : #00E5FF
   Neutral  : #455A64
   White    : #FFFFFF
===================================================== */

/* Apply styles ONLY on login page */
body[data-path="login"] {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: "Inter", "Segoe UI", sans-serif;

    background: linear-gradient(135deg, #1A237E 0%, #455A64 100%);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Remove default spacing only on login page */
body[data-path="login"] .page-content-wrapper {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

/* Hide navbar/footer */
body[data-path="login"] .navbar,
body[data-path="login"] .web-footer,
body[data-path="login"] .page-footer {
    display: none !important;
}

/* Main wrapper */
body[data-path="login"] .barakah-login-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    min-height: 650px;
    border-radius: 22px;
    overflow: hidden;
    margin: auto;

    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.22);
}

/* ======================================
   LEFT PANEL
====================================== */
body[data-path="login"] .barakah-login-left {
    flex: 1;
    background: linear-gradient(135deg, #4F5BD5 0%, #1A237E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Login Card */
body[data-path="login"] .barakah-login-card {
    background: #ffffff;
    padding: 42px 36px;
    border-radius: 20px;
    width: 100%;
    max-width: 430px;

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
}

/* ======================================
   TEXT
====================================== */
body[data-path="login"] .welcome-title {
    font-size: 30px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 8px;
}

body[data-path="login"] .welcome-subtitle {
    font-size: 14px;
    line-height: 1.6;
    color: #455A64;
    margin-bottom: 24px;
}

/* ======================================
   INPUTS
====================================== */
body[data-path="login"] .form-control {
    border-radius: 30px;
    padding: 12px 18px 12px 42px;
    border: 1px solid #CFD8DC;
    background: #F8FAFC;
    color: #1f2937;
    transition: all 0.25s ease;
}

/* Focus */
body[data-path="login"] .form-control:focus {
    border-color: #00E5FF;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.18);
}

/* Input wrappers */
body[data-path="login"] .email-field,
body[data-path="login"] .password-field {
    position: relative;
}

/* Icons */
body[data-path="login"] .field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #455A64;
    font-size: 14px;
}

/* Show password */
body[data-path="login"] .toggle-password {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 13px;
    color: #455A64;
    font-weight: 500;
}

/* ======================================
   LOGIN BUTTON
====================================== */
body[data-path="login"] .btn-login {
    width: 100%;
    border: none;
    border-radius: 30px;
    padding: 12px;
    font-size: 16px;
    font-weight: 700;

    background: linear-gradient(135deg, #00E5FF, #00BCD4);
    color: #1A237E;

    transition: all 0.25s ease;
}

/* Hover */
body[data-path="login"] .btn-login:hover {
    transform: translateY(-2px);

    background: linear-gradient(135deg, #00D4F0, #00ACC1);

    box-shadow: 0 10px 22px rgba(0, 229, 255, 0.28);
}

/* ======================================
   FORGOT PASSWORD
====================================== */
body[data-path="login"] .forgot-password-message {
    text-align: right;
    margin-top: 10px;
    margin-bottom: 14px;
}

body[data-path="login"] .forgot-password-message a {
    color: #1A237E;
    text-decoration: none;
    font-weight: 600;
}

body[data-path="login"] .forgot-password-message a:hover {
    color: #00BCD4;
    text-decoration: underline;
}

/* ======================================
   RIGHT PANEL (LOGO SAFE ZONE)
====================================== */
body[data-path="login"] .barakah-login-right {
    flex: 1;
    background: #ffffff;   /* Keeps logo visible */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
}

/* Branding Content */
body[data-path="login"] .branding-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo (if used) */
body[data-path="login"] .branding-logo {
    max-width: 340px;
    width: 100%;
    margin-bottom: 24px;
}

/* Title */
body[data-path="login"] .branding-title {
    font-size: 44px;
    font-weight: 700;
    color: #1A237E;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

/* Tagline */
body[data-path="login"] .branding-tagline {
    font-size: 14px;
    color: #455A64;
    letter-spacing: 0.3px;
}

/* ======================================
   FOOTER
====================================== */
body[data-path="login"] .barakah-login-footer {
    width: 100%;
    max-width: 1200px;
    margin-top: 20px;

    background: #ffffff;
    color: #455A64;

    text-align: center;
    font-size: 14px;
    padding: 12px 0;

    border-radius: 8px;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.06);
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 992px) {

    body[data-path="login"] .barakah-login-wrapper {
        flex-direction: column;
        max-width: 520px;
        min-height: auto;
    }

    body[data-path="login"] .barakah-login-right {
        display: none;
    }

    body[data-path="login"] .barakah-login-left {
        padding: 25px;
    }

    body[data-path="login"] .barakah-login-card {
        max-width: 100%;
    }

    body[data-path="login"] .barakah-login-footer {
        max-width: 520px;
    }
}