/* Custom animations for the countdown */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes countdown {
    from {
        stroke-dashoffset: 0;
    }
    to {
        stroke-dashoffset: 100;
    }
}

.countdown-container {
    position: relative;
    width: 36px;
    height: 36px;
}

.countdown-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.countdown-path-elapsed {
    fill: none;
    stroke: #e5e7eb;
    stroke-width: 2.8;
}

.countdown-path-remaining {
    fill: none;
    stroke: #4f46e5;
    stroke-width: 2.8;
    stroke-linecap: round;
    transform-origin: center;
    transition: stroke-dashoffset 1s linear;
}

.countdown-number {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    font-size: 0.875rem;
    color: #4f46e5;
}

.countdown-pulse {
    animation: pulse 1s steps(1) infinite;
}

/* Danger state for last 5 seconds */
.countdown-danger .countdown-path-remaining {
    stroke: #ef4444;
}

.countdown-danger .countdown-number span {
    color: #ef4444;
}

/* Custom styles for the TOTP code display */
#totpCode {
    letter-spacing: 0.25em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Smooth transitions */
.transition-all {
    transition: all 0.3s ease-in-out;
}

/* Focus styles */
input:focus::placeholder {
    color: transparent;
} 