/* Cookie Consent Banner Styles */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 -5px 25px rgba(0,0,0,0.15);
    padding: 1.5rem;
    z-index: 10000;
    display: none;
    border-top: 3px solid #667eea;
}

.cookie-consent-banner.show {
    display: block;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cookie-icon {
    font-size: 1.5rem;
}

.cookie-consent-text {
    color: #5a6c7d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-consent-text a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    color: #764ba2;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cookie-btn-reject {
    background: white;
    color: #2c3e50;
    border: 2px solid #e0e0e0;
}

.cookie-btn-reject:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.cookie-btn-settings {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.cookie-btn-settings:hover {
    background: #667eea;
    color: white;
}

/* Cookie Settings Modal */
.cookie-settings-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.cookie-settings-modal.show {
    display: flex;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.cookie-settings-content {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.cookie-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e0e0e0;
}

.cookie-settings-header h2 {
    font-size: 1.5rem;
    color: #2c3e50;
}

.cookie-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #5a6c7d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.cookie-close-btn:hover {
    background: #f5f5f5;
    color: #2c3e50;
}

.cookie-category {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.cookie-category-title {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
}

.cookie-category-required {
    font-size: 0.85rem;
    color: #667eea;
    font-weight: 600;
}

.cookie-category-description {
    color: #5a6c7d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.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: 26px;
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

.cookie-settings-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 2px solid #e0e0e0;
}

.cookie-settings-actions .cookie-btn {
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-consent-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cookie-consent-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-settings-content {
        padding: 1.5rem;
    }
    
    .cookie-settings-actions {
        flex-direction: column;
    }
}

/* Cookie Policy Page Styles */
.cookie-policy-page {
    max-width: 900px;
    margin: 120px auto 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
}

.cookie-policy-page h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.cookie-policy-page h2 {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.cookie-policy-page h3 {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
}

.cookie-policy-page p {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.cookie-policy-page ul, .cookie-policy-page ol {
    color: #5a6c7d;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.cookie-policy-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-policy-page th,
.cookie-policy-page td {
    padding: 0.8rem;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.cookie-policy-page th {
    background: #f9f9f9;
    font-weight: 700;
    color: #2c3e50;
}

.cookie-policy-page td {
    color: #5a6c7d;
}

.cookie-policy-page .last-updated {
    color: #999;
    font-style: italic;
    margin-bottom: 2rem;
}