body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  background: #f7f9fa;
  min-height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-main {
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.login-card {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 4px 24px #3b5fff22;
  padding: 32px 22px 28px 22px;
  max-width: 340px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: visible;
  position: relative;
}
.login-avatar img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px #0002;
  margin-bottom: 12px;
}
.login-title {
  font-size: 22px;
  font-weight: 700;
  color: #3b5fff;
  margin-bottom: 22px;
}
.login-fields-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  width: 100%;
  margin-bottom: 16px;
}
.login-field {
  background: #f1f4fa;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  width: 100%;
  box-sizing: border-box;
  flex: 1 1 0;
}
.login-icon {
  font-size: 20px;
  color: #b0b3c6;
  margin-right: 8px;
}
.login-field input {
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 16px;
  width: 100%;
  outline: none;
  color: #222;
}
.login-btn {
  width: 100%;
  background: #3b5fff;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 17px;
  font-weight: 600;
  margin-top: 8px;
  cursor: pointer;
  box-shadow: 0 2px 8px #3b5fff22;
  transition: background 0.2s;
}
.login-btn:hover {
  background: #2546b8;
}
.login-blue-card {
  background: #3b5fff;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px #3b5fff22;
  padding: 18px 18px 14px 18px;
  width: 100%;
  margin-bottom: 22px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.login-blue-card-header {
  margin-bottom: 8px;
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.login-blue-card-header > div:first-child {
  display: flex;
  align-items: center;
  gap: 18px;
}
.login-blue-card-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 2px 8px #0002;
}
.login-blue-card-call-btn {
  background: #fff;
  color: #3b5fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px #0001;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
  margin-right: 2px;
  padding: 0;
  transition: background 0.2s;
}
.login-blue-card-call-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.login-blue-card-call-btn:hover {
  background: #e6eaff;
}
.login-blue-card-doctor {
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.login-blue-card-role {
  font-size: 14px;
  opacity: 0.9;
  display: block;
}
.login-blue-card-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  opacity: 1;
  margin-left: 72px;
  margin-top: 2px;
}
.login-blue-card-detail-pill {
  display: flex;
  align-items: center;
  background: #fff;
  color: #3b5fff;
  border-radius: 10px;
  padding: 4px 10px 4px 8px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: 0 2px 8px #3b5fff11;
  gap: 5px;
}
.login-blue-card-detail-pill .login-blue-card-icon {
  color: #3b5fff;
  font-size: 15px;
  margin-right: 2px;
}
.login-blue-card-icon {
  font-size: 15px;
  color: #fff;
}
.doctor-speciality {
  
  padding: 18px 0 0 0;
  margin-bottom: 8px;
}
.doctor-speciality-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px 8px 4px;
}
.doctor-speciality-header h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}
.doctor-speciality-header .see-all {
  color: #3b5fff;
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.doctor-speciality-list {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-left: 2px;
  position: relative;
  padding-bottom: 30px;
}
.doctor-speciality-item {
  background: #f1f4fa;
  border-radius: 50%;
  min-width: 72px;
  width: 72px;
  height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #0001;
  font-size: 15px;
  font-weight: 500;
  flex-shrink: 0;
  position: relative;
}
.doctor-speciality-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.doctor-speciality-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}
.doctor-speciality-label {
  font-size: 13px;
  color: #222;
  text-align: center;
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -22px;
  width: max-content;
  min-width: 60px;
  max-width: 90px;
}
.nearby-hospitals {
  margin-top: 10px;
  margin-bottom: 0;
  width: 100%;
}
.nearby-hospitals h2 {
  font-size: 15px;
  font-weight: 600;
  color: #7a7a7a;
  margin: 0 0 8px 8px;
  letter-spacing: 0.01em;
}
.hospital-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 18px;
  margin-left: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
}
.hospital-list::-webkit-scrollbar {
  display: none;
}
.hospital-card {
  background: #fff;
  border-radius: 20px;
  min-width: 78%;
  max-width: 78%;
  box-shadow: 0 4px 16px #3b5fff11;
  padding: 0 0 12px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
  box-sizing: border-box;
  scroll-snap-align: start;
  margin-right: 2px;
  transition: box-shadow 0.2s;
}
.hospital-card:active, .hospital-card:focus {
  box-shadow: 0 6px 20px #3b5fff22;
}
@media (min-width: 400px) {
  .hospital-card {
    min-width: 150px;
    max-width: 150px;
  }
}
.hospital-img {
  border-radius: 20px 20px 0 0;
  width: 100%;
  height: 100px;
  background: #f8f9fa;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hospital-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.hospital-info {
  padding: 10px 14px 0 14px;
  width: 100%;
}
.hospital-name {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin-bottom: 2px;
}
.hospital-rating {
  background: #fffbe6;
  color: #f7b500;
  border-radius: 8px;
  font-size: 13px;
  padding: 2px 8px;
  margin-top: 2px;
  display: inline-block;
  font-weight: 600;
}
.hospital-add-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  background: #3b5fff;
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 90%;
  margin: 12px auto 0 auto;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px #3b5fff22;
  transition: background 0.2s;
}
.hospital-add-cart-btn:hover {
  background: #2546b8;
}
.hospital-add-cart-btn img {
  margin-right: 2px;
}
@media (max-width: 400px) {
  .login-card {
    padding: 18px 6px 18px 6px;
  }
} 
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  box-shadow: 0 -2px 12px #0001;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 74px;
  z-index: 100;
  border-radius: 18px 18px 0 0;
  max-width: 420px;
  margin: 0 auto;
  width: 100vw;
  padding-bottom: 2px;
}
.nav-btn {
  background: none;
  border: none;
  color: #b0b3c6;
  font-size: 13px;
  font-family: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-weight: 500;
  cursor: pointer;
  padding: 0 2px;
  transition: color 0.2s;
  outline: none;
  min-width: 54px;
  position: relative;
}
.nav-btn .nav-icon {
  display: block;
  margin-bottom: 2px;
}
.nav-btn span {
  font-size: 13px;
  color: #222;
  margin-top: 0;
  font-weight: 400;
}
.nav-btn-store {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
}
.nav-btn-store-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: #fff;
  border: 3px solid #2346a0;
  border-radius: 50%;
  box-shadow: 0 2px 12px #2346a022;
  margin-top: -32px;
  margin-bottom: 0;
}
.nav-btn-store-label {
  color: #2346a0;
  font-weight: 700;
  font-size: 15px;
  margin-top: 2px;
}
.nav-btn-cart {
  position: relative;
}
.nav-btn-cart-label {
  color: #2346a0;
  font-weight: 700;
  font-size: 13px;
  margin-top: 2px;
}
.nav-btn-cart-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-btn-cart-badge {
  position: absolute;
  top: -10px;
  right: -12px;
  background: #ff2d2d;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px #ff2d2d22;
  line-height: 1;
  vertical-align: super;
  padding: 0;
}
.nav-btn.active span,
.nav-btn.active .nav-icon,
.nav-btn-store-label,
.nav-btn-cart-label {
  color: #2346a0 !important;
}
@media (min-width: 500px) {
  .bottom-nav {
    max-width: 420px;
    margin: 0 auto;
  }
} 
.location-section {
  width: 100%;
  margin-bottom: 10px;
  margin-top: -8px;
}
.location-label {
  color: #b0b3c6;
  font-size: 14px;
  margin-bottom: 2px;
  margin-left: 2px;
}
.location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
  padding-bottom: 8px;
}
.location-icon {
  display: flex;
  align-items: center;
  margin-right: 4px;
}
.location-text {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-right: 2px;
}
.location-arrow {
  font-size: 16px;
  color: #222;
  margin-right: auto;
  margin-left: 2px;
}
.notif-bell-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}
.notif-bell-bg {
  background: #f1f4fa;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 2px 6px #0001;
}
.notif-bell {
  width: 22px;
  height: 22px;
  display: block;
}
.notif-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background: #ff2d2d;
  border-radius: 50%;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 4px #ff2d2d44;
  z-index: 2;
} 
.slider {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 18px auto;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 2px 12px #0001;
  background: #f7f9fa;
  min-height: 180px;
}
.slides {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  width: 100%;
}
.slide {
  min-width: 100%;
  transition: opacity 0.5s;
  opacity: 0;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide.active {
  opacity: 1;
  position: relative;
  z-index: 1;
}
.slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.18);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 22px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }
.slider-btn:hover { background: rgba(0,0,0,0.32); }
.slider-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 3;
}
.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d1d5db;
  display: inline-block;
  transition: background 0.2s;
}
.dot.active {
  background: #3b5fff;
}
@media (max-width: 400px) {
  .slider, .slide img {
    min-height: 120px;
    height: 120px;
    border-radius: 12px;
  }
} 
@media (max-width: 500px) {
  .login-card {
    margin-bottom: 80px;
  }
}

