/* Cookie Consent Banner - Left Side */

.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    max-width: 380px;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    z-index: 9999;
    display: none;
    animation: slideInLeft 0.5s ease;
    border: 1px solid var(--border-color);
}

.cookie-consent.active {
    display: block;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cookie-consent-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.cookie-consent-icon {
    font-size: 1.5rem;
}

.cookie-consent-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.cookie-consent-message {
    font-size: 0.875rem;
    color: var(--text-medium);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.cookie-consent-links {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-consent-link {
    font-size: 0.875rem;
    color: var(--primary-color);
    text-decoration: underline;
    cursor: pointer;
}

.cookie-consent-link:hover {
    color: var(--primary-dark);
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-consent-btn {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    flex: 1;
    min-width: 100px;
}

.cookie-consent-btn-accept {
    background-color: var(--primary-color);
    color: white;
}

.cookie-consent-btn-accept:hover {
    background-color: var(--primary-dark);
}

.cookie-consent-btn-decline {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.cookie-consent-btn-decline:hover {
    background-color: var(--border-color);
}

/* Mobile Responsive */

@media (max-width: 768px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
        padding: 1.25rem;
    }

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

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

@media (max-width: 480px) {
    .cookie-consent {
        left: 5px;
        right: 5px;
        bottom: 5px;
        padding: 1rem;
    }

    .cookie-consent-message {
        font-size: 0.8125rem;
    }

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

/* Hide when dismissed */

.cookie-consent.dismissed {
    animation: slideOutLeft 0.5s ease forwards;
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}
