/* MyTrustedHomes app screens on the website. Colours follow the app (purple #5B45DC). */
.mth-section { margin-top: 30px; }
.mth-rooms { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.mth-room { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border: 1px solid #e4e6ee; border-radius: 10px; background: #fff; }
.mth-room.is-full { opacity: .7; }
.mth-room-photo img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; display: block; }
.mth-room-body { flex: 1; min-width: 0; }
.mth-room-name { font-weight: 600; color: #20232b; }
.mth-room-price { font-size: 17px; font-weight: 700; color: #4933c4; }
.mth-room-price span { font-size: 13px; font-weight: 500; color: #676b76; }
.mth-room-meta { font-size: 13px; color: #676b76; }
.mth-room-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.mth-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #e3f5ea; color: #1b6b3a; font-size: 12px; font-weight: 600; }
.mth-badge.is-full { background: #fde8e8; color: #b3261e; }
.mth-badge.warn { background: #fff3dd; color: #8a5a00; }
.mth-badge.info { background: #ece9ff; color: #4933c4; }
.mth-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 10px 0 24px; }
.mth-facts > div { background: #f3f4fb; border-radius: 10px; padding: 10px 14px; min-width: 140px; }
.mth-facts span { display: block; font-size: 12px; color: #676b76; }
.mth-facts b { font-size: 16px; color: #20232b; }
.mth-rules { padding-left: 18px; margin: 0 0 20px; }
.mth-rules li { margin-bottom: 4px; }

.mth-schedule .mth-form label { display: block; font-weight: 600; margin: 10px 0 4px; font-size: 14px; }
.mth-schedule .mth-form input, .mth-schedule .mth-form select { width: 100%; margin: 0; }
.mth-schedule .mth-row { display: flex; flex-wrap: wrap; gap: 10px; }
.mth-schedule .mth-row label { flex: 1 1 130px; min-width: 0; }
.mth-schedule .mth-form input[type=date] { padding: 0 8px; font-size: 13px; min-width: 0; }
.mth-days { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.mth-day { flex: 0 0 auto; width: 64px; padding: 8px 0; text-align: center; border: 1.5px solid #d8deea; border-radius: 10px; cursor: pointer; background: #fff; font-size: 12px; color: #676b76; }
.mth-day b { display: block; font-size: 18px; color: #20232b; }
.mth-day.is-selected { border-color: #5b45dc; background: #ece9ff; }
.mth-day.is-empty { opacity: .45; cursor: default; }
.mth-slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mth-slot { padding: 8px 0; text-align: center; border: 1.5px solid #d8deea; border-radius: 10px; background: #fff; cursor: pointer; font-size: 13px; }
.mth-slot.is-taken { text-decoration: line-through; color: #9aa0ac; cursor: default; background: #f3f4fb; }
.mth-slot.is-selected { border-color: #5b45dc; background: #ece9ff; color: #4933c4; font-weight: 600; }
.mth-msg { min-height: 20px; font-size: 13px; margin: 8px 0; }
.mth-msg.is-error { color: #b3261e; }
.mth-msg.is-ok { color: #1b6b3a; }
.mth-muted { color: #676b76; }
.button.mth-outline { background: #fff; color: #5b45dc; border: 1.5px solid #5b45dc; }
.button.mth-danger { background: #fff; color: #b3261e; border: 1.5px solid #b3261e; }
.button.mth-small { padding: 6px 14px; font-size: 13px; line-height: 1.4; }

/* dashboard pages */
.mth-app, .mth-panel { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.mth-title { margin: 0 0 16px; font-size: 22px; }
.mth-tabs { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.mth-app button.mth-tab, .mth-tab { padding: 6px 16px; border-radius: 999px; border: 1.5px solid #d8deea; background: #fff; color: #20232b; cursor: pointer; font-size: 14px; font-weight: 500; line-height: 1.5; box-shadow: none; }
.mth-app button.mth-tab.is-active, .mth-tab.is-active { border-color: #5b45dc; background: #ece9ff; color: #4933c4; font-weight: 600; }
.mth-cards { display: grid; gap: 14px; }
.mth-card { border: 1px solid #e4e6ee; border-radius: 12px; padding: 16px; display: grid; grid-template-columns: 96px 1fr auto; gap: 16px; align-items: start; }
.mth-card img, .mth-card .mth-avatar { width: 96px; height: 96px; object-fit: cover; border-radius: 10px; background: #ece9ff; }
.mth-card h5 { margin: 0 0 4px; font-size: 16px; }
.mth-card p { margin: 0 0 4px; font-size: 13px; color: #676b76; }
.mth-card .mth-amount { font-size: 18px; font-weight: 700; text-align: right; }
.mth-card .mth-actions { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.mth-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.mth-chip { padding: 4px 10px; background: #f3f4fb; border-radius: 8px; font-size: 13px; }
.mth-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 20px; }
.mth-stat { background: #f3f4fb; border-radius: 10px; padding: 12px 14px; }
.mth-stat span { display: block; font-size: 12px; color: #676b76; }
.mth-stat b { font-size: 22px; color: #4933c4; }
.mth-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 16px; }
.mth-form-grid label, .mth-field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.mth-form-grid input, .mth-form-grid select, .mth-form-grid textarea, .mth-field input, .mth-field textarea { width: 100%; margin: 0; }
.mth-field { margin-bottom: 14px; }
.mth-table { width: 100%; border-collapse: collapse; margin: 10px 0; }
.mth-table th, .mth-table td { padding: 8px 6px; border-bottom: 1px solid #e4e6ee; text-align: left; font-size: 14px; vertical-align: middle; }
.mth-table input { margin: 0; padding: 6px 8px; height: auto; }
.mth-photos { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.mth-photo { position: relative; width: 110px; height: 80px; border-radius: 8px; overflow: hidden; background: #f3f4fb; }
.mth-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mth-photo button { position: absolute; top: 4px; right: 4px; border: 0; background: rgba(0,0,0,.55); color: #fff; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; line-height: 22px; padding: 0; }
.mth-photo.is-cover::after { content: "Cover"; position: absolute; left: 4px; bottom: 4px; background: #5b45dc; color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 4px; }
.mth-amenities { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.mth-amenities label { font-weight: 400; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.mth-amenities input { width: auto; margin: 0; }
.mth-plan { border: 1.5px solid #d8deea; border-radius: 12px; padding: 18px; }
.mth-plan.is-popular { border-color: #5b45dc; }
.mth-plan b { font-size: 24px; color: #4933c4; }
.mth-doc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #e4e6ee; }
.mth-inline { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
@media (max-width: 720px) { .mth-card { grid-template-columns: 1fr; } .mth-card .mth-amount { text-align: left; } .mth-room { flex-wrap: wrap; } }