@media (min-width: 500px) {
  .login-card {
    margin-bottom: 100px;
  }
}

/* === SHOP PRODUCTS === */
.shop-products {
  width: 100%;
  margin-top: 18px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.shop-products-grid {
  display: flex;
  gap: 18px;
  width: 100%;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}
.shop-products-col {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.shop-product-card {
  background: #f1f4fa;
  border-radius: 16px;
  box-shadow: 0 2px 8px #3b5fff11;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  /* padding: 18px 14px 16px 14px; */
  transition: box-shadow 0.2s;
  width: 100%;
}
.shop-product-card:hover {
  box-shadow: 0 4px 16px #3b5fff22;
}
.shop-product-img {
  width: 170px;
  height: 170px;
  border-radius: 18px;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 1px 4px #0001;
  margin-bottom: 8px;
}
.shop-product-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.shop-product-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  text-align: center;
}
.shop-product-price {
  font-size: 15px;
  color: #3b5fff;
  font-weight: 500;
  text-align: center;
}
.shop-product-btn {
  margin-top: 8px;
  background: #3b5fff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 22px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 4px #3b5fff22;
  transition: background 0.2s;
  width: 100%;
  max-width: 160px;
}
.shop-product-btn:hover {
  background: #2546b8;
}
@media (max-width: 600px) {
  .shop-products-grid {
    gap: 10px;
  }
  .shop-products-col {
    gap: 18px;
  }
  .shop-product-card {
   /* padding: 14px 8px 12px 8px; */ 
   /* padding: 14px 8px 12px 8px; */ 
  }
  .shop-product-img {
    width: 170px;
    height: 170px;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.373);
  }
} 

