/* Cookie Banner Styles */
.cookie-banner-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.12);
    animation: cookieSlideUp 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    font-family: inherit;
}

@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-banner-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 20px;
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

@media (min-width: 768px) {
    .cookie-banner-content {
        flex-direction: row;
        align-items: center;
        gap: 28px;
    }
}

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

.cookie-banner-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.cookie-banner-desc {
    font-size: 14px;
    color: #374151;
    line-height: 1.55;
    margin: 0;
}

.cookie-banner-link {
    color: var(--color-primary, #034737);
    text-decoration: underline;
    font-weight: 600;
    margin-left: 4px;
    transition: color 0.15s ease;
}

.cookie-banner-link:hover {
    color: var(--color-secondary, #008000);
}

.cookie-banner-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
    width: 100%;
}

@media (min-width: 640px) {
    .cookie-banner-actions {
        width: auto;
    }
}

.cookie-btn {
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-align: center;
    border: none;
    font-family: inherit;
    flex: 1;
}

@media (min-width: 640px) {
    .cookie-btn {
        flex: none;
    }
}

.cookie-btn-accept {
    background: var(--color-primary, #034737);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(3, 71, 55, 0.18);
}

.cookie-btn-accept:hover {
    background: var(--color-secondary, #008000);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(3, 71, 55, 0.25);
}

.cookie-btn-essential {
    background: #ffffff;
    color: #374151;
    border: 1.5px solid #d1d5db;
}

.cookie-btn-essential:hover {
    border-color: var(--color-primary, #034737);
    color: var(--color-primary, #034737);
    background: #f9fafb;
}

.cookie-btn-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    background: #ffffff;
    color: #4b5563;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.cookie-btn-close:hover {
    border-color: var(--color-primary, #034737);
    color: var(--color-primary, #034737);
    background: #f8fafc;
}

/* Floating Cookie Button (Bottom-Left / GDPR European Requirement) */
.cookie-preferences-button {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 99990;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    background: var(--color-primary, #034737);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(3, 71, 55, 0.25);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cookie-preferences-button:hover {
    transform: translateY(-3px) scale(1.05);
    background: var(--color-secondary, #008000);
    box-shadow: 0 12px 28px rgba(3, 71, 55, 0.35);
}

.cookie-preferences-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--color-primary, #034737);
}

@media (max-width: 640px) {
    .cookie-preferences-button {
        left: 14px;
        bottom: 14px;
        width: 42px;
        height: 42px;
    }
}