.imbocar-captcha-wrapper {
    margin: 1.25rem 0 0.5rem;
    padding: 1rem 1.1rem;
    border: 1px solid #d9dbe1;
    border-radius: 8px;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
    width: 100%;
    max-width: 420px;
}

.imbocar-captcha-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00205C;
    margin: 0;
}

.imbocar-captcha-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
}

.imbocar-captcha-question {
    min-width: 72px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00205C;
    letter-spacing: 0.02em;
    user-select: none;
}

.imbocar-captcha-input {
    flex: 1;
    min-width: 0;
    max-width: 120px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #c5cad3;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    background: #fff;
}

.imbocar-captcha-input:focus {
    outline: none;
    border-color: #0072CD;
    box-shadow: 0 0 0 3px rgba(0, 114, 205, 0.15);
}

.imbocar-captcha-refresh {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid #c5cad3;
    border-radius: 6px;
    background: #fff;
    color: #0072CD;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.imbocar-captcha-refresh:hover {
    background: #eef5fc;
    border-color: #0072CD;
}

.imbocar-captcha-hint {
    margin: 0;
    font-size: 0.8rem;
    color: #727272;
    line-height: 1.4;
}

.imbocar-captcha-error {
    color: #c0392b;
    font-size: 0.85rem;
    margin: 0;
    display: none;
}

.imbocar-captcha-wrapper.is-invalid .imbocar-captcha-error {
    display: block;
}

.imbocar-captcha-wrapper.is-invalid .imbocar-captcha-input {
    border-color: #c0392b;
}

.pqrs-dynamic-form .imbocar-captcha-wrapper {
    margin-top: 1rem;
    max-width: 100%;
}

.pqrs-captcha-host {
    width: 100%;
    margin-top: 8px;
    margin-bottom: 4px;
    min-height: 0;
}
