/* Feature Section Main Layout */
.pm__feature--section {
    padding: 60px 0 80px 0;
    background-color: #ffffff;
}

/* Header Section */
.pm__feature--header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    margin-bottom: 35px;
    gap: 20px;
}

.pm__feature--header-decor {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm__feature--header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.pm__feature--title {
    font-size: 48px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 14px;
    line-height: 1.2;
}

.pm__feature--subtitle {
    font-size: 18px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Filter Tabs Row */
.pm__feature--filter-row {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
    width: 100%;
}

.pm__feature--tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.pm__feature--tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    color: #334155;
    font-size: 15.5px;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    outline: none;
}

.pm__feature--tab.active {
    background-color: #4F46E5;
    border-color: #4F46E5;
    color: #ffffff;
    font-weight: 600;
}

/* Search Row */
.pm__feature--search-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 28px;
    width: 100%;
}

.pm__feature--search-box {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 10px 18px;
    width: 280px;
    gap: 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pm__feature--search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pm__feature--search-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    color: #1E293B;
}

.pm__feature--search-input::placeholder {
    color: #94A3B8;
}

/* Cards Grid Layout (2 Cards per Row) */
.pm__feature--cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

.pm__feature--card {
    display: flex;
    flex-direction: column;
    width: calc(50% - 12px);
    background-color: #ffffff;
    border: 1px solid #E2E8F0;
    border-radius: 18px;
    padding: 22px;
    box-sizing: border-box;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
}

/* Card Preview Container */
.pm__feature--preview-box {
    display: flex;
    flex-direction: column;
    background-color: #F8FAFC;
    border-radius: 12px;
    padding: 16px;
    justify-content: center;
    box-sizing: border-box;
}

.pm__feature--preview-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: stretch;
}

.pm__preview--mini-head {
    font-size: 16px;
    font-weight: 600;
    color: #1E293B;
    margin-bottom: 10px;
}

/* Card Info Section */
.pm__feature--info {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    flex: 1;
    gap: 6px;
}

.pm__feature--tag {
    font-size: 15px;
    font-weight: 600;
    color: #4F46E5;
    margin-bottom: 0px;
}

.pm__feature--card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pm__feature--card-desc {
    font-size: 15.5px;
    color: #64748B;
    margin: 0 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    height: 4.5em; /* Exactly 3 lines */
}

.pm__feature--card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16.5px;
    font-weight: 600;
    color: #4F46E5;
    text-decoration: none;
    margin-top: auto;
}

.pm__arrow {
    display: inline-flex;
}

/* Card 1 Specifics */
.pm__card1--left,
.pm__card1--right {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #F1F5F9;
}

.pm__card1--left-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pm__card1--house-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: #EEF2FF;
    border-radius: 8px;
}

.pm__card1--bars {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pm__bar {
    display: block;
    height: 6px;
    border-radius: 3px;
}

.pm__bar--blue {
    background-color: #4F46E5;
    width: 75%;
}

.pm__bar--gray {
    background-color: #E2E8F0;
    width: 95%;
}

.pm__bar--short {
    background-color: #E2E8F0;
    width: 50%;
}

.pm__card1--price {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
}

.pm__card1--period {
    font-size: 13px;
    font-weight: 400;
    color: #64748B;
}

.pm__card1--divider-label {
    font-size: 14px;
    font-weight: 500;
    color: #94A3B8;
    margin-top: 8px;
    margin-bottom: 8px;
    border-top: 1px dashed #E2E8F0;
    padding-top: 8px;
}

.pm__card1--split-icons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pm__split--item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pm__split--val {
    font-size: 12px;
    font-weight: 700;
    color: #1E293B;
}

/* Card 2 Specifics */
.pm__card2--stats {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.pm__card2--stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding: 8px 6px;
    border-radius: 8px;
}

.pm__stat--green {
    background-color: #DCFCE7;
}

.pm__stat--green .pm__stat--label,
.pm__stat--green .pm__stat--val {
    color: #166534;
}

.pm__stat--orange {
    background-color: #FEF3C7;
}

.pm__stat--orange .pm__stat--label,
.pm__stat--orange .pm__stat--val {
    color: #92400E;
}

.pm__stat--red {
    background-color: #FEE2E2;
}

.pm__stat--red .pm__stat--label,
.pm__stat--red .pm__stat--val {
    color: #991B1B;
}

.pm__stat--label {
    font-size: 11px;
    font-weight: 500;
}

.pm__stat--val {
    font-size: 15px;
    font-weight: 700;
}

.pm__card2--payments {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #F1F5F9;
}

.pm__card2--pay-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid #F8FAFC;
}

.pm__card2--pay-row:last-child {
    border-bottom: none;
}

.pm__pay--name {
    font-size: 14px;
    color: #475569;
}

.pm__pay--right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pm__pay--amount {
    font-size: 14px;
    font-weight: 700;
    color: #0F172A;
}

.pm__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.pm__badge--paid {
    background-color: #DCFCE7;
    color: #15803D;
}

.pm__badge--upcoming {
    background-color: #FEF3C7;
    color: #B45309;
}

.pm__badge--blue {
    background-color: #EFF6FF;
    color: #2563EB;
}

.pm__badge--orange {
    background-color: #FFF7ED;
    color: #C2410C;
}

.pm__badge--green {
    background-color: #DCFCE7;
    color: #15803D;
}

/* Card 3 Specifics */
.pm__card3--left {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #F1F5F9;
}

