/* GTM Consent Modal Styles */
@keyframes modalSlideIn {
    from { transform: translateY(-30px) scale(0.95); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes modalSlideOut {
    from { transform: translateY(0) scale(1); opacity: 1; }
    to { transform: translateY(-30px) scale(0.95); opacity: 0; }
}

.consent-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.consent-toggle:last-child {
    border-bottom: none;
    margin-bottom: 20px;
}

.toggle-switch {
    position: relative;
    width: 50px;
    height: 24px;
    background: #ccc;
    border-radius: 24px;
    cursor: pointer;
    transition: background 0.3s;
}

.toggle-switch.active {
    background: var(--accept-bg, #27ae60);
}

.toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
}

.toggle-switch.active .toggle-slider {
    transform: translateX(26px);
}

/* Floating button styles */
.gtm-consent-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: var(--floating-btn-bg, #333);
    color: var(--floating-btn-color, #fff);
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 99998;
    transition: all 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.gtm-consent-floating-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    background: var(--floating-btn-hover-bg, #555);
}

/* Modal backdrop */
.consent-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    padding: 20px;
    box-sizing: border-box;
    background: var(--modal-bg, rgba(0,0,0,0.6));
}

/* Modal content */
.consent-modal {
    background: var(--content-bg, #ffffff);
    color: var(--text-color, #333333);
    padding: 30px;
    border-radius: 12px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    animation: modalSlideIn 0.4s ease-out;
    position: relative;
}

/* Button styles */
.consent-btn {
    border: none;
    padding: 14px 28px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    min-width: 130px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

.consent-btn-primary {
    background: var(--accept-bg, #27ae60);
    color: white;
}

.consent-btn-primary:hover {
    background: var(--accept-hover, #2ecc71);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

.consent-btn-secondary {
    background: transparent;
    color: var(--decline-text, #666666);
    border: 2px solid var(--decline-border, #cccccc);
    padding: 12px 20px;
    font-size: 14px;
}

.consent-btn-secondary:hover {
    background: var(--decline-hover-bg, #f8f9fa);
    border-color: var(--decline-hover-border, #999999);
}

/* Link styles */
.consent-link {
    color: var(--link-color, #3498db);
    text-decoration: underline;
}

.consent-link:hover {
    color: var(--link-hover-color, #2980b9);
}

/* Responsive design */
@media (max-width: 768px) {
    .consent-modal {
        max-width: 95%;
        padding: 20px;
        margin: 10px;
    }
    
    .consent-btn {
        min-width: 120px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .gtm-consent-floating-btn {
        bottom: 15px;
        right: 15px;
        padding: 10px 16px;
        font-size: 13px;
    }
} 