/* =============================
   Login Page Styles (using rem units)
   ============================= */

/* Header */
.pm__login-header {
    width: 100%;
    padding: 1.5rem 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}
.pm__login-header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pm__login-logo img {
    height: 35px; /* ~2.1875rem */
}
.pm__login-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--title-text-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}
.pm__login-back a img {
    width: 14px; /* ~0.875rem */
}

/* Layout */
.pm__login--section {
    min-height: 100vh;
    background: #f4f6fc;
    padding-top: 5rem;
    /* padding-bottom: 2rem; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.pm__login--wrapper {
    display: flex;
    flex-wrap: wrap;
    padding-top: 60px;
    padding-inline: 15px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    /* box-shadow: 0 4px 30px rgba(0,0,0,0.05); */
}

/* Left Column */
.pm__login--left {
    flex: 1 1 50%;
    /* padding: 3rem; */
    /* background: #F3F5F9; */
}
.pm__login--left-content {
    max-width: 450px;
    margin-right: auto;
}
.pm__login-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0,86,254,0.1);
    color: var(--primary-color);
    padding: 0.375rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}
.pm__login-badge img,
.pm__login-badge svg {
    width: 14px;
}
.pm__login-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}
.pm__login-subtitle {
    color: var(--body-text-color);
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

/* Feature List */
.pm__login-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}
.pm__login-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.pm__login-ficon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 5px;
    background-color: rgba(0, 86, 254, 0.08);
}
.pm__login-ficon svg path{
    fill: var(--primary-color);
}
.pm__login-ficon img,
.pm__login-ficon svg {
    width: 20px;
    height: 20px;
}
.pm__login-ftext h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--title-text-color);
}
.pm__login-ftext p {
    font-size: 0.875rem;
    color: var(--body-text-color);
    line-height: 1.4;
}

.pm__login-image {
    text-align: center;
    margin-top: 2rem;
}
.pm__login-image img {
    max-width: 100%;
    height: auto;
}
.pm__login--footer {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 30px;
    padding: 15px;
    background-color: var(--primary-light-color);
}
.pm__login-footer-text {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #8C94A3;
    font-size: 0.875rem;
}
.pm__login-footer-text img, .pm__login-footer-text svg{
    width: 16px;
}
.pm__login-footer-text img {
    width: 14px;
    opacity: 0.6;
}
.pm__primary-text {
    color: var(--primary-color);
}
/* Right Column */
.pm__login--right {
    flex: 1 1 50%;
    /* padding: 3rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: #ffffff; */
}
.pm__login-form-box {
    width: 100%;
    /* max-width: 420px; */
    padding: 2.5rem;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}
.pm__login-form-head {
    text-align: center;
    margin-bottom: 2rem;
}
.pm__login-form-head h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.pm__login-form-head p {
    color: var(--body-text-color);
    font-size: 1rem;
}

/* Form Elements */
.pm__form-group-new {
    margin-bottom: 1.25rem;
}
.pm__form-group-new label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    color: var(--title-text-color);
}
.pm__input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}
.pm__input-icon {
    position: absolute;
    left: 1rem;
    display: flex;
    align-items: center;
}
.pm__input-icon svg path{
    fill: var(--body-text-color);
}
.pm__input-icon svg,
.pm__input-icon img {
    width: 16px;
}
.pm__login-back svg {
    width: 20px;    
    transform: rotate(180deg);
}
.pm__login-back svg path{
    fill: var(--primary-color);
}
.pm__input-with-icon input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    font-family: "League Spartan", sans-serif;
    font-size: 1rem;
    color: var(--title-text-color);
    outline: none;
    transition: border-color 0.3s;
}
.pm__input-with-icon input:focus {
    border-color: var(--primary-color);
}
.pm__password-toggle {
    position: absolute;
    right: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
}
.pm__password-toggle img {
    width: 18px;
    opacity: 0.5;
}
.pm__forgot-link {
    text-align: right;
    margin-top: 0.5rem;
}
.pm__forgot-link a {
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}
.pm__btn-full {
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
    padding: 1rem;
    justify-content: center;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}
.pm__btn-primary img,
.pm__btn-primary svg {
    width: 25px;
}
.pm__social-btn img,
.pm__social-btn svg{
    width: 25px;    
}
.pm__login-footer-text svg path{
    fill: var(--body-text-color);
}

/* Divider */
.pm__login-divider {
    text-align: center;
    position: relative;
    margin: 1.5rem 0;
}
.pm__login-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: #E2E8F0;
    z-index: 1;
}
.pm__login-divider span {
    position: relative;
    background: #ffffff;
    padding: 0 1rem;
    color: #8C94A3;
    font-size: 0.875rem;
    z-index: 2;
}

/* Social Buttons */
.pm__social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.pm__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    color: var(--title-text-color);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}
.pm__social-btn:hover {
    background: #F8F9FA;
}
.pm__social-btn img {
    width: 20px;
}

.pm__signup-link {
    text-align: center;
    margin-top: 1rem;
}
.pm__signup-link p {
    color: var(--body-text-color);
    font-size: 0.9375rem;
}
.pm__signup-link a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

