
.login-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 30px;
}


.login-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.login-box {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
}

label {
    display: block;
    margin-bottom: 0.5rem;
}
.x-input-label {
    display: block;
    margin-bottom: 0.5rem;
}


 .classy-nav-container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     flex-wrap: nowrap;
     padding: 0 15px;
 }

.nav-brand {
    flex-shrink: 0;
    margin-inline-end: 15px;
}

.classy-menu {
    flex-grow: 1;
    flex-shrink: 1;
    overflow: hidden;
}

.classynav > ul {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px; /* قللنا المسافة */
    white-space: nowrap;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.classynav > ul > li {
    flex-shrink: 0;
    list-style: none;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    margin-inline-start: 15px;
}

.header-meta .user-login-info img,
.header-meta .cart-area img {
    width: 24px;
    height: 24px;
}

.cart-area span {
    font-size: 12px;
    /*background: #000;*/
    color: #fff;
    border-radius: 50%;
    padding: 2px 6px;
    margin-inline-start: 4px;
    position: relative;
    top: -8px;
}

/* في حال الحاجة لتصغير اللوغو قليلاً عند الشاشات الصغيرة */
@media (max-width: 992px) {
    .nav-brand img {
        height: 70px;
    }

    .classynav > ul {
        gap: 10px;
    }
}

  .user-dropdown-menu {
      position: absolute;
      top: 40px;
      right: -150px;
      background: #fff;
      border: 1px solid #ddd;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      border-radius: 8px;
      width: 200px;
      padding: 10px;
      display: none;
      z-index: 999;
      text-align: right;
  }

   .dropdown-link {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s;
}

.user-dropdown-menu .dropdown-link:hover {
    background: #f0f0f0;
}




.dropdown-logout {
    background: #3a1a91;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    text-align: center;
    font-size: 14px;
}



.user-login-info {
    position: relative;
    cursor: pointer;
}

 .custom-login-btn {
        background-color: #3a1a91 !important;
        color: white !important;
        font-family: 'RH-Zak', sans-serif !important;
        font-size: 15px !important;
    }
@media (min-width: 769px) and (max-width: 1199px) {
  .classy-nav-container {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100vw !important;
    padding: 0 15px !important;
  }
  .classy-menu {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    background: #fff !important;
    z-index: 1000 !important;
    overflow-x: auto !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
  }
  .classynav > ul {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .classynav > ul > li {
    flex: 0 1 auto !important;
    margin: 5px 0 !important;
  }
  .classy-navbar {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
  }
  .header-meta {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 10px !important;
  }
  .classycloseIcon {
    z-index: 1100 !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
  }
  .nav-brand img {
    max-height: 60px !important;
    margin-bottom: 10px !important;
  }
  .classy-menu,
  .classynav {
    overflow-x: auto !important;
    overflow-y: visible !important;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .header_area .classy-menu,
  .header_area .classy-menu.open,
  .header_area .classy-menu.active {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    position: relative !important;
    background: #fff !important;
    z-index: 1000 !important;
    overflow-x: auto !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .header_area .classynav ul {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    display: flex !important;
  }
  .header_area .classynav ul li {
    flex: 0 1 auto !important;
    margin: 5px 0 !important;
  }
  .header_area .classy-navbar {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    display: flex !important;
  }
  .header_area .header-meta {
    width: 100% !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 10px !important;
    display: flex !important;
  }
  .header_area .classycloseIcon {
    z-index: 1100 !important;
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
  }
  .header_area .nav-brand img {
    max-height: 60px !important;
    margin-bottom: 10px !important;
  }
}
