/* Reservation Manager — public booking front page */
.rm-fp { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #1f2937; line-height: 1.5; }
.rm-fp * { box-sizing: border-box; }

/* Hero */
.rm-fp-hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    background-size: cover; background-position: center;
    color: #fff; padding: 64px 20px 72px; text-align: center;
}
.rm-fp-hero-inner { max-width: 1040px; margin: 0 auto; }
.rm-fp-hero h1 { font-size: 2.6rem; margin: 0 0 10px; font-weight: 800; line-height: 1.1; color:#fff; }
.rm-fp-hero-sub { font-size: 1.15rem; margin: 0 auto 26px; max-width: 680px; opacity: .95; }
.rm-fp-search-card {
    background: #fff; color: #1f2937; border-radius: 14px; padding: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25); max-width: 960px; margin: 0 auto; text-align: left;
}

/* Sections */
.rm-fp-section { max-width: 1160px; margin: 0 auto; padding: 46px 20px; }
.rm-fp-h2 { font-size: 1.8rem; font-weight: 800; margin: 0 0 6px; }
.rm-fp-muted { color: #6b7280; margin: 0 0 22px; }

/* Accommodation grid */
.rm-fp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.rm-fp-card {
    background: #fff; border: 1px solid #eaecef; border-radius: 14px; overflow: hidden;
    display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease;
}
.rm-fp-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.12); }
.rm-fp-card-img {
    display: block; height: 180px; background: #dde3ea center/cover no-repeat;
    position: relative; text-decoration: none;
}
.rm-fp-noimg { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; color:#5b6b7e; font-weight:700; padding:10px; text-align:center; }
.rm-fp-card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.rm-fp-card-title { font-size: 1.15rem; margin: 0 0 4px; font-weight: 700; }
.rm-fp-card-meta { color: #6b7280; font-size: .86rem; margin-bottom: 8px; }
.rm-fp-card-desc { color: #4b5563; font-size: .92rem; margin: 0 0 14px; flex: 1; }
.rm-fp-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rm-fp-price { font-size: .9rem; color: #374151; }
.rm-fp-price strong { font-size: 1.1rem; color: #111827; }

/* Buttons */
.rm-fp-btn {
    display: inline-block; background: #2563eb; color: #fff !important; text-decoration: none;
    padding: 9px 16px; border-radius: 8px; font-weight: 700; font-size: .92rem; border: none; cursor: pointer;
    transition: background .15s ease; white-space: nowrap;
}
.rm-fp-btn:hover { background: #1d4ed8; color:#fff; }
.rm-fp-btn-lg { padding: 14px 26px; font-size: 1.05rem; border-radius: 10px; }

/* Features */
.rm-fp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.rm-fp-feature { background:#f8fafc; border:1px solid #eef1f5; border-radius: 12px; padding: 22px; text-align: center; }
.rm-fp-feature .rm-fp-ic { font-size: 2rem; display:block; margin-bottom: 8px; }
.rm-fp-feature h3 { margin: 0 0 6px; font-size: 1.1rem; }
.rm-fp-feature p { margin: 0; color: #6b7280; font-size: .92rem; }

/* Providers */
.rm-fp-providers { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.rm-fp-provider {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 22px 16px; text-align: center;
    text-decoration: none; color: #1f2937; min-height: 96px; transition: border-color .15s ease, box-shadow .15s ease;
}
.rm-fp-provider:hover { border-color: #2563eb; box-shadow: 0 8px 20px rgba(37,99,235,.12); }
.rm-fp-provider img { max-height: 34px; max-width: 100%; }
.rm-fp-provider-name { font-weight: 800; font-size: 1.1rem; }
.rm-fp-provider-blurb { font-size: .82rem; color: #6b7280; }

/* Responsive */
@media (max-width: 640px) {
    .rm-fp-hero { padding: 44px 16px 52px; }
    .rm-fp-hero h1 { font-size: 1.9rem; }
    .rm-fp-section { padding: 34px 16px; }
}

/* ===== Public booking widget [rm_book] ===== */
.rm-bk { max-width: 920px; margin: 0 auto; font-family: inherit; }
.rm-bk-steps { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:18px; }
.rm-bk-step { padding:6px 12px; border-radius:16px; background:#eef1f5; color:#667; font-size:13px; }
.rm-bk-step.is-on { background:#1976d2; color:#fff; font-weight:600; }
.rm-bk-searchbar { display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end; background:#fff; padding:16px; border:1px solid #e3e7ec; border-radius:10px; }
.rm-bk-searchbar label { display:flex; flex-direction:column; font-size:13px; color:#445; gap:4px; }
.rm-bk-searchbar input { padding:8px; border:1px solid #cfd6dd; border-radius:6px; }
.rm-bk-room { display:flex; gap:16px; background:#fff; border:1px solid #e3e7ec; border-radius:10px; overflow:hidden; margin-bottom:14px; }
.rm-bk-room-img { width:180px; min-height:140px; background:#dde3ea center/cover no-repeat; flex:0 0 180px; }
.rm-bk-room-body { padding:14px; flex:1; }
.rm-bk-room-body h3 { margin:0 0 4px; }
.rm-bk-muted { color:#8a93a0; font-size:13px; }
.rm-bk-plans { margin-top:10px; display:flex; flex-direction:column; gap:8px; }
.rm-bk-plan { display:flex; align-items:center; gap:12px; width:100%; text-align:left; background:#f7f9fb; border:1px solid #dfe5ec; border-radius:8px; padding:10px 12px; cursor:pointer; }
.rm-bk-plan:hover { border-color:#1976d2; background:#eef5fe; }
.rm-bk-plan-label { flex:1; }
.rm-bk-plan-label em { color:#b26a00; font-style:normal; font-size:12px; }
.rm-bk-plan-price { font-weight:700; }
.rm-bk-plan-go { background:#1976d2; color:#fff; padding:4px 10px; border-radius:5px; font-size:13px; }
.rm-bk-form .rm-bk-row { display:flex; gap:14px; flex-wrap:wrap; margin-bottom:12px; }
.rm-bk-form label { display:flex; flex-direction:column; font-size:13px; gap:4px; flex:1; min-width:200px; }
.rm-bk-form input { padding:9px; border:1px solid #cfd6dd; border-radius:6px; }
.rm-bk-sum { background:#f3f7fb; border:1px solid #dde6ef; border-radius:8px; padding:12px; margin-bottom:14px; }
.rm-bk-total { font-size:20px; font-weight:700; color:#10243e; }
.rm-bk-card { background:#fff; border:1px solid #dfe5ec; border-radius:8px; padding:14px; max-width:480px; margin:8px 0; }
.rm-bk-status { margin-left:8px; font-size:14px; }
.rm-bk-error { background:#fdecea; color:#a4242c; border:1px solid #f5c6c2; border-radius:8px; padding:10px 14px; margin-top:14px; }
.rm-bk-done { text-align:center; padding:24px; }
.rm-bk-done h2 { color:#2e7d32; }
@media (max-width:600px){ .rm-bk-room { flex-direction:column; } .rm-bk-room-img { width:100%; flex-basis:auto; height:160px; } }