/* === POPUP PRODUIT === */
.product-modal {
  position: fixed;
  z-index: 1000;
  left: 0; top: 0; right: 0; bottom: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.product-modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0002;
  padding: 28px 18px 22px 18px;
  max-width: 340px;
  width: 90vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  animation: popupIn 0.2s;
}
@keyframes popupIn {
  from { transform: scale(0.95); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
.product-modal-close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 28px;
  color: #3b5fff;
  cursor: pointer;
  font-weight: bold;
  transition: color 0.2s;
}
.product-modal-close:hover {
  color: #ff2d2d;
}
.product-modal-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 1px 4px #0001;
}
.product-modal-price {
  font-size: 18px;
  color: #3b5fff;
  font-weight: 600;
  margin: 10px 0 0 0;
} 

/* === SERVICES CARDS === */
.services-section {
  width: 100%;
  margin-top: 18px;
  margin-bottom: 24px;
}
.services-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
}
.service-card {
  background: #3b5fff;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px #3b5fff22;
  padding: 22px 18px 18px 18px;
  width: 170px;
  min-width: 90%;
  max-width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px #3b5fff44;
  background: #2546b8;
}
.service-card-icon {
  font-size: 38px;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px #0002);
}
.service-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
  text-align: center;
}
.service-card-desc {
  font-size: 14px;
  opacity: 0.95;
  text-align: center;
}
@media (max-width: 600px) {
  .services-cards {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .service-card {
    width: 90vw;
    min-width: 0;
    padding: 18px 10px 14px 10px;
  }
} 

/* === ANIMATION HALO STORE === */
.nav-btn-store-circle {
  position: relative;
  z-index: 2;
}
.nav-btn-store-circle::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
    width: 80px;
    height: 80px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(rgba(59,95,255,0.25) 60%, transparent 100%);
  opacity: 0.8;
  animation: storeHaloPulse 1.8s infinite cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  z-index: 1;
}
@keyframes storeHaloPulse {
  0% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
  60% { opacity: 0.2; transform: translate(-50%, -50%) scale(1.25); }
  100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
} 

