/* ─────────────────────────────────────────────────────────────
   2026-11-15 — /manager in the minimal-homepage design
   (resources/views/pages/manager-minimal.blade.php). Loaded only by
   that page, on top of home.css. Namespaced `hm-mg-`.
   Also gives the shared sign-up form (pages.partials.manager-register-form)
   the few Bootstrap helpers it uses, since this layout has no Bootstrap.
   ───────────────────────────────────────────────────────────── */

.hm-mg-hero { max-width: 720px; }
.hm-mg-hero .hm-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

.hm-mg-cards {
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: clamp(20px, 4vw, 32px);
}
.hm-mg-card {
    padding: 16px 18px;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-radius: 16px;
    background: #fff;
}
.hm-mg-card--main {
    border-color: transparent;
    background: var(--brand-primary, #2563eb);
    color: #fff;
}
.hm-mg-card__amount { font-size: clamp(1.5rem, 6vw, 2rem); font-weight: 800; line-height: 1.1; }
.hm-mg-card__text { margin-top: 6px; font-size: .92rem; opacity: .85; }

/* Steps: one card per step, with "where" link */
.hm-mg-steps {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}
.hm-mg-step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-radius: 16px;
    background: #fff;
}
.hm-mg-step__body { min-width: 0; }
.hm-mg-step .hm-step__title { margin: 2px 0 6px; }
.hm-mg-step .hm-step__text { margin: 0; }
.hm-mg-where {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #eff6ff;
    color: var(--brand-primary, #2563eb);
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.hm-mg-where:hover { text-decoration: underline; }

.hm-mg-sec { padding: var(--hm-section) 0 0; }

.hm-mg-two { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); margin-top: 16px; }
.hm-mg-box {
    padding: 18px;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-radius: 16px;
    background: #f8fafc;
}
.hm-mg-box__title { margin: 0 0 12px; font-size: 1.02rem; font-weight: 800; }
.hm-mg-box__note { margin: 12px 0 0; color: var(--brand-muted, #64748b); font-size: .88rem; }
.hm-mg-list, .hm-mg-checks { margin: 0; padding: 0; list-style: none; }
.hm-mg-list li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--brand-border, #e2e8f0);
    font-size: .95rem;
}
.hm-mg-list li:last-child { border-bottom: 0; }
.hm-mg-list b { color: var(--brand-primary, #2563eb); }
.hm-mg-checks li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: .95rem; }
.hm-mg-checks i { color: var(--brand-green, #16a34a); margin-top: 3px; }

.hm-mg-table {
    margin-top: 16px;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
}
.hm-mg-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-top: 1px solid var(--brand-border, #e2e8f0);
    font-size: .95rem;
}
.hm-mg-row b { font-size: 1.05rem; white-space: nowrap; }
.hm-mg-row--head {
    border-top: 0;
    background: #f8fafc;
    color: var(--brand-muted, #64748b);
    font-size: .8rem;
    font-weight: 700;
}
.hm-mg-row--zero { color: var(--brand-muted, #64748b); }
.hm-mg-note { margin: 12px 0 0; color: var(--brand-muted, #64748b); font-size: .9rem; }

.hm-mg-faq { display: grid; gap: 10px; margin-top: 16px; max-width: 820px; }
.hm-mg-faq details {
    padding: 14px 16px;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-radius: 14px;
    background: #fff;
}
.hm-mg-faq summary { cursor: pointer; font-weight: 700; }
.hm-mg-faq p { margin: 10px 0 0; color: #334155; }

/* v2 landing: scale, example, calculator, rules */
.hm-mg-checks--small { margin-top: 10px; }
.hm-mg-checks--small li { padding: 4px 0; font-size: .9rem; color: #334155; }
.hm-mg-checks--no i { color: #dc2626; }
.hm-mg-row--bonus { background: #f0fdf4; }
.hm-mg-row--bonus b { color: var(--brand-green, #16a34a); }
.hm-mg-example { margin-top: 16px; }
.hm-mg-list__total { font-weight: 800; }
.hm-mg-list__total b { font-size: 1.1rem; }
.hm-mg-calc {
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 16px;
    padding: 18px;
    border: 1px solid var(--brand-border, #e2e8f0);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .06);
}
.hm-mg-calc__inputs { display: grid; gap: 16px; }
.hm-mg-calc__field > span { display: block; margin-bottom: 8px; font-weight: 700; font-size: .95rem; }
.hm-mg-calc__row { display: flex; gap: 12px; align-items: center; }
.hm-mg-calc__row input[type=range] { flex: 1; min-width: 0; accent-color: var(--brand-primary, #2563eb); }
.hm-mg-calc__row input[type=number] {
    width: 96px; padding: 10px 12px; border: 1px solid var(--brand-border, #e2e8f0); border-radius: 12px;
    font: inherit; font-weight: 700; text-align: right;
}
.hm-mg-calc__out { padding: 16px; border-radius: 14px; background: #eff6ff; }
.hm-mg-calc__total { font-size: clamp(1.8rem, 7vw, 2.4rem); font-weight: 800; color: var(--brand-primary, #2563eb); line-height: 1.1; }
.hm-mg-calc__line { display: flex; justify-content: space-between; gap: 10px; margin-top: 8px; font-size: .92rem; color: #334155; }
.hm-mg-calc__rows { margin: 10px 0 0; padding: 0; list-style: none; color: var(--brand-muted, #64748b); font-size: .84rem; }
.hm-mg-calc__rows li { padding: 2px 0; }

/* The shared sign-up form */
.hm-mg-form { padding: var(--hm-section) 0; }
.hm-mg-form, .hm-mg-form input, .hm-mg-form button, .hm-mg-form h2 { font-family: inherit; }
.hm-body .hm-mg-form .partner-register-card .partner-register-submit {
    background: var(--brand-primary, #2563eb) !important;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .25);
}
.hm-body .hm-mg-form .partner-register-card .partner-register-submit:hover { background: #1d4ed8 !important; }
.hm-mg-form .form-check { display: flex; gap: 8px; align-items: flex-start; }
.hm-mg-form .form-check-input { margin-top: 4px; flex: 0 0 auto; }
.hm-mg-form .form-text { margin-top: 4px; color: var(--brand-muted, #64748b); font-size: .82rem; }
.hm-mg-form .invalid-feedback { display: block; margin-top: 4px; color: #dc2626; font-size: .82rem; }
.hm-mg-form .me-1 { margin-right: 4px; }

@media (min-width: 720px) {
    .hm-mg-calc { grid-template-columns: 1.2fr 1fr; align-items: start; }
    .hm-mg-cards { grid-template-columns: 1.3fr 1fr 1fr; }
    .hm-mg-two { grid-template-columns: 1fr 1fr; }
    .hm-mg-step { padding: 18px 20px; }
}
