.tb-card {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 32px 32px 24px 32px;
    max-width: 800px;
    margin: 30px auto;
    box-sizing: border-box;
}

.tb-card h2 {
    margin-top: 0;
    font-size: 2em;
    font-weight: 700;
}

.tb-subtitle {
    color: #666;
    margin-bottom: 32px;
    margin-top: 0;
}

#tb_form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
}

.tb-row.actions {
    align-self: end;
}

.tb-row > div {
    flex: 1 1 260px;
    min-width: 220px;
}

.tb-step-title {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 12px;
}

#tb_calendar {
    background: #fafbfc;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px 12px 8px 12px;
    max-width: 400px;
    margin-bottom: 0;
}

#tb_timeslots {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 16px;
    min-height: 60px;
    align-items: flex-start;
}

.tb-timeslot-btn {
    min-width: 130px;
    min-height: 44px;
    padding: 0;
    font-size: 1.1em;
    border: 1.5px solid #d0d0d0;
    background: #fff;
    color: #222;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border 0.2s;
    text-align: center;
    font-weight: 500;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tb-timeslot-btn.selected,
.tb-timeslot-btn:hover {
    background: #cc0022;
    color: #fff;
    border-color: #cc0022;
}

.tb-label {
    display: block;
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 0;
}

.tb-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #d0d0d0;
    border-radius: 6px;
    font-size: 1em;
    background: #fafbfc;
    box-sizing: border-box;
    margin-bottom: 18px;
}

.tb-btn {
    width: 100%;
    background: #888;
    color: #fff;
    border: none;
    padding: 14px 0;
    border-radius: 7px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.tb-btn.enabled {
    background: #cc0022;
}

.tb-btn.enabled:hover {
    background: #cc0022;
}

@media (max-width: 900px) {
    .tb-row {
        flex-direction: column;
        gap: 24px;
    }
    #tb_calendar {
        max-width: 100%;
    }
}
/* Abstand für den letzten Schritt-Titel (vorher inline im Template) */
.tb-step-title-last {
    margin-top: 32px;
}

/* Meldungen nach dem Absenden des Buchungsformulars */
.tb-success {
    background: #e6f4ea;
    border-left: 4px solid #34a853;
    padding: 12px 14px;
    border-radius: 4px;
}

.tb-error {
    background: #fdecea;
    border-left: 4px solid #cc0022;
    padding: 12px 14px;
    border-radius: 4px;
}
