﻿@import url('../fonts/bahij/Bahij_TheSansArabic-Bold.ttf');

@font-face {
    font-family: 'MyWebPlainFont';
    src: url('/fonts/bahij/Bahij_TheSansArabic-Plain.ttf') format('truetype');
}

@font-face {
    font-family: 'MyWebSemiLightFont';
    src: url('/fonts/bahij/Bahij_TheSansArabic-SemiLight.ttf') format('truetype');
}

@font-face {
    font-family: 'MyWebLightFont';
    src: url('/fonts/bahij/Bahij_TheSansArabic-Light.ttf') format('truetype');
}

@font-face {
    font-family: 'MyWebBoldFont';
    src: url('/fonts/bahij/Bahij_TheSansArabic-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'MyWebSemiBoldFont';
    src: url('/fonts/bahij/Bahij_TheSansArabic-SemiBold_0.ttf') format('truetype');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0a2b3e;
    --primary-dark: #051e2c;
    --primary-light: #1f4e6e;
    --accent: #e1b86b;
    --accent-dark: #c69c4a;
    --accent-glow: rgba(225, 184, 107, 0.25);
    --white: #ffffff;
    --bg: #f0f4f8;
    --text: #0f1c2a;
    --muted: #5f6c7a;
    --line: #e2e8f0;
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 18px 36px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    --ltn__heading-font: 'MyWebSemiLightFont';
    --ltn__body-font: 'MyWebLightFont';
    --ltn__Light-font: 'MyWebLightFont';
    --ltn__SemiLight-font: 'MyWebSemiLightFont';
    --ltn__Bold-font: 'MyWebBoldFont';
    --ltn__SemiBold-font: 'MyWebSemiBoldFont';
}

html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--ltn__body-font);
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
}

button,
input {
    font-family: inherit;
}

[dir="rtl"] body {
    direction: rtl;
    text-align: right;
}

[dir="ltr"] body {
    direction: ltr;
    text-align: left;
}

/* Header */
.header {
    min-height: 88px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 40px;
    position: sticky;
    top: 0;
    z-index: 100;
    transition: var(--transition);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex-shrink: 0;
}

.brand-logo-wrap {
    width: 68px;
    height: 68px;
    border-radius: 24px;
    background: linear-gradient(145deg, #ffffff, #f5f9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    flex-shrink: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

.brand-text h2 {
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    line-height: 1.1;
}

.brand-text p {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.5px;
}

.header-center {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.nav {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

    .nav a {
        font-size: 16px;
        font-weight: 800;
        color: #2c3e4e;
        transition: var(--transition);
        position: relative;
        white-space: nowrap;
    }

        .nav a:hover {
            color: var(--accent);
        }

        .nav a::after {
            content: '';
            position: absolute;
            bottom: -8px;
            width: 0;
            height: 3px;
            background: var(--accent);
            border-radius: 4px;
            transition: width 0.3s ease;
        }

[dir="rtl"] .nav a::after {
    right: 0;
}

[dir="ltr"] .nav a::after {
    left: 0;
}

.nav a:hover::after {
    width: 100%;
}

.header-left {
    flex-shrink: 0;
}

.header-tools {
    display: flex;
    gap: 22px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tool-link,
.lang-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    background: transparent;
    border: none;
    color: #2c3e4e;
    transition: var(--transition);
}

    .tool-link i,
    .lang-switch i {
        color: var(--accent);
        font-size: 18px;
    }

    .tool-link:hover,
    .lang-switch:hover {
        color: var(--primary);
        transform: translateY(-1px);
    }

/* Hero layout - guaranteed no overlap */
.hero {
    min-height: calc(100vh - 100px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    grid-template-areas: "content login";
    align-items: stretch;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 10% 20%, var(--primary-dark), var(--primary));
}

.hero-bg-swiper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .hero-bg-swiper .swiper-slide {
        background-size: cover;
        background-position: center;
        transform: scale(1.05);
        transition: transform 8s ease;
    }

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(125deg, rgba(5, 30, 44, 0.85) 0%, rgba(15, 50, 70, 0.78) 100%);
    backdrop-filter: brightness(0.98);
}

.content-side {
    grid-area: content;
    position: relative;
    z-index: 2;
    padding: 50px 40px;
    /*display: flex;*/
    align-items: center;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

.login-side {
    grid-area: login;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    /*      display: flex;
*/
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
}

.login-card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 25px 25px 30px;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

    .login-card:hover {
        transform: translateY(-4px);
    }

.login-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

    .login-logo img {
        width: 60px;
        height: 60px;
        object-fit: contain;
        filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.1));
    }

.login-card h2 {
    text-align: center;
    font-size: 20px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        font-weight: 800;
        margin-bottom: 10px;
        color: #1e3a4b;
        font-size: 14px;
    }

.input-wrap {
    position: relative;
}

    .input-wrap input {
        width: 100%;
        height: 62px;
        border: 1.5px solid #e2edf2;
        border-radius: 20px;
        background: white;
        font-size: 16px;
        font-weight: 500;
        transition: all 0.2s;
        outline: none;
    }

[dir="rtl"] .input-wrap input {
    padding-right: 50px;
    padding-left: 52px;
    text-align: right;
}

[dir="ltr"] .input-wrap input {
    padding-left: 50px;
    padding-right: 52px;
    text-align: left;
}

.input-wrap input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 5px var(--accent-glow);
}

.input-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 20px;
    pointer-events: none;
}

