/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(27, 38, 54, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: white;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.cookie-consent-header svg {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: #3498db;
}

.cookie-consent-header h2 {
    margin: 0;
    font-size: 20px;
    color: white;
}

.cookie-consent-content {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-categories {
    margin-bottom: 20px;
    display: none;
}

.cookie-consent-categories.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.cookie-category {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.cookie-category-name {
    font-weight: bold;
    font-size: 16px;
    color: white;
}

.cookie-category-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.cookie-consent-button {
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-consent-button:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

.cookie-consent-button.primary {
    background-color: #3498db;
    color: white;
}

.cookie-consent-button.primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.cookie-consent-button.secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.cookie-consent-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.cookie-consent-button.text {
    background-color: transparent;
    color: #3498db;
    padding: 10px 12px;
    text-decoration: underline;
}

.cookie-consent-button.text:hover {
    color: #2980b9;
    background-color: rgba(52, 152, 219, 0.1);
}

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

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

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.2);
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .toggle-slider {
    background-color: #3498db;
}

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

.essential-badge {
    background-color: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 10px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cookie-consent-container {
        padding: 15px;
    }
    
    .cookie-consent-buttons {
        flex-direction: column-reverse;
        align-items: stretch;
    }
    
    .cookie-consent-button {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 768px) {
    .cookie-consent-container {
        flex-direction: row;
        align-items: center;
    }
    
    .cookie-consent-content-wrapper {
        flex: 1;
    }
    
    .cookie-consent-buttons {
        margin-left: 20px;
    }
}

@media (max-width: 480px) {
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .toggle-switch {
        margin-top: 10px;
    }
    
    .essential-badge {
        margin-left: 0;
        margin-top: 5px;
        display: inline-block;
    }
} 