  @import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900;1000&family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

  * {
      padding: 0;
      margin: 0;
  }

  :root {
      --primary-color: #ff5a00;
      /* اللون الرئيسي */
      --text-color: #333;
      /* لون النص */
      --background-color: #fff;
      /* لون الخلفية */
      --background-color2: #1699f00c;
      /* لون الخلفية */
  }

  body {
      background-color: #f8f8f8;
      font-family: 'cairo';
      margin: 0;
      padding: 0;

  }

  /* Header */
  header {
      background-color: #ff5a00;
  }

  header .navbar {
      width: 100%;
      margin: auto;
      color: #ff5a00;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0px 50px;
  }

  header .logo img {
      width: 200px;
      height: 50px;
  }

  header .logo a {
      text-decoration: none;
      font-size: 1.7rem;
      font-weight: 900;
      color: #ff5a00;
  }

  footer .logo a {
      text-decoration: none;
      font-size: 1.7rem;
      font-weight: 900;
      color: #fff;
  }


  header .categories {
      list-style: none;
      padding: 0;
      margin: 0;
      display: flex;
  }

  header .categories li {
      margin-right: 20px;
  }

  header .categories a {
      text-decoration: none;
      color: #ffffff;
      font-weight: bold;
      padding: 5px 15px;
      text-decoration: none;
      border-radius: 15px;

  }

  header .categories a:hover {
      background-color: #ff9962;

  }

  header .search-button {
      background-color: #fff;
      text-decoration: none;
      color: #000000;
      border: none;
      font-size: 15px;
      font-weight: 800;
      border-radius: 5px;
      padding: 10px 30px;
      cursor: pointer;
  }

  header .search-button:hover {
      background-color: #ff9900;
  }

  #close-menu {
      position: absolute;
      top: 10px;
      right: 10px;
      color: #fff;
      display: none;
  }

  #open-menu {
      display: none;
      /* إخفاء الزر */
  }

  a {
      text-decoration: none;
  }

  .mobile-menu {
      text-align: center;
      color: #000000
  }

  #close-menu,
  #open-menu {
      display: none;
  }

  .search-button {
      width: 100%;
      margin: auto;
      display: none;
  }

  .text-welcome {
      background-color: #ff5a00;
      display: flex;
      height: 120px;
      border-radius: 0px 0px 50px 50px;
      align-items: center;
      flex-direction: column;


  }

  .text-welcome h2 {
      color: #fff;
      font-size: 45px;
      font-weight: 900;
  }

  .col {
      background-color: #ffffff;
      display: flex;
      justify-content: center;
  }

  .card-login {
      background-color: #ff5a00;
      width: 50%;
      display: flex;
      border-radius: 0px 0px 30px 30px;
      margin-bottom: 50px;
      position: absolute;
      zoom: 1.3;
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-around;
  }


  .card-header {
      color: #fff;
      justify-content: center;
  }


  .texe-login {
    width: 100%;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
  }

  .texe-login h3 {
      font-size: 18px;
      color: #fff;
      font-weight: 800;
      display: flex;
      justify-content: space-around;
  }

  .px-sm-4 {
      display: flex;
      align-items: center;
      flex-direction: column;
  }

  .social {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 5px;
      margin: 5px;
      width: 180px;
      text-decoration: none;
      border-radius: 5px;
      border: 1px solid #fff;
      transition: background-color 0.3s ease;
  }

  .col-6 {
      display: flex;
      flex: 0 0 auto;
      box-sizing: border-box;
      flex-wrap: nowrap;
      justify-content: space-around;
      width: 53%;
  }

  .social:hover {
      background-color: #ff955c;
      /* تغيير لون الخلفية عند التمرير */
  }

  span {
      font-size: 16px;
      font-weight: 800;
      color: #fff;
  }

  .mt-2 p {
      display: flex;
      color: #fff;
      font-weight: 900;
      justify-content: space-around;
  }

  .card-body {
      width: 450px;
      display: flex;
      justify-content: space-evenly;
      flex-direction: column-reverse;
      align-items: stretch;
      margin-top: 10px;
  }

  .card-body button {
      background-color: #fff;
      color: #ff5a00;
      border: none;
      width: 50%;
      padding: 10px;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
      right: 100px;
  }

  .card-body {
      width: 100%;
      display: flex;
      align-items: center;
      margin-top: 10px;
  }

  button:hover {
      background-color: #ffd4bc;
  }

  .form-control {
      border: none;
      width: 100%;
      height: 30px;
      margin-bottom: 10px;
      padding: 5px;
      border-radius: 10px;
      outline: none;
  }

  input:invalid {
      background-color: #f34c4cae;
      border: solid 2px #fff;
  }

  .password-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      width: 100%;
  }


  .toggle-password {
      position: absolute;
      cursor: pointer;
      left: 10px;
      color: #ff5a00;
      transition: color 0.3s ease;
      font-size: 14px;
      top: 7px;
  }

  .toggle-password:hover {
      color: #000000;
  }

 /* تخصيص رسائل الأخطاء */
