/* SafeBite NYC custom styles */

:root {
  /* Enhanced color palette */
  --primary: #4F46E5;
  --primary-hover: #4338CA;
  --primary-light: #EEF2FF;
  --secondary: #10B981;
  --secondary-hover: #059669;
  --secondary-light: #ECFDF5;
  --danger: #EF4444;
  --danger-hover: #DC2626;
  --danger-light: #FEF2F2;
  --warning: #F59E0B;
  --warning-light: #FFFBEB;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --modal-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
}

/* Document setup */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--gray-800);
  background-color: var(--gray-50);
  line-height: 1.5;
}

/* Typography improvements */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

h1 {
  font-weight: 800;
}

p {
  margin-bottom: 1rem;
}

small {
  font-size: 0.875rem;
}

/* Owner link in restaurant title */
.owner-link {
  color: var(--primary);
  font-weight: 500;
  background-color: var(--primary-light);
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.75rem;
  white-space: nowrap;
  vertical-align: middle;
  display: inline-flex;
  align-items: center;
}

.owner-link:hover {
  background-color: var(--primary);
  color: white;
}

/* Stat cards for owner dashboard */
.stat-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 1rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
  text-align: center;
}

.stat-card:hover {
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

.stat-title {
  font-weight: 500;
  color: var(--gray-500);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gray-900);
}

/* Form elements styling */
input, select, textarea {
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-300);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 0.875rem;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Enhanced button styling */
button {
  font-weight: 500;
  transition: all var(--transition-fast);
  border-radius: var(--border-radius-md);
  position: relative;
  overflow: hidden;
}

button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 4px rgba(79, 70, 229, 0.2);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.2);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(16, 185, 129, 0.25);
}

.btn-secondary:active {
  transform: translateY(0);
}

.btn-danger {
  background-color: var(--danger);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 2px 4px rgba(239, 68, 68, 0.2);
}

.btn-danger:hover {
  background-color: var(--danger-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(239, 68, 68, 0.25);
}

.btn-danger:active {
  transform: translateY(0);
}

/* Owner report modal styling */
.owner-report-modal {
  background-color: rgba(0, 0, 0, 0.75);
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 1rem;
}

.owner-report-content {
  background-color: var(--gray-50);
  border-radius: var(--border-radius-xl);
  max-width: 900px;
  width: 100%;
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  box-shadow: var(--modal-shadow);
  padding: 2rem;
  position: relative;
  animation: modalFadeIn 0.3s ease-out forwards;
}

/* Header styling */
header {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  background-color: white;
}

header h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
}

/* Grade badges styling */
.grade-badge {
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.grade-A { 
  background-color: var(--secondary-light);
  color: #065F46; 
  border: 1px solid rgba(6, 95, 70, 0.1);
}

.grade-B { 
  background-color: var(--warning-light);
  color: #92400E; 
  border: 1px solid rgba(146, 64, 14, 0.1);
}

.grade-C { 
  background-color: var(--danger-light); 
  color: #991B1B; 
  border: 1px solid rgba(153, 27, 27, 0.1);
}

.grade-NA { 
  background-color: var(--gray-100); 
  color: var(--gray-700); 
  border: 1px solid rgba(55, 65, 81, 0.1);
}

/* Card styling with hover effects */
.card {
  background-color: white;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.02);
  animation: cardFadeIn 0.5s ease-out forwards;
  opacity: 0;
  transform: translateY(10px);
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(79, 70, 229, 0.1);
}

.card .p-4 {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

.card h3 {
  margin-bottom: 0.75rem;
  line-height: 1.3;
  height: 2.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card .flex.items-start,
.card .flex.items-center {
  margin-bottom: 0.75rem;
  gap: 0.5rem;
}

.card .btn-primary {
  margin-top: auto;
  padding: 0.75rem 1rem;
}

/* Card icon alignment */
.card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  min-width: 1.5rem;
  text-align: center;
  color: var(--gray-500);
}

/* Animation for card appearance */
@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Add delay to cards for staggered appearance */
#restaurantGrid > div:nth-child(3n+1) {
  animation-delay: 0.1s;
}

#restaurantGrid > div:nth-child(3n+2) {
  animation-delay: 0.2s;
}

#restaurantGrid > div:nth-child(3n+3) {
  animation-delay: 0.3s;
}

/* Restaurant grid styling */
#restaurantGrid {
  display: grid;
  gap: 1.5rem;
  animation: fadeInGrid 0.5s ease-out;
}

