/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #2C3E2D;
    color: white;
    padding: 25px;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

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

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

.cookie-text h3 {
    color: white;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
}

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

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

.cookie-btn.accept {
    background-color: #4A7C59;
    color: white;
}

.cookie-btn.accept:hover {
    background-color: #3a6147;
    transform: translateY(-1px);
}

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

.cookie-btn.reject:hover {
    background-color: #7a3d11;
    transform: translateY(-1px);
}

.cookie-btn.customize {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.cookie-btn.customize:hover {
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.cookie-policy-link {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
    font-size: 13px;
    margin-left: 10px;
}

.cookie-policy-link:hover {
    color: white;
}

/* Cookie Modal */
.cookie-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.cookie-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
}

.cookie-modal-content h3 {
    color: #2C3E2D;
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.cookie-category {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
}

.cookie-category-header {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cookie-category-info h4 {
    color: #2C3E2D;
    font-size: 16px;
    margin-bottom: 5px;
}

.cookie-category-info p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Cookie Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    flex-shrink: 0;
}

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

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

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

input:checked + .cookie-slider {
    background-color: #4A7C59;
}

input:disabled + .cookie-slider {
    background-color: #4A7C59;
    opacity: 0.6;
    cursor: not-allowed;
}

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

.cookie-modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.cookie-btn.cancel {
    background-color: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
}

.cookie-btn.cancel:hover {
    background-color: #e9e9e9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
    }
    
    .cookie-btn {
        min-width: 100px;
    }
    
    .cookie-modal-content {
        margin: 10% auto;
        padding: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-text h3 {
        font-size: 16px;
    }
    
    .cookie-text p {
        font-size: 13px;
    }
    
    .cookie-btn {
        font-size: 13px;
        padding: 8px 14px;
    }
    
    .cookie-buttons {
        gap: 8px;
    }
}