/* cookie-consent.css */
.cookie-consent-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    z-index: 10000;
    font-family: "Segoe UI", Arial, sans-serif;
    transform: translateY(150%);
    transition: transform 0.5s ease;
}

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

.cookie-consent-content {
    margin-bottom: 15px;
}

.cookie-consent-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ecf0f1;
}

.cookie-consent-text {
    font-size: 13px;
    line-height: 1.5;
    color: #bdc3c7;
    margin-bottom: 15px;
}

.cookie-consent-text a {
    color: #3498db;
    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #2980b9;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 120px;
}

.cookie-consent-accept {
    background: #27ae60;
    color: white;
}

.cookie-consent-accept:hover {
    background: #219653;
    transform: translateY(-2px);
}

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

.cookie-consent-settings:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.cookie-consent-reject {
    background: #e74c3c;
    color: white;
}

.cookie-consent-reject:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Cookie settings modal */
.cookie-settings-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.cookie-settings-modal.show {
    display: flex;
}

.cookie-settings-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    color: #2c3e50;
}

.cookie-settings-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.cookie-settings-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
}

.cookie-settings-group-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c3e50;
}

.cookie-settings-group-text {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.5;
}

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

.cookie-toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
}

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

.cookie-toggle-switch 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: .4s;
    border-radius: 24px;
}

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

input:checked + .cookie-toggle-slider {
    background-color: #27ae60;
}

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

.cookie-settings-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.cookie-settings-save {
    background: #27ae60;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.cookie-settings-cancel {
    background: #95a5a6;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-banner {
        left: 10px;
        right: 10px;
        max-width: none;
    }
    
    .cookie-consent-buttons {
        flex-direction: column;
    }
    
    .cookie-consent-btn {
        min-width: auto;
    }
}