/* --- General Container --- */
#dental-cost-estimator-container {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: #f0f2f5; /* Light gray background to see the card */
    border-radius: 15px;
}

/* --- Estimator Card (Glassmorphism Effect) --- */
.estimator-card {
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #333;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* --- Card Header --- */
.card-header {
    background: linear-gradient(135deg, #007BFF, #00BFFF);
    padding: 25px;
    text-align: center;
    color: white;
}

.card-header h2 {
    margin: 0;
    font-size: 1.8em;
    font-weight: 700;
}

.card-header p {
    margin: 5px 0 0;
    font-size: 0.9em;
    opacity: 0.9;
}

/* --- Card Body & Form Elements --- */
.card-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
    color: #444;
}

#treatment-select,
#zip-code-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fdfdfd;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

#treatment-select:focus,
#zip-code-input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.5);
}

/* --- Button --- */
#calculate-btn {
    padding: 15px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(135deg, #28a745, #218838);
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

#calculate-btn:hover {
    background: linear-gradient(135deg, #218838, #1e7e34);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

/* --- Card Footer & Cost Display --- */
.card-footer {
    padding: 25px;
    text-align: center;
    background-color: #f8f9fa;
}

.card-footer h3 {
    margin: 0 0 10px;
    font-size: 1.2em;
    color: #555;
}

.cost-display {
    margin-bottom: 15px;
}

.glowing-text {
    font-size: 2.8em;
    font-weight: 800;
    color: #007BFF;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5),
                 0 0 20px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
}

.disclaimer {
    font-size: 0.8em;
    color: #777;
    margin: 0;
}

/* --- Responsiveness --- */
@media (max-width: 480px) {
    .estimator-card {
        border-radius: 0;
        box-shadow: none;
    }

    .card-header h2 {
        font-size: 1.5em;
    }

    .card-body, .card-footer, .card-header {
        padding: 20px;
    }

    .glowing-text {
        font-size: 2.2em;
    }
}