/* Locations Styles */
.locations-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
}

.locations-title {
  color: #2c3e50;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  font-family: 'Roboto', sans-serif;
}

.locations-subtitle {
  color: #6c757d;
  margin-bottom: 20px;
  font-size: 1rem;
}

.location-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
}

.location-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.location-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.location-card:hover::before {
  left: 100%;
}

.location-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f8f9fa;
}

.location-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.location-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease;
}

.location-card:hover .location-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.location-card:hover .location-icon::before {
  width: 100%;
  height: 100%;
}

.warehouse-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.office-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.location-title h6 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.location-title .location-subtitle {
  color: #6c757d;
  font-size: 0.85rem;
  margin: 0;
}

.location-map {
  margin-bottom: 15px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.location-map:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.location-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.location-map:hover::before {
  opacity: 1;
}

.location-map iframe {
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.location-map:hover iframe {
  transform: scale(1.05);
}

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

.address-info,
.hours-info {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #007bff;
}

.address-info i,
.hours-info i {
  color: #007bff;
  margin-top: 2px;
  font-size: 1.1rem;
  min-width: 16px;
}

.address-info span {
  color: #6c757d;
  font-size: 0.9rem;
  line-height: 1.5;
}

.hours-content {
  flex: 1;
}

.hours-label {
  display: block;
  color: #2c3e50;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.hours-schedule {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hours-day {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  border-bottom: 1px solid #e9ecef;
}

.hours-day:last-child {
  border-bottom: none;
}

.hours-day .day {
  color: #495057;
  font-size: 0.85rem;
  font-weight: 500;
}

.hours-day .time {
  color: #6c757d;
  font-size: 0.8rem;
  font-weight: 400;
}

.location-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.location-btn {
  flex: 1;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.location-btn.primary {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  color: white;
}

.location-btn.primary:hover {
  background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.location-btn.secondary {
  background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
  color: white;
}

.location-btn.secondary:hover {
  background: linear-gradient(135deg, #5a6268 0%, #3d4043 100%);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .locations-container {
    gap: 15px;
  }
  
  .location-card {
    padding: 15px;
  }
  
  .location-header {
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
  }
  
  .location-icon {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
  
  .location-title h6 {
    font-size: 1rem;
  }
  
  .location-title .location-subtitle {
    font-size: 0.8rem;
  }
  
  .location-map iframe {
    height: 160px;
  }
  
  .location-details {
    gap: 12px;
  }
  
  .address-info,
  .hours-info {
    padding: 10px;
  }
  
  .hours-day {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  
  .location-actions {
    flex-direction: column;
  }
  
  .location-btn {
    padding: 12px 15px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .locations-container {
    gap: 12px;
  }
  
  .location-card {
    padding: 12px;
  }
  
  .locations-title {
    font-size: 1.3rem;
  }
  
  .locations-subtitle {
    font-size: 0.9rem;
  }
  
  .location-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .location-icon {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .location-map iframe {
    height: 140px;
  }
  
  .address-info span {
    font-size: 0.85rem;
  }
  
  .hours-day .day {
    font-size: 0.8rem;
  }
  
  .hours-day .time {
    font-size: 0.75rem;
  }
}