/* Footer Links */
.pm__login-footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    font-size: 0.8125rem;
    color: #8C94A3;
}
.pm__login-footer-links a {
    color: #8C94A3;
    text-decoration: none;
}
.pm__login-footer-links a:hover{
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .pm__login--left-content {
        margin: 0 auto;
    }
    .pm__login--left,
    .pm__login--right {
        flex: 1 1 100%;
        padding: 0rem 0 40px;
    }
    .pm__login-form-box {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    .pm__login--wrapper {
        padding-top: 30px;
    }
    .pm__login-title {
        font-size: 2.5rem;
    }
    .pm__login-subtitle {
        font-size: 1rem;
    }
    .pm__login-form-box {
        padding: 2rem;
    }
}
@media (max-width: 575px) {
    .pm__login-header-inner {
        padding: 0 1rem;
    }
    .pm__login--left,
    .pm__login--right {
        padding: 1.5rem;
    }
    .pm__login-title {
        font-size: 2rem;
    }
    .pm__login-form-box {
        padding: 1.5rem;
    }
}
@media (max-width: 374px) {
    .pm__login-title {
        font-size: 1.75rem;
    }
    .pm__login-subtitle {
        font-size: 0.9375rem;
    }
    .pm__login-ftext h6 {
        font-size: 0.875rem;
    }
    .pm__login-ftext p {
        font-size: 0.75rem;
    }
    .pm__login-form-box {
        padding: 1rem;
    }
    .pm__login-form-head h2 {
        font-size: 1.5rem;
    }
    .pm__login-form-head p {
        font-size: 0.875rem;
    }
    .pm__social-btn {
        font-size: 0.8125rem;
        padding: 0.75rem;
    }
    .pm__btn-full {
        font-size: 0.9375rem;
        padding: 0.75rem;
    }
}

/* ==========================================================================
   NEW SIGNUP PAGE STYLES (MOCKUP EXACT REPLICA)
   ========================================================================== */

/* Page layout */
body.pm__signup-page-new {
    /* background-color: #F8F9FA; */
    font-family: "League Spartan", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    color: var(--title-text-color);
}

.pm__signup-main {
    width: 100%;
    background-color: #f4f6fc;
}

.pm__signup-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #f4f6fc;
    padding: 15px;
}
/* Left Panel */
.pm__signup-left {
    flex: 0 0 45%;
    padding-right: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.pm__signup-left-inner {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Back to Home Link */
.pm__signup-back {
    margin-bottom: 1rem;
}
.pm__signup-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--body-text-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}
.pm__signup-back a:hover {
    color: var(--primary-color);
}
.pm__signup-back .back-icon {
    width: 14px;
    height: 14px;
}

/* Logo */
.pm__signup-logo-sec {
    margin-bottom: 1.5rem;
}
.pm__signup-logo-sec img {
    height: 38px;
    width: fit-content;
}

/* Main title */
.pm__signup-left-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: var(--title-text-color);
}
.pm__signup-left-title .text-blue {
    color: var(--primary-color);
}

.pm__signup-left-subtitle {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--body-text-color);
    margin: 0 0 1rem 0;
}

/* Select Account Type Section */

.pm__account-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--title-text-color);
    letter-spacing: 0.5px;
}

/* Interactive Card Options */
.pm__account-cards {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pm__account-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}
.pm__account-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
.pm__tenant--card.active {
    border-color: var(--primary-color);
    background-color: var(--primary-light-color);
    box-shadow: 0 8px 20px rgba(0, 86, 254, 0.06);
}
.pm__host--card.active {
    border-color: var(--trietory-color);
    background-color: var(--trietory-light-color);
    box-shadow: 0 8px 20px rgba(0, 86, 254, 0.06);
}
.pm__referrer--card.active {
    border-color: var(--orange-color);
    background-color: var(--orange-light-color);
    box-shadow: 0 8px 20px rgba(0, 86, 254, 0.06);
}
.pm__account-card.pm__referrer--card.active .pm__account-radio-display {
    border-color: var(--orange-color);
    background-color: var(--orange-color);
}
.pm__account-card.pm__host--card.active .pm__account-radio-display {
    border-color: var(--trietory-color);
    background-color: var(--trietory-color);
}
.pm__host--card:hover {
    border-color: var(--trietory-color);
}
.pm__account-radio-hidden {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.pm__referrer--card svg path {
    fill: var(--orange-color);
}
.pm__referrer--card:hover{
    border-color: var(--orange-color);
}
/* Custom rounded background for icon */
.pm__account-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 10px;
}
.pm__tenant--card svg path{
    fill: var(--primary-color);
}
.pm__account-card-icon img,
.pm__account-card-icon svg {
    width: 24px;
    height: 24px;
}
.pm__referrer--card.active{

}
/* Background classes for card icons from the screenshot colors */
.bg-light-blue {
    background-color: rgba(0, 86, 254, 0.08);
}
.bg-light-green {
    background-color: rgba(3, 163, 61, 0.08);
}
.bg-light-orange {
    background-color: rgba(250, 218, 122, 0.2);
}

