/* GTGOTG - "Got To Go On The Go" Enhanced Styles with OpenStreetMap Integration
   Copyright © 2025 Jessica Esposito / Colorado Quality LLC. All rights reserved. */

/* Screen reader only class for accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.nav {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

/* User Status Bar */
.user-status {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: white;
    padding: 0.5rem 0;
    text-align: center;
}

.user-welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.user-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Enhanced Search Container */
.enhanced-search-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem auto;
    max-width: 700px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-main {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.search-input-container {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    background: white;
}

.search-input::placeholder {
    color: #666;
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
    margin-top: 5px;
    display: none;
}

.search-suggestion {
    padding: 1rem 1.5rem;
    cursor: pointer;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.2s ease;
}

.search-suggestion:hover {
    background-color: #f8fafc;
}

.search-suggestion:last-child {
    border-bottom: none;
}

.suggestion-main {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.suggestion-subtitle {
    font-size: 0.85rem;
    color: #64748b;
}

.location-btn {
    padding: 1rem 1.5rem;
    border-radius: 50px;
    white-space: nowrap;
    min-width: 150px;
    transition: all 0.3s ease;
}

.location-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: #10B981;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
}

.search-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Search Tips */
.search-tips {
    margin-top: 1rem;
}

.search-tip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
}

.tip-icon {
    font-size: 1.2rem;
}