@keyframes fadeInGrid {
  from { opacity: 0.5; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

#restaurantGrid.loading {
  opacity: 0.6;
}

@media (min-width: 640px) {
  #restaurantGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  #restaurantGrid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Modal Animation */
@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

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

#detailsModal {
  transition: opacity 0.2s ease-out;
}

#detailsModal:not(.hidden) {
  animation: modalBackdropFadeIn 0.3s ease-out forwards;
}

#detailsModal:not(.hidden) > div {
  animation: modalFadeIn 0.3s ease-out forwards;
}

/* Loading Spinner */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.animate-spin {
  animation: spin 0.8s linear infinite;
}

/* Notification Animation */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
.nav-btn {
  @apply inline-flex items-center justify-center px-4 py-2 rounded-full border border-indigo-200 text-gray-700 hover:bg-indigo-100 hover:text-indigo-700 font-medium transition duration-200;
}

.notification {
  animation: slideIn 0.3s ease-out forwards, fadeOut 0.3s ease-out forwards 2.7s;
}

/* Restaurant detail styling */
.restaurant-detail {
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Reviews styling */
.review-card {
  background-color: white;
  border-radius: var(--border-radius-lg);
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: var(--card-shadow);
  transition: all var(--transition-fast);
  border: 1px solid var(--gray-100);
}

.review-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.review-rating {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.star-filled {
  color: #FBBF24;
  text-shadow: 0 1px 1px rgba(0,0,0,0.1);
}

.star-empty {
  color: var(--gray-300);
}

/* Star rating input styling */
#starRating {
  display: flex;
  gap: 0.25rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

#starRating span {
  cursor: pointer;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

#starRating span:hover {
  transform: scale(1.2);
}

/* Enhanced empty state styling */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  color: var(--gray-500);
  background-color: var(--gray-50);
  border-radius: var(--border-radius-lg);
  border: 2px dashed var(--gray-200);
}

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background-color: var(--gray-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 2rem;
  border: 2px dashed var(--gray-300);
}

.empty-state i {
  opacity: 0.8;
}

/* Filter section styling */
.filter-container {
  background-color: white;
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 4rem;
  z-index: 30;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.filter-container.scrolled {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.filter-container select, 
.filter-container input, 
.filter-container button {
  height: 40px;
}

.filter-container select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#downloadResultsCSV {
  transition: all var(--transition-fast);
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
}

#downloadResultsCSV:hover {
  background-color: rgba(79, 70, 229, 0.1);
}

@media (max-width: 768px) {
  .filter-container .grid {
    row-gap: 0.75rem;
  }
}

/* Map container styling */
.map-container {
  height: 250px;
  margin: 1.5rem 0;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Emoji in grade badges */
.grade-emoji {
  margin-right: 0.5rem;
  font-size: 1.1em;
}

/* Line clamp utilities for text truncation */
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Improved restaurant detail modal */
.restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.restaurant-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.restaurant-address {
  color: var(--gray-600);
  margin-bottom: 0.25rem;
}

.restaurant-details {
  color: var(--gray-700);
  font-size: 0.875rem;
}

/* Enhanced review form styling */
.review-form {
  background-color: var(--gray-50);
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-top: 1.5rem;
}

.review-form-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-800);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--gray-300);
  background-color: white;
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
  outline: none;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(79, 70, 229, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(79, 70, 229, 0);
  }
}

.form-submit {
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: var(--border-radius-md);
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.form-submit:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(79, 70, 229, 0.25);
}

.form-submit:active {
  transform: translateY(0);
}

/* Button hover effect */
.btn-primary::after, .btn-danger::after, .form-submit::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::after, .btn-danger:hover::after, .form-submit:hover::after {
  left: 100%;
}

/* Mobile optimizations */
@media (max-width: 640px) {
  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .filter-container .md\:flex {
    gap: 1rem;
  }
  
  .filter-container input,
  .filter-container select,
  .filter-container button {
    margin-bottom: 0.75rem;
  }

  #downloadResultsCSV {
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0.5rem;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-md);
  }

  #restaurantGrid {
    gap: 1rem;
  }
  
  .restaurant-title {
    font-size: 1.25rem;
  }

  /* Make cards stack in columns of 1 on smallest screens */
  #restaurantGrid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
.focus-visible:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Responsive tables */
table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}

