/* ==========================================================================
   ResortPro — auth screens & SaaS landing page
   ========================================================================== */

/* ---------- Auth split layout ---------- */
.rp-auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--rp-paper, #f6f1e7); }
.rp-auth-visual {
    position: relative; overflow: hidden; color: #fff; padding: 3rem; display: flex; flex-direction: column; justify-content: space-between;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(242, 181, 68, .22), transparent 50%),
        radial-gradient(ellipse at 90% 90%, rgba(217, 101, 59, .28), transparent 45%),
        linear-gradient(160deg, #1d2a24 0%, #234038 55%, #0f5c55 100%);
}
.rp-auth-visual::after {
    content: ""; position: absolute; inset: auto -10% -30% -10%; height: 55%;
    background: repeating-radial-gradient(ellipse at 50% 100%, rgba(242, 181, 68, .10) 0 2px, transparent 2px 28px);
    pointer-events: none;
}
.rp-auth-visual .rp-brand { color: #fff; display: inline-flex; align-items: center; gap: .7rem; font-weight: 800; font-size: 1.2rem; position: relative; z-index: 1; }
.rp-auth-visual h2 { color: #f6f1e7; font-family: var(--rp-serif); font-weight: 500; font-size: 2.5rem; letter-spacing: -.025em; line-height: 1.2; max-width: 460px; margin-bottom: 1rem; }
.rp-auth-visual p { color: rgba(239, 230, 212, .82); max-width: 440px; font-size: 1rem; }
.rp-auth-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .85rem; position: relative; z-index: 1; }
.rp-auth-points li { display: flex; gap: .75rem; align-items: center; color: #efe6d4; }
.rp-auth-points i { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .1); color: #f2b544; }
.rp-auth-quote { position: relative; z-index: 1; padding: 1.25rem; border-radius: 16px; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, .12); max-width: 460px; }
.rp-auth-quote p { color: #f6f1e7; font-family: var(--rp-hand); font-size: 1.35rem; line-height: 1.25; margin-bottom: .75rem; }
.rp-auth-quote small { color: #b4c0b8; }

.rp-auth-panel { display: flex; align-items: center; justify-content: center; padding: 3rem 1.5rem; }
.rp-auth-box { width: 100%; max-width: 440px; }
.rp-auth-box.wide { max-width: 640px; }
.rp-auth-box h1 { font-size: 1.75rem; margin-bottom: .4rem; }
.rp-auth-box .lead { color: var(--rp-muted); font-size: .95rem; margin-bottom: 2rem; }
.rp-auth-mobile-brand { display: none; align-items: center; gap: .6rem; font-weight: 800; color: var(--rp-text); margin-bottom: 2rem; }
.rp-divider { display: flex; align-items: center; gap: 1rem; color: #a59a86; font-size: .78rem; margin: 1.5rem 0; }
.rp-divider::before, .rp-divider::after { content: ""; flex: 1; height: 1px; background: var(--rp-border); }
.rp-password { position: relative; }
.rp-password .form-control { padding-right: 2.75rem; }
.rp-password button { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); border: 0; background: transparent; color: #a59a86; width: 36px; height: 36px; border-radius: 8px; }
.rp-password button:hover { color: var(--rp-text); background: var(--rp-paper-2, #efe6d4); }
.rp-strength { height: 4px; border-radius: 4px; background: #ece4d6; margin-top: .5rem; overflow: hidden; }
.rp-strength span { display: block; height: 100%; width: 0; transition: width .25s, background .25s; }

/* Registration stepper */
.rp-steps { display: flex; gap: .5rem; margin-bottom: 2rem; }
.rp-step { flex: 1; display: flex; align-items: center; gap: .55rem; font-size: .78rem; font-weight: 600; color: #a59a86; }
.rp-step span { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #efe6d4; color: #6f7a73; font-size: .78rem; flex-shrink: 0; transition: all .2s; }
.rp-step::after { content: ""; flex: 1; height: 2px; background: #e8dfcf; border-radius: 2px; }
.rp-step:last-child::after { display: none; }
.rp-step.active { color: var(--rp-text); }
.rp-step.active span { background: var(--rp-primary); color: #fff; box-shadow: 0 0 0 4px rgba(15, 92, 85, .15); }
.rp-step.done span { background: #dcebe4; color: var(--rp-primary); }
.rp-step-pane { display: none; animation: rpFade .25s ease; }
.rp-step-pane.active { display: block; }
@keyframes rpFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.rp-slug-input .input-group-text { font-size: .8rem; }
.rp-slug-status { font-size: .76rem; margin-top: .35rem; min-height: 1.1em; }

.rp-plan-option { position: relative; display: block; cursor: pointer; }
.rp-plan-option input { position: absolute; opacity: 0; }
.rp-plan-option .rp-plan-card { border: 1.5px solid var(--rp-border); border-radius: 14px; padding: 1rem 1.1rem; transition: all .15s; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rp-plan-option:hover .rp-plan-card { border-color: #a9c9bd; }
.rp-plan-option input:checked + .rp-plan-card { border-color: var(--rp-primary); background: #eef5f1; box-shadow: 0 0 0 4px rgba(15, 92, 85, .1); }
.rp-plan-option input:focus-visible + .rp-plan-card { outline: 2px solid var(--rp-primary); outline-offset: 2px; }
.rp-plan-card strong { font-size: .95rem; }
.rp-plan-card .price { font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.rp-plan-card .price small { font-weight: 500; color: var(--rp-muted); font-size: .72rem; }

@media (max-width: 991.98px) {
    .rp-auth { grid-template-columns: 1fr; }
    .rp-auth-visual { display: none; }
    .rp-auth-mobile-brand { display: inline-flex; }
}

/* Brand touches shared with the homepage */
.rp-auth-visual .rp-brand { font-family: var(--rp-serif); font-weight: 700; color: #f6f1e7; }
.rp-auth-visual h2 em { font-style: italic; color: var(--rp-sun, #f2b544); }
.rp-auth-panel { background: transparent; }
.rp-auth-box h1 { font-weight: 600; }
.rp-auth-mobile-brand { font-family: var(--rp-serif); }
.rp-auth-visual .rp-brand .rp-brand-logo, .rp-auth-mobile-brand .rp-brand-logo { display: block; height: 40px; width: auto; max-width: 200px; object-fit: contain; }
