/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #374151;
    color: white;
    padding: 20px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

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

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text {
    flex: 1;
}

.cookie-text h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
    font-family: 'Inter', sans-serif;
}

.cookie-text p {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: #D1D5DB;
}

.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    align-items: center;
}

.cookie-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 90px;
    white-space: nowrap;
}

.cookie-btn.primary {
    background-color: #F6D6C3;
    color: #374151;
}

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

.cookie-btn.secondary {
    background-color: transparent;
    color: #D1D5DB;
    border: 2px solid #6B7280;
}

.cookie-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #9CA3AF;
    color: white;
}

.cookie-btn.tertiary {
    background-color: transparent;
    color: #EAF2FB;
    border: 2px solid #EAF2FB;
}

.cookie-btn.tertiary:hover {
    background-color: #EAF2FB;
    color: #374151;
}

.cookie-btn:focus {
    outline: 3px solid #EAF2FB;
    outline-offset: 2px;
}

.cookie-policy-link {
    margin-top: 15px;
    text-align: center;
}

.cookie-policy-link a {
    color: #EAF2FB;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.cookie-policy-link a:hover {
    text-decoration: underline;
}

/* Cookie Modal Styles */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

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

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px 20px;
    border-bottom: 1px solid #E5E7EB;
}

.cookie-modal-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.close-modal {
    background: none;
    border: none;
    font-size: 28px;
    color: #6B7280;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background-color: #F3F4F6;
    color: #374151;
}

.cookie-modal-body {
    padding: 20px 30px;
}

.cookie-category {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #F3F4F6;
}

.cookie-category:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

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

.cookie-category-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #374151;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.cookie-category p {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.5;
    margin: 0;
}

/* Cookie Toggle Switch */
.cookie-toggle {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    cursor: pointer;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #D1D5DB;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: #F6D6C3;
}

input:checked + .toggle-slider:before {
    transform: translateX(26px);
}

input:disabled + .toggle-slider {
    background-color: #9CA3AF;
    cursor: not-allowed;
}

input:disabled + .toggle-slider:before {
    background-color: #F3F4F6;
}

.cookie-modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.cookie-modal-footer .cookie-btn {
    min-width: 150px;
    padding: 15px 30px;
    font-size: 16px;
}

/* Responsive Design for Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .cookie-buttons {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .cookie-btn {
        flex: 1;
        min-width: 80px;
        max-width: 120px;
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .cookie-modal-content {
        margin: 10px;
        max-height: 90vh;
    }
    
    .cookie-modal-header {
        padding: 20px 20px 15px;
    }
    
    .cookie-modal-body {
        padding: 15px 20px;
    }
    
    .cookie-modal-footer {
        padding: 15px 20px 25px;
    }
}

@media (max-width: 480px) {
    .cookie-banner {
        padding: 15px;
    }
    
    .cookie-text h3 {
        font-size: 18px;
    }
    
    .cookie-text p {
        font-size: 14px;
    }
    
    .cookie-buttons {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .cookie-btn {
        width: 100%;
        max-width: none;
        min-width: none;
    }
    
    .cookie-modal-header h3 {
        font-size: 20px;
    }
    
    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}