[dir="rtl"] .input-icon {
    left: 20px;
}

[dir="ltr"] .input-icon {
    right: 20px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--primary-light);
    transition: 0.2s;
}

[dir="rtl"] .toggle-password {
    right: 18px;
}

[dir="ltr"] .toggle-password {
    left: 18px;
}

.options-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0 28px;
    gap: 10px 20px;
    flex-wrap: wrap;
}

.remember {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #4b5e6c;
}

.forgot {
    font-weight: 900;
    color: var(--accent-dark);
    transition: 0.2s;
}

    .forgot:hover {
        color: var(--primary);
        text-decoration: underline;
    }

.submit-btn {
    width: 100%;
    height: 60px;
    border: none;
    border-radius: 40px;
    background: linear-gradient(95deg, var(--primary), var(--primary-light));
    color: white;
    font-size: 20px;
    font-weight: 900;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 12px 28px rgba(10, 43, 62, 0.3);
}

    .submit-btn:hover {
        transform: scale(0.98);
        background: linear-gradient(95deg, var(--primary-dark), var(--primary));
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

.register-link {
    display: block;
    text-align: center;
    margin-top: 24px;
    font-weight: 900;
    color: var(--primary);
}

    .register-link:hover {
        color: var(--accent-dark);
        text-decoration: underline;
    }

/* Content side */
.content-wrap {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: minmax(320px, 420px) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}

.hero-copy,
.devices,
.laptop,
.mobile {
    min-width: 150px;
}

    .hero-copy h1 {
        font-size: 36px;
        font-weight: 900;
        line-height: 1.2;
        margin-bottom: 15px;
        color: white;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .hero-copy p {
        font-size: 18px;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.92);
        margin-bottom: 32px;
        max-width: 600px;
    }

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    min-width: 180px;
    height: 58px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 18px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

    .hero-btn.primary {
        background: white;
        color: var(--primary);
        box-shadow: 0 12px 22px rgba(0, 0, 0, 0.2);
    }

        .hero-btn.primary:hover {
            transform: translateY(-3px);
            background: var(--accent);
            color: var(--primary-dark);
        }

    .hero-btn.outline {
        background: transparent;
        border: 2px solid rgba(255, 255, 255, 0.6);
        color: white;
    }

        .hero-btn.outline:hover {
            background: rgba(255, 255, 255, 0.15);
            border-color: white;
            transform: translateY(-2px);
        }

.logos-row {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border-radius: 60px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 800;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Devices */
.devices {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.laptop {
    width: min(100%, 400px);
    background: #eef3f8;
    border-radius: 18px;
    padding: 12px;
    box-shadow: 0 35px 50px rgba(0, 0, 0, 0.3);
    border-bottom: 6px solid #b9c4ce;
    position: relative;
    z-index: 1;
}

.laptop-screen {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.screen-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--primary);
    font-size: 14px;
}

.screen-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.screen-card {
    background: #f9fdfe;
    border-radius: 16px;
    padding: 16px 8px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: 1px solid #e9f0f4;
}

    .screen-card:hover {
        transform: translateY(-5px);
        border-color: var(--accent);
        box-shadow: var(--shadow-sm);
    }

    .screen-card i {
        font-size: 28px;
        color: var(--accent);
        margin-bottom: 10px;
        display: block;
    }

    .screen-card span {
        font-size: 12px;
        font-weight: 800;
        color: var(--primary);
    }

.laptop-base {
    height: 14px;
    background: #b0bec5;
    width: 450px;
    max-width: 100%;
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 0 0 18px 18px;
    z-index: 0;
}

.mobile {
    position: absolute;
    bottom: 30px;
    width: 130px;
    max-width: 38%;
    background: #111;
    border-radius: 28px;
    padding: 8px;
    box-shadow: 0 20px 32px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

[dir="rtl"] .mobile {
    left: 0;
}

[dir="ltr"] .mobile {
    right: 0;
}

.mobile-screen {
    background: white;
    border-radius: 20px;
    padding: 16px 10px;
    text-align: center;
}

.mobile-head {
    font-weight: 900;
    font-size: 12px;
    color: var(--primary);
}

.mini-btn {
    background: var(--accent);
    border: none;
    width: 100%;
    padding: 8px;
    border-radius: 30px;
    font-weight: 900;
    margin: 12px 0;
    cursor: pointer;
    transition: 0.2s;
}

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

    .mini-grid div {
        background: #f4f9fe;
        border-radius: 14px;
        padding: 10px 4px;
        font-size: 10px;
        font-weight: 800;
        color: var(--primary);
        line-height: 1.4;
    }

/* Assist */
.assist-tools {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.assist-btn {
    width: 56px;
    height: 56px;
    background: rgba(10, 43, 62, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 26px;
    transition: 0.2s;
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

    .assist-btn:hover {
        transform: scale(1.08);
        background: var(--accent);
        color: var(--primary);
    }

/* Large tablet */
@media (max-width: 1200px) {
    .hero {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    }

    .content-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .devices {
        min-height: 400px;
    }

    .hero-copy h1 {
        font-size: 36px;
    }

    .hero-copy p {
        font-size: 17px;
    }

    .laptop {
        width: min(100%, 360px);
    }

    .laptop-base {
        width: min(100%, 410px);
    }

    .mobile {
        width: 110px;
        bottom: 18px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .header {
        padding: 14px 24px;
        justify-content: center;
    }

    .header-center {
        order: 3;
        width: 100%;
    }

    .nav {
        gap: 18px;
    }

    .hero {
        grid-template-columns: 1fr;
        grid-template-areas:
            "content"
            "login";
        min-height: auto;
    }

    .content-side,
    .login-side {
        width: 100%;
        padding: 30px 20px;
    }

    .content-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 760px;
        margin: 0 auto;
    }

    .devices {
        order: 2;
        min-height: 360px;
    }

    .hero-copy {
        order: 1;
    }

        .hero-copy h1 {
            font-size: 36px;
        }

        .hero-copy p {
            max-width: 100%;
        }

    .login-card {
        max-width: 760px;
    }

    .laptop {
        width: min(100%, 340px);
    }

    .laptop-base {
        width: min(100%, 390px);
    }

    .mobile {
        width: 100px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        min-height: 78px;
        gap: 14px;
    }

    .brand-logo-wrap {
        width: 56px;
        height: 56px;
        border-radius: 18px;
    }

    .brand-logo {
        width: 42px;
        height: 42px;
    }

    .brand-text h2 {
        font-size: 20px;
    }

    .nav {
        gap: 14px;
    }

        .nav a {
            font-size: 14px;
        }

    .header-tools {
        gap: 14px;
    }

    .content-side,
    .login-side {
        padding: 24px 16px;
    }

    .login-card {
        padding: 26px 18px 30px;
        border-radius: 24px;
    }

        .login-card h2 {
            font-size: 26px;
            margin-bottom: 15px;
        }

    .content-wrap {
        gap: 20px;
    }

    .hero-copy h1 {
        font-size: 31px;
        line-height: 1.35;
    }

    .hero-copy p {
        font-size: 15px;
        line-height: 1.9;
    }

    .hero-actions {
        gap: 12px;
    }

    .hero-btn {
        width: 100%;
        min-width: 0;
        height: 54px;
        font-size: 16px;
    }

    .devices {
        min-height: 290px;
        padding-inline: 10px;
    }

    .laptop {
        width: min(100%, 280px);
        padding: 8px;
        border-radius: 14px;
    }

    .laptop-screen {
        padding: 12px;
    }

    .screen-head {
        font-size: 11px;
        margin-bottom: 12px;
    }

    .screen-cards {
        gap: 8px;
    }

    .screen-card {
        padding: 10px 6px;
        border-radius: 12px;
    }

        .screen-card i {
            font-size: 20px;
            margin-bottom: 6px;
        }

        .screen-card span {
            font-size: 11px;
        }

    .laptop-base {
        width: min(100%, 310px);
        height: 10px;
        bottom: 14px;
    }

    .mobile {
        width: 84px;
        border-radius: 18px;
        padding: 5px;
        bottom: 10px;
    }

    [dir="rtl"] .mobile {
        left: 2px;
    }

    [dir="ltr"] .mobile {
        right: 2px;
    }

    .mobile-screen {
        border-radius: 14px;
        padding: 10px 6px;
    }

    .mobile-head {
        font-size: 9px;
    }

    .mini-btn {
        font-size: 10px;
        padding: 6px;
        margin: 8px 0;
    }

    .mini-grid {
        gap: 5px;
    }

        .mini-grid div {
            font-size: 8px;
            padding: 6px 2px;
            border-radius: 10px;
        }

    .assist-tools {
        right: 14px;
        bottom: 14px;
    }

    .assist-btn {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }

    .brand {
        gap: 10px;
    }

    .brand-text h2 {
        font-size: 17px;
    }

    .brand-text p {
        font-size: 10px;
    }

    .content-side,
    .login-side {
        padding: 20px 12px;
    }

    .hero-copy h1 {
        font-size: 26px;
    }

    .hero-copy p {
        font-size: 14px;
    }

    .badge {
        font-size: 12px;
        padding: 7px 14px;
    }

    .login-card {
        padding: 18px 10px 20px;
    }

    .input-wrap input {
        height: 56px;
        font-size: 14px;
    }

    .submit-btn {
        height: 54px;
        font-size: 17px;
    }

    .devices {
        min-height: 240px;
    }

    .laptop {
        width: min(100%, 230px);
    }

    .laptop-base {
        width: min(100%, 255px);
    }

    .mobile {
        display: none;
    }
}

/* =========================================================
   Enterprise Login Card Enhancement - style only
   Scope: login card and its inner elements only
   ========================================================= */
.login-side .login-card {
    position: relative;
    isolation: isolate;
    max-width: 390px;
    padding: 28px 28px 30px;
    overflow: hidden;
    border-radius: 34px;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,251,253,0.94));
    border: 1px solid rgba(255,255,255,0.78);
    box-shadow: 0 34px 75px rgba(3, 22, 34, 0.28), 0 14px 35px rgba(10, 43, 62, 0.16), inset 0 1px 0 rgba(255,255,255,0.95);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
}

    .login-side .login-card::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -2;
        background: radial-gradient(circle at 14% 4%, rgba(225,184,107,0.28), transparent 34%), radial-gradient(circle at 88% 16%, rgba(31,78,110,0.18), transparent 32%), linear-gradient(135deg, rgba(255,255,255,0.85), rgba(255,255,255,0.18));
    }

    .login-side .login-card::after {
        content: "";
        position: absolute;
        top: 0;
        left: 28px;
        right: 28px;
        height: 4px;
        border-radius: 0 0 999px 999px;
        background: linear-gradient(90deg, transparent, var(--accent), var(--primary-light), transparent);
        opacity: 0.95;
    }

    .login-side .login-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 42px 92px rgba(3, 22, 34, 0.32), 0 18px 42px rgba(10, 43, 62, 0.18), inset 0 1px 0 rgba(255,255,255,0.95);
    }

.login-side .login-logo {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 18px;
    align-items: center;
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(239,246,250,0.92));
    border: 1px solid rgba(226, 237, 242, 0.95);
    box-shadow: 0 16px 34px rgba(10, 43, 62, 0.14), inset 0 1px 0 rgba(255,255,255,0.95);
}

    .login-side .login-logo::before {
        content: "";
        position: absolute;
        inset: -6px;
        border-radius: 30px;
        border: 1px solid rgba(225,184,107,0.32);
        opacity: 0.8;
    }

    .login-side .login-logo img {
        width: 55px;
        height: 55px;
        filter: drop-shadow(0 8px 14px rgba(10, 43, 62, 0.16));
    }

.login-side .login-card h2 {
    margin-bottom: 22px;
    color: var(--primary);
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.7px;
}

.login-side .form-group {
    margin-bottom: 16px;
}

    .login-side .form-group label {
        margin-bottom: 9px;
        color: #173447;
        font-size: 13px;
        letter-spacing: 0.1px;
    }

.login-side .input-wrap {
    border-radius: 19px;
}

    .login-side .input-wrap input {
        height: 56px;
        border-radius: 19px;
        border: 1px solid rgba(203, 219, 228, 0.95);
        background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,251,253,0.94));
        color: #0f1c2a;
        font-size: 14px;
        font-weight: 700;
        box-shadow: 0 10px 22px rgba(10, 43, 62, 0.055), inset 0 1px 0 rgba(255,255,255,0.95);
    }

        .login-side .input-wrap input::placeholder {
            color: rgba(95,108,122,0.68);
            font-weight: 600;
        }

        .login-side .input-wrap input:hover {
            border-color: rgba(225,184,107,0.68);
            box-shadow: 0 12px 26px rgba(10, 43, 62, 0.075), inset 0 1px 0 rgba(255,255,255,0.95);
        }

        .login-side .input-wrap input:focus {
            border-color: var(--accent);
            background: #ffffff;
            box-shadow: 0 0 0 5px rgba(225,184,107,0.20), 0 16px 32px rgba(10,43,62,0.10);
        }

