/* ═══════════════════════════════════════════════════════════
   MM Theme – Intake Formulier Stylesheet
   ═══════════════════════════════════════════════════════════ */

.intake-page {
    padding: 2rem 0 4rem;
    min-height: 60vh;
}

.intake-header {
    max-width: 720px;
    margin: 0 auto 2rem;
    padding: 1.5rem 2rem;
    background: var(--color-footer, #1a1a2e);
    border-radius: 8px;
    color: #fff;
}

.intake-header h1 {
    font-size: 1.8rem;
    color: var(--color-gold, #D4A843);
    margin-bottom: 0.5rem;
}

.intake-header p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

/* ─── Formulier ──────────────────────────────────────────── */
.intake-form {
    max-width: 720px;
    margin: 0 auto;
}

.intake-section {
    background: #f9f8f6;
    border-radius: 8px;
    padding: 1.5rem 2rem;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--color-gold, #D4A843);
}

.intake-section h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-gold, #D4A843);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e3de;
}

.intake-field {
    margin-bottom: 1.2rem;
}

.intake-field:last-child {
    margin-bottom: 0;
}

.intake-field label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    color: #333;
}

.intake-field .optional {
    font-weight: 400;
    font-size: 0.8rem;
    color: #999;
}

.intake-field input[type="text"],
.intake-field input[type="url"],
.intake-field input[type="email"],
.intake-field input[type="tel"],
.intake-field input[type="number"],
.intake-field input[type="date"],
.intake-field input[type="time"],
.intake-field select,
.intake-field textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d0cec8;
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.intake-field input:focus,
.intake-field select:focus,
.intake-field textarea:focus {
    outline: none;
    border-color: var(--color-gold, #D4A843);
    box-shadow: 0 0 0 2px rgba(212, 168, 67, 0.15);
}

.intake-field input[type="file"] {
    font-size: 0.9rem;
    padding: 8px 0;
}

.intake-field small {
    display: block;
    margin-top: 4px;
    font-size: 0.8rem;
    color: #999;
}

.intake-field small a {
    color: var(--color-gold, #D4A843);
}

.intake-hint {
    font-size: 0.85rem;
    color: #888;
    line-height: 1.5;
    margin: 0 0 1rem;
}

/* ─── Grid voor korte velden ─────────────────────────────── */
.intake-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1.5rem;
}

@media (max-width: 600px) {
    .intake-grid {
        grid-template-columns: 1fr;
    }
    .intake-section {
        padding: 1.2rem 1.2rem;
    }
}

.intake-grid .intake-field:last-child {
    grid-column: 1 / -1;
}

/* Grid zonder last-child full-width — voor tijden, getallen etc. */
.intake-grid--equal .intake-field:last-child {
    grid-column: auto;
}

/* ─── Submit ─────────────────────────────────────────────── */
.intake-submit {
    text-align: center;
    padding: 1.5rem 0;
}

.intake-submit .btn {
    background: var(--color-gold, #D4A843);
    color: #fff;
    border: none;
    padding: 14px 48px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    letter-spacing: 0.02em;
}

.intake-submit .btn:hover {
    background: #c49a3a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 168, 67, 0.35);
}

.intake-submit .intake-hint {
    margin-top: 0.8rem;
}

/* ─── Berichten ──────────────────────────────────────────── */
.intake-message {
    max-width: 600px;
    margin: 3rem auto;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 8px;
}

.intake-message h1 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.intake-message p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

.intake-message a {
    color: var(--color-gold, #D4A843);
}

.intake-success {
    background: #e8f5e9;
    border: 1px solid #c8e6c9;
}

.intake-success h1 {
    color: #2e7d32;
}

.intake-error {
    background: #fff3e0;
    border: 1px solid #ffe0b2;
}

.intake-error h1 {
    color: #e65100;
}

/* ─── Dropzones ─────────────────────────────────────────── */
.intake-dropzone {
    border: 2px dashed #c0bdb5;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    background: #faf9f7;
}

.intake-dropzone:hover,
.intake-dropzone.dragover {
    border-color: var(--color-gold, #D4A843);
    background: rgba(212, 168, 67, 0.06);
}

.intake-dropzone--small {
    padding: 0.8rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.intake-dropzone__icon {
    font-size: 1.8rem;
    margin-bottom: 0.3rem;
}

.intake-dropzone--small .intake-dropzone__icon {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.intake-dropzone__text {
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
}

.intake-dropzone--small .intake-dropzone__text {
    font-size: 0.85rem;
}

.intake-dropzone__hint {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.2rem;
}

/* ─── Preview thumbnails ────────────────────────────────── */
.intake-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.intake-preview__item {
    position: relative;
    width: 100px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}

.intake-preview__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intake-preview__file {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f0efe9;
    border-radius: 4px;
    font-size: 0.85rem;
    color: #555;
}

.intake-preview__remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border: none;
    background: rgba(0,0,0,0.6);
    color: #fff;
    border-radius: 50%;
    font-size: 11px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.intake-preview__remove:hover {
    background: #c00;
}

.intake-preview__remove-inline {
    border: none;
    background: none;
    color: #999;
    cursor: pointer;
    font-size: 13px;
    padding: 0 0 0 4px;
}

.intake-preview__remove-inline:hover {
    color: #c00;
}
