/**
 * Cookie Consent Banner Styles
 */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 4px solid #2ecc71;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    font-family: Arial, sans-serif;
    animation: slideUp 0.3s ease-out;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h3 {
    color: #0f2818;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.cookie-consent-text p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-categories {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.cookie-category {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.cookie-category input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: #2ecc71;
}

.cookie-category input[type="checkbox"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-category label {
    flex: 1;
    cursor: pointer;
    font-size: 0.95rem;
}

.cookie-category label strong {
    display: block;
    color: #0f2818;
    margin-bottom: 0.2rem;
}

.category-desc {
    display: block;
    color: #888;
    font-size: 0.85rem;
    font-weight: normal;
    margin-top: 0.2rem;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    min-width: 400px;
    justify-content: flex-end;
}

.cookie-consent-buttons .btn {
    padding: 0.65rem 1.25rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.cookie-consent-buttons .btn-primary {
    background: #2ecc71;
    color: white;
}

.cookie-consent-buttons .btn-primary:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.cookie-consent-buttons .btn-secondary {
    background: #95a5a6;
    color: white;
}

.cookie-consent-buttons .btn-secondary:hover {
    background: #7f8c8d;
    transform: translateY(-2px);
}

.cookie-consent-buttons .btn-tertiary {
    background: transparent;
    color: #2ecc71;
    border: 2px solid #2ecc71;
}

.cookie-consent-buttons .btn-tertiary:hover {
    background: #2ecc71;
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .cookie-consent-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cookie-consent-buttons {
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
    }

    .cookie-consent-buttons .btn {
        flex: 1;
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    #cookie-consent-banner {
        padding: 0;
    }

    .cookie-consent-content {
        padding: 1.25rem 1rem;
        gap: 1rem;
    }

    .cookie-consent-text h3 {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.9rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cookie-consent-content {
        padding: 1rem;
    }

    .cookie-consent-text h3 {
        margin-bottom: 0.5rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .cookie-category {
        margin-bottom: 0.5rem;
    }

    .cookie-consent-buttons .btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
