#dental-implant-calculator-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2);
    padding: 2em;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2em auto;
    color: #333;
}

.calculator-header {
    text-align: center;
    margin-bottom: 2em;
}

.calculator-header h2 {
    color: #1a237e;
    font-size: 2.5em;
    margin-bottom: 0.2em;
}

.calculator-header p {
    color: #555;
    font-size: 1.1em;
}

.input-group {
    margin-bottom: 1.5em;
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 0.5em;
    font-weight: 600;
    color: #1a237e;
}

.input-group select,
.input-group input {
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1em;
    background-color: #fff;
    transition: all 0.3s ease;
}

.input-group select:focus,
.input-group input:focus {
    outline: none;
    border-color: #1a237e;
    box-shadow: 0 0 8px rgba(26, 35, 126, 0.2);
}

.results-group {
    text-align: center;
    margin: 2em 0;
}

.results-group h3 {
    color: #1a237e;
    font-size: 1.5em;
    margin-bottom: 0.5em;
}

.total-cost-display {
    font-size: 3em;
    font-weight: 700;
    color: #28a745;
    animation: fadeIn 1s ease-in-out;
}

.cost-comparison {
    margin-top: 2em;
    border-top: 1px solid #ddd;
    padding-top: 1.5em;
}

.cost-comparison h4 {
    text-align: center;
    color: #1a237e;
    margin-bottom: 1em;
    font-size: 1.2em;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5em 0;
    font-size: 1.1em;
}

.clinic-cost-display {
    font-weight: 600;
    color: #28a745;
}

.average-cost-display {
    font-weight: 600;
    color: #dc3545;
}

.live-clock-display {
    text-align: center;
    margin-top: 2em;
    font-size: 1em;
    color: #555;
    font-weight: 500;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #dental-implant-calculator-container {
        padding: 1.5em;
    }

    .calculator-header h2 {
        font-size: 2em;
    }

    .total-cost-display {
        font-size: 2.5em;
    }
}