/* Consent Section Styles */
.consent-section {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.consent-section.consent-required {
    border-color: #f59e0b;
    background: rgba(245, 158, 11, 0.1);
    animation: pulse-warning 0.5s ease-in-out;
}

@keyframes pulse-warning {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.consent-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    line-height: 1.5;
}

.consent-checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.consent-checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    background: transparent;
    transition: all 0.2s ease;
    position: relative;
    margin-top: 2px;
}

.consent-checkbox-input:checked + .consent-checkbox-custom {
    background: var(--primary-color, #10b981);
    border-color: var(--primary-color, #10b981);
}

.consent-checkbox-input:checked + .consent-checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consent-checkbox-input:focus + .consent-checkbox-custom {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.consent-text {
    color: rgba(255, 255, 255, 0.8);
}

.consent-text a {
    color: var(--primary-color, #10b981);
    text-decoration: underline;
}

.consent-text a:hover {
    color: #34d399;
}

/* Light mode overrides */
.light-mode .consent-section {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

.light-mode .consent-checkbox-custom {
    border-color: rgba(0, 0, 0, 0.3);
}

.light-mode .consent-text {
    color: rgba(0, 0, 0, 0.7);
}

.light-mode .consent-text a:hover {
    color: #059669;
}

/* Warning notification style */
.notification-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Sign-in buttons hidden by default; shown by JS when provider is configured */
#googleSignInBtn,
#microsoftSignInBtn { display: none; }
