
    :root {
      --diwan-1: #004AAD;  /* الأساسي الدافئ */
      --diwan-2: #FFFFFF;  /* الأزرق */
      --diwan-3: #00174b;  /* بيج */
      --diwan-4: #0CC0DF;  /* أبيض */
      --diwan-5: #9999FF;  /* أبيض */
      --diwan-6: #53a3f1;  /* أبيض */


      --bg: #f2f5fb;
      --text-main: #19232f;
      --text-muted: #6b7a89;
      --border-soft: #d6e0ea;
      --radius-lg: 24px;
      --radius-md: 18px;
      --shadow: 0 18px 55px rgba(10, 43, 72, 0.18);
      --transition: all 0.3s ease;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    }
    *::selection{
      background-color: var(--diwan-3);
      color: var(--diwan-4);
    }

    body {
      min-height: 100vh;
      
      background:
        radial-gradient(circle at top left, rgba(198,76,40,0.14) 0, transparent 55%),
        radial-gradient(circle at bottom right, rgba(15,102,148,0.18) 0, transparent 55%),
        var(--bg);
      color: var(--text-main);
    }

    body::selection{
      background-color: var(--diwan-2);
      color: var(--diwan-4);
    }
    .page {
      max-width: 880px;
      margin: 0 auto;
      padding: 2.2rem 1.4rem 2.8rem;
      display: flex;
      flex-direction: column;
      gap: 1.6rem;
    }

    /* هيدر بسيط */
    .site-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: .7rem;
    }

    /* شعار في الهيدر */
    .brand-icon {
      width: auto;
      height: 40px;
      border-radius: 0;
      background: transparent;
      box-shadow: none;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .brand-icon img {
      height: 100px;
      width: auto;
      display: block;
      
    }

    /* سكشن المشروع */
    .hero {
      background: var(--diwan-1);
      border-radius: var(--radius-lg);
      border: 1px solid rgba(214,224,236,0.9);
      box-shadow: var(--shadow);
      padding: 1.6rem 1.5rem 1.7rem;
      position: relative;
      overflow: hidden;
      margin-top: 20px;
    }

    .hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 0% 0%, rgba(232,184,169,0.35) 0, transparent 55%),
        radial-gradient(circle at 100% 100%, rgba(208,231,244,0.5) 0, transparent 55%);
      opacity: .55;
      pointer-events: none;
    }

    .hero-inner {
      position: relative;
      z-index: 2;
      display: grid;
      grid-template-columns: minmax(0, 1.0fr) minmax(0, 1.25fr);
      gap: 1.6rem;
    }

    .hero-main {
      display: flex;
      flex-direction: column;
      gap: .6rem;
    }

    .hero-title {
      font-size: 1.6rem;
      font-weight: 600;
      color: var(--diwan-4);
    }

    .hero-title span {
      color: var(--diwan-2);
    }

    .hero-meta span {
      color: var(--diwan-4);
    }

    .hero-text {
      font-size: 1.2rem;
      color: var(--diwan-3);
      line-height: 1.9;
      font-weight: bold;
      margin-top: 10px;
    }

    .hero-text strong {
      color: var(--diwan-5);
      font-weight: 600;
    }

    .hero-meta {
      font-size: 1.1rem;
      color: var(--diwan-2);
      margin-top: 10px;
      margin-right: 50px;
      font-weight: bold;

    }

    .hero-side {
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .hero-side img {
      max-width: 90%;
      height: auto;
      border-radius: 10px;
      border: 1px solid rgba(214,224,236,0.9);
      box-shadow: 0 12px 30px rgba(15,56,89,0.18);
      object-fit: cover;
      margin-right: 40px;
    }
    /* نسخة الجوال */
@media (max-width: 768px) {
  .hero-side img {
    max-width: 100%;
    margin-right: 0; /* إزالة المسافة */
  }
}

    /* سكشن الفورم */
    .form-section {
      display: flex;
      flex-direction: column;
      gap: .7rem;
    }
.form-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-right: 5px;
}

