/* ============================================
   CONSENT CHECKBOX
   Matches YT AE website theme
============================================ */

/* Consent checkbox container */
.consent-checkbox-container {
    margin-top: 20px;
    animation: consentFadeIn 0.3s ease;
    white-space: nowrap;
}

@keyframes consentFadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.consent-checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.consent-checkbox-group input[type="checkbox"] {
    width: 15px;
    height: 15px;
    cursor: pointer;
    accent-color: #f10000;
    flex-shrink: 0;
    margin: 0;
}

.consent-checkbox-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px !important;
    line-height: 1.4;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.consent-checkbox-label a {
    color: #f10000;
    text-decoration: underline;
    font-weight: 500;
    font-size: 11px !important;
    transition: color 0.2s ease;
}

.consent-checkbox-label a:hover {
    color: #cc0000;
}

/* Disabled Google button */
#googleSignInBtn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

#googleSignInBtn:not(:disabled) {
    opacity: 1;
    cursor: pointer;
    pointer-events: auto;
}

/* Mobile */
@media (max-width: 480px) {
    .consent-checkbox-label,
    .consent-checkbox-label a {
        font-size: 10px !important;
    }
    
    .consent-checkbox-group input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    
    .consent-checkbox-group {
        flex-wrap: wrap;
        white-space: normal;
        justify-content: flex-start;
    }
}