.captcha-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.captcha-container:hover {
    box-shadow: 0 0 15px var(--accent-glow, rgba(0, 255, 247, 0.2));
    border-color: var(--accent, #797ef6);
}

.captcha-image-wrapper {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2));
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    overflow: hidden;
    background: transparent !important;
}

/* Verfijning van de refresh button om brightness te temmen */
.captcha-container .fc-btn-secondary.fc-btn-glow {
    background: rgba(121, 126, 246, 0.2) !important;
    color: var(--accent, #797ef6) !important;
    border: 1px solid var(--accent, #797ef6) !important;
    box-shadow: 0 0 10px rgba(121, 126, 246, 0.3) !important;
}

.captcha-container .fc-btn-secondary.fc-btn-glow:hover {
    background: var(--accent, #797ef6) !important;
    color: white !important;
    box-shadow: 0 0 20px var(--accent, #797ef6) !important;
}

.captcha-input-modern {
    border: 2px solid transparent !important;
    background: var(--dark-03, #1e264a) !important;
    color: var(--main-fg, #ffffff) !important;
    letter-spacing: 2px;
    text-align: center;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
}

.captcha-input-modern:focus {
    border-color: var(--glow, #00fff7) !important;
    box-shadow: 0 0 10px var(--glow, #00fff7) !important;
}

.captcha-feedback {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.shake-error {
    animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
}

.divCaptach {
    flex-grow: 1;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
    40%, 60% { transform: translate3d(4px, 0, 0); }
}
