/* Reset et base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

:root {
  --principal: #f8a818;
  --second: #1c2241;
  --white: #fff;
  --shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  --borderbot: 2px solid #faa72c;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  color: #333;
  background-color: #f8f9fa;
}
main {
  flex: 1;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}
.my {
  margin: 10px 0;
}
.mb {
  margin-bottom: 20px;
}
.requid {
  color: red;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: #333;
}
.logo img {
  width: 100px;
  height: auto;
  object-fit: cover;
}
.logos img {
  width: 100px;
  height: 50px;
  object-fit: cover;
}
.header-search {
  flex: 1;
  max-width: 400px;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: var(--principal);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #6b7280;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: var(--principal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.create-ad-btn,
.create-sh-btn, .del-btn {
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.del-btn{
  background: red;
  color: var(--white);
}

.create-ad-btn {
  background: var(--principal);
  color: var(--white);
}


.create-sh-btn {
  background: var(--white);
  color: var(--principal);
  box-shadow: var(--shadow);
}
.create-sh-btn:hover {
  transform: translateY(-2px);
}
.create-ad-btn:hover {
  background: #e6820a;
  transform: translateY(-2px);
}

.favorites-btn,
.profile-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.2rem;
  transition: color 0.3s ease;
}

.favorites-btn:hover,
.profile-btn:hover {
  color: var(--principal);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}

/* Main Content */
/* .main {
  min-height: calc(100vh - 80px);
} */

.hero-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 2rem 0;
  min-height: calc(100vh - 80px);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  min-height: 600px;
  position: relative;
  z-index: 2;
}
.reb {
  background-color: var(--white);
  padding: 10px 20px;
  text-align: center;
  box-shadow: 0px -5px 10px 0px rgba(92, 89, 89, 0.15);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border: none;
}

.search-form-container {
  background: var(--white);
  border-radius: 0 8px 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 500px;
  width: 100%;
}
.pc,
.px {
  margin: 0 auto;
}
.px {
  max-width: 700px;
}
.search-form-header {
  display: flex;
  background: #f8f9fa;
  margin-bottom: 10px;
}

.tab-btn {
  flex: 1;
  padding: 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: var(--principal);
  color: white;
}

.tab-btn:not(.active):hover {
  background: #e9ecef;
}

.search-form {
  padding: 1.5rem;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  line-height: 1.3;
}

.property-search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.input-group {
  display: flex;
  gap: 0.5rem;
}

.input-group input {
  flex: 1;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--principal);
}

.radius-select {
  min-width: 100px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.search-submit-btn {
  background: var(--principal);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-submit-btn:hover {
  background: #e6820a;
  transform: translateY(-2px);
}

.advanced-search-btn {
  background: none;
  border: none;
  color: #6b7280;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem;
  transition: color 0.3s ease;
}

.advanced-search-btn:hover {
  color: var(--principal);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: white;
  z-index: 1000;
  transition: right 0.3s ease;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.mobile-menu-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-bottom: 2rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid #e5e7eb;
  transition: color 0.3s ease;
}

.mobile-nav-link:hover {
  color: var(--principal);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-form-container {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover effects */
.form-group input:hover,
.form-group select:hover {
  border-color: #d1d5db;
}

.tab-btn:not(.active) {
  position: relative;
}

.tab-btn:not(.active):hover::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--principal);
  opacity: 0.5;
}

/* Focus states for accessibility */
.search-input:focus,
.form-group input:focus,
.form-group select:focus {
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.create-ad-btn:focus,
.search-submit-btn:focus {
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.3);
}

/* Loading Spinner Styles */
.spinner-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.spinner-overlay.hidden {
  opacity: 0;
  visibility: hidden;
}

.spinner-container {
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
}

.spinner-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #f3f4f6;
  border-top: 4px solid #ff9500;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-dots {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 4px;
}

.spinner-dot {
  width: 8px;
  height: 8px;
  background: var(--second);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.spinner-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.spinner-dot:nth-child(3) {
  animation-delay: 0.4s;
}

.spinner-text {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

.spinner-subtext {
  font-size: 0.9rem;
  color: #6b7280;
  opacity: 0.8;
}

/* Button Loading State */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.btn-loading::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* les button */

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 1px solid #d1d5db;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
}

.btn-danger {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.btn-danger:hover {
  background: #fecaca;
  transform: translateY(-1px);
}

/* Page Transition Effects */
.page-transition {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.page-transition.loaded {
  opacity: 1;
  transform: translateY(0);
}

/* Spinner Animations */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  80%,
  100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* pour la modal */

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal.active {
  display: flex;
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: modalSlideIn 0.3s ease-out;
}

.modal.active .modal-content {
  animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
  /* background: #f8f9fa; */
}

.modal-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0;
}

.modal-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #6b7280;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #333;
}

.modal-body {
  padding: 2rem;
  max-height: calc(90vh - 140px);
  overflow-y: auto;
}

.modal-tabs {
  display: flex;
  margin-bottom: 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  overflow: hidden;
}

.modal-tab-btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border: none;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  color: #6b7280;
}

.modal-tab-btn.active {
  background: #ff9500;
  color: white;
}

.modal-tab-btn:not(.active):hover {
  background: #e9ecef;
  color: #333;
}

.advanced-search-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.advanced-search-form .form-group {
  display: flex;
  flex-direction: column;
}

.advanced-search-form .form-group label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-select,
.form-input {
  background: white;
}

.form-select:focus,
.form-input:focus {
  border-color: #ff9500;
  box-shadow: 0 0 0 3px rgba(255, 149, 0, 0.1);
}

.location-input-group {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.location-input-group .form-input {
  flex: 1;
}

.location-input-group .radius-select {
  min-width: 100px;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease;
  background: white;
}

.map-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid #e5e7eb;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  color: #6b7280;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.map-btn:hover {
  border-color: #ff9500;
  color: #ff9500;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: #ff9500;
  cursor: pointer;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: #374151;
  cursor: pointer;
  margin: 0;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
  /* background: #f8f9fa; */
}

.apply-filters-btn {
  background: #ff9500;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.apply-filters-btn:hover {
  background: #e6820a;
  transform: translateY(-2px);
}

/* Modal Animations */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(-20px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* le footer */

.footer-container {
  background-color: var(--second);
  color: var(--white);
  width: 100%;
  flex-shrink: 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  padding: 30px 20px;
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-title {
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-link {
  margin: 5px 0;
  font-size: 14px;
  cursor: pointer;
}

.footer-app {
  width: 120px;
  margin: 5px 0;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 10px;
}

.footer-languages {
  margin-bottom: 10px;
}

.footer-lang {
  margin: 0 5px;
  cursor: pointer;
}

.footer-follow {
  font-size: 14px;
}

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
}

.footer-icon {
  width: 24px;
  height: 24px;
  margin: 0 5px;
  filter: brightness(0) invert(1);
}

.footer-copy {
  font-size: 12px;
  margin-top: 5px;
}

/* pour la page detail */

.headerd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
}

.back-btnd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  font-size: 1rem;
  color: #333;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

.back-btnd:hover {
  background-color: #f0f0f0;
}

.arrow-left {
  font-size: 1.2rem;
}

.headerd-right {
  display: flex;
  gap: 1rem;
}

.action-btnd {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  color: #4285f4;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.action-btnd:hover {
  background-color: #f0f4ff;
}

.image-sliderd {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  background-color: #f0f0f0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #333;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.slider-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 20px;
}

.next-btn {
  right: 20px;
}

.view-all-btn {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
  z-index: 10;
}

.view-all-btn:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
}

/* Property Details Styles */
.property-details {
  padding: 2rem;
  background-color: #ffffff;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.detail-value {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 10px;
}

.icon {
  font-size: 1.2rem;
}

.price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--principal);
}