.tip-text {
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    background: white;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.filter-controls {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-label {
    font-weight: 600;
    color: #374151;
    white-space: nowrap;
}

.filter-select {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: white;
    color: #374151;
    font-size: 0.9rem;
    min-width: 150px;
    transition: border-color 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: #8B5CF6;
}

.quick-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 2px solid #d1d5db;
    background: white;
    color: #374151;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-btn:hover {
    border-color: #8B5CF6;
    color: #8B5CF6;
}

.filter-btn.active {
    background: #8B5CF6;
    color: white;
    border-color: #8B5CF6;
}

/* Search Results Section */
.search-results-section {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.search-results-info {
    text-align: center;
    color: #64748b;
    font-weight: 500;
}

/* Map Section */
.map-section {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.map-container {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
}

#map {
    width: 100%;
    height: 100%;
}

.map-controls {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.map-control-btn {
    background: white;
    border: none;
    padding: 0.5rem;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.map-control-btn:hover {
    background: #f8fafc;
    transform: scale(1.05);
}

/* Listings Section */
.listings-section {
    background: #f8fafc;
    padding: 2rem 0;
    min-height: 400px;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: bold;
}

.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Business Card Styles */
.business-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.business-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #8B5CF6;
}

.business-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.business-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.business-category {
    color: #8B5CF6;
    font-weight: 600;
    font-size: 0.9rem;
}

.bathroom-types {
    display: flex;
    gap: 0.25rem;
}

.bathroom-symbol {
    font-size: 1.5rem;
    padding: 0.25rem;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.bathroom-symbol:hover {
    background: rgba(139, 92, 246, 0.2);
    transform: scale(1.1);
}

.business-info {
    margin-bottom: 1rem;
}

.business-address,
.business-distance,
.business-hours,
.business-phone {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-distance {
    color: #10B981;
    font-weight: 600;
}

/* Rating Styles */
.business-ratings {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.rating-item:last-child {
    margin-bottom: 0;
}

.rating-label {
    font-weight: 600;
    color: #374151;
    font-size: 0.9rem;
}

.rating-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #f59e0b;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.rating-number {
    font-weight: bold;
    color: #1e293b;
    font-size: 0.9rem;
}

.review-count {
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Amenities Styles */
.business-amenities {
    margin-bottom: 1rem;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.amenity-tag:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

/* Business Actions */
.business-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7C3AED, #6D28D9);
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.btn-admin {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
    color: white;
}

.btn-admin:hover {
    background: linear-gradient(135deg, #B91C1C, #991B1B);
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

/* Loading and No Results */
.loading,
.no-results {
    text-align: center;
    padding: 3rem;
    color: #64748b;
    font-size: 1.1rem;
}

.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 10px;
}

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

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

.modal-large {
    max-width: 800px;
}

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

.modal-header {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 1.3rem;
    font-weight: bold;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 0 0 15px 15px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #374151;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #8B5CF6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Review Form Specific Styles */
.rating-section,
.bathroom-section,
.amenities-section,
.comment-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.rating-section:last-child,
.bathroom-section:last-child,
.amenities-section:last-child,
.comment-section:last-child {
    border-bottom: none;
}

.rating-section h5,
.bathroom-section h5,
.amenities-section h5,
.comment-section h5 {
    color: #1e293b;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.rating-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.rating-label {
    min-width: 100px;
    font-weight: 600;
    color: #374151;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #d1d5db;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star:hover,
.star.active {
    color: #f59e0b;
    transform: scale(1.1);
}

.rating-display {
    font-weight: bold;
    color: #1e293b;
    min-width: 40px;
}

.bathroom-types {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.bathroom-type-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #d1d5db;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bathroom-type-btn:hover {
    border-color: #8B5CF6;
    background: #f8fafc;
}

.bathroom-type-btn.selected {
    background: #8B5CF6;
    color: white;
    border-color: #8B5CF6;
}

.wheelchair-btn.selected {
    background: #10B981;
    border-color: #10B981;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.amenity-item:hover {
    border-color: #8B5CF6;
    background: #f8fafc;
}

.amenity-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.amenity-item input[type="checkbox"]:checked + .amenity-label {
    color: #8B5CF6;
    font-weight: 600;
}

.amenity-label {
    font-size: 0.9rem;
    color: #374151;
}

.comment-note {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-style: italic;
}

/* Admin Styles */
.admin-tabs {
    display: flex;
    border-bottom: 2px solid #e2e8f0;
    margin-bottom: 2rem;
}

.admin-tab-btn {
    padding: 1rem 2rem;
    border: none;
    background: none;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.admin-tab-btn:hover {
    color: #8B5CF6;
}

.admin-tab-btn.active {
    color: #8B5CF6;
    border-bottom-color: #8B5CF6;
}

.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
}

.admin-list {
    max-height: 400px;
    overflow-y: auto;
}

.admin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: white;
}

.admin-item-info h6 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
}

.admin-item-info p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.admin-item-actions {
    display: flex;
    gap: 0.5rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.analytics-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.analytics-card h6 {
    margin: 0 0 1rem 0;
    color: #64748b;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.analytics-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #8B5CF6;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 3000;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    animation: notificationSlideIn 0.3s ease;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.info {
    background: linear-gradient(135deg, #3B82F6, #2563EB);
    color: white;
}

.notification.success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
}

.notification.warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: white;
}

.notification-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.notification-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer Styles */
.footer {
    background: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #8B5CF6;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    color: #cbd5e1;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-section ul li:hover {
    color: #8B5CF6;
    cursor: pointer;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
    font-size: 0.9rem;
}

/* Test Accounts Styles */
.test-accounts {
    background: rgba(139, 92, 246, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.test-accounts p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.test-accounts code {
    background: rgba(139, 92, 246, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* Social Login Styles */
.social-login-section {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn-google {
    background: white;
    color: #333;
    border: 2px solid #dadce0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-google:hover {
    background: #f8f9fa;
    border-color: #8B5CF6;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-facebook {
    background: #1877f2;
    color: white;
    border: 2px solid #1877f2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    box-shadow: 0 2px 8px rgba(24, 119, 242, 0.3);
}

.social-icon {
    font-size: 1.2rem;
}

.login-divider {
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    color: #64748b;
    font-size: 0.9rem;
}

.login-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.login-divider span {
    background: white;
    padding: 0 1rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .enhanced-search-container {
        padding: 1.5rem;
        margin: 1rem auto;
    }
    
    .search-main {
        flex-direction: column;
    }
    
    .search-input-container {
        min-width: auto;
    }
    
    .location-btn {
        min-width: auto;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .filter-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .quick-filters {
        justify-content: center;
    }
    
    .business-grid {
        grid-template-columns: 1fr;
    }
    
    .business-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .business-actions {
        justify-content: center;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .rating-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .bathroom-types {
        justify-content: center;
    }
    
    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-tabs {
        flex-wrap: wrap;
    }
    
    .admin-tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .admin-item {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .admin-item-actions {
        justify-content: center;
    }
    
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-section {
        justify-content: center;
    }
    
    .nav {
        justify-content: center;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .enhanced-search-container {
        padding: 1rem;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .header,
    .filter-section,
    .modal,
    .notification,
    .footer {
        display: none !important;
    }
    
    .business-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .business-actions {
        display: none;
    }
}

/* Custom Map Marker Styles */
.custom-marker {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.custom-marker:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Marker Popup Styles */
.marker-popup {
    min-width: 200px;
    max-width: 300px;
}

.marker-popup h4 {
    margin: 0 0 0.5rem 0;
    color: #1e293b;
    font-size: 1.1rem;
}

.popup-category {
    color: #8B5CF6;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 0 0 0.5rem 0;
}

.popup-address {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0 0 0.75rem 0;
}

.popup-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.popup-stars {
    color: #f59e0b;
    font-size: 0.9rem;
}

.popup-rating-number {
    font-weight: bold;
    color: #1e293b;
    font-size: 0.9rem;
}

.popup-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Source Indicator Styles */
.source-indicator {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.source-indicator.sample {
    background: rgba(139, 92, 246, 0.2);
    color: #8B5CF6;
}

.source-indicator.real {
    background: rgba(16, 185, 129, 0.2);
    color: #10B981;
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #fff;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .business-card {
        border: 2px solid #000;
    }
    
    .amenity-tag {
        background: #000;
        color: #fff;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

