/* static/css/clock.css */

/* Mini Clock Container */
#mini-clock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}

/* Mini Clock Text */
#mini-digital-clock {
    font-family: 'Courier New', Courier, monospace;
    font-size: 1rem;
    color: #ffffff; /* Bright white */
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
    padding: 4px 8px;
    border-radius: 6px;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

/* Pulse Animation */
@keyframes pulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 10px rgba(255, 255, 255, 1);
    }
    100% {
        box-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    }
}

/* (Optional) Glow effect if clock drift is high */
.clock-drift-warning {
    background-color: rgba(255, 0, 0, 0.7);
    box-shadow: 0 0 12px rgba(255, 0, 0, 1);
}

/* Mini Calendar Icon */
#mini-calendar-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 6px;
    font-family: 'Arial', sans-serif;
    font-size: 0.65rem;
    color: #000;
    text-align: center;
    padding: 2px;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
}

#mini-calendar-day {
    font-weight: bold;
    font-size: 0.6rem;
    border-bottom: 1px solid #ccc;
    width: 100%;
}

#mini-calendar-date {
    font-size: 0.9rem;
    font-weight: bold;
}
/* Glow effect for today's event */
@keyframes calendarGlow {
    0% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.7); }
    50% { box-shadow: 0 0 12px rgba(0, 255, 0, 1); }
    100% { box-shadow: 0 0 5px rgba(0, 255, 0, 0.7); }
}

.calendar-event-today {
    animation: calendarGlow 1.5s infinite;
    border-color: #28a745; /* optional: green border */
}