.property-title {
  padding: 1rem 2rem;
  background-color: #ffffff;
  border-top: 1px solid #e0e0e0;
}

.property-title h1 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

/* Animation for smooth transitions */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-details,
.contact-section {
  animation: fadeIn 0.6s ease-out;
}

.slide {
  background-color: #f0f0f0;
  background-image: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 50%,
    #f0f0f0 100%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------- */

.my-annonce-wrapper {
  background-color: var(--white);
  margin: auto;
  padding: 1rem 2rem;
}

.my-section-title {
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.my-annonceur-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.my-annonceur-logo {
  width: 60px;
}

.my-annonceur-info a {
  display: block;
  color: #2563eb;
  text-decoration: none;
  margin-top: 5px;
  font-size: 0.95rem;
}

.my-contact-section {
  margin: 20px 0;
}

.my-contact-button {
  background-color: #f9a826;
  color: white;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.my-contact-info span {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

/* pages creer alert */

.headerA {
  background-color: #090657;
  color: white;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.headerAb {
  background-color: #090657;
  padding: 20px;
  border-radius: 0px 0px 50% 50%;
}

.headerA-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.headerA-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* User Profile Section */
.user-profile {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: #e5e7eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #6b7280;
}

.user-details h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.user-details p {
  color: #6b7280;
  font-size: 0.9rem;
}

.notifications h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.notifications p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Alerts Section */
.alerts-section {
  margin-bottom: 40px;
}

.alerts-headerA {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.alerts-headerA h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Alert Card */
.alert-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 24px;
}

.alert-headerA {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.alert-headerA h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.new-items-badge {
  background: #ecfdf5;
  color: #059669;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.alert-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 24px;
  margin-bottom: 20px;
}

.search-criteria h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.criterion {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.criterion i {
  color: #6b7280;
  width: 16px;
}

.additional-criteria h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.additional-criteria p {
  color: #6b7280;
  font-size: 0.9rem;
}

/* Map Container */
.map-container {
  background: linear-gradient(135deg, #bfdbfe 0%, #dbeafe 100%);
  border-radius: 8px;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.map-pins {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #1e40af;
  font-size: 0.9rem;
  font-weight: 500;
}

.map-overlay i {
  font-size: 1.5rem;
  margin-bottom: 4px;
  display: block;
}

/* Alert Actions */
.alert-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.alert-actions-left {
  display: flex;
  gap: 12px;
}

.alert-expiry {
  color: #6b7280;
  font-size: 0.85rem;
}

/* Create Additional Alert Section */
.create-additional-alert {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 40px;
}

.create-alert-content {
  flex: 1;
}

.create-alert-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.create-alert-content p {
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.6;
}

.create-alert-illustration {
  flex-shrink: 0;
}

.magnifying-glass {
  position: relative;
  width: 100px;
  height: 100px;
}

.magnifying-glass i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2rem;
  color: #f59e0b;
  z-index: 2;
}

.magnifying-glass-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  border: 4px solid #1e40af;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}