.form-title-row {
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* لو حاب تصغر البادج شوي داخل الفورم */
.form-title-row .hero-tag {
  font-size: .72rem;
  padding: .18rem .6rem;
}

    .form-header h2 {
      font-size: 1.2rem;
      font-weight: 600;
      color: var(--diwan-1);
    }

    .form-header p {
      font-size: .9rem;
      color: var(--text-muted);
    }

    .form-card {
      background: var(--diwan-3);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-soft);
      padding: 1.2rem 1.1rem 1.4rem;
      box-shadow: 0 14px 40px rgba(15,56,89,0.12);
    }

    form {
      display: flex;
      flex-direction: column;
      gap: .7rem;
    }

    .field {
      display: flex;
      flex-direction: column;
      gap: .25rem;
      
    }

    label {
      font-size: .9rem;
      color: var(--diwan-6);
      /* font-weight: bold; */
    }

    input,
    select,
    textarea {
      border-radius: 999px;
      border: 1px solid #ccd5df;
      padding: .55rem .9rem;
      font-size: .85rem;
      font-family: inherit;
      color: var(--diwan-1);
      background: #f8fbff;
    }

    textarea {
      border-radius: 14px;
      min-height: 90px;
      resize: vertical;
    }

    input::placeholder,
    textarea::placeholder {
      color: #a4b0be;
    }

    input:focus,
    select:focus,
    textarea:focus {
      outline: none;
      border-color: var(--diwan-2);
      box-shadow: 0 0 0 1px rgba(15,102,148,0.25);
      background: var(--diwan-4);
      color: var(--diwan-2);
      font-weight: bold;
    }

    /* أخطاء الحقول */
    .field-error {
      font-size: .75rem;
      color: #e63946;
      min-height: 0.9em;
    }

    .field.invalid input,
    .field.invalid select,
    .field.invalid textarea {
      border-color: #e63946;
      box-shadow: 0 0 0 1px rgba(230,57,70,.2);
    }

    .checkbox-row {
      display: flex;
      align-items: flex-start;
      gap: .5rem;
      font-size: .8rem;
      color: var(--diwan-4);
    }

    .checkbox-row input[type="checkbox"] {
      margin-top: .25rem;
      transform: scale(1.1);
      accent-color: var(--diwan-1);
    }

    /* .helper {
      font-size: .75rem;
      color: var(--diwan-2);
    } */

    .btn-submit {
      margin-top: .4rem;
      align-self: flex-start;
      border-radius: 999px;
      border: none;
      padding: .6rem 1.6rem;
      font-size: .86rem;
      font-weight: 500;
      cursor: pointer;
      color: var(--diwan-1);
      background: var(--diwan-6);
      /* box-shadow: 0 12px 28px rgba(15,73,112,0.45); */
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      transition: all .18s ease;
        text-decoration: none;
    }

    .btn-submit:hover {
      /* transform: translateY(-1px); */
      /* box-shadow: 0 16px 34px rgba(15,73,112,0.55); */
          background: var(--diwan-4);
          color: var(--diwan-2);
    }



    .btn-submit svg {
      width: 16px;
      height: 16px;
    }

    .privacy {
      margin-top: .55rem;
      font-size: .75rem;
      color: #8a9aaa;
    }

    .privacy strong {
      color: var(--diwan-1);
      font-weight: 500;
    }

    @media (max-width: 760px) {
      .hero-inner {
        grid-template-columns: 1fr;
      }

      .hero {
        padding: 1.4rem 1.3rem 1.6rem;
      }

      .btn-submit {
        width: 100%;
        justify-content: center;
      }

      .page {
        padding-inline: 1.1rem;
      }

      .site-header {
        flex-direction: column;
        align-items: flex-start;
      }
    }



    .change-status {
      font-size: .72rem;
      padding: .12rem .55rem;
      border-radius: 999px;
      background: rgba(255,255,255,.06);
      color: var(--muted);
      font-weight: bold;
    }
    .change-status.ready {
  background-color: #075e3b;  /* أخضر غامق */
  color: #d7fbe6;             
    }
    .change-status.soon {
  background-color: #96500e;  /* أخضر غامق */
  color: #e0b998;             
    }
    .change-status.close {
  background-color: #7b1020;  /* أحمر غامق */
  color: #ffe4ea;
    }

    /* الشريط الشفاف العلوي */
