body {
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #fffaf5 0%, #eef4ff 100%);
    color: #1f2937;
    margin: 0;
}

main {
    min-height: 90vh;
}

.tool-page {
    padding: 100px 0 70px;
}

.tool-shell {
    display: flex;
    justify-content: center;
}

.tool-box {
    width: 100%;
    max-width: 920px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    padding: 40px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.07);
}

.tool-box h1 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
    color: #1f2937;
}

.tool-sub {
    text-align: center;
    color: #6b7280;
    margin-bottom: 28px;
}

.wizard-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.wizard-step {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #e5e7eb;
    color: #6b7280;
    font-weight: 700;
    transition: 0.2s ease;
}

.wizard-step.active,
.wizard-step.done {
    background: #1e3a8a;
    color: white;
}

.wizard-line {
    width: 60px;
    height: 2px;
    background: #d1d5db;
    margin: 0 8px;
}

#melding {
    margin-bottom: 18px;
    font-weight: 700;
    color: #dc2626;
}

.form-slide {
    display: none;
    animation: fadeSlide 0.25s ease;
}

.form-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(8px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-slide h2 {
    font-size: 1.2rem;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.slide-sub {
    color: #6b7280;
    margin-bottom: 22px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

input[type="text"],
input[type="number"],
input[type="date"],
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dbe1ea;
    border-radius: 10px;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: #1e3a8a;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 20px;
}

.full-width {
    grid-column: 1 / -1;
}


/* CLEANER STEP 2 */
.category-stack {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.category-row {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 18px 20px;
}

.category-row-head {
    margin-bottom: 14px;
}

.category-row-head h3 {
    font-size: 1rem;
    color: #1f2937;
    margin-bottom: 4px;
}

.category-row-head p {
    font-size: 0.92rem;
    color: #6b7280;
    margin: 0;
}

.category-row-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.choice-card {
    position: relative;
    cursor: pointer;
}

.choice-card input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.2s ease;
}

.choice-card:hover span {
    border-color: #c7d7f7;
    background: #eef4ff;
    color: #1e3a8a;
}

.choice-card input:checked + span {
    background: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
    box-shadow: 0 8px 16px rgba(30, 58, 138, 0.14);
}

.upload-area {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

#gereedschap-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: none;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
}

.upload-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tool-shell {
    position: relative;
}

.tool-mascot {
    position: absolute;
    top: 95px;
    left: 800px; /* ← change this to move left/right */
    width: 250px;
    z-index: 2;
}

.upload-btn,
.secondary-btn,
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: 0.2s ease;
}

.upload-btn,
.secondary-btn {
    background: #eef4ff;
    color: #1e3a8a;
    border: 1px solid #c7d7f7;
}

.upload-btn:hover,
.secondary-btn:hover {
    background: #dbeafe;
}

.primary-btn {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    box-shadow: 0 10px 22px rgba(249, 115, 22, 0.22);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(249, 115, 22, 0.28);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

#submitBtn {
    display: none;
}

.error {
    border: 2px solid red !important;
}
.preview-section {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.preview-section h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #1f2937;
}

.preview-container {
    margin-top: 18px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.preview-disabled {
    pointer-events: none;
    opacity: 0.9;
}

.secondary-preview-btn {
    border: 2px solid rgba(30, 58, 138, 0.14);
}

@media (max-width: 980px) {
    .preview-container {
        grid-template-columns: 1fr;
    }

    .preview-container .tool-images img {
        height: 320px;
    }
}

@media (max-width: 700px) {
    .preview-container {
        padding: 18px;
        border-radius: 20px;
    }

    .preview-container .tool-info h1 {
        font-size: 1.8rem;
    }

    .preview-container .detail-actions {
        flex-direction: column;
    }

    .preview-container .btn-reserve,
    .preview-container .btn-back {
        width: 100%;
    }

    .preview-container .tool-images img {
        height: 240px;
    }
}

@media (max-width: 768px) {
    .tool-page {
        padding: 40px 0;
    }

    .tool-box {
        padding: 28px 20px;
        border-radius: 22px;
    }

    .tool-box h1 {
        font-size: 1.8rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .wizard-line {
        width: 28px;
    }

    .wizard-actions {
        flex-direction: column;
    }

    .wizard-actions button {
        width: 100%;
    }

    .category-row-options {
        flex-direction: column;
    }

    .choice-card span {
        width: 100%;
        justify-content: flex-start;
    }
}

.site-footer {
    display: none !important;
}