/* Google Consent Banner Styles */
.google-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 3px solid #4285f4;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.google-consent-banner.show {
    transform: translateY(0);
}

.google-consent-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.google-consent-banner .consent-text {
    flex: 1;
    min-width: 300px;
}

.google-consent-banner .consent-text h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

.google-consent-banner .consent-text p {
    margin: 0;
    color: #5f6368;
    line-height: 1.4;
}

.google-consent-banner .consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.google-consent-banner .btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.google-consent-banner .btn-primary {
    background-color: #4285f4;
    color: white;
}

.google-consent-banner .btn-primary:hover {
    background-color: #3367d6;
}

.google-consent-banner .btn-secondary {
    background-color: #f8f9fa;
    color: #5f6368;
    border: 1px solid #dadce0;
}

.google-consent-banner .btn-secondary:hover {
    background-color: #e8eaed;
}

.google-consent-banner .btn-outline {
    background-color: transparent;
    color: #4285f4;
    border: 1px solid #4285f4;
}

.google-consent-banner .btn-outline:hover {
    background-color: #4285f4;
    color: white;
}

/* Cookie Settings Modal */
.google-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.google-consent-modal.show {
    display: flex;
}

.google-consent-modal .modal-content {
    background: white;
    border-radius: 8px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.google-consent-modal .modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.google-consent-modal .modal-header h5 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #202124;
}

.google-consent-modal .modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #5f6368;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.google-consent-modal .modal-close:hover {
    background-color: #f1f3f4;
}

.google-consent-modal .modal-body {
    padding: 20px 24px;
}

.google-consent-modal .modal-body p {
    margin: 0 0 20px 0;
    color: #5f6368;
    line-height: 1.5;
}

.google-consent-modal .cookie-category {
    margin-bottom: 20px;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.google-consent-modal .cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.google-consent-modal .cookie-category h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #202124;
}

.google-consent-modal .cookie-category p {
    margin: 0;
    font-size: 14px;
    color: #5f6368;
    line-height: 1.4;
}

.google-consent-modal .toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.google-consent-modal .toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.google-consent-modal .toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.google-consent-modal .toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.google-consent-modal input:checked + .toggle-slider {
    background-color: #4285f4;
}

.google-consent-modal input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.google-consent-modal input:disabled + .toggle-slider {
    background-color: #e0e0e0;
    cursor: not-allowed;
}

.google-consent-modal .modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .google-consent-banner .container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .google-consent-banner .consent-text {
        min-width: auto;
        text-align: center;
    }
    
    .google-consent-banner .consent-buttons {
        justify-content: center;
    }
    
    .google-consent-modal .modal-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .google-consent-modal .modal-footer {
        flex-direction: column;
    }
    
    .google-consent-modal .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .google-consent-banner {
        padding: 15px;
    }
    
    .google-consent-banner .consent-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .google-consent-banner .btn {
        width: 100%;
        text-align: center;
    }
}