.pm__card3--right {
    display: flex;
    flex-direction: column;
    flex: 1.15;
    background-color: #F3F4F6;
    border-radius: 10px;
    padding: 10px;
}

.pm__card3--tenant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pm__card3--tenant-item:last-child {
    margin-bottom: 0;
}

.pm__tenant--user {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm__tenant--avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: #E0E7FF;
}

.pm__tenant--name {
    font-size: 13px;
    font-weight: 600;
    color: #1E293B;
}

.pm__tenant--room {
    font-size: 11px;
    color: #94A3B8;
}

.pm__card3--card-box {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #E5E7EB;
}

.pm__card3--brand {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #4F46E5;
}

.pm__card3--sub {
    font-size: 12px;
    color: #64748B;
    margin-bottom: 8px;
}

.pm__card3--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
}

.pm__card3--label {
    color: #64748B;
}

.pm__card3--status {
    color: #166534;
    font-weight: 700;
}

.pm__card3--stars {
    color: #10B981;
    font-size: 16px;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
}

.pm__card3--btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #EEF2FF;
    color: #4F46E5;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 0;
    cursor: pointer;
}

/* Card 4 Specifics */
.pm__card4--left,
.pm__card4--right {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #F1F5F9;
}

.pm__card4--doc-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pm__card4--doc-item:last-child {
    margin-bottom: 0;
}

.pm__doc--left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm__doc--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.pm__doc--red {
    background-color: #FEE2E2;
}

.pm__doc--gray {
    background-color: #F3F4F6;
}

.pm__doc--blue {
    background-color: #DBEAFE;
}

.pm__doc--name {
    font-size: 11.5px;
    font-weight: 600;
    color: #1E293B;
}

.pm__doc--ext {
    font-size: 10.5px;
    color: #94A3B8;
}

.pm__card4--chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 56px;
    padding: 4px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid #F1F5F9;
}

.pm__chart--bar {
    width: 10px;
    background-color: #4F46E5;
    border-radius: 4px 4px 0 0;
}

.pm__card4--footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pm__card4--writeoff-label {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
}

.pm__card4--writeoff-val {
    font-size: 13.5px;
    font-weight: 800;
    color: #0F172A;
}

/* Card 5 Specifics */
.pm__preview--three-col {
    gap: 10px;
}

.pm__card5--col {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid #F1F5F9;
}

.pm__card5--label {
    font-size: 12px;
    margin-bottom: 2px;
    color: #64748B;
}

.pm__card5--amount {
    font-size: 15px;
    font-weight: 800;
    color: #0F172A;
    margin-bottom: 10px;
}

.pm__card5--btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #818CF8;
    color: #4F46E5;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    padding: 4px 6px;
    cursor: pointer;
}

.pm__card5--maint-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pm__card5--maint-item:last-child {
    margin-bottom: 0;
}

.pm__maint--left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pm__maint--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #F3F4F6;
}

.pm__maint--title {
    font-size: 14px;
    color: #334155;
}

.pm__card5--cal-month {
    font-size: 14px;
    font-weight: 600;
    color: #4338CA;
    text-align: center;
    margin-bottom: 10px;
}

.pm__card5--cal-grid {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.pm__cal--day-head {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14.285%;
    font-size: 10px;
    font-weight: 600;
    color: #94A3B8;
    margin-bottom: 6px;
}

.pm__cal--date {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14.285%;
    height: 22px;
    font-size: 11px;
    color: #475569;
    position: relative;
    box-sizing: border-box;
    margin-bottom: 2px;
}

.pm__cal--active {
    color: #ffffff;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.pm__cal--active::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #4F46E5;
    border-radius: 50%;
    z-index: -1;
}

/* Card 6 Specifics */
.pm__card6--left,
.pm__card6--right {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 12px;
    border: 1px solid #F1F5F9;
}

.pm__card6--reward-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pm__card6--reward-item:last-child {
    margin-bottom: 0;
}

.pm__reward--left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pm__reward--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
}

.pm__reward--orange {
    background-color: #FEF3C7;
}

.pm__reward--green {
    background-color: #DCFCE7;
}

.pm__reward--blue {
    background-color: #DBEAFE;
}

.pm__reward--name {
    font-size: 14px;
    font-weight: 600;
    color: #1E293B;
}

.pm__reward--amount {
    font-size: 12.5px;
    font-weight: 800;
    color: #0F172A;
}

.pm__card6--notif-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 9px;
}

.pm__notif--left {
    display: flex;
    align-items: center;
    gap: 7px;
}

.pm__notif--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

.pm__notif--blue {
    background-color: #EFF6FF;
}

.pm__notif--red {
    background-color: #FEF2F2;
}

.pm__notif--info {
    background-color: #EFF6FF;
}

.pm__notif--text {
    font-size: 14px;
    color: #334155;
}

.pm__notif--date {
    font-size: 12px;
    color: #94A3B8;
}

.pm__card6--link {
    display: flex;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #4F46E5;
    text-decoration: none;
    margin-top: 6px;
}

/* Responsive Media Queries (Flexbox structure) */
@media (max-width: 991px) {
    .pm__feature--card {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pm__feature--header-decor {
        display: none;
    }

    .pm__feature--title {
        font-size: 34px;
    }

    .pm__feature--cards-grid {
        gap: 18px;
    }

    .pm__feature--card {
        width: 100%;
    }

    .pm__feature--search-row {
        justify-content: center;
    }

    .pm__feature--search-box {
        width: 100%;
    }
}
