/* Cookie Consent Popup Styles */
.cookie-consent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cookie-consent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.cookie-consent-popup {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 500px;
    width: 100%;
    padding: 30px;
    text-align: center;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    border: 1px solid #e1e5e9;
}

.cookie-consent-overlay.show .cookie-consent-popup {
    transform: translateY(0);
}

.cookie-consent-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.cookie-consent-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #333333;
    margin-bottom: 15px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.cookie-consent-text {
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

.cookie-consent-text a {
    color: #0073e6;
    text-decoration: none;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    text-decoration: underline;
}

.cookie-consent-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 120px;
}

.cookie-consent-btn-accept {
    background-color: #0073e6;
    color: #ffffff;
}

.cookie-consent-btn-accept:hover {
    background-color: #005bb5;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
}

.cookie-consent-btn-accept:active {
    background-color: #004a9c;
    transform: translateY(0);
}

.cookie-consent-btn-decline {
    background-color: #6c757d;
    color: #ffffff;
}

.cookie-consent-btn-decline:hover {
    background-color: #5a6268;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}

.cookie-consent-btn-decline:active {
    background-color: #495057;
    transform: translateY(0);
}

.cookie-consent-btn-settings {
    background-color: #ffffff;
    color: #0073e6;
    border: 2px solid #0073e6;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.cookie-consent-btn-settings:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 115, 230, 0.15);
}

.cookie-consent-btn-settings:active {
    background-color: #e7f3ff;
    transform: translateY(0);
}

/* Settings Panel */
.cookie-settings-panel {
    display: none;
    margin-top: 25px;
    text-align: left;
    border-top: 1px solid #e1e5e9;
    padding-top: 25px;
}

.cookie-settings-panel.show {
    display: block;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

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

.cookie-category-title {
    font-weight: 500;
    color: #333333;
    font-size: 1rem;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

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

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

.cookie-toggle input:checked + .cookie-toggle-slider {
    background-color: #0073e6;
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(26px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    background-color: #28a745;
    cursor: not-allowed;
}

.cookie-category-description {
    color: #666666;
    font-size: 0.85rem;
    line-height: 1.4;
}

.cookie-settings-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-consent-popup {
        padding: 25px 20px;
        margin: 10px;
    }
    
    .cookie-consent-title {
        font-size: 1.3rem;
    }
    
    .cookie-consent-buttons,
    .cookie-settings-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cookie-consent-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-consent-overlay {
        padding: 15px;
    }
    
    .cookie-consent-popup {
        padding: 20px 15px;
    }
    
    .cookie-consent-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .cookie-consent-title {
        font-size: 1.2rem;
        margin-bottom: 12px;
    }
    
    .cookie-consent-text {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}
