.flux-captcha-card {
    position: relative;
    padding: 1rem 1.25rem;
    border-radius: 18px;
    background: linear-gradient(130deg, rgba(255, 0, 0, 0.25), rgba(8, 7, 27, 0.92));
    border: 1px solid rgba(255, 0, 0, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.flux-captcha-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(120deg, rgba(255, 0, 0, 0.75), rgba(255, 255, 255, 0.25));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.7;
}

.flux-captcha-card::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 14px;
    background: radial-gradient(circle at top, rgba(255, 0, 0, 0.3), transparent 55%);
    filter: blur(12px);
    z-index: 0;
}

.flux-captcha-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.flux-captcha-chip {
    align-self: flex-start;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    color: #ffe3e3;
    background: rgba(255, 0, 0, 0.2);
    box-shadow: 0 8px 22px rgba(255, 0, 0, 0.2);
}

.flux-captcha-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.flux-captcha-description {
    margin: 0;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
}

.flux-captcha-body {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.flux-captcha-preview {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.flux-captcha-preview {
    flex: 1 1 200px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.flux-captcha-preview img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
    object-fit: cover;
    background: rgba(0, 0, 0, 0.35);
}

.flux-captcha-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 10px;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(255, 0, 0, 0.35);
    background: rgba(16, 12, 18, 0.9);
    color: #fff;
    font-weight: 500;
    font-size: 0.82rem;
    letter-spacing: 0.03em;
    transition: all 0.2s ease;
}

.flux-captcha-refresh:hover {
    border-color: rgba(255, 0, 0, 0.55);
    background: rgba(255, 0, 0, 0.15);
    color: #fff;
    transform: translateY(-1px);
}

.flux-captcha-input {
    flex: 1 1 220px;
}

.flux-captcha-input label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    display: inline-block;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
}

.flux-input-shell {
    position: relative;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(120deg, rgba(255, 0, 0, 0.55), rgba(255, 255, 255, 0.15));
}

.flux-input-shell input {
    width: 100%;
    border: none;
    border-radius: 11px;
    background: rgba(9, 10, 16, 0.92);
    padding: 0.65rem 1rem;
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.flux-input-shell input::placeholder {
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.15em;
}

.flux-captcha-hint {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.flux-captcha-hint strong {
    color: #ff6666;
}

@media (max-width: 767px) {
    .flux-captcha-card {
        padding: 0.85rem 1rem;
    }

    .flux-captcha-body {
        flex-direction: column;
        gap: 1rem;
    }

    .flux-captcha-preview {
        flex: none;
        gap: 0.8rem;
    }

    .flux-captcha-refresh {
        width: 100%;
        justify-content: center;
        margin-bottom: 0.4rem;
    }

    .flux-captcha-input {
        flex: none;
        margin-top: 0.5rem;
    }

    .flux-input-shell {
        margin-top: 0.35rem;
    }

    .flux-captcha-input label {
        margin-top: 0.4rem;
    }
}

@media (max-width: 575px) {
    .flux-captcha-body {
        gap: 1.1rem;
    }

    .flux-captcha-refresh {
        margin-bottom: 0.6rem;
    }

    .flux-captcha-input {
        margin-top: 0.65rem;
    }

    .flux-captcha-input label {
        margin-top: 0.55rem;
    }
}

