/* Cookie Banner Styles for DME Engineering - GDPR / DSGVO Compliant */
#cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 520px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 5px 15px rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    z-index: 10000;
    padding: 28px;
    display: none;
    border: 1px solid #e2e8f0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    animation: slideInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideInUp {
    from {
        transform: translateY(120%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#cookie-consent-banner h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #0f172a;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
}

#cookie-consent-banner p {
    margin: 0 0 20px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #475569;
}

/* Cookie Options/Checkboxes */
.cookie-options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
}

.cookie-option-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 120px;
}

.cookie-option-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #cbd5e1;
    cursor: pointer;
    accent-color: #1e40af;
    transition: all 0.2s;
}

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

.cookie-option-label span.disabled-text {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Cookie Actions / Buttons */
.cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-actions-row {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 1px solid transparent;
    text-align: center;
    font-family: 'Inter', sans-serif;
}

/* Non-nudging styling (equal weights for Accept and Reject) */
.cookie-btn-accept {
    background: #1e40af;
    color: #ffffff;
    flex: 1;
}

.cookie-btn-accept:hover {
    background: #1d4ed8;
}

.cookie-btn-decline {
    background: #ffffff;
    color: #334155;
    border-color: #cbd5e1;
    flex: 1;
}

.cookie-btn-decline:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

.cookie-btn-save {
    background: #f1f5f9;
    color: #334155;
    border-color: #e2e8f0;
    width: 100%;
}

.cookie-btn-save:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.cookie-policy-link {
    text-align: center;
    font-size: 0.8rem !important;
    margin: 16px 0 0 0 !important;
    color: #94a3b8 !important;
}

.cookie-policy-link a {
    color: #64748b;
    text-decoration: underline;
}

.cookie-policy-link a:hover {
    color: #1e40af;
}

/* For mobile responsiveness */
@media (max-width: 600px) {
    #cookie-consent-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        padding: 20px;
    }
    .cookie-actions-row {
        flex-direction: column;
    }
}
