body {
    transition: background 0.3s, color 0.3s;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.dark-mode {
    background-color: #121212;
    color: #ffffff;
}

.sidebar-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.dark-mode .sidebar-box {
    background: #1e1e1e;
}

.main-image {
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
}

.suggestion-img {
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.suggestion-img:hover {
    transform: scale(1.05);
}

footer {
    background: #212529;
    color: white;
    font-size: 0.9rem;
}

footer a {
    color: #adb5bd;
    text-decoration: none;
    margin: 0 5px;
}

footer a:hover {
    color: white;
}

.mobile-bar {
    z-index: 999;
}

.thank-you {
    display: none;
    margin-top: 10px;
    padding: 10px;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .container-fluid {
        padding-bottom: 90px;
    }
}

.content-box {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: left;
}

.dark-mode .content-box {
    background: #1e1e1e;
}
.error {
    margin:auto;
    color:#FF3D3D;
    font-weight:bold;
}

@media print {
    /* ❌ alles verbergen */
    body * {
        visibility: hidden;
    }

    /* ✅ alleen mail tonen */
    #printArea, #printArea * {
        visibility: visible;
    }

    /* positie fix */
    #printArea {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }
}