/* Cookie Manager Styles */
#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    padding: 24px;
    z-index: 9999;
    display: none;
    border-top: 3px solid var(--secondary);
    font-family: 'Inter', sans-serif;
}

#cookie-banner.active {
    display: block;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

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

.cookie-text h4 {
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 1.2rem;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

.cookie-text a {
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    border: none;
}

.cookie-btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.cookie-btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

.cookie-btn-secondary {
    background: #f3f4f6;
    color: var(--text-main);
}

.cookie-btn-secondary:hover {
    background: #e5e7eb;
}

/* Modal Styles */
.cookie-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.cookie-modal-overlay.active {
    display: flex;
}

.cookie-modal {
    background: #fff;
    width: 90%;
    max-width: 600px;
    border-radius: 16px;
    padding: 30px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

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

.cookie-modal-header h3 {
    margin: 0;
    color: var(--primary);
}

.cookie-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
}

.cookie-option-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.cookie-option-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 12px;
}

.cookie-option-info h5 {
    margin: 0 0 5px 0;
    color: var(--primary);
}

.cookie-option-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* Toggle Switch */
.cookie-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

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

.cookie-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

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

input:checked + .cookie-slider {
    background-color: var(--primary);
}

input:focus + .cookie-slider {
    box-shadow: 0 0 1px var(--primary);
}

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

input:disabled + .cookie-slider {
    background-color: #e5e7eb;
    cursor: not-allowed;
}

.cookie-modal-footer {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .cookie-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cookie-btn {
        width: 100%;
    }
    
    .cookie-modal {
        padding: 20px;
    }
}
