/* =============================================
   Location Selector Styles
   ============================================= */

/* Location Dropdown */
.location-selector-wrapper {
  display: flex;
  align-items: center;
  margin-left: 20px;
}

.location-dropdown {
  padding: 8px 12px;
  border: 2px solid #cda45e;
  background-color: #1a1814;
  color: #cda45e;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Poppins", sans-serif;
  min-width: 150px;
}

.location-dropdown:hover {
  background-color: #2a2820;
  border-color: #d9ba85;
  color: #d9ba85;
}

.location-dropdown:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(205, 164, 94, 0.2);
  background-color: #2a2820;
}

.location-dropdown option {
  background-color: #1a1814;
  color: #cda45e;
  padding: 10px;
}

/* Mobile responsiveness for dropdown */
@media (max-width: 768px) {
  .location-selector-wrapper {
    margin-left: 10px;
    margin-right: 10px;
  }

  .location-dropdown {
    min-width: 120px;
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* =============================================
   Location Modal - Root Domain
   ============================================= */

.location-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.location-modal-content {
  background-color: #1a1814;
  border: 2px solid #cda45e;
  border-radius: 10px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9);
  animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.location-modal-content h2 {
  font-size: 28px;
  color: #cda45e;
  margin-bottom: 10px;
  font-family: "Playfair Display", serif;
}

.location-modal-content p {
  font-size: 16px;
  color: #aaa;
  margin-bottom: 30px;
}

.location-options {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.location-btn {
  flex: 1;
  min-width: 200px;
  padding: 25px 20px;
  background-color: #2a2820;
  border: 2px solid #cda45e;
  color: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.location-btn:hover {
  background-color: #cda45e;
  color: #1a1814;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(205, 164, 94, 0.3);
}

.location-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: "Playfair Display", serif;
}

.location-desc {
  font-size: 13px;
  opacity: 0.8;
}

.location-btn:hover .location-name,
.location-btn:hover .location-desc {
  color: #1a1814;
}

.location-modal-footer {
  border-top: 1px solid #cda45e;
  padding-top: 20px;
  text-align: center;
}

.location-modal-footer label {
  font-size: 14px;
  color: #aaa;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.location-modal-footer input[type="checkbox"] {
  cursor: pointer;
  accent-color: #cda45e;
}

/* Mobile responsiveness for modal */
@media (max-width: 600px) {
  .location-modal-content {
    padding: 25px;
  }

  .location-modal-content h2 {
    font-size: 24px;
  }

  .location-modal-content p {
    font-size: 14px;
  }

  .location-options {
    flex-direction: column;
    gap: 15px;
  }

  .location-btn {
    min-width: 100%;
    padding: 20px 15px;
  }

  .location-name {
    font-size: 16px;
  }

  .location-desc {
    font-size: 12px;
  }
}

/* Hide location selector in mobile nav if needed */
@media (max-width: 480px) {
  .location-selector-wrapper {
    margin-left: 5px;
  }

  .location-dropdown {
    min-width: 100px;
    padding: 5px 8px;
    font-size: 11px;
  }
}
