.cookie-consent {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: var(--modal-color, rgba(24, 23, 23, 0.9));
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color, rgba(255, 255, 255, 0.1));
    border-radius: 20px;
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: cookie-slide-up 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cookie-slide-up {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

.cookie-consent.hiding {
    animation: cookie-slide-down 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookie-slide-down {
    from { transform: translate(-50%, 0); opacity: 1; }
    to { transform: translate(-50%, 100%); opacity: 0; }
}

.cookie-consent-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cookie-consent-main {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.cookie-consent-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(95, 158, 160, 0.1);
    color: var(--primary-color, rgba(95, 158, 160, 1));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

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

.cookie-consent-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color, #fff);
    opacity: 0.9;
}

.cookie-consent-details {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cookie-consent-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cookie-consent-btn {
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-consent-btn-text {
    background: transparent;
    color: var(--primary-color, #5f9ea0);
    padding: 0;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cookie-consent-btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-color, #fff);
}

.cookie-consent-btn-primary {
    background: var(--primary-color, #5f9ea0);
    color: #fff;
    box-shadow: 0 4px 12px rgba(95, 158, 160, 0.3);
}

@media (max-width: 640px) {
    .cookie-consent {
        bottom: 1rem;
        width: calc(100% - 2rem);
        padding: 1.25rem;
    }

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

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