/* ===== CITY SERVICE AREA PAGE STYLES ===== */

/* Group Hover Effects for Specific Colors */
/* These provide the color-specific hover effects that are missing from the minified Tailwind CSS */

/* Yellow group hover effects */
.group:hover .group-hover\:text-yellow-300,
.group-hover.text-yellow-300 {
  color: #fde047; /* yellow-300 */
}

.group:hover .group-hover\:bg-yellow-200,
.group-hover.bg-yellow-200 {
  background-color: #fef08a; /* yellow-200 */
}

/* Green group hover effects */
.group:hover .group-hover\:text-green-300,
.group-hover.text-green-300 {
  color: #86efac; /* green-300 */
}

.group:hover .group-hover\:bg-green-200,
.group-hover.bg-green-200 {
  background-color: #bbf7d0; /* green-200 */
}

/* Indigo group hover effects */
.group:hover .group-hover\:text-indigo-300,
.group-hover.text-indigo-300 {
  color: #a5b4fc; /* indigo-300 */
}

.group:hover .group-hover\:bg-indigo-200,
.group-hover.bg-indigo-200 {
  background-color: #c7d2fe; /* indigo-200 */
}

/* Orange group hover effects */
.group:hover .group-hover\:text-orange-300,
.group-hover.text-orange-300 {
  color: #fdba74; /* orange-300 */
}

.group:hover .group-hover\:bg-orange-200,
.group-hover.bg-orange-200 {
  background-color: #fed7aa; /* orange-200 */
}

/* Red group hover effects */
.group:hover .group-hover\:text-red-300,
.group-hover.text-red-300 {
  color: #fca5a5; /* red-300 */
}

.group:hover .group-hover\:bg-red-200,
.group-hover.bg-red-200 {
  background-color: #fecaca; /* red-200 */
}

/* Blue group hover effects (already in Tailwind but adding for completeness) */
.group:hover .group-hover\:text-blue-300,
.group-hover.text-blue-300 {
  color: #93c5fd; /* blue-300 */
}

.group:hover .group-hover\:bg-blue-200,
.group-hover.bg-blue-200 {
  background-color: #bfdbfe; /* blue-200 */
}

/* Quick Links Grid */
#quick-links-container .quick-link-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#quick-links-container .quick-link-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Sidebar Sections */
.city-sidebar-section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.city-sidebar-section h3 {
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 1rem;
}

.city-sidebar-section h3 svg {
  display: inline-block;
  margin-right: 0.5rem;
}

/* Permit Guides List */
.permit-guides-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.permit-guides-list li {
  margin-bottom: 0.5rem;
}

.permit-guides-list a {
  display: flex;
  align-items: center;
  color: #2563eb;
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.permit-guides-list a:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Fee Schedule Section */
.fee-schedule-section {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.fee-schedule-section h3 {
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Scroll hint for mobile tables */
.scroll-hint {
  background: #dbeafe;
  border: 1px solid #bfdbfe;
  color: #1e40af;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  margin: 0 1rem 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .scroll-hint {
    display: none;
  }
}

/* Animate bounce right for scroll hint */
@keyframes bounce-right {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(0);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(2px);
  }
}

.animate-bounce-right {
  animation: bounce-right 2s infinite;
}

/* Status Check Buttons */
.status-check-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.status-check-buttons button {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
}

.status-check-buttons .btn-primary {
  background-color: #2563eb;
  color: white;
  border: none;
}

.status-check-buttons .btn-primary:hover {
  background-color: #1d4ed8;
}

.status-check-buttons .btn-secondary {
  background-color: transparent;
  color: #2563eb;
  border: 1px solid #2563eb;
}

.status-check-buttons .btn-secondary:hover {
  background-color: #eff6ff;
}

/* Zoning Information Cards */
.zoning-info-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.zoning-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.zoning-info-item h4 {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.zoning-info-item p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Help Contact Cards */
.help-contact-item {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.help-contact-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.help-contact-item h4 {
  color: #1f2937;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.help-contact-item p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.help-contact-item .phone {
  color: #2563eb;
  font-weight: 500;
}

/* External Link Icons */
.external-link {
  display: flex;
  align-items: center;
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.external-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.external-link svg {
  margin-left: 0.5rem;
  width: 1rem;
  height: 1rem;
}

/* Responsive Grid Adjustments */
@media (max-width: 1023px) {
  .city-main-grid {
    grid-template-columns: 1fr;
  }

  .city-sidebar-left,
  .city-sidebar-right {
    order: 2;
  }

  .city-main-content {
    order: 1;
  }
}

/* Section Dividers */
.section-divider {
  border-top: 1px solid #e5e7eb;
  margin-top: 1rem;
  padding-top: 1rem;
}

/* Icon Colors for Different Sections */
.icon-blue {
  color: #2563eb;
}
.icon-green {
  color: #059669;
}
.icon-purple {
  color: #7c3aed;
}
.icon-red {
  color: #dc2626;
}
.icon-yellow {
  color: #d97706;
}

/* Icon Background Colors */
.icon-bg-blue {
  background-color: #dbeafe;
}
.icon-bg-green {
  background-color: #d1fae5;
}
.icon-bg-purple {
  background-color: #e9d5ff;
}
.icon-bg-red {
  background-color: #fee2e2;
}
.icon-bg-yellow {
  background-color: #fef3c7;
}

/* Quick Links Specific Styling */
.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.quick-link-item {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-link-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.quick-link-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.quick-link-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.quick-link-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}
