﻿

.cookie-consent-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 2px solid rgba(179, 12, 230, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    padding: 2rem;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-consent-banner.show {
    bottom: 0;
}

.cookie-consent-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex: 1;
    min-width: 300px;
}

.cookie-icon {
    font-size: 4rem;
    color: #b30ce6;
    flex-shrink: 0;
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cookie-text h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #334;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.cookie-text p {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #555;
    margin: 0;
}

.cookie-text a {
    color: #b30ce6;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-text a:hover {
    color: #9333ea;
}

.cookie-consent-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 0.8rem;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #b30ce6 0%, #9333ea 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(179, 12, 230, 0.3);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 12, 230, 0.4);
}

.cookie-btn-reject {
    background: #fff;
    color: #334;
    border: 2px solid #ddd;
}

.cookie-btn-reject:hover {
    background: #f5f5f5;
    border-color: #ccc;
}

.cookie-btn-settings {
    background: #fff;
    color: #b30ce6;
    border: 2px solid #b30ce6;
}

.cookie-btn-settings:hover {
    background: rgba(179, 12, 230, 0.1);
}

.cookie-btn-secondary {
    background: #fff;
    color: #334;
    border: 2px solid #334;
}

.cookie-btn-secondary:hover {
    background: #334;
    color: #fff;
}

.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cookie-settings-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.cookie-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.cookie-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-settings-modal.show .cookie-modal-content {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.cookie-modal-header h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #334;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cookie-modal-header h2 i {
    color: #b30ce6;
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 2.4rem;
    color: #999;
    cursor: pointer;
    padding: 0.5rem;
    line-height: 1;
    transition: all 0.2s ease;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-modal-close:hover {
    background: #f0f0f0;
    color: #334;
}

.cookie-modal-body {
    padding: 2.5rem;
}

.cookie-modal-intro {
    font-size: 1.5rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 2rem;
}

.cookie-category {
    margin-bottom: 2rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cookie-category:hover {
    border-color: rgba(179, 12, 230, 0.2);
    background: rgba(179, 12, 230, 0.02);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.cookie-category-info {
    flex: 1;
}

.cookie-category-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #334;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cookie-category-info h3 i {
    color: #b30ce6;
}

.cookie-category-info p {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    flex-shrink: 0;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 30px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #b30ce6 0%, #9333ea 100%);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(30px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.6;
    cursor: not-allowed;
}

.cookie-modal-footer {
    padding: 2.5rem;
    border-top: 2px solid #f0f0f0;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cookie-consent-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .cookie-icon {
        font-size: 3rem;
    }
    
    .cookie-text h3 {
        font-size: 1.8rem;
    }
    
    .cookie-text p {
        font-size: 1.4rem;
    }
    
    .cookie-consent-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        justify-content: center;
        padding: 1.5rem;
    }
    
    .cookie-modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 2rem;
    }
    
    .cookie-category {
        padding: 1.5rem;
    }
    
    .cookie-category-header {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .cookie-modal-footer {
        flex-direction: column-reverse;
    }
    
    .cookie-modal-footer .cookie-btn {
        width: 100%;
    }
}

@media print {
    .cookie-consent-banner,
    .cookie-settings-modal {
        display: none !important;
    }
}
