/* Gas Mileage Calculator Specific Styles */

/* Optional text styling */
.optional-text {
    font-size: 0.85em;
    color: var(--text-muted, #6b7280);
    font-weight: 400;
}

/* Button Group */
.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

/* Results Grid */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

/* Primary Result Card */
.result-card {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.result-card.primary {
    background: linear-gradient(135deg, var(--primary-color, #3b82f6) 0%, var(--primary-dark, #2563eb) 100%);
    color: white;
}

.result-card-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

.result-card-value {
    font-size: 2rem;
    font-weight: 700;
}

/* EPA Comparison styling */
.epa-better {
    color: var(--success-color, #22c55e);
    font-weight: 600;
}

.epa-worse {
    color: var(--error-color, #ef4444);
    font-weight: 600;
}

.epa-same {
    color: var(--text-muted, #6b7280);
}

/* Hide rows when not applicable */
.hidden-row {
    display: none !important;
}

/* Responsive */
@media (max-width: 640px) {
    .button-group {
        flex-direction: column;
    }

    .result-card-value {
        font-size: 1.75rem;
    }

    .results-item {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }
}

/* Medium screens and up */
@media (min-width: 641px) {
    .results-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .results-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
}