.pm__account-card-text {
    flex: 1;
}
.pm__account-card-text h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.25rem 0;
    color: var(--title-text-color);
}
.pm__account-card-text p {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--body-text-color);
    margin: 0;
}

/* Custom radio display circle on the right */
.pm__account-radio-display {
    width: 20px;
    height: 20px;
    border: 2px solid #CBD5E1;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.pm__account-card.active .pm__account-radio-display {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
}
.pm__account-card.active .pm__account-radio-display::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Left Bottom Illustration */
.pm__signup-left-illustration {
    margin-top: auto;
    text-align: center;
    padding-top: 2rem;
}
.pm__signup-left-illustration img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
}

/* Right Panel (Form) */
.pm__signup-right {
    flex: 0 0 55%;
    background-color: #ffffff;
    padding: 2rem 2rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: fit-content;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.pm__signup-right-inner {
    max-width: 580px;
    width: 100%;
}

.pm__signup-form-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--title-text-color);
    margin: 0 0 0.5rem 0;
    text-align: center;
}
.pm__signup-form-subtitle {
    font-size: 1rem;
    color: var(--body-text-color);
    margin: 0 0 2.5rem 0;
    text-align: center;
}

/* Two-column layout rows */
.pm__form-row-two {
    display: flex;
    gap: 1.25rem;
}
.pm__form-row-two .pm__form-group-new {
    flex: 1;
}

/* Password checklist section */
.pm__password-checklist {
    display: flex;
    gap: 1.5rem;
    margin: 0.75rem 0 1.5rem 0;
    padding: 1rem 1.25rem;
    background-color: #F8FAFC;
    border-radius: 8px;
}
.pm__checklist-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.pm__checklist-item {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pm__checklist-item.valid {
    color: var(--body-text-color);
}
.pm__checklist-item.valid .check-svg {
    fill: var(--primary-color);
}
.pm__checklist-item .check-svg {
    width: 12px;
    height: 12px;
    fill: #94A3B8;
}

/* Checkbox agreement */
.pm__agree-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.pm__agree-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border: 1px solid #CBD5E1;
    border-radius: 4px;
    margin-top: 0.15rem;
    cursor: pointer;
}
.pm__agree-checkbox label {
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--body-text-color);
    cursor: pointer;
}
.blue-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}
.blue-link:hover {
    text-decoration: underline;
}

/* Primary Button (Mockup styling) */
.pm__create-account-btn {
    width: 100%;
    padding: 1.125rem;
    background: linear-gradient(135deg, #0056fe 0%, #3b82f6 100%);
    color: #ffffff;
    font-family: "League Spartan", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 14px rgba(0, 86, 254, 0.2);
    transition: all 0.3s ease;
}
.pm__create-account-btn:hover {
    box-shadow: 0 6px 20px rgba(0, 86, 254, 0.3);
    transform: translateY(-1px);
}
.pm__create-account-btn .btn-arrow-svg {
    width: 16px;
    height: 16px;
    fill: #ffffff;
}

/* Signup Divider */
.pm__signup-divider {
    text-align: center;
    position: relative;
    margin: 2rem 0;
}
.pm__signup-divider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background-color: #E2E8F0;
    z-index: 1;
}
.pm__signup-divider span {
    position: relative;
    background-color: #ffffff;
    padding: 0 1rem;
    color: #8C94A3;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 2;
}

/* Google Signup Sec */
.pm__google-signup-sec {
    margin-bottom: 2rem;
}
.pm__google-btn-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.95rem;
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    color: var(--title-text-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background-color: #ffffff;
    transition: background-color 0.2s;
}
.pm__google-btn-new:hover {
    background-color: #F8FAFC;
}
.pm__google-btn-new img {
    width: 20px;
    height: 20px;
}

/* Already account footer text */
.pm__already-account {
    text-align: center;
    font-size: 1rem;
    color: var(--body-text-color);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .pm__signup-left {
        padding: 3rem 2rem;
    }
    .pm__signup-right {
        padding: 3rem;
    }
}

@media (max-width: 992px) {
    .pm__signup-container {
        flex-direction: column;
    }
    .pm__signup-left {
        flex: 1 1 auto;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding: 1.5rem 0rem;
    }
    .pm__signup-left-inner {
        max-width: 100%;
    }
    .pm__signup-right {
        flex: 1 1 auto;
        padding: 3rem 1.5rem;
    }
    .pm__signup-right-inner {
        max-width: 100%;
    }
    .pm__signup-left-illustration {
        display: none; /* Hide illustration on mobile/tablet to save space */
    }
}

@media (max-width: 575px) {
    .pm__form-row-two {
        flex-direction: column;
        gap: 0;
    }
    .pm__password-checklist {
        flex-direction: column;
        gap: 0.5rem;
    }
    .pm__signup-left-title {
        font-size: 2.2rem;
    }
    .pm__signup-form-title {
        font-size: 1.8rem;
    }
    .pm__account-card {
        padding: 1rem;
    }
    .pm__account-card-text h4 {
        font-size: 1rem;
    }
    .pm__account-card-text p {
        font-size: 0.8125rem;
    }
}
