:root {
    --color-success: #3BA55D;
}

#vlcaptcha-captcha-checkbox {
    display: flex;
    align-items: center;
    width: 280px;
    height: 16px;
    padding: 1.5rem;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

#vlcaptcha-captcha-input-box {
    display: flex;
    align-items: center;
    border: 1px solid #D4D4D3;
    box-sizing: border-box;
    border-radius: 4px;
    width: 280px;
    height: 64px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.05);
    background-color: #F7F7F6;
    margin: 0 auto 1.5rem;
}

.checkmark {
    border: 1px solid #D4D4D3;
    box-sizing: border-box;
    border-radius: 2px;
    position: relative;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF;
    transition: background-color 0.3s ease;
}

@keyframes checkmarkAnimation {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(-45deg);
        opacity: 1;
    }
}

@keyframes loadingAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
  
.checkmark.loading {
    background: linear-gradient(270deg, #f0f0f0, #d4d4d4, #f0f0f0);
    background-size: 600% 600%;
    animation: loadingAnimation 1.5s infinite;
}
  

.checkmark.checked {
    background-color: var(--color-success);
    border-color: var(--color-success);
}

.checkmark.checked::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 6px;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(-45deg);
    animation: checkmarkAnimation 0.3s ease forwards;
}

.label {
    margin-left: 0.5rem;
    font-size: 0.875rem;
    color: #333;
    font-weight: 500;
}

  #successMessage {
    margin-top: 20px;
    font-family: 'Arial', sans-serif;
    font-size: 16px;
    color: green;
    font-weight: bold;
  }