/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 62, 80, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 0;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    border-top: 3px solid #7CB342;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #ecf0f1;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

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

.cookie-btn.accept {
    background: #7CB342;
    color: white;
}

.cookie-btn.accept:hover {
    background: #689f38;
    transform: translateY(-1px);
}

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

.cookie-btn.reject:hover {
    background: #c0392b;
}

.cookie-btn.customize {
    background: #4FC3F7;
    color: white;
}

.cookie-btn.customize:hover {
    background: #29b6f6;
}

.cookie-btn.decline {
    background: transparent;
    color: #bdc3c7;
    border: 1px solid #bdc3c7;
}

.cookie-btn.decline:hover {
    background: #bdc3c7;
    color: #2c3e50;
}

.cookie-link {
    color: #4FC3F7;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.cookie-link:hover {
    color: #29b6f6;
    text-decoration: underline;
}

/* Cookie Customization Panel */
.cookie-customization {
    display: none;
    background: white;
    color: #2c3e50;
    padding: 30px;
    border-radius: 12px;
    margin-top: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.cookie-customization.show {
    display: block;
}

.cookie-customization h3 {
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-categories {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.cookie-category {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px;
}

.cookie-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

.cookie-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 4px;
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
}

.cookie-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: #7CB342;
    border-color: #7CB342;
}

.cookie-checkbox input[type="checkbox"]:disabled + .checkmark {
    background-color: #f5f5f5;
    border-color: #ccc;
    cursor: not-allowed;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.cookie-checkbox input[type="checkbox"]:checked + .checkmark:after {
    display: block;
}

.cookie-info {
    flex: 1;
}

.cookie-info strong {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    color: #2c3e50;
}

.cookie-info p {
    margin: 0;
    font-size: 14px;
    color: #5a6c7d;
    line-height: 1.4;
}

.cookie-custom-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-actions {
        flex-wrap: wrap;
        width: 100%;
        gap: 10px;
        justify-content: center;
    }
    
    .cookie-btn {
        min-width: 120px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-customization {
        padding: 20px;
    }
    
    .cookie-custom-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .cookie-custom-actions .cookie-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px 0;
    }
    
    .cookie-content {
        padding: 0 15px;
    }
    
    .cookie-actions {
        gap: 8px;
    }
    
    .cookie-btn {
        padding: 8px 16px;
        font-size: 13px;
        min-width: 100px;
    }
    
    .cookie-categories {
        gap: 15px;
    }
    
    .cookie-category {
        padding: 12px;
    }
}