/* =========================================================
   AUTHENTICATION PAGES
========================================================= */
:root {
    --sayyar-primary: #3f9ed6;
    --sayyar-primary-dark: #084298;
    --sayyar-secondary: #0f172a;
    --sayyar-text: #334155;
    --sayyar-light: #f8fafc;
    --sayyar-border: #e2e8f0;
    --sayyar-white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Cairo", sans-serif;
    color: var(--sayyar-text);
    background: #ffffff;
    overflow-x: hidden;
}

.sayyar-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.sayyar-logo img {
    display: block;
    width: 150px;
    height: auto;
    object-fit: contain;
}

.sayyar-auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #ffffff;
}

.auth-page {
    min-height: 100vh;
    width: 100%;
}

.auth-row {
    min-height: 100vh;
}

/* =========================================================
   AUTH LEFT SIDE
========================================================= */

.auth-left {
    position: relative;
    min-height: 100vh;
    color: #ffffff;
    overflow: hidden;
}

.auth-left-partner {
    background: linear-gradient(
        135deg,
        var(--sayyar-primary) 0%,
        var(--sayyar-primary-dark) 100%
    );
}

.auth-left-admin {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

/* Background Decoration */

.auth-left::before {
    content: "";
    position: absolute;
    width: 550px;
    height: 550px;
    border: 90px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    top: -250px;
    right: -200px;
}

.auth-left::after {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border: 70px solid rgba(255, 255, 255, 0.035);
    border-radius: 50%;
    bottom: -200px;
    left: -150px;
}

/* Left Content */

.auth-left-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: 45px 8%;
    display: flex;
    flex-direction: column;
}

.auth-logo {
    display: inline-block;
    width: fit-content;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -1px;
}

.auth-logo:hover {
    color: #ffffff;
}

.auth-logo span {
    color: #93c5fd;
}

/* Left Main */

.auth-left-main {
    max-width: 570px;
    margin-top: auto;
    margin-bottom: auto;
    padding: 40px 0;
}

.auth-small-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 18px;
}

.auth-left-main h1 {
    font-size: 48px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 20px;
    color: #ffffff;
}

.auth-left-main h1 em {
    color: #bfdbfe;
    font-style: normal;
}

.auth-left-main h2 {
    font-size: 27px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 18px;
    color: #ffffff;
}

.auth-left-main h2 em {
    color: #bfdbfe;
    font-style: normal;
}

.auth-left-main > p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    line-height: 1.8;
    max-width: 520px;
}

/* =========================================================
   PARTNER BENEFITS
========================================================= */

.auth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.auth-benefit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
}

.auth-benefit span {
    color: #bfdbfe;
    font-size: 16px;
    font-weight: 800;
}

/* =========================================================
   ADMIN FEATURES
========================================================= */

.admin-features {
    margin-top: 30px;
}

.admin-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 17px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

.admin-feature-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #93c5fd;
    font-size: 17px;
}

.admin-restricted-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 520px;
    margin-top: 30px;
    padding: 14px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.65);
    font-size: 12px;
    line-height: 1.6;
}

.admin-restricted-notice i {
    color: #93c5fd;
    margin-top: 2px;
}

/* =========================================================
   LEFT FOOTER
========================================================= */

.auth-left-footer {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
}

/* =========================================================
   AUTH RIGHT SIDE
========================================================= */

.auth-right {
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 560px;
    padding: 50px;
}

.auth-form-container {
    width: 100%;
}

/* Form Header */

.auth-form-header {
    margin-bottom: 35px;
}

.auth-form-label {
    color: #0b5ed7;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
}

