@import url('./captcha-shared.css');

/* Word captcha section */
.word-container {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    border: 1px solid #C5C6C5;
    background: #FFF;
    background-image: url("/protect/assets/images/fond-da.svg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-bottom: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.word-container .image {
    text-align: center;
}

.word-container .image img {
    width: 100%;
}

/* Audio */
#capcha-audio-listen, #puzzle-audio-listen {
    background: #4f46e5;
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 12px;
}

#capcha-audio-listen:hover, #puzzle-audio-listen:hover {
    filter: brightness(0.9);
    transform: translateY(-1px);
}

.word-container .block-audio {
    padding: 20px;
    text-align: center;
    width: 100%;
}

/* Form section */
.form-container > div {
    display: block;
    align-items: center;
    gap: 12px;
}

/* Control buttons - word specific */
.center-vertical {
    color: #6b7280;
    text-decoration: none;
}

.center-vertical:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

/* Recipients info */
.info-txt {
    color: #1F1E1F;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-top: 50px;
}

/* Footer */
.footer-section {
    background: #f8f9ff;
    padding: 20px;
    text-align: center;
    border-top: 1px solid #e5e7eb;
}

/* Mobile responsive - word specific */
@media (max-width: 640px) {
    .word-container {
        padding: 12px;
        margin-bottom: 12px;
    }

    .info-txt {
        font-size: 16px;
        margin-top: 30px;
        line-height: 1.4;
    }
}

/* Success animation */
.success-animation {
    animation: success-pulse 0.3s ease;
}

@keyframes success-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

/* Hidden elements */
.hidden {
    display: none !important;
}