/* Basic styling */
:root {
    --primary-color: #0072ff;
    --accent-color: #00c6ff;
    --text-dark: #333;
    --background-light: #f4f8fb;
}

.calculator {
    background: #fff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: all 0.3s ease;
}

h2 {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.8rem;
}

label {
    font-weight: 600;
    display: block;
    margin-top: 1.5rem;
    text-align: left;
    font-size: 0.95rem;
    color: var(--text-dark);
}

input, select {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 12px;
    background: #f9f9f9;
    margin-bottom: 1rem;
    transition: border 0.3s;
}

input:focus, select:focus {
    border: 1px solid var(--primary-color);
    outline: none;
}

button {
    background: var(--primary-color);
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.9rem;
    width: 100%;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s ease;
}

button:hover {
    opacity: 0.9;
}

.countdown {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: #ff6600;
    font-weight: 600;
    transition: all 0.3s;
}

.result {
    margin-top: 1.8rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: green;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.result.show {
    opacity: 1;
    transform: translateY(0);
}
