﻿
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    max-width: 650px;
    width: calc(100% - 40px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 18px 20px;
    z-index: 1000;
    animation: cookieSlideUp 0.6s ease-out;
}
@keyframes cookieSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.cookie-text {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

    .cookie-text a {
        color: #667eea;
        text-decoration: none;
        font-weight: 500;
    }

        .cookie-text a:hover {
            text-decoration: underline;
        }

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
    min-width: 85px;
}

.cookie-btn-accept {
    background: #667eea;
    color: white;
}

    .cookie-btn-accept:hover {
        background: #5568d3;
        transform: translateY(-1px);
    }

.cookie-btn-reject {
    background: #f1f3f5;
    color: #495057;
}

    .cookie-btn-reject:hover {
        background: #e9ecef;
    }

.cookie-btn-settings {
    background: white;
    color: #667eea;
    border: 1px solid #667eea;
    flex: 0 0 auto;
    min-width: auto;
    padding: 10px 16px;
}

    .cookie-btn-settings:hover {
        background: #f8f9ff;
    }

.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}


@media (max-width: 600px) {
    .cookie-banner {
        left: 10px;
        right: 10px;
        max-width: none;
        bottom: 10px;
    }

    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-btn {
        width: 100%;
    }

    .cookie-content {
        flex-direction: column;
        gap: 12px;
    }
}