th {
  background-color: var(--gray-50);
  font-weight: 600;
  color: var(--gray-700);
}

/* Success message styling */
.success-message {
  background-color: var(--secondary-light);
  color: #065F46;
  padding: 1rem;
  border-radius: var(--border-radius-md);
  margin-top: 1rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(16, 185, 129, 0.1);
}

.success-message i {
  margin-right: 0.5rem;
}

/* Page transitions */
.page-transition-enter {
  opacity: 0;
  transform: translateY(10px);
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 300ms, transform 300ms;
}

/* Loading skeleton for cards */
.skeleton-card {
  background-color: white;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  height: 100%;
  padding: 1.25rem;
  position: relative;
  border: 1px solid var(--gray-100);
}

.skeleton-line {
  height: 0.75rem;
  background: linear-gradient(90deg, var(--gray-200) 0%, var(--gray-300) 50%, var(--gray-200) 100%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: var(--border-radius-sm);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.skeleton-line.title {
  height: 1.25rem;
  width: 80%;
  margin-bottom: 1rem;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-line.medium {
  width: 75%;
}

.skeleton-line.long {
  width: 90%;
}

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

/* Restaurant tag styling */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  background-color: var(--gray-100);
  color: var(--gray-800);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

.tag:hover {
  background-color: var(--gray-200);
}

.tag i {
  margin-right: 0.25rem;
  color: var(--gray-500);
}

/* Landing page specific styles */
.hero-section {
  min-height: 80vh;
}

.clip-path-wave {
  clip-path: polygon(0 60%, 100% 100%, 100% 100%, 0 100%);
}

/* Features styling */
.feature-card {
  padding: 2rem;
  border-radius: 1rem;
  background-color: var(--gray-50);
  transition: all 0.3s ease;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

/* Updated food emoji animation */
@keyframes floatAnimation {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
  50% { transform: translate(5px, -5px) rotate(2deg); opacity: 0.2; }
  100% { transform: translate(0, 0) rotate(0deg); opacity: 0.15; }
}

.food-emoji {
  position: absolute;
  font-size: 6rem;
  opacity: 0.15;
  animation: floatAnimation 12s infinite ease-in-out;
}

/* Fade in animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
}

.animation-delay-300 {
  animation-delay: 0.3s;
}

.animation-delay-600 {
  animation-delay: 0.6s;
}

/* Ripple animation for buttons */
@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  20% {
    transform: scale(25, 25);
    opacity: 0.5;
  }
  100% {
    opacity: 0;
    transform: scale(40, 40);
  }
}

/* Logo animation */
.logo-rotate {
  transition: transform 0.3s ease;
}

.logo-rotate:hover {
  transform: rotate(12deg);
}

/* Owner dashboard specific styles */
#ownerReportSection {
  margin-top: 1.5rem;
  animation: fadeIn 0.5s ease-out;
}

/* Owner dashboard styling */
#ownerReportSection h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

#ownerReportSection h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--gray-700);
}

#ownerReportSection .bg-white {
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  border-radius: 0.5rem;
}

#ownerReportSection .grid-cols-1 {
  gap: 1.5rem;
}

#ownerReportSection input,
#ownerReportSection select {
  margin-bottom: 1rem;
}

#ownerReportSection .flex.items-center.justify-between {
  padding: 0.5rem 0;
}

#ownerReportSection .border-t {
  margin-top: 1rem;
  padding-top: 1rem;
}

#ownerReportSection .recent-reviews-container {
  margin-top: 1.5rem;
}

#ownerReportSection .btn-primary,
#ownerReportSection .btn-secondary {
  margin-top: 1rem;
  width: 100%;
}

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

#restaurantCuisine {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236B7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

#restaurantCuisine:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Details modal styling */
#detailsModal .p-6 {
  padding: 1.75rem;
}

#detailsModal .restaurant-header {
  margin-bottom: 1.5rem;
}

#detailsModal .restaurant-title {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  color: var(--gray-900);
}

#detailsModal .restaurant-address {
  margin-bottom: 1rem;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  font-size: 0.95rem;
}

#detailsModal .restaurant-details {
  margin-top: 0.5rem;
}

#detailsModal .tag {
  padding: 0.5rem 0.75rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  background-color: var(--gray-100);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-fast);
}

#detailsModal .tag:hover {
  background-color: var(--gray-200);
}

#detailsModal .border-t {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

#detailsModal .review-card {
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

#detailsModal .review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}