/* Cookie Banner Styles */
.cookie-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: bottom 0.3s ease-in-out;
    border-top: 3px solid #2563eb;
}

.cookie-banner.show {
    bottom: 0;
}

.cookie-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    gap: 2rem;
}

.cookie-banner-text {
    flex: 1;
}

.cookie-banner-text h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 600;
}

.cookie-banner-text p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cookie-banner-text a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #1d4ed8;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-accept {
    background: #2563eb;
    color: white;
}

.btn-accept:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-reject {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-reject:hover {
    background: #e2e8f0;
}

.btn-customize {
    background: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.btn-customize:hover {
    background: #eff6ff;
}

.btn-save {
    background: #10b981;
    color: white;
}

.btn-save:hover {
    background: #059669;
}

.btn-back {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-back:hover {
    background: #e2e8f0;
}

/* Cookie Preferences Panel */
.cookie-preferences {
    padding: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.cookie-preferences h4 {
    margin: 0 0 1.5rem 0;
    font-size: 1.25rem;
    color: #1e293b;
    font-weight: 600;
}

.cookie-option {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.cookie-option label {
    display: block;
    cursor: pointer;
}

.cookie-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    vertical-align: middle;
}

.cookie-option input[type="checkbox"]:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.cookie-option strong {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
}

.cookie-option p {
    margin: 0.5rem 0 0 2rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cookie-banner-content {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
    }

    .cookie-banner-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cookie {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .cookie-preferences {
        padding: 1.5rem;
    }

    .cookie-option p {
        margin-left: 1.75rem;
    }
}

@media (max-width: 480px) {
    .cookie-banner-text h3 {
        font-size: 1.1rem;
    }

    .cookie-banner-text p {
        font-size: 0.9rem;
    }

    .btn-cookie {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }

    .cookie-preferences h4 {
        font-size: 1.1rem;
    }

    .cookie-option {
        padding: 0.875rem;
    }
}

/* Animation for showing banner */
@keyframes slideUp {
    from {
        bottom: -100%;
    }
    to {
        bottom: 0;
    }
}
