* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f9f9f9;
    font-family: Roboto, helvetica, arial, sans-serif;
}

/* =========================
   CAPTCHA CONTAINER BOX
========================= */

.captcha {
    width: 302px;
    height: 76px;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    position: relative;
}

/* =========================
   LEFT SECTION (CHECKBOX & TEXT)
========================= */

.captcha-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.checkbox-wrapper {
    width: 28px;
    height: 28px;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Checkbox Kosong */
.checkbox {
    width: 28px;
    height: 28px;
    background: #fff;
    border: 2px solid #c1c1c1;
    border-radius: 2px;
    transition: border-color 0.2s ease;
}

.checkbox-wrapper:hover .checkbox {
    border-color: #b2b2b2;
}

/* Centang Hijau (Sesuai Gambar) */
.checkbox.checked {
    border: none;
    background: transparent;
    width: 28px;
    height: 28px;
    position: relative;
}

.checkbox.checked::after {
    content: "";
    position: absolute;
    left: 8px;
    top: 2px;
    width: 10px;
    height: 18px;
    border: solid #0f9d58; /* Warna hijau reCAPTCHA */
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    animation: check-anim 0.2s ease-in-out forwards;
}

@keyframes check-anim {
    0% {
        opacity: 0;
        transform: rotate(45deg) scale(0.5);
    }
    100% {
        opacity: 1;
        transform: rotate(45deg) scale(1);
    }
}

/* Indicator Loading Spin */
.loading {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 3px solid #4285f4;
    border-right-color: transparent;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Teks Captcha */
.text {
    font-size: 14px;
    color: #000000;
    font-weight: 400;
    user-select: none;
}

/* =========================
   RIGHT SECTION (BRAND LOGO)
========================= */

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 55px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 10px;
    color: #555555;
    margin-top: 2px;
    text-align: center;
    font-weight: 500;
    letter-spacing: -0.2px;
}

/* Status Pesan Verifikasi */
.status {
    position: absolute;
    left: 52px;
    bottom: 4px;
    font-size: 9px;
    color: #777;
    display: none;
}