/* ==========================================================================
   Design tokens — Property Management auth suite
   ========================================================================== */
:root {
    --bs-primary: #ff6b2b;
    --bs-primary-rgb: 255, 107, 43;
    --bs-link-color: #ff6b2b;
    --bs-link-hover-color: #e85d04;

    --ink: #0a0a0f;
    --ink-soft: #14141d;
    --primary: #ff6b2b;
    --primary-dark: #e85d04;
    --gold: #ffb648;
    --paper: #fdfbf8;
    --line: #e7e2d8;
    --muted: #8a8a94;
}

html,
body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

body {
    font-family: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
    color: #1a1a2e;
}

/* Eyebrow / kicker label — blueprint stamp feel */
.auth-eyebrow {
    font-family: "Space Grotesk", "Inter Tight", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.auth-eyebrow::before {
    content: '';
    width: 16px;
    height: 1.5px;
    background: var(--primary);
    display: inline-block;
}

.auth-eyebrow.on-dark {
    color: var(--gold);
}

.auth-eyebrow.on-dark::before {
    background: var(--gold);
}

/* ==========================================================================
   Shared background treatment
   ========================================================================== */

/* Skyline silhouette, anchored to the base of the panel */
.auth-fullpage-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 90' preserveAspectRatio='none'%3E%3Crect x='0' y='40' width='30' height='50' fill='%23ffffff' fill-opacity='.05'/%3E%3Crect x='35' y='20' width='20' height='70' fill='%23ffffff' fill-opacity='.07'/%3E%3Crect x='60' y='50' width='25' height='40' fill='%23ffffff' fill-opacity='.04'/%3E%3Crect x='90' y='5' width='35' height='85' fill='%23ffffff' fill-opacity='.08'/%3E%3Crect x='130' y='35' width='20' height='55' fill='%23ffffff' fill-opacity='.05'/%3E%3Crect x='155' y='55' width='40' height='35' fill='%23ffffff' fill-opacity='.04'/%3E%3Crect x='200' y='25' width='25' height='65' fill='%23ffffff' fill-opacity='.06'/%3E%3Crect x='230' y='45' width='30' height='45' fill='%23ffffff' fill-opacity='.05'/%3E%3Crect x='265' y='15' width='20' height='75' fill='%23ffffff' fill-opacity='.07'/%3E%3Crect x='290' y='40' width='35' height='50' fill='%23ffffff' fill-opacity='.05'/%3E%3Crect x='330' y='30' width='25' height='60' fill='%23ffffff' fill-opacity='.06'/%3E%3Crect x='360' y='50' width='30' height='40' fill='%23ffffff' fill-opacity='.04'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-position: bottom left;
    background-size: 400px 110px;
    opacity: .8;
    pointer-events: none;
    z-index: 1;
}

.login-logo {
    max-height: 46px;
    width: auto;
}

.inner-wrap-custom {
    width: 100%;
    max-width: 400px;
}

/* ==========================================================================
   Form controls
   ========================================================================== */
.btn-primary {
    --bs-btn-bg: #ff6b2b;
    --bs-btn-border-color: #ff6b2b;
    --bs-btn-hover-bg: #e85d04;
    --bs-btn-hover-border-color: #e85d04;
    --bs-btn-active-bg: #d45500;
    --bs-btn-active-border-color: #d45500;
    font-weight: 600;
    letter-spacing: .01em;
}

.input-group {
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s;
    background: #fff;
}

.input-group:focus-within {
    border-color: #ff6b2b;
}

.input-group .input-group-text {
    border: none;
    background: #ff6b2b !important;
    color: #fff;
}

.input-group .form-control {
    border: none;
    background: #fff;
    padding-left: 8px;
}

.input-group .form-control:focus {
    box-shadow: none;
}

.input-group .btn-outline-secondary {
    border: none;
    background: #ff6b2b;
    color: #fff;
}

.input-group .btn-outline-secondary:hover {
    background: #e85d04;
    color: #fff;
}

.text-muted {
    color: rgba(26, 26, 46, .5) !important;
}

.toggle-password-btn {
    border-left: none;
    background: #fff;
    color: var(--muted);
}

.toggle-password-btn .open {
    display: none;
}

.is-invalid-group .input-group-text,
.is-invalid-group .form-control,
.is-invalid-group .toggle-password-btn {
    border-color: #dc3545 !important;
}

/* ==========================================================================
   Full-page centered auth layout (Register / Forgot Password)
   ========================================================================== */
.auth-fullpage-wrapper {
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 15px;
    position: relative;
    background: radial-gradient(circle at 15% 10%, #1b1b26 0%, var(--ink) 55%, #050507 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-sizing: border-box;
}

.auth-fullpage-wrapper .showcase-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .3;
    z-index: 0;
}

.auth-fullpage-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(135deg, rgba(10, 10, 15, .95) 0%, rgba(10, 10, 15, .86) 55%, rgba(10, 10, 15, .78) 100%);
    background-size: 34px 34px, 34px 34px, cover;
    z-index: 0;
}

.auth-fullpage-wrapper::after {
    z-index: 1;
}

.auth-fullpage-card {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 440px;
    background: var(--paper);
    border-radius: 20px;
    padding: 36px 36px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 43, .35) transparent;
}

.auth-fullpage-card::-webkit-scrollbar {
    width: 6px;
}

.auth-fullpage-card::-webkit-scrollbar-track {
    background: transparent;
}

.auth-fullpage-card::-webkit-scrollbar-thumb {
    background-color: rgba(255, 107, 43, .35);
    border-radius: 10px;
}

.auth-fullpage-card::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 107, 43, .55);
}

/* Wider variant for multi-column forms (Register) */
.auth-fullpage-card.auth-fullpage-card-wide {
    max-width: 660px;
}

.auth-fullpage-card .auth-eyebrow {
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
}

/* ==========================================================================
   Signature: "listing tag" badge under the logo — property tag / verified stamp
   ========================================================================== */
.listing-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(255, 107, 43, .08);
    border: 1px dashed rgba(255, 107, 43, .35);
    border-radius: 999px;
    padding: 5px 14px;
}

.listing-tag i {
    font-size: 12px;
}

/* Role selector */
.role-select-group {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
}

.role-select-group input[type="radio"] {
    display: none;
}

.role-select-group label {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    border: 1.5px dashed var(--line);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all .2s;
}

.role-select-group label i {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    color: #999;
}

.role-select-group input[type="radio"]:checked+label {
    border-style: solid;
    border-color: #ff6b2b;
    background: rgba(255, 107, 43, .08);
    color: #ff6b2b;
}

.role-select-group input[type="radio"]:checked+label i {
    color: #ff6b2b;
}

/* Forgot password method tabs */
.reset-method-tabs {
    display: flex;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 22px;
}

.reset-method-tabs button {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: all .2s;
}

.reset-method-tabs button.active {
    background: #ff6b2b;
    color: #fff;
}

.otp-inputs {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.otp-inputs input {
    width: 46px;
    height: 52px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    border: 1.5px solid var(--line);
    border-radius: 10px;
}

.otp-inputs input:focus {
    border-color: #ff6b2b;
    outline: none;
}

@media (max-width: 480px) {
    .auth-fullpage-card {
        padding: 30px 22px;
    }
}