@import url('https://fonts.googleapis.com/css2?family=Katibeh&family=Readex+Pro&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');

  /* نفس التصميم السابق تماماً */
  :root {
    --primary: #0156f5;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --gray: #94a3b8;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Zain", sans-serif;
    font-weight: 700;
    font-style: normal;
    background-color: #ffffff;
    justify-content: center;
    align-items: center;

}

/* إخفاء المحتوى الأول */
#content {
    text-align: center;
    margin-top: 50px;
  }
  
  .header {
      background-color: #ffffff;
      color: white;
      padding: 7px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      top: 0;
  }
  .logo {
      margin-right: 40px;
      height: 25px; /* ارتفاع الصورة */
  }
  
  .nav {
      display: flex;
      gap: 40px;
  }
  .nav a {
      color: #0f0f0f;
      text-decoration: none;
      font-size: 15px;
      font-style: bold;
  }
  .menu-icon {
      color: rgb(104, 104, 104);
      display: none;
      font-size: 24px;
      cursor: pointer;
      animation: move 2s ;
  }
  @keyframes move {
     
      50% {
        transform: translateX(50px);
      }
     
    }
  @media (max-width: 834px) {
      .nav {
          display: none;
          flex-direction: column;
          background-color: #eeeeee;
          position: absolute;
          top: 40px; /* علشان نبعد القائمة عن الهدر */
          right: 0;
          width: 100%;
          padding: 20px;
          text-align: right; /* علشان نركز النص في شاشة الهاتف */
     height: 100vh;
      }
    
      .nav.active {
          display: flex;
      }
      .menu-icon {
          display: block;
      }
  }
  /* التعديل الجديد علشان الكلام يظهر في نص الشاشة */
  @media (min-width: 834px) {
      .header {
          justify-content: center; /* علشان نركز العناصر في المنتصف */
      }
      .nav {
          margin-right: 20px; /* علشان نبعد القائمة عن اللوجو */
      }
  }
  
  .header2 {
      background-color: rgba(255, 255, 255, 0.349);  /* شفافية أعلى للون الخلفية */
      backdrop-filter: blur(20px);  /* زيادة قوة البلور */
      -webkit-backdrop-filter: blur(20px);  /* للتأكد من عمل البلور في متصفحات سفاري */
      color: rgb(255, 255, 255);
      padding: 7px 10%;  /* تعديل البادينج ليكون متجاوبًا */
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      height: 50px;  /* زيادة الارتفاع قليلًا */
      position: sticky;
      top: 0;
      z-index: 1000;
      border-bottom: 1px solid rgba(255, 255, 255, 0.2);  /* حد فاتح لتحسين الشكل */
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);  /* ظل خفيف لإبراز الهيدر */
      transition: all 0.3s ease-in-out;
  }
  
  .header2-nav button {
      font-family: "Zain", sans-serif;
      font-weight: 400px;
      font-style: normal;
      background-color: #1f53ff;
      color: white;
      border: none;
      padding: 5px 15px;
      border-radius: 25px;
      cursor: pointer;
      font-size: 12px;
      margin-left: 20px;
      margin-right: 50px;
  }
  
  .support{
      color: rgb(34, 34, 34);
      font-size: 18px;
      font-weight: bold;
      text-decoration: none;
      margin: 0 10px;
  }
  .header2-nav a {
      text-decoration: none;
      color: rgb(0, 0, 0);
      padding: 10px 15px;
      position: relative;
      font-size: 14px;
  
  }
  
  .header2-nav a.active::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -5px; /* وضع الخط تحت النص */
      width: 100%;
      height: 2px;
      background-color: rgb(0, 0, 0); /* لون الخط */
      border-radius: 5px; /* جعل الخط ناعم الحواف */
  }
  
  .Social {
      font-weight: bold;
      text-decoration: none;
      color: rgb(31, 31, 31);
      font-size: 25px;
      margin-left: 40px;
  }
  
  @media (max-width: 834px) {
    .logo{
        align-items: self-end;
        margin-right: 0px; /* إزالة المسافة بين اللوجو والقائمة */
    }
      .header2{
          padding: 0px 10px;
      }

  
      .header2-nav a {
          font-size: 10px;
          margin: 0;
          padding: 5px;
          font-size: 12px;
      }
      .header2-nav a.active::after {
          height: 1px;
          bottom: -10px; /* وضع الخط تحت النص */
  
      }
      .Social {
          font-size: 20px;
          margin-left: 10px;
      }
  }
  
  






.container {
    min-height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.register-card {
    width: 100%;
    max-width: 500px;
    overflow: hidden;
    align-items: self-end;
}
.register-header {
    color: rgb(48, 48, 48);
    padding: 20px 0 5px;
    text-align: center;
}
.register-header h1 {
    font-size: 35px;
    font-weight: 800;
    margin-bottom: 10px;
}
.register-header p {
    opacity: 0.9;
}
.register-body {
    padding: 30px;
}
.form-group {
    margin-bottom: 10px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}
.input-field {
    position: relative;
}
.input-field input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.input-field input:focus {
    border-color: #1e90ff;
    outline: none;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.3);
}
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}


.custom-select{
    padding: 15px 15px 15px 45px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}
.custom-select:focus {
    border-color: #1e90ff;
    outline: none;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.3);
}


.btn {
    display: block;
    width: 100%;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    text-align: center;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
}
.btn-primary:hover {
    background-color: #0084ff;
}
.btn-google {
    background-color: white;
    color: var(--dark);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.btn-google:hover {
    background-color: #f8fafc;
}
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--gray);
}
.divider::before, .divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}
.divider::before {
    margin-right: 10px;
}
.divider::after {
    margin-left: 10px;
}
.login-link {
    text-align: center;
    margin-top: 20px;
    color: var(--gray);
}
.login-link a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}


.error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 5px;
    display: none;
}
.success-message {
    background-color: #d1fae5;
    color: #065f46;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
}
@media (max-width: 576px) {
    .register-header {
        padding: 25px 20px 0 20px;
    }
    .register-body {
        padding: 25px;
    }
    .register-header h1{
        font-size: 30px;
    }
}