.error-message {
    color: #f44336; /* لون النص أحمر */
    font-size: 0.875em; /* حجم النص أصغر قليلاً */
    display: block; /* عرض الرسالة في سطر جديد */
    margin-top: 0.25em; /* إضافة مسافة فوق الرسالة */
}

.btn-primary {
    background-color: #007bff; /* لون الخلفية */
    color: #fff; /* لون النص */
    border: none; /* إزالة الحدود */
    padding: 0.5em 1em; /* الحشو داخل الزر */
    border-radius: 0.25em; /* زوايا دائرية للزر */
    cursor: pointer; /* تغيير المؤشر عند التمرير فوق الزر */
}

.btn-primary:hover {
    background-color: #0056b3; /* تغيير لون الخلفية عند التمرير */
}

.alert{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.alert p{
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    color: #ff5a00;
    padding: 5px;
    border-radius: 10px;
}

 .have {
      color: #ffffff;
      font-size: 12px;
      font-weight: 800;
      display: flex;
      
  }

  .have a {
    text-decoration: none;
    font-size: 11px;
    border-radius: 5px;
    background: #ff7428;
    color: #ffffff;
    padding: 2px;
    margin: 0px 10px 10px 10px;
  }












  /* تحديد الأسلوب على أساس حجم الشاشة */
  @media only screen and (max-width: 600px) {
      .modal {
          display: block;
      }

      header .categories {
          display: grid !important;
          text-align: right;
      }


      .modal {
          display: flex;
          position: fixed;
          top: 0;
          left: 0;
          width: 100%;
          z-index: 9999999999999;
          height: 100%;
          background-color: rgba(0, 0, 0, 0.7);
          display: none;
      }

      .modal-content {
          position: absolute;
          top: 50%;
          width: 70%;
          height: 100%;
          right: auto;
          transform: translate(-50%, -50%);
          background-color: #ff5a00;
          padding: 20px;
          border-radius: 0px 50px 50px 0px;

      }

      header .categories a {
          text-decoration: none;
          color: #ffffff;
          font-weight: bold;
          padding: 5px 15px;
          text-decoration: none;
          border-radius: 15px;
      }

      #close-menu,
      #open-menu {
          display: block;
      }


      .close {
          color: #aaa;
          float: right;
          font-size: 28px;
          font-weight: bold;
          cursor: pointer;
      }

      .close:hover {
          color: black;
      }

      #open-menu {
          background-color: transparent;
          color: #fff;
          border: none;
          padding: 10px;
          font-size: 35px;
          cursor: pointer;
      }

      #close-menu {
          position: absolute;
          top: 10px;
          right: 10px;
          color: #fff;


      }

      header .search-button {
          background-color: #fff;
          color: #000;
          background: #fff;
          border: none;
          font-size: 12px;
          font-weight: 800;
          border-radius: 10px;
          padding: 8px 10px;
          cursor: pointer;
      }

      header .logo img {
          width: 200px;
          height: 50px;
      }

      header .navbar {
          width: 100%;
          margin: auto;
          color: var(--text-color);
          display: flex;
          justify-content: space-between;
          align-items: center;
          padding: 0px;
      }

      .text-welcome {
          background-color: #ff5a00;
          display: flex;
          height: 120px;
          border-radius: 0px 0px 50px 50px;
          align-items: center;
          flex-direction: column;
      }

      .text-welcome {
          background-color: #ff5a00;
          display: flex;
          height: 130px;
          border-radius: 0px;
          align-items: center;
          flex-direction: column;
          justify-content: space-around;
      }

      .text-welcome h2 {
          color: #fff;
          font-size: 30px;
          font-weight: 900;
      }

      .col {
          background-color: #ffffff;
          display: flex;
          justify-content: center;
      }

      .card-login {
          background-color: #ff5a00;
          width: 100%;
          height: 70%;
          display: flex;
          border-radius: 0px 0px 30px 30px;
          margin: -8px 0px 0px 0px;
          position: absolute;
          zoom: 1.3;
          flex-direction: row;
          flex-wrap: wrap;
          justify-content: space-around;
          align-content: space-between;
      }


      .card-header {
          color: #fff;
          justify-content: center;
      }


      .texe-login {
          width: 100%;
          display: flex;
          justify-content: center;
          flex-wrap: wrap;
          flex-direction: column;
          align-content: space-around;
      }

      .texe-login h3 {
          font-size: 18px;
          color: #fff;
          font-weight: 800;
          margin-bottom: 10px;
          display: flex;
          justify-content: space-around;
      }


      .social {
          display: flex;
          align-items: center;
          justify-content: center;
          padding: 5px;
          margin: 5px;
          width: 110px;
          text-decoration: none;
          border-radius: 5px;
          border: 1px solid #fff;
          transition: background-color 0.3s ease;
      }

      .col-6 {
          display: flex;
          flex: 0 0 auto;
          box-sizing: border-box;
          flex-wrap: nowrap;
          justify-content: center;
          width: 66%;
    }
     

      .social:hover {
          background-color: #ff955c;
          /* تغيير لون الخلفية عند التمرير */
      }

      span {
          font-size: 16px;
          font-weight: 800;
          color: #fff;
      }

      .mt-2 p {
          display: flex;
          color: #fff;
          font-weight: 900;
          justify-content: space-around;
      }

      .card-body {
          width: 100%;
          display: flex;
          align-items: center;
      }

      .card-body button {
          background-color: #fff;
          color: #ff5a00;
          border: none;
          width: 50%;
          padding: 10px;
          border-radius: 10px;
          font-size: 16px;
          font-weight: 700;
          margin-bottom: 20px;
          position: absolute;
          right: 70px;
      }


      button:hover {
          background-color: #ffd4bc;
      }

      .form-control {
          border: none;
          width: 100%;
          height: 30px;
          margin-bottom: 20px;
          padding: 5px;
          border-radius: 10px;
          outline: none;
      }

      input:invalid {
          background-color: #f34c4cae;
          border: solid 1px #fff;
      }

    
        .alert{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
}

       .alert p{
        background: #fff;
        font-size: 10px;
        font-weight: 800;
        color: #ff5a00;
        padding: 3px;
        border-radius: 10px;
        margin: 2px;
}
    .have {
      color: #ffffff;
      font-size: 12px;
      font-weight: 800;
      width: 90%;
      display: flex;
      
  }

  .have a {
    text-decoration: none;
    font-size: 11px;
    border-radius: 5px;
    background: #ff7428;
    color: #ffffff;
    padding: 2px;
    margin: 0px 5px 10px 5px;
    white-space: nowrap;
    
  }
    }
