/* Container */
.captcha-box {
    margin-bottom: 1rem;
    font-family: Arial, sans-serif;
    text-align: left;
}

.captcha-box label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: #222;
}

/* Căn hàng ngang và canh giữa các phần tử */
.captcha-img-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

/* Input captcha */
.captcha-img-wrapper input[type="text"] {
    padding: 0px !important;
    max-width: 120px;
    height: 42px;
    padding: 0 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Ảnh captcha */
.captcha-img {
    height: 42px !important;
    width: 100px;
    object-fit: contain;
    border: 1px solid #ccc;
    border-radius: 5px;

}

/* Nút refresh */
.captcha-refresh {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    width: 42px;
    transition: color 0.3s ease;
}

.captcha-refresh:hover {
    color: #000;
}

/* Responsive cho màn nhỏ */
@media (max-width: 480px) {
    .captcha-img-wrapper {
        flex-direction: row;
        align-items: stretch;
    }

    .captcha-img,
    .captcha-refresh {
        align-self: flex-start;
    }
}