#countdown-display{
    color: var(--main-color);
}
 /* calculators.css styles */
.card {
    background-color: var(--color-white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 75, 255, 0.2);
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    border: 2px solid transparent;
    transition: border-color 0.5s, box-shadow 0.5s;
}
label {
    display: block;
    font-size: 0.875rem;
    font-weight: bold;
    color: #4a5568;
    margin-bottom: 0.5rem;
}
.button-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
@media (min-width: 480px) {
    .button-container {
        flex-direction: row;
    }
}
.button {
    color: var(--color-white);
    font-weight: bold;
    padding: 0.75rem 0;
    border: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    transition: background-color 0.3s, transform 0.2s;
    cursor: pointer;
    font-size: 1rem;
    width: 120px;
    text-align: center;
}
.button:active {
    transform: translateY(1px);
}

/* Alarm Specific Styles */
.time-display {
    font-family: 'Courier New', Courier, monospace;
    font-size: clamp(2.5rem, 10vw, 4rem);
    font-weight: bold;
    color: #1a202c;
    margin-bottom: 0.5rem;
    min-height: 4rem;
    word-break: break-word;
}
#current-date {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 2rem;
    min-height: 1.2rem;
}
.alarm-controls {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
}
    @media (min-width: 480px) {
    .alarm-controls {
        flex-direction: row;
    }
}
#alarm-time-input {
    font-size: 1.5rem;
    padding: 0.5rem;
    border: 1px solid #cbd5e0;
    border-radius: 0.375rem;
    margin-bottom: 0.25rem;
}
.sound-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 2rem; /* Align with time input */
}
#countdown-display {
    margin-top: 1rem;
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--main-color);
    min-height: 3rem;
    font-family: 'Courier New', Courier, monospace;
}

.flashing-alarm {
    animation: flash-border 1.5s infinite;
}
@keyframes flash-border {
    0%, 100% { 
        border-color: transparent;
        box-shadow: 0 3px 10px rgba(0, 75, 255, 0.2);
    }
    50% { 
        border-color: var(--alarm-color);
        box-shadow: 0 3px 20px rgba(197, 48, 48, 0.5);
    }
}