/* Fethiyespor Custom Styles */
[x-cloak] { 
    display: none !important; 
}

/* Custom scrollbar for better look */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #212E7D;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #D9261C;
}

/* Custom utility classes */
.text-fethiye-red {
    color: #D9261C;
}

.bg-fethiye-red {
    background-color: #D9261C;
}

/* Penalty Kick Loader */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #212E7D;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

#loader-wrapper.loaded {
    opacity: 0;
    visibility: hidden;
}

.pitch-container {
    width: 300px;
    height: 100px;
    position: relative;
    border-bottom: 4px solid rgba(255, 255, 255, 0.2);
}

.soccer-ball {
    width: 40px;
    height: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    animation: dribble 2s infinite linear;
}

.goal-post {
    width: 60px;
    height: 80px;
    position: absolute;
    bottom: 0;
    right: 0;
    border: 4px solid #fff;
    border-bottom: none;
}

.loader-text {
    color: #fff;
    font-family: 'Black Ops One', cursive; /* Assuming a bold font is available or fallback */
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes dribble {
    0% {
        left: 0;
        transform: rotate(0deg) translateY(0);
    }
    25% {
        transform: rotate(90deg) translateY(-20px);
    }
    50% {
        transform: rotate(180deg) translateY(0);
    }
    75% {
        transform: rotate(270deg) translateY(-20px);
    }
    100% {
        left: 240px;
        transform: rotate(360deg) translateY(0);
    }
}

/* Custom Checkbox Styling */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #E5E7EB;
    border-radius: 0.5rem;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
    background-color: #fff;
    display: inline-block;
    vertical-align: middle;
}

.custom-checkbox:checked {
    background-color: #212E7D;
    border-color: #212E7D;
}

.custom-checkbox:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(33, 46, 125, 0.2);
}

.custom-checkbox:hover:not(:checked) {
    border-color: rgba(33, 46, 125, 0.5);
}

/* Captcha Timer States */
.captcha-active {
    transition: all 0.3s ease;
}

.captcha-warning {
    background-color: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
    animation: pulse-warning 1s infinite;
}

.captcha-expired {
    background-color: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
}

.captcha-expired .question-text {
    filter: blur(5px);
    opacity: 0.5;
    user-select: none;
}

.captcha-expired input[name="captcha"] {
    background-color: #f3f4f6;
    cursor: not-allowed;
    pointer-events: none;
}

.captcha-timer {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    min-width: 50px;
    text-align: center;
}

.captcha-active .captcha-timer {
    background-color: #f0f9ff;
    color: #0369a1;
}

.captcha-warning .captcha-timer {
    background-color: #fef3c7;
    color: #d97706;
    animation: pulse-warning 1s infinite;
}

.captcha-expired .captcha-timer {
    color: #DC2626;
    font-weight: bold;
}

/* Password Strength Indicators */
.password-strength-bar {
    transition: width 0.3s ease, background-color 0.3s ease;
}

.password-strength-weak {
    background-color: #DC2626;
}

.password-strength-medium {
    background-color: #D97706;
}

.password-strength-strong {
    background-color: #059669;
}

.password-requirement-check {
    transition: color 0.2s ease;
}

.password-requirement-check.fas.fa-check-circle {
    color: #059669;
}

.password-requirement-check.fas.fa-times-circle {
    color: #DC2626;
}

@keyframes pulse-warning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}
