/* Google Consent Mode Banner Styles */
#cookie-consent-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consent-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.consent-modal {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.consent-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.consent-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.consent-body {
    padding: 24px;
}

.consent-body > p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.5;
    color: #4b5563;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.consent-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consent-option {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s ease;
}

.consent-option:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.consent-option label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 8px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.consent-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #3b82f6;
}

.consent-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.consent-option span {
    font-size: 16px;
    font-weight: 500;
    color: #111827;
}

.consent-description {
    margin: 0 0 0 32px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.consent-footer {
    padding: 16px 24px 24px;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.consent-button {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.consent-button.primary {
    background: #3b82f6;
    color: white;
}

.consent-button.primary:hover {
    background: #2563eb;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.consent-button.secondary {
    background: #e5e7eb;
    color: #374151;
}

.consent-button.secondary:hover {
    background: #d1d5db;
}

.consent-links {
    padding: 0 24px 20px;
    display: flex;
    gap: 20px;
    justify-content: center;
    border-top: 1px solid #e5e7eb;
}

.consent-links a {
    font-size: 14px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.consent-links a:hover {
    color: #3b82f6;
    text-decoration: underline;
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    .consent-modal {
        width: 100%;
        height: 100%;
        max-height: 100%;
        border-radius: 0;
    }
    
    .consent-footer {
        flex-direction: column;
    }
    
    .consent-button {
        width: 100%;
    }
}

/* Cookie settings button (for footer/header) */
.cookie-settings-button {
    background: none;
    border: 1px solid #d1d5db;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.cookie-settings-button:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
    color: #111827;
}