/* UPSC Timer Styles */

.upsc-timer-container {
    max-width: 400px;
    margin: 20px auto;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.upsc-timer-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    color: white;
}

.upsc-timer-title {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.upsc-timer-days {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    margin: 20px 0;
    line-height: 1;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.upsc-timer-days.urgent {
    color: #ffeb3b;
    animation: pulse 1.5s infinite;
}

.upsc-timer-days.today {
    color: #ff5252;
    animation: blink 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0.7;
    }
}

.upsc-timer-label {
    font-size: 18px;
    font-weight: 500;
    margin: 10px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.9);
}

.upsc-timer-date {
    font-size: 14px;
    margin: 15px 0 0 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

.upsc-timer-error {
    background-color: #ffebee;
    color: #c62828;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #c62828;
    font-size: 14px;
    max-width: 400px;
    margin: 20px auto;
}

/* Responsive Design */
@media (max-width: 480px) {
    .upsc-timer-container {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .upsc-timer-content {
        padding: 25px 20px;
    }
    
    .upsc-timer-title {
        font-size: 18px;
    }
    
    .upsc-timer-days {
        font-size: 56px;
    }
    
    .upsc-timer-label {
        font-size: 16px;
    }
    
    .upsc-timer-date {
        font-size: 13px;
    }
}