/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none; /* Hidden by default */
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}
h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #1a1a1a;
}

/* State Selector */
.state-selector {
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.state-selector select {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
}

/* Pricing Table */
.pricing-table {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    overflow: hidden;
}
.pricing-header, .pricing-row {
    display: grid;
    border-bottom: 1px solid #ddd;
    min-width: 1000px;
}
.pricing-cell {
    padding: 1.5rem;
    border-right: 1px solid #ddd;
    text-align: center;
    word-break: break-word;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}
.pricing-cell:first-child {
    font-weight: 700;
    justify-content: center;
}
.pricing-cell:last-child {
    border-right: none;
}

/* Titles and Info */
.features-title, .addons-title {
    font-weight: 600;
    background-color: #f8f9fa;
}
h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}
.price-info {
    margin: 1rem 0;
}
.base-price, .addon-price {
    color: #666;
    font-size: 0.9rem;
}
.total-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0.5rem 0;
}
.fees-note {
    color: #666;
    font-size: 0.8rem;
    display: block;
}

/* Buttons */
.select-button {
    width: 100%;
    padding: 0.75rem;
    background-color: #0066cc;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.2s;
    margin-top: auto;
}
.select-button:hover {
    background-color: #0052a3;
}

/* Features and Add-ons */
.feature-list {
    list-style: none;
}
.feature-list li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.addon-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.addon-item input[type="checkbox"] {
    margin-top: 0.25rem;
}
.addon-item label {
    font-size: 0.9rem;
}
.addon-price {
    display: block;
    color: #666;
    font-size: 0.8rem;
}

/* Tablet and Mobile Scroll Layout (768px and below) */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    h1 {
        font-size: 1.8rem;
    }
    .pricing-table {
        overflow-x: auto;
    }
    .pricing-header, .pricing-row {
        display: grid;
        min-width: 1000px;
    }
    .pricing-cell {
        padding: 1rem;
        font-size: 0.9rem;
    }
    .select-button {
        padding: 0.6rem;
        font-size: 0.9rem;
    }
}

/* Mobile Break Layout (480px) */
@media (max-width: 480px) {
    .state-selector {
        flex-direction: column;
        align-items: flex-start;
    }
    .state-selector select {
        width: 100%;
    }
    .select-button {
        margin-top: auto;
    }
}  
