/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid #E6E6E8;
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

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

.cookie-banner-content {
    max-width: 1220px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    line-height: 1.5;
    color: #6D6B77;
}

.cookie-banner-text strong {
    color: #444050;
    font-weight: 600;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.cookie-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.cookie-btn-primary {
    background: #38B6FF;
    color: white;
}

.cookie-btn-primary:hover {
    background: #1B8FD1;
    transform: translateY(-1px);
}

.cookie-btn-secondary {
    background: transparent;
    color: #6D6B77;
    border: 1px solid #E6E6E8;
}

.cookie-btn-secondary:hover {
    background: #F8F7FA;
    color: #444050;
    border-color: #D1D0D4;
}

.cookie-btn-link {
    background: transparent;
    color: #38B6FF;
    padding: 8px 16px;
    font-size: 13px;
    text-decoration: underline;
}

.cookie-btn-link:hover {
    color: #1B8FD1;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .cookie-banner-text {
        min-width: auto;
        font-size: 13px;
    }
    
    .cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 120px;
        padding: 14px 20px;
        font-size: 13px;
    }
    
    .cookie-btn-link {
        flex: none;
        min-width: auto;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 12px;
    }
    
    .cookie-banner-text {
        font-size: 12px;
    }
    
    .cookie-btn {
        padding: 12px 16px;
        font-size: 12px;
    }
}

/* Cookie Settings Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cookie-modal.show {
    display: flex;
}

.cookie-modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.cookie-modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid #E6E6E8;
}

.cookie-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #444050;
    margin: 0;
}

.cookie-modal-body {
    padding: 24px;
}

.cookie-category {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid #E6E6E8;
    border-radius: 8px;
    background: #FAFAFA;
}

.cookie-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.cookie-category-title {
    font-size: 16px;
    font-weight: 600;
    color: #444050;
    margin: 0;
}

.cookie-toggle {
    position: relative;
    width: 48px;
    height: 24px;
    background: #D1D0D4;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-toggle.active {
    background: #38B6FF;
}

.cookie-toggle-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cookie-toggle.active .cookie-toggle-slider {
    transform: translateX(24px);
}

.cookie-category-description {
    font-size: 14px;
    color: #6D6B77;
    line-height: 1.5;
    margin: 0;
}

.cookie-modal-footer {
    padding: 16px 24px 24px;
    border-top: 1px solid #E6E6E8;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.cookie-modal-btn {
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
}

.cookie-modal-btn-primary {
    background: #38B6FF;
    color: white;
}

.cookie-modal-btn-primary:hover {
    background: #1B8FD1;
}

.cookie-modal-btn-secondary {
    background: transparent;
    color: #6D6B77;
    border: 1px solid #E6E6E8;
}

.cookie-modal-btn-secondary:hover {
    background: #F8F7FA;
    color: #444050;
}

/* Mobile Modal */
@media (max-width: 768px) {
    .cookie-modal {
        padding: 16px;
    }
    
    .cookie-modal-content {
        max-height: 90vh;
    }
    
    .cookie-modal-header,
    .cookie-modal-body,
    .cookie-modal-footer {
        padding: 20px;
    }
    
    .cookie-modal-title {
        font-size: 18px;
    }
    
    .cookie-modal-footer {
        flex-direction: column;
    }
    
    .cookie-modal-btn {
        width: 100%;
    }
}

/* Cookie Policy Page Styles */
.cookie-policy-section {
    padding: 40px 0;
    background: #FAFAFA;
}

.cookie-policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.cookie-policy-title {
    font-size: 32px;
    font-weight: 700;
    color: #444050;
    margin-bottom: 24px;
    text-align: center;
}

.cookie-policy-subtitle {
    font-size: 18px;
    color: #6D6B77;
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.6;
}

.cookie-policy-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: #444050;
    margin: 32px 0 16px;
    padding-top: 16px;
}

.cookie-policy-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #444050;
    margin: 24px 0 12px;
}

.cookie-policy-content p {
    font-size: 16px;
    line-height: 1.7;
    color: #6D6B77;
    margin-bottom: 16px;
}

.cookie-policy-content ul {
    margin: 16px 0;
    padding-left: 24px;
}

.cookie-policy-content li {
    font-size: 16px;
    line-height: 1.7;
    color: #6D6B77;
    margin-bottom: 8px;
}

.cookie-policy-content strong {
    color: #444050;
    font-weight: 600;
}

.cookie-policy-content a {
    color: #38B6FF;
    text-decoration: underline;
}

.cookie-policy-content a:hover {
    color: #1B8FD1;
}

.cookie-policy-highlight {
    background: #E1F1FD;
    border-left: 4px solid #38B6FF;
    padding: 16px 20px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.cookie-policy-highlight p {
    margin: 0;
    font-weight: 500;
    color: #1B8FD1;
}

@media (max-width: 768px) {
    .cookie-policy-section {
        padding: 24px 0;
    }
    
    .cookie-policy-content {
        padding: 0 16px;
    }
    
    .cookie-policy-title {
        font-size: 24px;
    }
    
    .cookie-policy-subtitle {
        font-size: 16px;
    }
    
    .cookie-policy-content h2 {
        font-size: 20px;
    }
    
    .cookie-policy-content h3 {
        font-size: 18px;
    }
    
    .cookie-policy-content p,
    .cookie-policy-content li {
        font-size: 14px;
    }
}
