@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

.vtt-wrapper {
    font-family: 'Nunito', sans-serif;
    max-width: 640px;
    margin: 0 auto;
    color: #1a1a1a;
}

/* --- Formulier --- */
.vtt-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
    background: #f5f8fb;
    border: 1px solid #e0e6ec;
    border-radius: 12px;
    padding: 24px;
}

.vtt-field {
    flex: 1 1 180px;
    display: flex;
    flex-direction: column;
}

.vtt-field label {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #0065BD;
}

.vtt-field input {
    padding: 12px 14px;
    border: 1px solid #cdd6df;
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.vtt-field input:focus {
    border-color: #0065BD;
    box-shadow: 0 0 0 3px rgba(0, 101, 189, 0.15);
}

.vtt-submit {
    background: #0065BD;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 13px 28px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.15s ease;
    white-space: nowrap;
}

.vtt-submit:hover {
    background: #004f94;
}

.vtt-submit:disabled {
    background: #9db8cc;
    cursor: not-allowed;
}

/* --- Resultaat --- */
.vtt-result {
    margin-top: 28px;
}

.vtt-message {
    padding: 16px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14.5px;
}

.vtt-message.vtt-error {
    background: #fdecec;
    border: 1px solid #f3b4b4;
    color: #9c1f1f;
}

.vtt-order-id {
    font-size: 13px;
    color: #6b7684;
    margin-bottom: 18px;
    font-weight: 600;
}

.vtt-leg-title {
    font-size: 14px;
    font-weight: 800;
    color: #0065BD;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 24px 0 12px;
}

.vtt-leg-title:first-child {
    margin-top: 0;
}

/* --- Tijdlijn --- */
.vtt-timeline {
    position: relative;
    padding-left: 28px;
}

.vtt-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 6px;
    bottom: 6px;
    width: 2px;
    background: #e0e6ec;
}

.vtt-event {
    position: relative;
    padding-bottom: 22px;
}

.vtt-event:last-child {
    padding-bottom: 0;
}

.vtt-event::before {
    content: '';
    position: absolute;
    left: -28px;
    top: 4px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #cdd6df;
    background: #cdd6df;
}

.vtt-event.vtt-status-done::before {
    background: #0065BD;
    box-shadow: 0 0 0 2px #0065BD;
}

.vtt-event.vtt-status-planned::before {
    background: #FCB714;
    box-shadow: 0 0 0 2px #FCB714;
}

.vtt-event.vtt-status-pending::before {
    background: #fff;
    box-shadow: 0 0 0 2px #cdd6df;
}

.vtt-event-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}

.vtt-event-label {
    font-weight: 700;
    font-size: 15px;
}

.vtt-event-badge {
    font-size: 11.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 9px;
    border-radius: 100px;
}

.vtt-status-done .vtt-event-badge {
    background: rgba(0, 101, 189, 0.12);
    color: #0065BD;
}

.vtt-status-planned .vtt-event-badge {
    background: rgba(252, 183, 20, 0.2);
    color: #8a6205;
}

.vtt-status-pending .vtt-event-badge {
    background: #eef1f4;
    color: #6b7684;
}

.vtt-event-meta {
    margin-top: 4px;
    font-size: 13.5px;
    color: #556170;
}

@media (max-width: 480px) {
    .vtt-form {
        flex-direction: column;
        align-items: stretch;
    }
    .vtt-submit {
        width: 100%;
    }
}