.login-side .input-icon,
.login-side .toggle-password {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(225,184,107,0.12);
    color: var(--primary-light);
    font-size: 15px;
}

    .login-side .toggle-password:hover {
        color: var(--accent-dark);
        background: rgba(225,184,107,0.20);
    }

[dir="rtl"] .login-side .input-icon {
    left: 14px;
}

[dir="ltr"] .login-side .input-icon {
    right: 14px;
}

[dir="rtl"] .login-side .toggle-password {
    right: 14px;
}

[dir="ltr"] .login-side .toggle-password {
    left: 14px;
}

.login-side .submit-btn {
    position: relative;
    height: 56px;
    margin-top: 6px;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 45%, var(--primary-light) 100%);
    font-size: 17px;
    letter-spacing: -0.2px;
    box-shadow: 0 16px 30px rgba(10,43,62,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
}

    .login-side .submit-btn::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
        transform: translateX(120%);
        transition: transform 0.6s ease;
    }

    .login-side .submit-btn:hover {
        transform: translateY(-2px);
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 58%, var(--accent-dark) 140%);
        box-shadow: 0 20px 38px rgba(10,43,62,0.32), inset 0 1px 0 rgba(255,255,255,0.20);
    }

        .login-side .submit-btn:hover::before {
            transform: translateX(-120%);
        }

    .login-side .submit-btn:active {
        transform: translateY(0) scale(0.99);
    }

@media (max-width: 992px) {
    .login-side .login-card {
        max-width: 520px;
    }
}

@media (max-width: 768px) {
    .login-side .login-card {
        max-width: 100%;
        padding: 24px 20px 26px;
        border-radius: 28px;
    }

        .login-side .login-card h2 {
            font-size: 22px;
        }
}

@media (max-width: 480px) {
    .login-side .login-card {
        padding: 22px 16px 24px;
        border-radius: 24px;
    }

    .login-side .input-wrap input,
    .login-side .submit-btn {
        height: 54px;
    }
}
