/* =============================================
   COOKIES BANNER - GDPR COMPLIANT
   ============================================= */
.cookies-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a2b6e, #0f1a4d);
    color: white;
    padding: 20px 30px;
    z-index: 10001;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.3);
    border-top: 3px solid #4a64d4;
}

.cookies-banner.show {
    transform: translateY(0);
}

.cookies-banner-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.cookies-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
}

.cookies-text p {
    margin: 0 0 5px 0;
}

.cookies-text a {
    color: #4a64d4;
    text-decoration: underline;
}

.cookies-text a:hover {
    color: #6b85ff;
}

.cookies-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.cookies-btn {
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.cookies-btn-accept {
    background: linear-gradient(135deg, #27ae60, #1e8449);
    color: white;
}

.cookies-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.4);
}

.cookies-btn-settings {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cookies-btn-settings:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.cookies-btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookies-btn-decline:hover {
    background: rgba(231, 76, 60, 0.8);
    border-color: rgba(231, 76, 60, 0.5);
}

/* Cookies settings modal */
.cookies-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: none;
    align-items: center;
    justify-content: center;
}

.cookies-settings-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.cookies-settings-container {
    position: relative;
    width: 90%;
    max-width: 550px;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cookies-settings-header {
    background: linear-gradient(135deg, #1a2b6e, #0f1a4d);
    color: white;
    padding: 25px 30px;
}

.cookies-settings-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.cookies-settings-body {
    padding: 25px 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.cookies-setting-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eaeff5;
}

.cookies-setting-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cookies-setting-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cookies-setting-title {
    font-weight: 700;
    color: #1e2a47;
    font-size: 16px;
}

.cookies-setting-toggle {
    width: 50px;
    height: 26px;
    background: #cbd5e1;
    border-radius: 30px;
    cursor: pointer;
    transition: background 0.3s;
    position: relative;
}

.cookies-setting-toggle.active {
    background: #27ae60;
}

.cookies-setting-toggle::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 2px;
    left: 3px;
    transition: transform 0.3s;
}

.cookies-setting-toggle.active::after {
    transform: translateX(24px);
}

.cookies-setting-description {
    font-size: 13px;
    color: #6c757d;
    line-height: 1.5;
}

.cookies-settings-footer {
    padding: 20px 30px;
    border-top: 1px solid #eaeff5;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.cookies-settings-save {
    background: linear-gradient(135deg, #1a2b6e, #0f1a4d);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cookies-settings-close {
    background: #6c757d;
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

/* Responzívne úpravy */
@media (max-width: 768px) {
    .cookies-banner-content {
        flex-direction: column;
        text-align: center;
    }

    .cookies-buttons {
        justify-content: center;
    }

    .cookies-text {
        font-size: 13px;
    }

    .cookies-btn {
        padding: 8px 20px;
        font-size: 13px;
    }

    .cookies-settings-container {
        width: 95%;
    }

    .cookies-settings-body {
        padding: 20px;
    }
}
