/* Bundle: bundle-write-review.css - Consolidated from: write-review-enhanced.css, write-review-responsive.css, write-review-theme-aware.css, superior-ten-star-rating.css */

/* === Source: write-review-enhanced.css === */
/* Write Review Enhanced Styles - Matching Old Implementation */

/* Info Banner */
.warning-banner {
  background: linear-gradient(135deg, #1565c0, #0d47a1);
  color: #ffffff;
  padding: 10px 20px;
  margin: 12px auto;
  max-width: 1200px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  font-weight: 500;
}

.dark-mode .warning-banner {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.warning-banner i {
  font-size: 20px;
  flex-shrink: 0;
}

.warning-banner marquee {
  flex: 1;
  font-weight: 500;
  font-size: 14px;
}

/* Progress Container */
.progress-container {
  background: var(--bg-primary, #ffffff);
  border-radius: 12px;
  padding: 16px;
  margin: 12px auto;
  max-width: 1200px;
  box-shadow: 0 2px 4px var(--shadow-color, rgba(0, 0, 0, 0.08));
  border: 2px solid var(--brand-primary, #0074D9);
}

.progress-header {
  text-align: center;
  margin-bottom: var(--spacing-sm);
}

.progress-header h3 {
  color: var(--brand-primary, #0074D9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 2px;
  font-size: var(--font-size-lg);
}

.progress-header p {
  color: var(--text-tertiary, #6c757d);
  font-size: 13px;
  margin: 0;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: var(--border-primary, #e9ecef);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-dark));
  border-radius: 10px;
  transition: width 0.3s ease;
  width: 14.28%;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-xs);
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.5;
  position: relative;
}

.step:hover {
  opacity: 0.8;
  background: rgba(0, 116, 217, 0.05);
  transform: translateY(-2px);
}

.step.active {
  opacity: 1;
  background: rgba(0, 116, 217, 0.1);
}

.step.active:hover {
  background: rgba(0, 116, 217, 0.15);
}

.step.completed {
  opacity: 0.7;
}

.step.completed:hover {
  opacity: 0.9;
  background: rgba(40, 167, 69, 0.1);
}

.step i {
  font-size: 18px;
  color: var(--text-tertiary, #6c757d);
}

.step.active i {
  color: var(--brand-primary, #0074D9);
}

.step span {
  font-size: 11px;
  color: var(--text-primary, #343a40);
  font-weight: 500;
  text-align: center;
}

/* Address Under Review Card */
.card {
  background: var(--bg-primary, #ffffff);
  border-radius: 12px;
  padding: 24px;
  margin: 24px auto;
  max-width: 1200px;
  box-shadow: 0 4px 6px var(--shadow-color, rgba(0, 0, 0, 0.1));
  border: 2px solid var(--brand-primary, #0074D9);
}

#addressUnderReview {
  background: linear-gradient(135deg, #005197, #0074D9);
  color: #ffffff;
}

.address-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-md);
}

.address-header h3 {
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.location-pin-btn {
  background: rgba(255, 255, 255, 0.95);
  border: none;
  color: var(--brand-primary, #0074D9);
  padding: 16px 24px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 600;
  margin-top: 16px;
  width: 100%;
  box-shadow: 0 4px 12px var(--shadow-color, rgba(0, 0, 0, 0.15));
}

.location-pin-btn:hover {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

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

.location-pin-btn i {
  font-size: 20px;
  animation: pulse 2s infinite;
}

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

.address-display {
  font-size: 16px;
  line-height: 1.8;
}

.address-display p {
  margin: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Review Container */
.review-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.slideshow-container {
  position: relative;
  min-height: 500px;
  margin-bottom: 24px;
}

.review-section {
  background: var(--bg-primary, #ffffff);
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 10px 15px var(--shadow-color, rgba(0, 0, 0, 0.1));
  border: 2px solid var(--brand-primary, #0074D9);
  display: none;
}

.review-section.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  padding-bottom: var(--spacing-lg);
  border-bottom: 2px solid var(--border-primary, #e9ecef);
}

.section-header h3 {
  color: var(--brand-primary, #0074D9);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}

.section-header p {
  color: var(--text-tertiary, #6c757d);
  margin: 0;
}

/* Form Grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.input-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-field.full-width {
  grid-column: 1 / -1;
}

.input-field label {
  font-weight: 600;
  color: var(--text-primary, #343a40);
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.input-field input,
.input-field textarea {
  padding: 12px;
  border: 2px solid var(--border-primary, #e9ecef);
  border-radius: 6px;
  font-size: 16px;
  transition: all 0.3s ease;
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #343a40);
}

.input-field input:focus,
.input-field textarea:focus {
  outline: none;
  border-color: var(--brand-primary, #0074D9);
  box-shadow: 0 0 0 3px var(--focus-ring, rgba(0, 116, 217, 0.1));
}

/* Rating Grid */
.rating-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 16px;
}

/* Rating Field */
.rating-field {
  background: var(--bg-secondary, #f8f9fa);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-primary, #e9ecef);
}

.rating-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.rating-header label {
  font-weight: 600;
  color: var(--text-primary, #343a40);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
}

.rating-output {
  font-weight: 600;
  color: var(--brand-primary, #0074D9);
  font-size: 18px;
}

.rating-comment {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-primary, #e9ecef);
  border-radius: 6px;
  font-size: 14px;
  margin-top: 12px;
  resize: vertical;
  font-family: inherit;
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #343a40);
}

.rating-comment:focus {
  outline: none;
  border-color: var(--brand-primary, #0074D9);
  box-shadow: 0 0 0 3px var(--focus-ring, rgba(0, 116, 217, 0.1));
}

.form-group {
  background: var(--bg-secondary, #f8f9fa);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-primary, #e9ecef);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary, #343a40);
  margin-bottom: 12px;
  font-size: 16px;
}

/* Amenities Grid */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 16px;
}

.amenity-toggle {
  background: var(--bg-primary);
  padding: 20px;
  border-radius: 8px;
  border: 2px solid var(--border-primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.amenity-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.amenity-label {
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.amenity-label i {
  color: var(--brand-primary, #0074D9);
  font-size: 18px;
}

.toggle-switch {
  display: flex;
  align-items: center;
}

.toggle-input {
  display: none;
}

.toggle-label {
  display: block;
  width: 60px;
  height: 30px;
  border-radius: 15px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}

.toggle-label::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--white);
  transition: transform 0.3s;
}

.toggle-input:checked + .toggle-label::before {
  transform: translateX(30px);
}

.switch-text-yes {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  text-align: start;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s;
  left: 7px;
}

.switch-text-no {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  color: var(--white);
  font-size: 12px;
  font-weight: bold;
  text-align: end;
  width: 100%;
  opacity: 0;
  transition: opacity 0.3s;
}

.rating-section-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid var(--border-primary);
}

.toggle-field {
  background: var(--bg-secondary, #f8f9fa);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--border-primary, #e9ecef);
}

.toggle-field label {
  display: block;
  font-weight: 600;
  color: var(--text-primary, #343a40);
  margin-bottom: 12px;
}

.toggle-switch {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.switch-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.slider-switch {
  display: flex;
  align-items: center;
}

/* Owner Info Grid */
.owner-info-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Navigation Arrows */
.navigation-arrows {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 16px;
}

.prev,
.next {
  padding: 12px 24px;
  background: var(--brand-primary, #0074D9);
  color: var(--white, #ffffff);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prev:hover,
.next:hover {
  background: var(--brand-primary-dark, #005197);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px var(--shadow-color, rgba(0, 0, 0, 0.1));
}

.prev:disabled,
.next:disabled {
  opacity: 1;
  background: var(--text-tertiary, #6c757d) !important;
  color: var(--white, #ffffff) !important;
  cursor: not-allowed;
  transform: none;
}

/* Verification Section */
.verification-notice {
  background: linear-gradient(135deg, rgba(0, 116, 217, 0.15), rgba(0, 81, 151, 0.15));
  border: 2px solid var(--brand-primary, #0074D9);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 20px;
  align-items: center;
}

.notice-icon {
  font-size: 36px;
  color: var(--brand-primary, #0074D9);
}

.notice-content h4 {
  color: var(--brand-primary, #0074D9);
  margin-bottom: 8px;
}

.notice-content p {
  margin-bottom: 4px;
  color: var(--text-primary, #343a40);
}

.owner-details {
  background: var(--bg-secondary, #f8f9fa);
  padding: 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.owner-details h4 {
  color: var(--brand-primary, #0074D9);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.date-range {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.date-separator {
  color: var(--gray);
  font-weight: 600;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  cursor: pointer;
  font-size: var(--font-size-sm);
  color: var(--text-primary, #f3f4f6);
  user-select: none;
  min-height: 44px;
}

/* Hide native checkbox, use custom checkmark */
.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkbox-label .checkmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  border: 2px solid var(--border-primary, #4b5563);
  border-radius: 4px;
  background: transparent;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--brand-primary, #3b82f6);
  border-color: var(--brand-primary, #3b82f6);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.checkbox-label input[type="checkbox"]:focus-visible + .checkmark {
  outline: 2px solid var(--focus-ring, rgba(59, 130, 246, 0.5));
  outline-offset: 2px;
}

.dark-mode .checkbox-label .checkmark {
  border-color: var(--border-secondary, #6b7280);
}

.verify-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-sm);
}

.verify-btn:hover {
  background: var(--primary-dark);
}

/* Review Summary */
.review-summary {
  background: var(--bg-secondary, #f8f9fa);
  padding: 20px;
  border-radius: 8px;
  margin: 24px 0;
}

.review-summary h4 {
  color: var(--brand-primary, #0074D9);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Submit Actions */
.submit-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-top: var(--spacing-xl);
}

.primary-btn,
.secondary-btn {
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 2px solid transparent;
}

.primary-btn {
  background: var(--brand-primary, #0074D9);
  color: var(--white, #ffffff);
  border-color: var(--brand-primary, #0074D9);
}

.primary-btn:hover {
  background: var(--brand-primary-dark, #005197);
  border-color: var(--brand-primary-dark, #005197);
  transform: translateY(-2px);
  box-shadow: 0 4px 6px var(--shadow-color, rgba(0, 0, 0, 0.1));
}

.secondary-btn {
  background: transparent;
  color: var(--brand-primary, #0074D9);
  border-color: var(--brand-primary, #0074D9);
}

.secondary-btn:hover {
  background: var(--brand-primary, #0074D9);
  color: var(--white, #ffffff);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10002;
}

.modal-content {
  background: var(--bg-primary, #ffffff);
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px var(--shadow-color, rgba(0, 0, 0, 0.25));
}

.modal-header {
  padding: var(--spacing-lg);
  border-bottom: 2px solid var(--border-primary, #e9ecef);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  color: var(--brand-primary, #0074D9);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header.success {
  background: linear-gradient(135deg, var(--success-color), #20c997);
  color: var(--white);
}

.modal-header.success h3 {
  color: var(--white);
}

.close-btn {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--gray);
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-primary, #343a40);
}

.modal-body {
  padding: var(--spacing-xl);
}

.modal-footer {
  padding: var(--spacing-lg);
  border-top: 2px solid var(--border-primary, #e9ecef);
  display: flex;
  gap: var(--spacing-md);
  justify-content: flex-end;
}

/* Success Modal */
.success-content {
  text-align: center;
}

.success-icon {
  font-size: 4rem;
  color: var(--success, #28a745);
  margin-bottom: 20px;
}

.success-content h4 {
  color: var(--brand-primary, #0074D9);
  margin-bottom: 12px;
}

.next-steps {
  background: var(--bg-secondary, #f8f9fa);
  padding: 20px;
  border-radius: 8px;
  margin-top: 20px;
  text-align: left;
}

.next-steps h5 {
  color: var(--brand-primary, #0074D9);
  margin-bottom: 12px;
}

.next-steps ul {
  list-style: none;
  padding: 0;
}

.next-steps li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--text-primary, #343a40);
}

.next-steps li i {
  color: var(--success, #28a745);
}

/* Toast Styles */
.toast {
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-lg);
  z-index: var(--z-tooltip);
  min-width: 300px;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  animation: slideInRight 0.3s ease;
}

.success-toast {
  background: var(--success, #28a745);
  color: var(--white, #ffffff);
}

.warning-toast {
  background: var(--warning, #ffc107);
  color: var(--text-primary, #343a40);
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  font-size: var(--font-size-lg);
  cursor: pointer;
  margin-left: auto;
}

/* Map Modal Styles */
.map-modal-content {
  max-width: 95vw;
  width: 900px;
  max-height: 95vh;
}

.map-modal-body {
  padding: 0;
}

.map-search-container {
  position: relative;
  padding: 8px 12px;
  background: var(--bg-primary, #ffffff);
  border-bottom: 1px solid var(--border-primary, #e9ecef);
}

.map-search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-tertiary, #9ca3af);
  font-size: 14px;
  pointer-events: none;
}

.map-search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid var(--border-primary, #e0e0e0);
  border-radius: var(--radius-md, 8px);
  font-size: 14px;
  font-family: inherit;
  background: var(--bg-secondary, #f9fafb);
  color: var(--text-primary, #1f2937);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.map-search-input:focus {
  border-color: var(--brand-primary, #0074D9);
  box-shadow: 0 0 0 2px rgba(0, 116, 217, 0.15);
  background: var(--bg-primary, #ffffff);
}

.map-search-input::placeholder {
  color: var(--text-tertiary, #9ca3af);
}

.dark-mode .map-search-container {
  background: var(--gray-800, #1f2937);
  border-bottom-color: var(--gray-700, #374151);
}

.dark-mode .map-search-input {
  background: var(--gray-700, #374151);
  border-color: var(--gray-600, #4b5563);
  color: var(--gray-100, #f3f4f6);
}

.dark-mode .map-search-input:focus {
  border-color: var(--brand-primary, #60a5fa);
  box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.2);
}

/* Google Places Autocomplete dropdown styling */
.pac-container {
  z-index: 100010 !important;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-family: inherit;
}

.map-wrapper {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 400px;
  max-height: 600px;
}

#map-container {
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.map-control-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1000;
  background: var(--bg-primary, #ffffff);
  border: 2px solid var(--border-primary, #e9ecef);
  border-radius: 6px;
  padding: 12px;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.map-control-btn:hover {
  background: var(--brand-primary, #0074D9);
  border-color: var(--brand-primary, #0074D9);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 116, 217, 0.3);
}

.map-control-btn:hover i {
  color: #ffffff;
}

.map-control-btn:active {
  transform: scale(0.95);
}

.map-control-btn i {
  font-size: 20px;
  color: var(--brand-primary, #0074D9);
  transition: color 0.3s ease;
}

.map-instruction {
  padding: 16px 24px;
  margin: 0;
  background: var(--bg-secondary, #f8f9fa);
  color: var(--text-primary, #343a40);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  border-top: 2px solid var(--border-primary, #e9ecef);
}

.map-instruction i {
  color: var(--brand-primary, #0074D9);
  font-size: 16px;
}

/* Responsive Location Button */
@media (max-width: 768px) {
  .location-pin-btn {
    padding: 14px 20px;
    font-size: 15px;
  }
  
  .location-pin-btn i {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .location-pin-btn {
    padding: 12px 16px;
    font-size: 14px;
  }
  
  .location-pin-btn span {
    font-size: 13px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .progress-steps {
    flex-wrap: wrap;
  }
  
  .step span {
    display: none;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
  }
  
  .submit-actions {
    flex-direction: column;
  }
  
  .navigation-arrows {
    flex-direction: column;
  }
  
  .map-modal-content {
    width: 100%;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .map-wrapper {
    height: 60vh;
    min-height: 300px;
  }
  
  .map-control-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  
  .map-control-btn i {
    font-size: 18px;
  }
}


/* Enhanced Validation Styles - Theme Aware & Responsive */
.input-field input.error,
.input-field textarea.error {
  border-color: #dc3545 !important;
  background-color: rgba(220, 53, 69, 0.05);
  animation: shake 0.4s ease;
}

.input-field input.error:focus,
.input-field textarea.error:focus {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15) !important;
}

.field-error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 6px;
  display: none;
  font-weight: 500;
  line-height: 1.4;
  padding: 6px 10px;
  background: rgba(220, 53, 69, 0.08);
  border-radius: 4px;
  border-left: 3px solid #dc3545;
}

.field-error.show {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  animation: slideDown 0.3s ease;
}

.field-error::before {
  content: '⚠';
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Shake animation for error fields */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px); }
  20%, 40%, 60%, 80% { transform: translateX(4px); }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Dark theme support */
[data-theme="dark"] .input-field input.error,
[data-theme="dark"] .input-field textarea.error {
  background-color: rgba(220, 53, 69, 0.12);
  border-color: #ff6b7a !important;
}

[data-theme="dark"] .field-error {
  color: #ff6b7a;
  background: rgba(220, 53, 69, 0.15);
  border-left-color: #ff6b7a;
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .input-field input.error,
  .input-field textarea.error {
    border-width: 3px !important;
  }
  
  .field-error {
    font-weight: 600;
    border-left-width: 4px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .input-field input.error,
  .input-field textarea.error {
    animation: none;
  }
  
  .field-error.show {
    animation: none;
  }
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .field-error {
    font-size: 12px;
    padding: 5px 8px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .input-field input.error,
  .input-field textarea.error {
    border-width: 3px;
  }
  
  .field-error {
    font-size: 14px;
    padding: 8px 12px;
  }
}


/* === Source: write-review-responsive.css === */
/* Write Review Responsive Optimizations */

/* Progress Container Responsive */
@media (max-width: 768px) {
  .progress-container {
    padding: var(--space-4);
    margin: var(--space-4) var(--space-3);
  }
  
  .progress-steps {
    gap: var(--space-1);
  }
  
  .step span {
    font-size: 10px;
  }
  
  .step i {
    font-size: var(--font-size-base);
  }
}

@media (max-width: 480px) {
  .progress-container {
    padding: var(--space-3);
    margin: var(--space-3) var(--space-2);
  }
  
  .progress-header h3 {
    font-size: var(--font-size-lg);
  }
  
  .progress-header p {
    font-size: var(--font-size-xs);
  }
  
  .step {
    padding: var(--space-1);
  }
  
  .step span {
    display: none;
  }
}

/* Extra small screens — scrollable progress bar */
@media (max-width: 360px) {
  .progress-steps {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: var(--space-1);
    padding-bottom: var(--space-1);
  }

  .progress-steps .step {
    flex-shrink: 0;
    min-width: 36px;
  }

  .progress-steps .step i {
    font-size: var(--font-size-sm);
  }
}

/* Address Card Responsive */
@media (max-width: 768px) {
  #addressUnderReview {
    padding: var(--space-4);
    margin: var(--space-4) var(--space-3);
  }
  
  .address-header {
    flex-direction: column;
    gap: var(--space-3);
    align-items: flex-start;
  }
  
  .icon-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  #addressUnderReview {
    padding: var(--space-3);
    margin: var(--space-3) var(--space-2);
  }
  
  .address-display {
    font-size: var(--font-size-sm);
  }
}

/* Review Section Responsive */
@media (max-width: 768px) {
  .review-section {
    padding: var(--space-6);
    margin: var(--space-4) var(--space-3);
  }
  
  .section-header {
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
  }
  
  .section-header h3 {
    font-size: var(--font-size-xl);
  }
  
  .section-header p {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .review-container {
    padding-bottom: var(--space-4);
  }
  
  body.has-sticky-ad .review-container {
    padding-bottom: 90px;
  }
  
  .review-section {
    padding: var(--space-4);
    margin: var(--space-3) var(--space-2);
  }
  
  .review-section:last-child {
    margin-bottom: var(--space-3);
  }
  
  .section-header {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
  }
  
  .section-header h3 {
    font-size: var(--font-size-lg);
    flex-direction: column;
  }
}

/* Form Grid Responsive */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  
  .rating-grid {
    gap: var(--space-6);
  }
  
  .amenities-grid {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
}

@media (max-width: 480px) {
  .form-grid {
    gap: var(--space-3);
  }
  
  .rating-grid {
    gap: var(--space-4);
  }
  
  .amenities-grid {
    gap: var(--space-3);
  }
  
  .input-field label {
    font-size: var(--font-size-xs);
  }
  
  .input-field input,
  .input-field textarea {
    padding: var(--space-3);
    font-size: 16px;
  }
}

/* Form Group Responsive */
@media (max-width: 768px) {
  .form-group {
    padding: var(--space-4);
  }
  
  .form-group label {
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .form-group {
    padding: var(--space-3);
  }
  
  .form-group label {
    font-size: var(--font-size-xs);
  }
}

/* Toggle Field Responsive */
@media (max-width: 768px) {
  .toggle-field {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .toggle-field {
    padding: var(--space-3);
  }
  
  .toggle-field label {
    font-size: var(--font-size-sm);
  }
}

/* Navigation Arrows Responsive */
@media (max-width: 768px) {
  .navigation-arrows {
    flex-direction: row;
    gap: var(--space-3);
    margin-top: var(--space-6);
  }
  
  .prev,
  .next {
    flex: 1;
    justify-content: center;
    min-height: 48px;
  }
}

@media (max-width: 480px) {
  .navigation-arrows {
    gap: var(--space-2);
    margin-top: var(--space-4);
  }
  
  .prev,
  .next {
    padding: var(--space-3) var(--space-3);
    font-size: var(--font-size-sm);
    min-height: 48px;
  }
}

/* Verification Section Responsive */
@media (max-width: 768px) {
  .verification-notice {
    flex-direction: column;
    padding: var(--space-4);
    gap: var(--space-4);
  }
  
  .notice-icon {
    font-size: var(--font-size-3xl);
  }
  
  .owner-details {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .verification-notice {
    padding: var(--space-3);
    gap: var(--space-3);
  }
  
  .notice-icon {
    font-size: var(--font-size-2xl);
  }
  
  .notice-content h4 {
    font-size: var(--font-size-base);
  }
  
  .notice-content p {
    font-size: var(--font-size-sm);
  }
  
  .owner-details {
    padding: var(--space-3);
  }
  
  .owner-details h4 {
    font-size: var(--font-size-base);
  }
}

/* Date Range Responsive */
@media (max-width: 768px) {
  .date-range {
    flex-direction: column;
    align-items: stretch;
  }
  
  .date-range input {
    width: 100%;
  }
  
  .date-separator {
    text-align: center;
    padding: var(--space-2) 0;
  }
}

/* Review Summary Responsive */
@media (max-width: 768px) {
  .review-summary {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .review-summary {
    padding: var(--space-3);
  }
  
  .review-summary h4 {
    font-size: var(--font-size-base);
  }
}

/* Submit Actions Responsive */
@media (max-width: 768px) {
  .submit-actions {
    flex-direction: column;
    gap: var(--space-3);
  }
  
  .primary-btn,
  .secondary-btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .submit-actions {
    gap: var(--space-2);
  }
  
  .primary-btn,
  .secondary-btn {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
  }
}

/* Modal Responsive */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    margin: var(--space-3);
  }
  
  .modal-header h3 {
    font-size: var(--font-size-xl);
  }
}

@media (max-width: 480px) {
  .modal-content {
    max-width: 100%;
    margin: var(--space-2);
  }
  
  .modal-header {
    padding: var(--space-3);
  }
  
  .modal-header h3 {
    font-size: var(--font-size-lg);
  }
  
  .modal-body {
    padding: var(--space-4);
  }
  
  .modal-footer {
    padding: var(--space-3);
    flex-direction: column;
  }
  
  .modal-footer .btn {
    width: 100%;
  }
}

/* Success Modal Responsive */
@media (max-width: 768px) {
  .success-icon {
    font-size: 3rem;
  }
  
  .success-content h4 {
    font-size: var(--font-size-xl);
  }
  
  .next-steps {
    padding: var(--space-4);
  }
}

@media (max-width: 480px) {
  .success-icon {
    font-size: 2.5rem;
  }
  
  .success-content h4 {
    font-size: var(--font-size-lg);
  }
  
  .next-steps {
    padding: var(--space-3);
  }
  
  .next-steps h5 {
    font-size: var(--font-size-base);
  }
  
  .next-steps li {
    font-size: var(--font-size-sm);
  }
}

/* Toast Responsive */
@media (max-width: 768px) {
  .toast {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
  }
}

@media (max-width: 480px) {
  .toast {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
  }
}

/* Touch Targets */
@media (hover: none) and (pointer: coarse) {
  .step,
  .icon-btn,
  .verify-btn,
  .toggle-switch,
  .checkbox-label {
    min-height: 44px;
    min-width: 44px;
  }
  
  .toggle-label {
    width: 70px;
    height: 36px;
  }
  
  .toggle-label::before {
    width: 32px;
    height: 32px;
  }
  
  .toggle-input:checked + .toggle-label::before {
    transform: translateX(34px);
  }
}

/* Landscape Orientation */
@media (max-height: 500px) and (orientation: landscape) {
  .progress-container {
    padding: var(--space-3);
  }
  
  .review-section {
    padding: var(--space-4);
  }
  
  .modal-content {
    max-height: 95vh;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .progress-container,
  .review-section,
  #addressUnderReview {
    border-width: 3px;
  }
  
  .form-group,
  .toggle-field {
    border-width: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .progress-fill {
    transition: none;
  }
  
  .step,
  .prev,
  .next,
  .primary-btn,
  .secondary-btn {
    transition: none;
  }
}

/* Map Modal Responsive */
@media (max-width: 768px) {
  .map-modal-content {
    width: 100%;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }
  
  .map-wrapper {
    height: 60vh;
    min-height: 300px;
  }
  
  .map-control-btn {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
    padding: 12px;
  }
  
  .map-control-btn i {
    font-size: 18px;
  }
  
  .map-instruction {
    padding: 12px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .map-wrapper {
    height: 50vh;
    min-height: 250px;
  }
  
  .map-control-btn {
    width: 40px;
    height: 40px;
    padding: 10px;
  }
  
  .map-control-btn i {
    font-size: 16px;
  }
  
  .map-instruction {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  .modal-footer {
    flex-direction: column;
    gap: var(--space-2);
  }
  
  .modal-footer .primary-btn,
  .modal-footer .secondary-btn {
    width: 100%;
  }
}

/* Landscape Orientation for Map */
@media (max-height: 500px) and (orientation: landscape) {
  .map-wrapper {
    height: 70vh;
  }
  
  .map-modal-content {
    max-height: 100vh;
  }
}

/* Touch Targets for Map Controls */
@media (hover: none) and (pointer: coarse) {
  .map-control-btn {
    min-width: 48px;
    min-height: 48px;
  }
}

/* Extra Small Devices (360px and below) - Critical Fix for Overlap */
@media (max-width: 360px) {
  .review-container {
    padding: 0 12px 150px 12px; /* Extra bottom padding for sticky elements */
    min-height: calc(100vh - 200px);
  }
  
  .slideshow-container {
    min-height: auto;
    margin-bottom: var(--space-3);
  }
  
  .review-section {
    padding: 16px;
    margin: 12px 0;
  }
  
  .review-section:last-child {
    margin-bottom: var(--space-3);
  }
  
  .navigation-arrows {
    position: relative;
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
    padding-bottom: 0;
  }
  
  body.has-sticky-ad .navigation-arrows {
    margin-bottom: var(--space-4);
  }
  
  .submit-actions {
    margin-top: var(--space-4);
    margin-bottom: var(--space-3);
    padding-bottom: 0;
  }
  
  body.has-sticky-ad .submit-actions {
    margin-bottom: var(--space-4);
  }
  
  .input-field input,
  .input-field textarea {
    padding: 12px;
    font-size: 16px; /* Prevent zoom on iOS */
    min-height: 44px; /* Touch target */
  }
  
  .form-grid {
    gap: 16px;
    margin-bottom: 20px;
  }
  
  .input-field:last-child,
  .form-group:last-child {
    margin-bottom: 32px;
  }
  
  /* Ensure buttons don't overlap */
  .primary-btn,
  .secondary-btn,
  .prev,
  .next {
    min-height: 48px;
    margin-bottom: 12px;
  }
  
  /* Safe area for devices with notches */
  body {
    padding-bottom: max(env(safe-area-inset-bottom), 20px);
  }
  
  /* Prevent sticky footer overlap */
  footer {
    position: relative;
    margin-top: 40px;
  }
}

/* Print Styles */
@media print {
  .progress-container,
  .navigation-arrows,
  .submit-actions,
  .modal-overlay {
    display: none !important;
  }
  
  .review-section {
    box-shadow: none !important;
    border: 1px solid #000 !important;
    page-break-inside: avoid;
  }
  
  #addressUnderReview {
    background: none !important;
    color: #000 !important;
    border: 1px solid #000 !important;
  }
}


/* === Source: write-review-theme-aware.css === */
/* Theme-Aware Styles for Write Review Page */

/* Light Mode (Default) */
html,
body {
  background-color: var(--bg-secondary, #f8f9fa);
  color: var(--text-primary, #343a40);
}

/* Dark Mode */
.dark-mode {
  background-color: var(--gray-800, #1f2937);
  color: var(--gray-100, #f3f4f6);
}

.dark-mode body {
  background-color: var(--gray-800, #1f2937);
  color: var(--gray-100, #f3f4f6);
}

/* Light Mode Text */
h1, h2, h3, h4, h5, h6,
p, span, label {
  color: var(--text-primary, #343a40);
}

/* Dark Mode Text */
.dark-mode h1, .dark-mode h2, .dark-mode h3, 
.dark-mode h4, .dark-mode h5, .dark-mode h6,
.dark-mode p, .dark-mode span, .dark-mode label {
  color: var(--gray-100, #f3f4f6);
}

/* Light Mode Labels */
.input-field label,
.form-group label,
.toggle-field label {
  color: var(--text-primary, #343a40);
  font-weight: 600;
}

/* Dark Mode Labels */
.dark-mode .input-field label,
.dark-mode .form-group label,
.dark-mode .toggle-field label {
  color: var(--gray-100, #f3f4f6);
  font-weight: 600;
}

/* Light Mode Inputs */
input, textarea, select {
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #343a40);
  border: 2px solid var(--border-primary, #e9ecef);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-tertiary, #6c757d);
}

/* Dark Mode Inputs */
.dark-mode input, .dark-mode textarea, .dark-mode select {
  background: var(--gray-700, #374151);
  color: var(--gray-100, #f3f4f6);
  border: 2px solid var(--gray-600, #4b5563);
}

.dark-mode input::placeholder,
.dark-mode textarea::placeholder {
  color: var(--gray-400, #9ca3af);
}

/* Light Mode Steps */
.step span {
  color: var(--text-primary, #343a40);
  font-weight: 500;
}

.step.active span {
  color: var(--brand-primary, #0074D9);
  font-weight: 600;
}

/* Dark Mode Steps */
.dark-mode .step span {
  color: var(--gray-100, #f3f4f6);
  font-weight: 500;
}

.dark-mode .step.active span {
  color: var(--brand-primary, #60a5fa);
  font-weight: 600;
}

/* Light Mode Headers */
.section-header h3,
.progress-header h3 {
  color: var(--brand-primary, #0074D9);
}

.section-header p,
.progress-header p {
  color: var(--text-tertiary, #6c757d);
}

/* Dark Mode Headers */
.dark-mode .section-header h3,
.dark-mode .progress-header h3 {
  color: var(--brand-primary, #60a5fa);
}

.dark-mode .section-header p,
.dark-mode .progress-header p {
  color: var(--gray-400, #9ca3af);
}

/* Light Mode Cards */
.card,
.progress-container,
.review-section {
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #343a40);
  border-color: var(--brand-primary, #0074D9);
}

/* Dark Mode Cards */
.dark-mode .card,
.dark-mode .progress-container,
.dark-mode .review-section {
  background: var(--gray-800, #1f2937);
  color: var(--gray-100, #f3f4f6);
  border-color: var(--brand-primary, #60a5fa);
}

/* Light Mode Form Groups */
.form-group,
.toggle-field,
.owner-details,
.review-summary,
.next-steps {
  background: var(--bg-secondary, #f8f9fa);
  color: var(--text-primary, #343a40);
}

/* Dark Mode Form Groups */
.dark-mode .form-group,
.dark-mode .toggle-field,
.dark-mode .owner-details,
.dark-mode .review-summary,
.dark-mode .next-steps,
.dark-mode .rating-field {
  background: var(--gray-700, #374151);
  color: var(--gray-100, #f3f4f6);
}

.dark-mode .rating-header label {
  color: var(--gray-100, #f3f4f6);
}

.dark-mode .rating-output {
  color: var(--brand-primary, #60a5fa);
}

.dark-mode .rating-comment {
  background: var(--gray-800, #1f2937);
  color: var(--gray-100, #f3f4f6);
  border-color: var(--gray-600, #4b5563);
}

.dark-mode .rating-comment::placeholder {
  color: var(--gray-400, #9ca3af);
}

/* Light Mode Buttons */
.primary-btn,
.next,
.prev {
  background: var(--brand-primary, #0074D9);
  color: var(--white, #ffffff);
}

.secondary-btn {
  background: transparent;
  color: var(--brand-primary, #0074D9);
  border: 2px solid var(--brand-primary, #0074D9);
}

/* Dark Mode Buttons */
.dark-mode .primary-btn,
.dark-mode .next,
.dark-mode .prev {
  background: var(--brand-primary, #60a5fa);
  color: var(--gray-800, #1f2937);
}

.dark-mode .secondary-btn {
  background: transparent;
  color: var(--brand-primary, #60a5fa);
  border: 2px solid var(--brand-primary, #60a5fa);
}

/* Light Mode Modal */
.modal-content {
  background: var(--bg-primary, #ffffff);
  color: var(--text-primary, #343a40);
}

/* Dark Mode Modal */
.dark-mode .modal-content {
  background: var(--gray-800, #1f2937);
  color: var(--gray-100, #f3f4f6);
}

/* Address Card - Both Themes */
#addressUnderReview {
  background: linear-gradient(135deg, #005197, #0074D9);
  color: #ffffff;
}

#addressUnderReview * {
  color: #ffffff;
}

.dark-mode #addressUnderReview {
  background: linear-gradient(135deg, #1e40af, #3b82f6);
  color: #ffffff;
}

/* Light Mode Notice */
.verification-notice {
  background: linear-gradient(135deg, rgba(0, 116, 217, 0.1), rgba(0, 81, 151, 0.1));
  color: var(--text-primary, #343a40);
}

.notice-content h4 {
  color: var(--brand-primary, #0074D9);
}

.notice-content p {
  color: var(--text-primary, #343a40);
}

/* Dark Mode Notice */
.dark-mode .verification-notice {
  background: linear-gradient(135deg, rgba(96, 165, 250, 0.2), rgba(59, 130, 246, 0.2));
  color: var(--gray-100, #f3f4f6);
}

.dark-mode .notice-content h4 {
  color: var(--brand-primary, #60a5fa);
}

.dark-mode .notice-content p {
  color: var(--gray-100, #f3f4f6);
}

/* Icon Colors */
.step i {
  color: var(--text-tertiary, #6c757d);
}

.step.active i {
  color: var(--brand-primary, #0074D9);
}

.dark-mode .step i {
  color: var(--gray-400, #9ca3af);
}

.dark-mode .step.active i {
  color: var(--brand-primary, #60a5fa);
}

/* Dark Mode Step Hover States */
.dark-mode .step:hover {
  background: rgba(96, 165, 250, 0.1);
}

.dark-mode .step.active {
  background: rgba(96, 165, 250, 0.15);
}

.dark-mode .step.active:hover {
  background: rgba(96, 165, 250, 0.2);
}

.dark-mode .step.completed:hover {
  background: rgba(52, 211, 153, 0.1);
}

/* Progress Bar */
.progress-bar {
  background: var(--border-primary, #e9ecef);
}

.dark-mode .progress-bar {
  background: var(--gray-600, #4b5563);
}

.progress-fill {
  background: linear-gradient(90deg, var(--brand-primary, #0074D9), var(--brand-primary-dark, #005197));
}

.dark-mode .progress-fill {
  background: linear-gradient(90deg, var(--brand-primary, #60a5fa), var(--brand-primary-dark, #3b82f6));
}

/* Map Modal Theme Support */
.map-control-btn {
  background: var(--bg-primary, #ffffff);
  border-color: var(--border-primary, #e9ecef);
}

.map-control-btn i {
  color: var(--brand-primary, #0074D9);
}

.dark-mode .map-control-btn {
  background: var(--gray-700, #374151);
  border-color: var(--gray-600, #4b5563);
}

.dark-mode .map-control-btn i {
  color: var(--brand-primary, #60a5fa);
}

.dark-mode .map-control-btn:hover {
  background: var(--brand-primary, #60a5fa);
  border-color: var(--brand-primary, #60a5fa);
}

.dark-mode .map-control-btn:hover i {
  color: var(--gray-800, #1f2937);
}

.map-instruction {
  background: var(--bg-secondary, #f8f9fa);
  color: var(--text-primary, #343a40);
  border-color: var(--border-primary, #e9ecef);
}

.map-instruction i {
  color: var(--brand-primary, #0074D9);
}

.dark-mode .map-instruction {
  background: var(--gray-700, #374151);
  color: var(--gray-100, #f3f4f6);
  border-color: var(--gray-600, #4b5563);
}

.dark-mode .map-instruction i {
  color: var(--brand-primary, #60a5fa);
}

.dark-mode .modal-header {
  border-color: var(--gray-600, #4b5563);
}

.dark-mode .modal-footer {
  border-color: var(--gray-600, #4b5563);
}

.location-pin-btn {
  background: rgba(255, 255, 255, 0.95);
  color: var(--brand-primary, #0074D9);
}

.dark-mode .location-pin-btn {
  background: rgba(255, 255, 255, 0.9);
  color: #1e40af;
}

.dark-mode .location-pin-btn:hover {
  background: #ffffff;
  color: #1e3a8a;
}


/* === Source: superior-ten-star-rating.css === */
/* SuperiorTenStarRatingView Styles */

.superior-ten-star-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 10px;
    user-select: none;
}

.superior-rating-text {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    min-height: 24px;
    color: var(--text-tertiary, #666);
    transition: all 0.3s ease;
}

.superior-stars-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.superior-star {
    width: 40px;
    height: 40px;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #E0E0E0;
    transition: all 0.2s ease;
    user-select: none;
    line-height: 1;
    transform: scale(1);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.superior-star:hover {
    transform: scale(1.1) !important;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

.superior-star:active {
    transform: scale(0.95) !important;
}

/* Rating color variations matching Android implementation */
.superior-star[data-value="1"] {
    --star-color: #b71c1c;
}

.superior-star[data-value="2"] {
    --star-color: #d32f2f;
}

.superior-star[data-value="3"] {
    --star-color: #ff7043;
}

.superior-star[data-value="4"] {
    --star-color: #ffa726;
}

.superior-star[data-value="5"] {
    --star-color: #ffc107;
}

.superior-star[data-value="6"] {
    --star-color: #cddc39;
}

.superior-star[data-value="7"] {
    --star-color: #8bc34a;
}

.superior-star[data-value="8"] {
    --star-color: #4caf50;
}

.superior-star[data-value="9"] {
    --star-color: #388e3c;
}

.superior-star[data-value="10"] {
    --star-color: #1b5e20;
}

/* Animation classes */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

@keyframes glow {
    0% { text-shadow: 0 0 5px currentColor; }
    50% { text-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
    100% { text-shadow: 0 0 5px currentColor; }
}

.superior-star.pulse {
    animation: pulse 0.3s ease-in-out;
}

.superior-star.glow {
    animation: glow 0.5s ease-in-out;
}

/* Responsive design */
@media only screen and (max-width: 1024px) {
    .superior-stars-container {
        gap: 7px;
    }
    
    .superior-star {
        width: 38px;
        height: 38px;
        font-size: 38px;
    }
}

@media only screen and (max-width: 768px) {
    .superior-ten-star-rating {
        gap: 12px;
        padding: 8px;
    }

    .superior-stars-container {
        gap: 6px;
    }
    
    .superior-star {
        width: 35px;
        height: 35px;
        font-size: 35px;
    }
    
    .superior-rating-text {
        font-size: 14px;
    }
}

@media only screen and (max-width: 480px) {
    .superior-ten-star-rating {
        gap: 10px;
        padding: 5px;
    }

    .superior-stars-container {
        gap: 4px;
    }
    
    .superior-star {
        width: 30px;
        height: 30px;
        font-size: 30px;
    }
    
    .superior-rating-text {
        font-size: 13px;
    }
}

@media only screen and (max-width: 360px) {
    .superior-stars-container {
        gap: 3px;
    }
    
    .superior-star {
        width: 26px;
        height: 26px;
        font-size: 26px;
    }
    
    .superior-rating-text {
        font-size: 12px;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .superior-rating-text {
        color: #e0e0e0;
    }
    
    .superior-star {
        color: #444;
    }

    .superior-star[data-value="1"],
    .superior-star[data-value="2"],
    .superior-star[data-value="3"],
    .superior-star[data-value="4"],
    .superior-star[data-value="5"],
    .superior-star[data-value="6"],
    .superior-star[data-value="7"],
    .superior-star[data-value="8"],
    .superior-star[data-value="9"],
    .superior-star[data-value="10"] {
        filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
    }
}

.dark-mode .superior-rating-text {
    color: #e0e0e0;
}

.dark-mode .superior-star {
    color: #444;
}

.dark-mode .superior-star[data-value="1"],
.dark-mode .superior-star[data-value="2"],
.dark-mode .superior-star[data-value="3"],
.dark-mode .superior-star[data-value="4"],
.dark-mode .superior-star[data-value="5"],
.dark-mode .superior-star[data-value="6"],
.dark-mode .superior-star[data-value="7"],
.dark-mode .superior-star[data-value="8"],
.dark-mode .superior-star[data-value="9"],
.dark-mode .superior-star[data-value="10"] {
    filter: brightness(1.2) drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .superior-star {
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
    }
    
    .superior-star:hover {
        filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7));
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .superior-star {
        transition: none;
    }
    
    .superior-star.pulse,
    .superior-star.glow {
        animation: none;
    }
}

/* Focus styles for accessibility */
.superior-star:focus {
    outline: 2px solid var(--brand-primary, #0074D9);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Print styles */
@media print {
    .superior-ten-star-rating {
        break-inside: avoid;
    }
    
    .superior-star {
        color: #000 !important;
        text-shadow: none !important;
        filter: none !important;
    }
}
