.ibm-plex-sans-arabic-thin {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-sans-arabic-extralight {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-sans-arabic-light {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-sans-arabic-regular {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-arabic-medium {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-sans-arabic-semibold {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-sans-arabic-bold {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-style: normal;
}
*{
            box-sizing:border-box;
            margin:0;
            padding:0;
        }

        body{
    font-family:'IBM Plex Sans Arabic', sans-serif;
    min-height:100dvh;
    background: linear-gradient(90deg, #0A372E 0%, #072721 100%);
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:24px;
    position:relative;
    overflow-x:hidden;
    overflow-y:auto;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  background: #CAA674;
  border-radius: 999px;
}

html,
body{
  scrollbar-color: #CAA674 transparent;
  scrollbar-width: thin;
}
.auth-page{
    width:100%;
    min-height:calc(100dvh - 48px);
    display:flex;
    align-items:center;
    justify-content:center;
    position:relative;
    z-index:2;
    padding:28px 0;
}

.auth-card{
    width:100%;
    max-width:540px;
    background:#fff;
    border-radius:28px;
    padding:36px 32px 28px;
    box-shadow:0 20px 60px rgba(0,0,0,.18);
    margin:auto 0;
}

.form-input{
    width:100%;
    height:48px;
    border:1px solid #E5E7EB;
    border-radius:999px;
    background:#fff;
    padding:0 48px 0 18px;
    outline:none;
    font-size:15px;
    color:#111827;
}

.input-icon{
    position:absolute;
    right:16px;
    left:auto;
    top:50%;
    transform:translateY(-50%);
    color:#A3ABA9;
    font-size:20px;
    pointer-events:none;
}

.phone-input{
    direction:ltr;
    text-align:left;
    padding-right:48px;
    padding-left:18px;
}

        .auth-logo{
            text-align:center;
            margin-bottom:18px;
        }

        .auth-logo img{
            height:54px;
            width:auto;
        }

        .auth-title{
            text-align:center;
            color:#0B221D;
            font-size:24px;
            font-weight:700;
            margin-bottom:8px;
            line-height:1.5;
        }

        .auth-subtitle{
            text-align:center;
            color:#97A3A0;
            font-size:15px;
            line-height:1.8;
        }

        .auth-switch{
            background:#F4F6F5;
            border-radius:999px;
            padding:4px;
            display:grid;
            grid-template-columns:1fr 1fr;
            gap:4px;
            margin-bottom:28px;
        }

        .auth-switch button{
            height:48px;
            border:none;
            border-radius:999px;
            background:transparent;
            color:#8D9996;
            font-size:16px;
            font-weight:500;
            cursor:pointer;
        }

        .auth-switch button.active{
            background:#fff;
            color:#0A372E;
            box-shadow:0 2px 8px rgba(0,0,0,.06);
        }

        .form-group{
            margin-bottom:18px;
        }

        .form-label{
            display:block;
            margin-bottom:10px;
            color:#111827;
            font-size:15px;
            font-weight:600;
        }

        .input-wrap{
            position:relative;
        }

    
        .form-input::placeholder{
            color:#B6BEBC;
        }



        .forgot-link{
            display:inline-block;
            margin-top:6px;
            color:#3B4A46;
            font-size:14px;
            text-decoration:none;
        }

        .submit-btn{
            width:100%;
            height:52px;
            border:none;
            border-radius:999px;
            background:#C9A56A;
            color:#111827;
            font-size:18px;
            font-weight:700;
            cursor:pointer;
            margin-top:16px;
        }

        .guest-link{
            display:block;
            text-align:center;
            margin-top:18px;
            color:#0A372E;
            font-size:15px;
            font-weight:600;
            text-decoration:underline;
        }

        .bg-star{
            position:absolute;
            width:70px;
            opacity:1 !important;
            pointer-events:none;
        }

        .star-1{ top:80px; left:160px; }
        .star-2{ top:200px; right:170px; }
        .star-3{ bottom:160px; left:200px; }
        .star-4{ bottom:100px; right:140px; }

        @media (max-width: 575px){
            .auth-card{
                padding:28px 20px 24px;
                border-radius:22px;
            }

            .auth-title{
                font-size:21px;
            }

            .auth-subtitle{
                font-size:14px;
            }

            .auth-switch button,
            .form-input{
                height:46px;
            }

            .submit-btn{
                height:48px;
                font-size:16px;
            }
        }
        @media (max-width: 575px){
    body{
        padding:16px;
    }

    .auth-page{
        min-height:auto;
        padding:20px 0;
    }

    .auth-card{
        padding:24px 18px 22px;
    }
}
.password-wrap .form-input{
    padding-left:80px;
}

.password-toggle{
    position:absolute;
    left:16px;
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:transparent;
    font-size:22px;
    cursor:pointer;
    color:#111827;
    line-height:1;
}

[dir="rtl"] .password-wrap .form-input{
    padding-left:18px;
    padding-right:80px;
}

[dir="rtl"] .password-wrap .password-toggle{
    left:16px;
}
.password-toggle{
    position:absolute;
    left:16px; /* لأنك RTL */
    top:50%;
    transform:translateY(-50%);
    border:none;
    background:transparent;
    cursor:pointer;
    display:flex;
    align-items:center;
    justify-content:center;
}

.eye-icon{
    width:20px;
    height:20px;
}
.phone-wrap{
    position: relative;
}

.country-code{
    position: absolute;
    left: 16px; 
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #041713;
    font-weight: 500;
}

.phone-input{
    padding-left: 55px !important;
    direction: ltr;
    text-align: left;
}
       .otp-form{
            width:100%;
        }

        .otp-group{
            display:flex;
            align-items:center;
            justify-content:center;
            gap:12px;
            direction:ltr;
            margin-bottom:34px;
        }

        .otp-input{
            width:68px;
            height:68px;
            border-radius:50%;
            border:1.5px solid #D9DDE3;
            background:#fff;
            text-align:center;
            font-size:24px;
            font-weight:600;
            color:#0B221D;
            outline:none;
            transition:.2s ease;
        }

        .otp-input:focus{
            border-color:#C9A56A;
            box-shadow:0 0 0 3px rgba(201,165,106,.14);
        }

        .otp-separator{
            color:#0B221D;
            font-size:28px;
            font-weight:500;
            line-height:1;
            margin:0 2px;
        }

        .submit-btn{
            width:100%;
            height:52px;
            border:none;
            border-radius:999px;
            background:#C9A56A;
            color:#111827;
            font-size:18px;
            font-weight:700;
            cursor:pointer;
            margin-bottom:20px;
        }

        .otp-links{
            display:flex;
            align-items:center;
            justify-content:center;
            gap:14px;
            flex-wrap:wrap;
            font-size:15px;
        }

        .otp-links .muted-link{
            color:#A0A8B0;
            text-decoration:underline;
        }

        .otp-links .resend-link{
            color:#0A372E;
            font-weight:600;
            text-decoration:underline;
        }
.back-link{
            color:#0A372E;
            font-weight:600;
            text-decoration:underline;
            text-align: center;
        }
        .bg-star{
            position:absolute;
            width:70px;
            opacity:.12;
            pointer-events:none;
        }

        .star-1{ top:80px; left:160px; }
        .star-2{ top:200px; right:170px; }
        .star-3{ bottom:160px; left:200px; }
        .star-4{ bottom:100px; right:140px; }

        @media (max-width: 575px){
            body{
                padding:16px;
            }

            .auth-card{
                padding:28px 18px 24px;
                border-radius:22px;
            }

            .auth-title{
                font-size:21px;
            }

            .auth-subtitle{
                font-size:14px;
            }

            .verify-number{
                font-size:15px;
                align-items: center;
                color: #0A372E;
                font-weight: 700;
            }

            .otp-group{
                gap:8px;
            }

            .otp-input{
                width:52px;
                height:52px;
                font-size:20px;
            }

            .otp-separator{
                font-size:22px;
            }

            .submit-btn{
                height:48px;
                font-size:16px;
            }
        }
        /*لوحة التحكم*/
        * {
    box-sizing: border-box;
}

.dashboard-auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    position: relative;
}

.dashboard-auth-container {
    width: 100%;
    max-width: 1240px;
}

.dashboard-auth-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.88fr;
    gap: 36px;
    align-items: center;
}

.dashboard-auth-visual {
    order: 1;
}

.dashboard-auth-form-side {
    order: 2;
    display: flex;
    justify-content: center;
}

.dashboard-visual-card {
    position: relative;
    background: #02473D;
    border-radius: 28px;
    min-height: 650px;
    padding: 42px 34px 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dashboard-brand {
    margin-bottom: 22px;
}

.dashboard-brand img {
    width: 92px;
    height: auto;
    display: block;
}

.dashboard-visual-copy {
    max-width: 430px;
    text-align: center;
    margin-bottom: 28px;
}

.dashboard-visual-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1.8;
    font-weight: 700;
}

.dashboard-preview-card {
    width: 100%;
    max-width: 470px;
    background: #F3F5F3;
    border: 2px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    padding: 10px;
    box-shadow: 0 18px 32px rgba(0,0,0,0.12);
    margin-top: auto;
    margin-bottom: 26px;
}

.dashboard-preview-card img {
    width: 100%;
    display: block;
    border-radius: 10px;
}

.dashboard-visual-links {
    display: flex;
    align-items: center;
    gap: 26px;
    flex-wrap: wrap;
    justify-content: center;
}

.dashboard-visual-links a {
    color: rgba(255,255,255,0.82);
    font-size: 12px;
    font-weight: 400;
}

.dashboard-auth-form-wrap {
    width: 100%;
    max-width: 410px;
}

.dashboard-auth-title {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.6;
    font-weight: 700;
    color: #111827;
}

.dashboard-auth-subtitle {
    margin: 0 0 28px;
    font-size: 13px;
    line-height: 1.9;
    color: #6F7B76;
}

.dashboard-auth-switch {
    width: 100%;
    background: #F0F1ED;
    border-radius: 999px;
    padding: 4px;
    display: flex;
    margin-bottom: 26px;
}

.dashboard-auth-switch button {
    flex: 1;
    border: 0;
    background: transparent;
    border-radius: 999px;
    height: 38px;
    font-size: 13px;
    font-weight: 500;
    color: #8A8F98;
    transition: 0.2s ease;
}

.dashboard-auth-switch button.active {
    background: #fff;
    color: #0A372E;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dashboard-auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #111827;
}

.dashboard-input-wrap {
    position: relative;
}

.dashboard-form-input {
    width: 100%;
    height: 52px;
    border: 1px solid #E4E7EC;
    border-radius: 999px;
    background: #fff;
    padding: 0 46px 0 18px;
    font-size: 13px;
    color: #111827;
    outline: none;
}

.dashboard-form-input::placeholder {
    color: #B5BBC2;
}

.dashboard-input-wrap .input-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.phone-wrap .country-code {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: #6B7280;
    direction: ltr;
}

.phone-wrap .dashboard-form-input {
    padding-left: 72px;
}

.dashboard-submit-btn {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #C9A66B;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-top: 4px;
    cursor: pointer;
}

.dashboard-submit-btn:hover {
    filter: brightness(0.98);
}

.dashboard-star {
    position: absolute;
    opacity: 0.22;
    pointer-events: none;
}

.star-1 {
    top: 70px;
    right: 140px;
    width: 28px;
}

.star-2 {
    bottom: 100px;
    left: 140px;
    width: 42px;
}

.star-3 {
    top: 50%;
    left: 90px;
    width: 24px;
}

.visual-star {
    position: absolute;
    opacity: 0.16;
    pointer-events: none;
}

.visual-star-1 {
    top: 24px;
    right: 34px;
    width: 30px;
}

.visual-star-2 {
    top: 72px;
    left: 42px;
    width: 42px;
}

@media (max-width: 991.98px) {
    .dashboard-auth-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .dashboard-auth-visual {
        order: 2;
    }

    .dashboard-auth-form-side {
        order: 1;
    }

    .dashboard-visual-card {
        min-height: auto;
        padding: 30px 20px 24px;
    }

    .dashboard-visual-copy h2 {
        font-size: 18px;
    }

    .dashboard-auth-title {
        font-size: 24px;
    }
}
.gold-word{
    color: #C9A66B;
}
 .dashboard-auth-page {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 28px;
            position: relative;
        }

        .dashboard-auth-container {
            width: 100%;
            max-width: 1240px;
        }

        .dashboard-auth-grid {
            display: grid;
            grid-template-columns: 1.02fr 0.88fr;
            gap: 36px;
            align-items: center;
        }

        .dashboard-auth-visual {
            order: 1;
        }

        .dashboard-auth-form-side {
            order: 2;
            display: flex;
            justify-content: center;
        }

        .dashboard-visual-card {
            position: relative;
            background: #02473D;
            border-radius: 28px;
            min-height: 650px;
            padding: 42px 34px 28px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .dashboard-brand {
            margin-bottom: 22px;
        }

        .dashboard-brand img {
            width: 92px;
            height: auto;
            display: block;
        }

        .dashboard-visual-copy {
            max-width: 430px;
            text-align: center;
            margin-bottom: 28px;
        }

    
        .gold-word {
            color: #CAA674;
        }

        .dashboard-preview-card {
            width: 100%;
            max-width: 470px;
            background: #F3F5F3;
            border: 2px solid rgba(255,255,255,0.22);
            border-radius: 16px;
            padding: 10px;
            box-shadow: 0 18px 32px rgba(0,0,0,0.12);
            margin-top: auto;
            margin-bottom: 26px;
        }

        .dashboard-preview-card img {
            width: 100%;
            display: block;
            border-radius: 10px;
        }

        .dashboard-visual-links {
            display: flex;
            align-items: center;
            gap: 26px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .dashboard-visual-links a {
            color: rgba(255,255,255,0.82);
            font-size: 12px;
            font-weight: 400;
        }

        .dashboard-auth-form-wrap {
            width: 100%;
            max-width: 410px;
        }

        .dashboard-auth-title {
            margin: 0 0 10px;
            font-size: 30px;
            line-height: 1.6;
            font-weight: 700;
            color: #111827;
            text-align: center;
        }

        .dashboard-auth-subtitle {
            margin: 0 0 4px;
            font-size: 13px;
            line-height: 1.9;
            color: #6F7B76;
            text-align: center;
        }

        .dashboard-verify-number {
            margin: 0 0 24px;
            font-size: 14px;
            color: #0A372E;
            font-weight: 700;
            text-align: center;
        }

        .dashboard-otp-form {
            width: 100%;
        }

        .dashboard-otp-group {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 22px;
            direction: ltr;
        }

        .dashboard-otp-input {
            width: 44px;
            height: 44px;
            border: 1px solid #E4E7EC;
            border-radius: 50%;
            background: #fff;
            text-align: center;
            font-size: 18px;
            font-weight: 600;
            color: #111827;
            outline: none;
        }

        .dashboard-otp-input:focus {
            border-color: #CAA674;
            box-shadow: 0 0 0 3px rgba(202, 166, 116, 0.12);
        }

        .dashboard-otp-separator {
            font-size: 20px;
            color: #98A2B3;
            line-height: 1;
            transform: translateY(-1px);
        }

        .dashboard-submit-btn {
            width: 100%;
            height: 48px;
            border: 0;
            border-radius: 999px;
            background: #C9A66B;
            color: #fff;
            font-size: 14px;
            font-weight: 700;
            margin-top: 4px;
            cursor: pointer;
        }

        .dashboard-submit-btn:hover {
            filter: brightness(.98);
        }

        .dashboard-otp-links {
            margin-top: 14px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex-wrap: wrap;
            font-size: 12px;
        }

        .dashboard-otp-links .muted-link {
            color: #98A2B3;
        }

        .dashboard-otp-links .resend-link {
            color: #0A372E;
            text-decoration: underline;
            font-weight: 500;
        }

        .dashboard-star {
            position: absolute;
            opacity: 0.22;
            pointer-events: none;
        }

        .star-1 {
            top: 70px;
            right: 140px;
            width: 28px;
        }

        .star-2 {
            bottom: 100px;
            left: 140px;
            width: 42px;
        }

        .star-3 {
            top: 50%;
            left: 90px;
            width: 24px;
        }

        .visual-star {
            position: absolute;
            opacity: 0.16;
            pointer-events: none;
        }

        .visual-star-1 {
            top: 24px;
            right: 34px;
            width: 30px;
        }

        .visual-star-2 {
            top: 72px;
            left: 42px;
            width: 42px;
        }

        @media (max-width: 991.98px) {
            .dashboard-auth-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }

            .dashboard-auth-visual {
                order: 2;
            }

            .dashboard-auth-form-side {
                order: 1;
            }

            .dashboard-visual-card {
                min-height: auto;
                padding: 30px 20px 24px;
            }

            .dashboard-visual-copy h2 {
                font-size: 18px;
            }

            .dashboard-auth-title {
                font-size: 24px;
            }

            .dashboard-otp-input {
                width: 40px;
                height: 40px;
            }
        }
           .dashboard-input-wrap .input-icon {
            position: absolute;
            right: 14px;
            top: 50%;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            pointer-events: none;
        }

        .password-toggle {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            border: 0;
            background: transparent;
            padding: 0;
            width: 22px;
            height: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
        }

        .dashboard-submit-btn {
            width: 100%;
            height: 42px;
            border: 0;
            border-radius: 999px;
            background: #C9A66B;
            color: #fff;
            font-size: 13px;
            font-weight: 700;
            margin-top: 4px;
            cursor: pointer;
        }

        .dashboard-submit-btn:hover {
            filter: brightness(.98);
        }

        .dashboard-back-link {
            display: block;
            margin-top: 10px;
            text-align: center;
            font-size: 11px;
            color: #98A2B3;
        }