/* ENU IDSAI CTF Custom Styles */

/* Hide scrollbar for cleaner look in tabs */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Alpine Cloak to prevent flashing */
[x-cloak] {
    display: none !important;
}

/* Base resets */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active{
    -webkit-box-shadow: 0 0 0 30px #0d1117 inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Markdown prose styling */
.prose pre {
    background-color: #0d1117;
    border: 1px solid #21262d;
}

.prose code {
    color: #06b6d4;
    background-color: rgba(6, 182, 212, 0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

.prose pre code {
    background-color: transparent;
    color: #c9d1d9;
    padding: 0;
}

/* Animations */
@keyframes pulse-border {
    0% { border-color: rgba(6, 182, 212, 0.4); box-shadow: 0 0 5px rgba(6, 182, 212, 0.2); }
    50% { border-color: rgba(6, 182, 212, 1); box-shadow: 0 0 15px rgba(6, 182, 212, 0.5); }
    100% { border-color: rgba(6, 182, 212, 0.4); box-shadow: 0 0 5px rgba(6, 182, 212, 0.2); }
}

.animate-pulse-border {
    animation: pulse-border 2s infinite;
}

/* Timer styles */
.timer-text {
    font-variant-numeric: tabular-nums;
}

/* Counter for lists */
.counter-reset-step {
    counter-reset: step;
}
