/* Custom styles */

/* Device-specific styling */
html[data-device="mobile"] {
    /* Mobile specific styles */
    font-size: 14px;
}

html[data-device="tablet"] {
    /* Tablet specific styles */
    font-size: 15px;
}

html[data-device="desktop"] {
    /* Desktop specific styles */
    font-size: 16px;
}

/* Device-specific components */
html[data-device="mobile"] .desktop-only {
    display: none !important;
}

html[data-device="tablet"] .desktop-only {
    display: none !important;
}

html[data-device="mobile"] .tablet-desktop-only {
    display: none !important;
}

html[data-device="desktop"] .mobile-only {
    display: none !important;
}

html[data-device="tablet"] .mobile-only {
    display: none !important;
}

html[data-device="desktop"] .mobile-tablet-only {
    display: none !important;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.navbar-brand {
    padding: 0;
}

.navbar-logo {
    max-width: 200px;
    width: auto;
    height: auto;
}

.hero-section {
    background-color: #f8f9fa;
    padding: 4rem 0;
}

.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: #2c3e50;
    border-color: #2c3e50;
}

.btn-primary:hover {
    background-color: #34495e;
    border-color: #34495e;
}

.form-control:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 0.2rem rgba(44, 62, 80, 0.25);
}

/* Map styles */
.state-map {
    width: 100%;
    height: 400px;
    margin-bottom: 2rem;
}

.state {
    fill: #e9ecef;
    stroke: #fff;
    stroke-width: 1px;
}

.state.active {
    fill: #0d6efd;
}

.state:hover {
    fill: #0b5ed7;
    cursor: pointer;
}

/* Star Rating Styles */
.star-rating .btn-group {
    display: flex;
    gap: 5px;
}

.star-btn {
    width: 50px;
    height: 55px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.star-btn i {
    font-size: 1.2rem;
}

.btn-check:checked + .star-btn {
    background-color: #ffc107;
    border-color: #ffc107;
    color: #000;
    transform: scale(1.1);
}

.btn-outline-warning.star-btn:hover {
    background-color: rgba(255, 193, 7, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .state-map {
        height: 300px;
    }
    
    .star-btn {
        width: 40px;
        height: 45px;
        padding: 5px;
    }
}