/* الحاوية الرئيسية - آخدة الشاشة 100% بالكامل */
.itEmail {
    width: 100%;
    min-height: 89.4vh;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 60px;
    padding: 40px 10%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;

    /* background: wheat; */

    /* 🖼️ صورة الخلفية المضافة للمكون الرئيسي */
    background: linear-gradient(135deg,
            rgba(18, 24, 41, 0.479),
            rgba(10, 14, 26, 0.479)),
        url('/image/pixelum-bg.webp') center/cover no-repeat;
    /* حط مسار صورتك هنا */

    /* 🌫️ تأثير البلور المموه على لون الخلفية */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* باقي التنسيقات زي ما هي تماماً بدون أي تعديل */
.itsEmail,
.auth-card,
.auth-modal-content,
.settings-card {
    width: 420px;
    max-width: 100%;
    background-color: var(--Cards, #121829);
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
    z-index: 2;
    /* لضمان ثبات الكارت فوق الخلفية */
}

.settings-card .user-info-header , .settings-card .user-email , .settings-card #cardUserName{
    text-align: center !important;
}

[lang="ar"] .itEmail-box input {
    padding: 0 40px;
    direction: rtl;
}

[lang="en"] .itEmail-box input {
    padding: 0 35px;
    direction: ltr;
}

[lang="ar"] .itEmail-box .custom-placeholder {
    position: absolute;
    right: 45px;
}

[lang="en"] .itEmail-box .custom-placeholder {
    position: absolute;
    right: 250;
}

[lang="ar"] .itEmail-box .userplaceholder {
    position: absolute;
}

[lang="en"] .itEmail-box .userplaceholder {
    right: auto;
    left: 42px;
}

[lang="ar"] .itEmail-box .emailplaceholder {
    position: absolute;
    right: 45px;
}

[lang="en"] .itEmail-box .emailplaceholder {
  right: auto;
  left: 47px;
}

[lang="ar"] .itEmail-box .passplaceholder {
    position: absolute;
    right: 45px;
}

[lang="en"] .itEmail-box .passplaceholder {
  right: auto;
  left: 47px;
}

[lang="ar"] .itEmail-box .confirmPassplaceholder {
    position: absolute;
    right: 45px;
}

[lang="en"] .itEmail-box .confirmPassplaceholder {
  right: auto;
  left: 47px;
}

[lang="ar"] .itEmail-box .domaincomplaceholder {
    position: absolute;
    right: 45px;
}

[lang="en"] .itEmail-box .domaincomplaceholder {
    position: absolute;
    right: 175;
}

[lang="ar"] .itEmail-box input:focus~.custom-placeholder,
[lang="ar"] .itEmail-box input:not(:placeholder-shown)~.custom-placeholder {
    transform: translate(30px, -25px);
}

[lang="en"] .itEmail-box input:focus~.custom-placeholder,
[lang="en"] .itEmail-box input:not(:placeholder-shown)~.custom-placeholder {
    transform: translate(-28px, -25px);
}

[lang="ar"] .itEmail-box ion-icon {
    direction: rtl;
}

[lang="en"] .itEmail-box ion-icon {
    direction: ltr;
    position: absolute;
    left: 10;
}

[lang="ar"] .settings-overlay {
    direction: rtl;
}

[lang="en"] .settings-overlay {
    direction: ltr;
}

[lang="ar"] .sti label {
    text-align: right !important;
    direction: rtl;
}

[lang="en"] .sti label {
    text-align: left !important;
    direction: ltr;
}

.itsEmail .logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.itsEmail .logo-area .header-logo {
    width: 35px;
    height: auto;
}

.itsEmail .logo-area .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(40deg, #622dbc, #df3295);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.itsEmail h1,
.auth-card h1,
.auth-modal-content h1,
.settings-card h1 {
    color: var(--texttran4, #ffffff);
    font-size: 1.8rem;
    margin: 10px 0 25px 0;
    font-weight: 600;
}

.itEmail-box {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.itEmail-box input {
    width: 100%;
    height: 48px;
    background-color: var(--Cards, #121829);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--texttran5, #a0a0a0);
    font-size: 0.95rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.itEmail-box .custom-placeholder {
    position: absolute;
    /* right: 245px; */
    color: var(--texttran5, #a0a0a0);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translate(0px, 0px);
}

.settings-card p {
    position: relative;
    color: var(--texttran5, #a0a0a0);
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.3s ease;
    transform: translate(0px, 0px);
}

/* حركة اختيارية: لو عايزه يرتفع لفوق أول ما تبدأ تكتب */
.itEmail-box input:focus~.custom-placeholder,
.itEmail-box input:not(:placeholder-shown)~.custom-placeholder {
    /* transform: translate(-28px, -25px); */
    font-size: 0.8rem;
    color: var(--texttran2, #a0a0a0);
    /* background-color: transparent; */
    background-color: var(--Cards, #121829);
    padding: 0;
}

.itEmail-box input:focus {
    border-color: #df3295;
    background-color: var(--Cards, #121829);
    /* box-shadow: 0 0 10px rgba(223, 50, 149, 0.2); */
}

.itEmail-box ion-icon {
    position: absolute;
    right: 15px;
    color: var(--texttran5, #a0a0a0);
    font-size: 1.3rem;
    pointer-events: none;
}

.itsEmail .btn-submit,
.auth-btn {
    background: linear-gradient(90deg, #622dbc, #df3295);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-top: 10px;
    width: 100%;
}

.itsEmail .btn-submit:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.itsEmail .ir,
.auth-card p,
.auth-modal-content p {
    width: 100%;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--texttran3, #888888);
    font-size: 0.85rem;
}

.itsEmail .ir div {
    flex: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.15);
}

.it-create {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 15px;
}

.itsEmail .btn-g {
    background: transparent;
    border: none  ;
    border-radius: 10px;
    width: 50px;
    height: 45px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.itsEmail .btn-g:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.itsEmail-about {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: right;
    color: var(--text, #cccccc);
    z-index: 2;
}

.itsEmail-about p {
    font-size: 1.6rem;
    line-height: 2.0;
    margin: 0;
    opacity: 0.7;
}

/* تنسيق رابط التبديل أسفل الكارت */
.auth-switch {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--texttran3, #888888);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.auth-switch a {
    color: #df3295;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.auth-switch a:hover {
    color: #622dbc;
    text-decoration: underline;
}

/* إخفاء السلاسة عند التبديل */
.itEmail-box.hidden {
    display: none !important;
}

.forgot-link-container {
    text-align: left;
    /* أو right حسب اتجاه النص عندك */
    margin: 15 0;
}

.forgot-password-link {
    color: var(--texttran5);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    text-decoration: underline;
    color: #0056b3;
}

.settings-body {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 15px;
}

.settings-body h4 {
    color: var(--text);
}

.user-info-header h1 {
    margin: 0;
}

.user-info-header img {
    width: 100px;
    height: auto;
    margin: 20 auto 0;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--icon);
}

.settings-body .setting-item {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
    color: var(--text);
}

.btn-secondary-action {
    background-color: var(--icon);
    color: var(--text);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
    margin-top: 8px;
}

.btn-upgrade {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: var(--text);
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
    margin-top: 8px;
}

.btn-upgrade:hover,
.btn-secondary-action:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

.btn-upgrade:active,
.btn-secondary-action:active {
    transform: translateY(0);
}

.sti {
    display: flex;
    justify-content: space-between;
    margin: 12px 0;
}

.sti label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 14;
    width: 60%;
    font-weight: bold;
}

.plan-badge {
    display: inline-block;
    padding: 5 0;
    border-radius: 10px;
    font-size: 14;
    width: 20%;
}

.badge-free {
    background: #6b7280;
    color: #fff;
}

.badge-pro {
    background: #f59e0b;
    color: #fff;
}


.settings-footer {
    width: 90%;
    height: auto;
    padding: 12 0;
}

.btn-demo-logout {
    width: 100%;
    height: 35;
    padding: 12;
    background: #ef4444;
    color: var(--text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
}


.close-btn , .btn-close-card {
    position: relative;
    right: -17vb;
    top: -1vb;
    z-index: 10;
    font-size: 28px;
    color: #555;
    background: transparent;
    border: none;
    cursor: pointer;
}


/* تنسيقات الهيدر التجريبي */
.test-navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--header);
    padding: 15px 30px;
    border-bottom: none;
    font-family: Arial, sans-serif;
    color: #ffffff;
}

.test-logo {
    visibility: hidden;
    font-size: 20px;
    font-weight: bold;
    color: #6366f1;
}

.auth-box,
.user-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-demo-login {
    background-color: #6366f1;
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
}

/* تنسيق صورة جوجل */
.demo-avatar-img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #6366f1;
}

/* تنسيق دائرة الحرف (بدون استهلاك مساحة Storage) */
.demo-avatar-letter {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.demo-user-name {
    font-size: 14px;
    font-weight: 500;
}

.btn-demo-logout {
    background-color: #ef4444;
    color: white;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
}

.btn-demo-logout:hover {
    background-color: #dc2626;
}

/* زر الهيدر */
.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.user-profile-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* خلفية مظلمة تغطي المنتصف */
.settings-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.card-divider {
    border: 0;
    height: 1px;
    background: #333;
    margin: 15px 0;
}

/* ==========================================
   🎨 تنسيقات كروت وحوارات إعادة ضبط كلمة السر (Pixelum Theme)
   ========================================== */

/* الخلفية المظلمة الشفافة (Modal Backdrop) */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

/* تنسيق خانات الإدخال (Inputs) */
.settings-input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #0d0d0e;
    border: 1px solid #2a2a2e;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.settings-input:focus {
    border-color: #6366f1;
    /* لون البنفسجي المودرن */
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

/* زر إغلاق الكارت */
.btn-close-modal {
    background: transparent;
    border: none;
    color: #888;
    font-size: 18px;
    cursor: pointer;
    float: left;
}

.btn-close-modal:hover {
    color: #fff;
}

/* أنيميشن الظهور */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* تنسيقات كارت التست المنفصل */
.test-modal-overlay {
    display: flex;
    /* غيرها لـ none لما تحب تخفيه */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    direction: rtl;
    font-family: system-ui, sans-serif;
}

.test-modal-card {
    background: #1e1e2d;
    color: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.test-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #252538;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.test-card-header h3 {
    margin: 0;
    font-size: 16px;
    color: #38ef7d;
}

.test-btn-close {
    background: transparent;
    border: none;
    color: #aaa;
    font-size: 22px;
    cursor: pointer;
}

.test-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.test-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.test-input-group label {
    font-size: 13px;
    color: #ccc;
}

.test-input-group input {
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #12121c;
    color: #fff;
    outline: none;
    font-size: 14px;
}

.test-input-group input:focus {
    border-color: #11998e;
}

.test-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.test-btn-ok {
    flex: 1;
    padding: 10px;
    background: linear-gradient(135deg, #11998e, #38ef7d);
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: bold;
    cursor: pointer;
}

.test-btn-cancel {
    flex: 1;
    padding: 10px;
    background: #3a1c1c;
    border: 1px solid #ff4d4d;
    border-radius: 6px;
    color: #ff4d4d;
    font-weight: bold;
    cursor: pointer;
}

/* ==========================================
   📱 تنسيقات الشاشات الصغيرة (Mobile Display)
   ========================================== */
@media (min-width: 100px) and (max-width: 452px) {
    
    [lang="ar"] .itEmail-box .userplaceholder {
        position: absolute;
    }
    
    [lang="en"] .itEmail-box .userplaceholder {
        position: absolute;
        right: 235;
    }
    
    [lang="ar"] .itEmail-box .emailplaceholder {
        position: absolute;
        right: 45px;
    }
    
    [lang="en"] .itEmail-box .emailplaceholder {
        position: absolute;
        right: 255;
    }
    
    [lang="ar"] .itEmail-box .passplaceholder {
        position: absolute;
        right: 45px;
    }
    
    [lang="en"] .itEmail-box .passplaceholder {
        position: absolute;
        right: 240;
    }
    
    [lang="ar"] .itEmail-box .confirmPassplaceholder {
        position: absolute;
        right: 45px;
    }
    
    [lang="en"] .itEmail-box .confirmPassplaceholder {
        position: absolute;
        right: 200;
    }
    
    [lang="ar"] .itEmail-box .domaincomplaceholder {
        position: absolute;
        right: 45px;
    }
    
    [lang="en"] .itEmail-box .domaincomplaceholder {
        position: absolute;
        right: 175;
    }
    
    [lang="ar"] .itEmail-box input:focus~.custom-placeholder,
    [lang="ar"] .itEmail-box input:not(:placeholder-shown)~.custom-placeholder {
        transform: translate(30px, -25px);
    }
    
    [lang="en"] .itEmail-box input:focus~.custom-placeholder,
    [lang="en"] .itEmail-box input:not(:placeholder-shown)~.custom-placeholder {
        transform: translate(-28px, -25px);
    }

    /* 🔹 الحاوية الرئيسية والخلفية */
    .itEmail {
      width: 100%;
      min-height: 100vh;
      display: flex;
      flex-direction: column; /* تحويل العرض إلى عمودي للموبايل */
      justify-content: center;
      align-items: center;
      gap: 25px;
      padding: 20px 15px;
      box-sizing: border-box;
      position: relative;
      overflow-x: hidden;
      background: linear-gradient(135deg,
          rgba(18, 24, 41, 0.75),
          rgba(10, 14, 26, 0.85)),
        url('/image/pixelum-bg.png') center/cover no-repeat fixed;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
    }
  
    /* 🔹 كروت التفاعل والحساب (Auth & Settings Cards) */
    .itsEmail,
    .auth-card,
    .auth-modal-content,
    .settings-card {
      width: 100%;
      max-width: 100%;
      background-color: var(--Cards, #121829);
      display: flex;
      flex-direction: column;
      text-align: center;
      align-items: center;
      padding: 25px 18px;
      border-radius: 16px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-sizing: border-box;
      z-index: 2;
    }
  
    .settings-card .user-info-header,
    .settings-card .user-email,
    .settings-card #cardUserName {
      text-align: center !important;
    }
  
    /* 🔹 الشعار والعناوين */
    .itsEmail .logo-area {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-bottom: 8px;
    }
  
    .itsEmail .logo-area .header-logo {
      width: 30px;
      height: auto;
    }
  
    .itsEmail .logo-area .logo-text {
      font-size: 1.3rem;
      font-weight: 700;
      background: linear-gradient(40deg, #622dbc, #df3295);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  
    .itsEmail h1,
    .auth-card h1,
    .auth-modal-content h1,
    .settings-card h1 {
      color: var(--texttran4, #ffffff);
      font-size: 1.4rem;
      margin: 8px 0 18px 0;
      font-weight: 600;
    }
  
    /* 🔹 حقول الإدخال والـ Placeholders */
    .itEmail-box {
      position: relative;
      width: 100%;
      display: flex;
      align-items: center;
      margin-bottom: 12px;
    }
  
    .itEmail-box input {
      width: 100%;
      height: 45px;
      background-color: var(--Cards, #121829);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 10px;
      color: var(--texttran5, #a0a0a0);
      font-size: 0.9rem;
      padding: 0 12px;
      outline: none;
      box-sizing: border-box;
      transition: all 0.3s ease;
    }
  
    .itEmail-box .custom-placeholder,
    .settings-card p {
      position: absolute;
      color: var(--texttran5, #a0a0a0);
      font-size: 0.85rem;
      pointer-events: none;
      transition: all 0.3s ease;
    }
  
    .itEmail-box input:focus~.custom-placeholder,
    .itEmail-box input:not(:placeholder-shown)~.custom-placeholder {
      font-size: 0.75rem;
      color: var(--texttran2, #a0a0a0);
      background-color: var(--Cards, #121829);
      padding: 0 4px;
    }
  
    .itEmail-box input:focus {
      border-color: #df3295;
      background-color: var(--Cards, #121829);
    }
  
    .itEmail-box ion-icon {
      position: absolute;
      right: 12px;
      color: var(--texttran5, #a0a0a0);
      font-size: 1.2rem;
      pointer-events: none;
    }
  
    /* 🔹 الأزرار والروابط */
    .itsEmail .btn-submit,
    .auth-btn {
      background: linear-gradient(90deg, #622dbc, #df3295);
      color: #ffffff;
      border: none;
      border-radius: 10px;
      padding: 12px;
      font-size: 0.95rem;
      font-weight: 600;
      cursor: pointer;
      transition: transform 0.2s ease, opacity 0.2s ease;
      margin-top: 8px;
      width: 100%;
    }
  
    .itsEmail .btn-submit:hover {
      opacity: 0.9;
    }
  
    .itsEmail .ir,
    .auth-card p,
    .auth-modal-content p {
      width: 100%;
      margin: 15px 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: var(--texttran3, #888888);
      font-size: 0.8rem;
    }
  
    .itsEmail .ir div {
      flex: 1;
      height: 1px;
      background-color: rgba(255, 255, 255, 0.15);
    }
  
    .it-create {
      width: 100%;
      display: flex;
      flex-direction: row;
      justify-content: center;
      gap: 12px;
    }
  
    .itsEmail .btn-g {
      background-color: rgba(255, 255, 255, 0.08);
      color: var(--text, #ffffff);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      width: 45px;
      height: 42px;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }
  
    /* 🔹 القسم الوصفي الجانبي (About Section) */
    .itsEmail-about {
      width: 100%; /* تحويل العرض لـ 100% بدلاً من 50% */
      display: flex;
      flex-direction: column;
      gap: 12px;
      text-align: center; /* توشيط النص للشاشات الصغيرة */
      color: var(--text, #cccccc);
      z-index: 2;
    }
  
    .itsEmail-about p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin: 0;
      opacity: 0.8;
    }
  
    /* 🔹 روابط التحويل ونست كلمة السر */
    .auth-switch {
      margin-top: 15px;
      font-size: 0.85rem;
      color: var(--texttran3, #888888);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
    }
  
    .auth-switch a {
      color: #df3295;
      text-decoration: none;
      font-weight: 600;
    }
  
    .itEmail-box.hidden {
      display: none !important;
    }
  
    .forgot-link-container {
      text-align: center;
      margin: 8px 0;
      width: 100%;
    }
  
    .forgot-password-link {
      color: var(--texttran5);
      font-size: 0.8rem;
      text-decoration: none;
    }
  
    /* 🔹 إعدادات الحساب (Settings Page) */
    .settings-body {
      display: flex;
      flex-direction: column;
      width: 100%;
      gap: 12px;
    }
  
    .settings-body h4 {
      color: var(--text);
      font-size: 0.95rem;
    }
  
    .user-info-header h1 {
      margin: 0;
    }
  
    .user-info-header img {
      width: 80px;
      height: 80px;
      margin: 15px auto 0;
      border-radius: 50%;
      object-fit: cover;
      border: 2px solid var(--icon);
    }
  
    .settings-body .setting-item {
      display: flex;
      flex-direction: column;
      width: 100%;
      margin: 0 auto;
      color: var(--text);
    }
  
    .btn-secondary-action,
    .btn-upgrade {
      width: 100%;
      padding: 10px;
      border: none;
      border-radius: 8px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      margin-top: 8px;
    }
  
    .btn-secondary-action {
      background-color: var(--icon);
      color: var(--text);
    }
  
    .btn-upgrade {
      background: linear-gradient(135deg, #6366f1, #8b5cf6);
      color: var(--text);
    }
  
    .sti {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: 10px 0;
    }
  
    .sti label {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 8px;
      font-size: 13px;
      width: 60%;
      font-weight: bold;
    }
  
    .plan-badge {
      display: inline-block;
      padding: 4px 8px;
      border-radius: 6px;
      font-size: 12px;
      text-align: center;
    }
  
    .badge-free {
      background: #6b7280;
      color: #fff;
    }
  
    .badge-pro {
      background: #f59e0b;
      color: #fff;
    }
  
    .settings-footer {
      width: 100%;
      height: auto;
      padding: 10px 0;
    }
  
    .btn-demo-logout {
      width: 100%;
      height: 40px;
      padding: 8px;
      background: #ef4444;
      color: var(--text, #fff);
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13px;
    }
  
    /* إصلاح زر الإغلاق ليكون متناسباً مع الكارت */
    .close-btn,
    .btn-close-card {
      position: absolute;
      right: 15px;
      top: 15px;
      z-index: 10;
      font-size: 22px;
      color: #888;
      background: transparent;
      border: none;
      cursor: pointer;
    }
  
    /* 🔹 الهيدر (Navbar) */
    .test-navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background-color: var(--header);
      padding: 10px 15px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-family: system-ui, sans-serif;
      color: #ffffff;
    }
  
    .test-logo {
      display: none; /* إخفاء العناصر غير الضوئية للحفاظ على المساحة */
    }
  
    .auth-box,
    .user-box {
      display: flex;
      align-items: center;
      gap: 8px;
    }
  
    .btn-demo-login {
      background-color: #6366f1;
      color: white;
      padding: 6px 14px;
      border-radius: 6px;
      text-decoration: none;
      font-size: 12px;
    }
  
    .demo-avatar-img,
    .demo-avatar-letter {
      width: 32px;
      height: 32px;
      font-size: 14px;
    }
  
    .demo-user-name {
      font-size: 12px;
      font-weight: 500;
    }
  
    .user-profile-btn {
      display: flex;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      padding: 4px 8px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.1);
    }
  
    /* 🔹 النوافذ المنبثقة (Modals & Overlays) */
    .settings-overlay,
    .auth-modal,
    .test-modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(6px);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 9999;
      padding: 15px;
    }
  
    .settings-input {
      width: 100%;
      padding: 10px 12px;
      margin-bottom: 10px;
      background: #0d0d0e;
      border: 1px solid #2a2a2e;
      border-radius: 8px;
      color: #fff;
      font-size: 13px;
      outline: none;
      box-sizing: border-box;
    }
  
    .settings-input:focus {
      border-color: #6366f1;
      box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    }
  
    .test-modal-card {
      background: #1e1e2d;
      color: #fff;
      width: 100%;
      max-width: 360px;
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.1);
      overflow: hidden;
    }
  
    .test-card-header {
      padding: 12px 15px;
    }
  
    .test-card-header h3 {
      font-size: 14px;
    }
  
    .test-card-body {
      padding: 15px;
      gap: 12px;
    }
  
    .test-input-group label {
      font-size: 12px;
    }
  
    .test-input-group input {
      padding: 8px 10px;
      font-size: 13px;
    }
  
    .test-actions {
      gap: 8px;
    }
  
    .test-btn-ok,
    .test-btn-cancel {
      padding: 8px;
      font-size: 12px;
    }
}