.tbp-form,
.tbp-portal,
.tbp-panel,
.tbp-unit-card,
.tbp-admin-wrap .tbp-card {
    box-sizing: border-box;
}
.tbp-form {
    max-width: 760px;
    padding: 24px;
    border: 1px solid #e3e3e3;
    border-radius: 14px;
    background: #fff;
}
.tbp-form p {
    margin: 0 0 16px;
}
.tbp-form label {
    font-weight: 600;
}
.tbp-form input,
.tbp-form select,
.tbp-form textarea,
.tbp-fields input,
.tbp-fields select,
.tbp-fields textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    margin-top: 6px;
}
.tbp-form-row,
.tbp-two-col {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.tbp-button {
    display: inline-block;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    background: #1f2937;
    color: #fff !important;
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
}
.tbp-button:hover {
    opacity: 0.9;
}
.tbp-button-secondary {
    background: #0f766e;
}
.tbp-small-text,
.tbp-muted {
    color: #666;
    font-size: 0.92rem;
}
.tbp-alert,
.tbp-notice {
    padding: 14px 16px;
    border-radius: 10px;
    margin: 0 0 18px;
}
.tbp-alert-error {
    background: #fff1f2;
    border: 1px solid #fecdd3;
}
.tbp-portal {
    max-width: 900px;
    margin: 0 auto;
}
.tbp-panel {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 22px;
    margin: 18px 0;
}
.tbp-status-banner {
    padding: 14px 18px;
    border-radius: 12px;
    background: #eef2ff;
    margin: 16px 0;
}
.tbp-details {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 10px 18px;
}
.tbp-details dt {
    font-weight: 700;
}
.tbp-details dd {
    margin: 0;
}
.tbp-unit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
.tbp-unit-card {
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}
.tbp-unit-card img {
    width: 100%;
    height: auto;
    display: block;
}
.tbp-unit-card-body {
    padding: 20px;
}
.tbp-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    background: #eef2ff;
    font-size: 12px;
    font-weight: 700;
}
.tbp-status-confirmed,
.tbp-status-available,
.tbp-status-deposit_paid {
    background: #dcfce7;
}
.tbp-status-cancelled,
.tbp-status-blocked,
.tbp-status-booked {
    background: #fee2e2;
}
.tbp-status-weather_hold,
.tbp-status-weather_reschedule,
.tbp-status-maintenance,
.tbp-status-owner_hold {
    background: #fef3c7;
}
.tbp-admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin: 20px 0;
}
.tbp-admin-wrap .tbp-card {
    padding: 22px;
    border: 1px solid #ddd;
    border-radius: 14px;
    background: #fff;
}
.tbp-admin-wrap .tbp-card strong {
    display: block;
    font-size: 32px;
    line-height: 1;
}
.tbp-admin-wrap .tbp-card span {
    color: #555;
}
.tbp-admin-grid {
    display: grid;
    grid-template-columns: minmax(260px, 380px) 1fr;
    gap: 24px;
}
@media (max-width: 760px) {
    .tbp-form-row,
    .tbp-two-col,
    .tbp-details,
    .tbp-admin-grid {
        grid-template-columns: 1fr;
    }
}


/* Single Rental Unit page */
.tbp-single-unit-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}
.tbp-single-unit h1 {
    margin-bottom: 20px;
}
.tbp-single-unit-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 24px;
}