.top-status-bar {
  width: 100%;
  padding: .55rem 1rem;
  border-radius: 14px;
      color: #075e3b;
      background: #d7fbe6;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: .82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  letter-spacing: 0.2px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* نص الشريط */
.top-status-bar span {
  color: var(--diwan-4);
}

    /* .hero-label {
      font-size: .78rem;
      display: inline-flex;
      padding: .2rem .75rem;
      border-radius: 999px;
      background: rgba(198,76,40,0.09);
      color: #7b361e;
    } */

    /* نافذة تنبيه بعد التسجيل */
.preview-page {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.preview-content {
  background: #ffffff;
  border-radius: 22px;
  padding: 1.7rem 1.6rem 1.5rem;
  max-width: 360px;
  width: 90%;
  text-align: center;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.28);
}

.preview-content h2 {
  margin-bottom: .6rem;
  font-size: 1.2rem;
  color: #163048;
}

.preview-content p {
  font-size: .9rem;
  color: #546170;
  line-height: 1.7;
  margin-bottom: 1.1rem;
}

.btn-modal {
  border: none;
  border-radius: 999px;
  padding: .55rem 1.6rem;
  font-size: .86rem;
  font-weight: 500;
  cursor: pointer;
      color: var(--diwan-2);
      background: var(--diwan-3);
  /* box-shadow: 0 10px 24px rgba(15,73,112,0.45); */
}
.btn-modal:hover {
      color: var(--diwan-2);
      background: var(--diwan-4);
}

        /* الفوتر */
        footer {
            background: linear-gradient(135deg, var(--diwan-1));
            color: white;
            padding: 70px 40px 0px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 50px;
            margin-right: 20px;
        }

        .footer-col h3 {
            font-size: 1.3rem;
            margin-bottom: 25px;
            position: relative;
            padding-bottom: 10px;
        }


        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #b0b0b0;
            text-decoration: none;
            transition: var(--transition);
            display: flex;
            align-items: center;
        }

        .footer-links a:hover {
            color: white;
            transform: translateX(5px);
        }

        .footer-links a i {
            margin-left: 8px;
            font-size: 0.8rem;
        }

.social-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;  /* ✅ المحاذاة لليمين */
    gap: 15px;
    margin-top: 20px;
    max-width: 160px;
    margin-right: -20PX;            /* ✅ يزيل أي مسافة من اليمين */
    margin-left: auto;          /* ✅ يضمن دفعها بالكامل لليمين */
}


.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    flex: 0 1 calc(33.33% - 15px); 
    box-sizing: border-box;
}


        .social-icon:hover {
            background: linear-gradient(135deg, var(--diwan-2));
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
           padding: 22px;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            color: #b0b0b0;
            font-size: 0.9rem;
        }
/* سناب معطل */
.snap-disabled {           /* اللون الأحمر */
  cursor: not-allowed;         /* شكل الممنوع بالماوس */
  touch-action: manipulation;  /* يسمح باللمس بدون منع التفاعل */
}



/* Auth (Login/Register) */
.auth-wrapper {
  width: min(92vw, 980px);
  margin: 40px auto;
  padding: 20px;
}

.auth-card {
  background: var(--diwan-3);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 28px;
  width: min(92vw, 440px);
  margin-inline: auto;
  animation: modalFadeIn 0.25s ease;
}

.auth-header {
  text-align: center;
  margin-bottom: 22px;
}

.auth-logo img {
  height: 140px;
  width: auto;
  margin-bottom: 10px;
}

.auth-header h1 {
  font-size: 1.6rem;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--diwan-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  
}