.auth-form-header h2 {
    color: #0f172a;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-form-header p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* =========================================================
   FORM
========================================================= */

.auth-form .form-label {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 9px;
}

.auth-input-wrapper {
    position: relative;
    width: 100%;
}

.auth-input-wrapper > i:first-child {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 17px;
    z-index: 2;
    display: flex;
    width: max-content;
}

.auth-input {
    height: 52px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    padding: 0 48px;
    color: #0f172a;
    font-size: 14px;
    box-shadow: none !important;
    transition: all 0.2s ease;
}

.auth-input::placeholder {
    color: #94a3b8;
}

.auth-input:focus {
    border-color: #0b5ed7;
    box-shadow: 0 0 0 3px rgba(11, 94, 215, 0.08) !important;
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #94a3b8;
    padding: 5px;
    cursor: pointer;
    z-index: 3;
}

.password-toggle:hover {
    color: #0b5ed7;
}

/* =========================================================
   FORGOT PASSWORD
========================================================= */

.auth-forgot-link {
    color: #0b5ed7;
    font-size: 12px;
    font-weight: 600;
}

.auth-forgot-link:hover {
    color: #084298;
}

/* =========================================================
   CHECKBOX
========================================================= */

.auth-form .form-check-input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border-color: #cbd5e1;
    box-shadow: none;
}

.auth-form .form-check-input:checked {
    background-color: #0b5ed7;
    border-color: #0b5ed7;
}

.auth-form .form-check-label {
    color: #64748b;
    font-size: 13px;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.auth-submit-btn {
    height: 52px;
    border: 0;
    border-radius: 8px;
    background: #0b5ed7;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.auth-submit-btn:hover {
    background: #084298;
    color: #ffffff;
    transform: translateY(-1px);
}

/* =========================================================
   BOTTOM TEXT
========================================================= */

.auth-bottom-text {
    text-align: center;
    color: #64748b;
    font-size: 13px;
    margin-top: 25px;
    line-height: 1.7;
}

.auth-bottom-text a {
    color: #0b5ed7;
    font-weight: 700;
}

.auth-bottom-text a:hover {
    color: #084298;
}

/* =========================================================
   SECURE ADMIN MESSAGE
========================================================= */

.secure-login-message {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
    padding: 13px 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

.secure-login-message i {
    color: #0b5ed7;
    margin-top: 2px;
}

/* =========================================================
   RESPONSIVE AUTH
========================================================= */

@media (max-width: 1199px) {
    .auth-left-main h1 {
        font-size: 42px;
    }

    .auth-left-main h2 {
        font-size: 24px;
    }

    .auth-form-wrapper {
        padding: 40px;
    }
}

@media (max-width: 991px) {
    .auth-row {
        min-height: auto;
    }

    .auth-left {
        min-height: auto;
    }

    .auth-left-content {
        min-height: 560px;
        padding: 35px 8%;
    }

    .auth-left-main {
        margin-top: 70px;
        margin-bottom: 50px;
        padding: 0;
    }

    .auth-left-footer {
        margin-top: auto;
    }

    .auth-right {
        min-height: auto;
    }

    .auth-form-wrapper {
        max-width: 650px;
        padding: 60px 8%;
    }
}

@media (max-width: 767px) {
    .auth-left-content {
        min-height: 500px;
        padding: 30px 25px;
    }

    .auth-logo {
        font-size: 28px;
    }

    .auth-left-main {
        margin-top: 55px;
    }

    .auth-left-main h1 {
        font-size: 36px;
    }

    .auth-left-main h2 {
        font-size: 22px;
    }

    .auth-left-main > p {
        font-size: 14px;
    }

    .auth-benefits {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-form-wrapper {
        padding: 50px 25px;
    }

    .auth-form-header h2 {
        font-size: 28px;
    }
}

@media (max-width: 575px) {
    .auth-left-content {
        min-height: 470px;
        padding: 25px 20px;
    }

    .auth-left-main h1 {
        font-size: 31px;
    }

    .auth-left-main h2 {
        font-size: 20px;
    }

    .auth-form-wrapper {
        padding: 40px 20px;
    }

    .auth-form-header h2 {
        font-size: 25px;
    }

    .auth-input {
        height: 50px;
    }

    .auth-submit-btn {
        height: 50px;
    }
}