/* === THEME SOMBRE === */
body.dark {
  background: #181c24;
  color: #f1f4fa;
}
body.dark .login-card {
  background: #23283a;
  color: #f1f4fa;
  box-shadow: 0 4px 24px #0008;
}
body.dark .login-blue-card {
  background: #2346a0;
  color: #fff;
  box-shadow: 0 4px 16px #0006;
}
body.dark .login-blue-card-detail-pill {
  background: #23283a;
  color: #3b5fff;
  box-shadow: 0 2px 8px #0004;
}
body.dark .shop-product-card,
body.dark .status-table {
  background: #23283a;
  color: #f1f4fa;
  box-shadow: 0 2px 8px #0006;
}
body.dark .shop-product-title,
body.dark .shop-product-price,
body.dark .shop-product-info,
body.dark .status-table td {
  color: #f1f4fa;
}
body.dark .shop-product-btn,
body.dark .login-btn {
  background: #3b5fff;
  color: #fff;
  box-shadow: 0 1px 4px #0004;
}
body.dark .shop-product-btn:hover,
body.dark .login-btn:hover {
  background: #2546b8;
}
body.dark .product-modal-content {
  background: #23283a;
  color: #f1f4fa;
  box-shadow: 0 4px 24px #0008;
}
body.dark .product-modal-close {
  color: #3b5fff;
}
body.dark .product-modal-close:hover {
  color: #ff2d2d;
}
body.dark .product-modal-img {
  box-shadow: 0 1px 4px #0004;
}
body.dark .services-section {
  background: transparent;
}
body.dark .service-card {
  background: #2346a0;
  color: #fff;
  box-shadow: 0 4px 16px #0006;
}
body.dark .service-card:hover {
  background: #3b5fff;
  box-shadow: 0 8px 32px #0008;
}
body.dark .nav-btn,
body.dark .nav-btn span,
body.dark .nav-btn .nav-icon {
  color: #f1f4fa !important;
}
body.dark .bottom-nav {
  background: #23283a;
  box-shadow: 0 -2px 12px #0008;
}
body.dark .nav-btn-store-circle {
  background: #181c24;
  border-color: #3b5fff;
  box-shadow: 0 2px 12px #3b5fff22;
}
body.dark .nav-btn-store-label,
body.dark .nav-btn-cart-label {
  color: #3b5fff !important;
}
body.dark .nav-btn-cart-badge {
  background: #ff2d2d;
  color: #fff;
  border: 2px solid #23283a;
}
body.dark input,
body.dark textarea {
  background: #23283a;
  color: #f1f4fa;
  border: 1px solid #3b5fff;
}
body.dark input::placeholder,
body.dark textarea::placeholder {
  color: #b0b3c6;
}
body.dark .location-section,
body.dark .location-label,
body.dark .location-row,
body.dark .location-text,
body.dark .location-arrow {
  color: #f1f4fa;
} 
body.dark .doctor-speciality-list,
body.dark .doctor-speciality-label,
body.dark .doctor-speciality-item {
  color: #fff !important;
} 

/* === INPUT USER & PASSWORD AMELIORES === */
.login-field {
  background: #f1f4fa;
    border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  width: 100%;
  box-sizing: border-box;
  flex: 1 1 0;
  border: 1.5px solid #e0e4f0;
  box-shadow: 0 1px 4px #3b5fff11;
  transition: border 0.2s, box-shadow 0.2s;
  margin-bottom: 10px;
}
.login-field:focus-within {
  border: 1.5px solid #3b5fff;
  box-shadow: 0 2px 8px #3b5fff22;
  background: #eaf0ff;
}
.login-icon {
  font-size: 22px;
  color: #3b5fff;
  margin-right: 10px;
  opacity: 0.85;
}
.login-field input {
  border: none;
  background: transparent;
  padding: 14px 0;
  font-size: 17px;
  width: 100%;
  outline: none;
  color: #222;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.login-field input::placeholder {
  color: #b0b3c6;
  opacity: 1;
  font-weight: 400;
}
body.dark .login-field {
  background: #23283a;
  border: 1.5px solid #2e3650;
  box-shadow: 0 1px 4px #0004;
}
body.dark .login-field:focus-within {
  border: 1.5px solid #3b3f4a;
  box-shadow: 0 2px 8px #0006;
  background: #1a1e2a;
}
body.dark .login-field input {
  color: #f1f4fa;
}
body.dark .login-field input::placeholder {
  color: #b0b3c6;
}
body.dark .login-icon {
  color: #3b5fff;
} 
body.dark .login-field input:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
} 

/* === BOUTON CHANGEMENT DE THEME AMELIORE === */
#themeToggleBtn {
  background: linear-gradient(135deg, #f1f4fa 60%, #eaf0ff 100%);
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px #3b5fff22;
  transition: background 0.18s, box-shadow 0.18s, transform 0.18s;
  position: relative;
  z-index: 2;
  margin-left: 6px;
}
#themeToggleBtn:hover {
  background: linear-gradient(135deg, #eaf0ff 60%, #dbe8ff 100%);
  box-shadow: 0 4px 16px #3b5fff33;
  transform: scale(1.08) rotate(-8deg);
}
#themeToggleIcon {
  width: 22px;
  height: 22px;
  display: block;
  filter: drop-shadow(0 1px 4px #3b5fff22);
  transition: filter 0.18s;
}
#themeToggleBtn:active {
  transform: scale(0.96) rotate(4deg);
}
body.dark #themeToggleBtn {
  background: linear-gradient(135deg, #23283a 60%, #181c24 100%);
  box-shadow: 0 2px 8px #0006;
}
body.dark #themeToggleBtn:hover {
  background: linear-gradient(135deg, #2346a0 60%, #23283a 100%);
  box-shadow: 0 4px 16px #3b5fff44;
}
body.dark #themeToggleIcon {
  filter: drop-shadow(0 1px 4px #3b5fff44);
} 