.auth-subtitle {
  color: var(--gray);
  font-size: 0.98rem;
}

.form-group { margin: 14px 0 12px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; }

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--light);
  border: 1px solid #e7e7e9;
  border-radius: 10px;
  padding-inline: 12px;
  transition: var(--transition);
}

.input-with-icon:focus-within {
  border-color: var(--diwan-2);
  box-shadow: 0 0 0 4px rgba(110,43,251,0.10);
  background: #fff;
}

.input-with-icon i { color: #9aa0a6; margin-left: 8px; font-size: 0.98rem; }
.input-with-icon input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 12px 8px;
  font-size: 1rem;
}

.toggle-password {
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
}
.toggle-password:hover { background: rgba(0,0,0,0.04); }

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 8px 0 6px;
}

.remember { display: inline-flex; align-items: center; gap: 8px; }
.remember input { width: 16px; height: 16px; background-color: var(--diwan-2); }

.forgot-link, .auth-link {
  color: var(--diwan-4);
  text-decoration: none;
  font-weight: 600;
}
.forgot-link:hover, .auth-link:hover { text-decoration: underline; }

.auth-submit { width: 100%; margin-top: 10px; }

.divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: #9aa0a6; margin: 16px 0; }
.divider::before, .divider::after { content: ""; height: 1px; background: #e7e7e9; }


    /* سكشن معلومات الحفل */
    .event-info {
      padding: 1.5rem 1.5rem 0;
    }

    .event-info-inner {
      max-width: 960px;
      margin: 0 auto;
      background: var(--diwan-5);
      border-radius: 18px;
      border: 1px solid rgba(15,23,42,0.06);
      box-shadow: 0 10px 26px rgba(15,23,42,0.06);
      padding: 1.25rem 1.5rem;
    }

    .event-info-title {
      font-size: 1.15rem;
      font-weight: 600;
      margin: 0 0 .75rem;
      color: var(--diwan-2);
    }

    .event-info-list {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 0.75rem 1.5rem;
    }

    .event-info-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 0.9rem;
      color: var(--diwan-1);
    }

    .event-info-icon {
      width: 28px;
      height: 28px;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(15,102,148,0.06);
      color: var(--diwan-2);
      flex-shrink: 0;
      margin-top: 2px;
    }

    .event-info-text {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .event-info-label {
      font-size: .9rem;
      color: var(--diwan-3);
    }

    .event-info-value {
      font-size: 0.92rem;
      font-weight: 500;
    }

    .event-info-link {
      color: var(--diwan-1);
      text-decoration: none;
      text-decoration-thickness: 1px;
      text-underline-offset: 2px;
    }

    .event-info-link:hover {
      color: var(--diwan-2);
    }

    @media (max-width: 600px) {
      .event-info {
        padding-inline: 1rem;
      }

      .event-info-inner {
        padding: 1rem 1rem;
      }
    }

/* إخفاء زر الدخول على الجوال */
@media (max-width: 600px) {
  .hide-mobile {
    display: none !important;
  }
}




    .btn-login {
      margin-top: .4rem;
      align-self: flex-start;
      border-radius: 999px;
      border: none;
      padding: .6rem 1.6rem;
      font-size: 1rem;
      font-weight: 500;
      cursor: pointer;
      color: var(--diwan-4);
      background: var(--diwan-3);
      /* box-shadow: 0 12px 28px rgba(15,73,112,0.45); */
      display: inline-flex;
      align-items: center;
      gap: .4rem;
      transition: all .18s ease;
        text-decoration: none;
        
    }

    .btn-login:hover {
      /* transform: translateY(-1px); */
      /* box-shadow: 0 16px 34px rgba(15,73,112,0.55); */

      background: var(--diwan-4);
      color: var(--diwan-3);

    }

    .btn-login:active {
      transform: translateY(0);
      box-shadow: 0 10px 22px rgba(15,73,112,0.45);
    }

.btn-login svg {
  width: 1.5em;
  height: 1.5em;
  margin-right: 8px;
}
