.rh-apartments-wrapper{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:30px;
}

.rh-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(180px,1fr));
    gap:20px;
}

.rh-card{
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    padding:20px;
    cursor:pointer;
    transition:.3s;
    position:relative;
}

.rh-card:hover{
    transform:translateY(-3px);
}

.rh-card.active{
    border:2px solid #245FBD;
    box-shadow:0 0 0 4px rgba(36,95,189,.08);
}

.rh-status-dot{
    width:10px;
    height:10px;
    border-radius:50%;
    position:absolute;
    right:15px;
    top:15px;
}

.rh-status-free{background:#3C9A45;}
.rh-status-reserved{background:#D89018;}
.rh-status-sold{background:#D94B4B;}

.rh-card-label{
    font-size:12px;
    color:#999;
}

.rh-card-number{
    font-size:32px;
    font-weight:700;
    color:#245FBD;
}

.rh-card-area{
    font-size:22px;
    font-weight:700;
}

.rh-card-type{
    color:#666;
}

.rh-panel{
    position:sticky;
    top:30px;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:16px;
    padding:25px;
    min-height:500px;
}

.rh-empty-state{
    text-align:center;
    padding-top:120px;
}

.rh-subtitle{
    color:#666;
    margin-bottom:15px;
}

.rh-status-badge{
    display:inline-block;
    padding:8px 14px;
    border-radius:20px;
    margin-bottom:20px;
}

.rh-status-badge.free{
    background:#eaf8ec;
    color:#3C9A45;
}

.rh-status-badge.reserved{
    background:#fff3df;
    color:#D89018;
}

.rh-status-badge.sold{
    background:#fde8e8;
    color:#D94B4B;
}

.rh-stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:10px;
    margin:20px 0;
}

.rh-stat{
    background:#f8f8f8;
    border-radius:12px;
    padding:15px;
    text-align:center;
}

.rh-stat strong{
    display:block;
    font-size:20px;
}

.rh-stat span{
    font-size:12px;
    color:#666;
}

.rh-table{
    width:100%;
    border-collapse:collapse;
}

.rh-table td{
    padding:10px;
    border-bottom:1px solid #eee;
}

.rh-actions{
    margin-top:25px;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.rh-btn{
    background:#245FBD;
    color:#fff;
    text-decoration:none;
    text-align:center;
    padding:14px;
    border-radius:10px;
}

.rh-btn-secondary{
    background:#f3f3f3;
    color:#333;
}

@media(max-width:991px){

    .rh-apartments-wrapper{
        grid-template-columns:1fr;
    }

    .rh-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:12px;
    }

    .rh-panel{
        position:static;
    }

}
.rh-card-status{
    margin-top:15px;
    display:inline-flex;
    align-items:center;
    padding:8px 14px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
}

.rh-card-status-free{
    background:#eaf8ec;
    color:#3C9A45;
}

.rh-card-status-reserved{
    background:#fff3df;
    color:#D89018;
}

.rh-card-status-sold{
    background:#fde8e8;
    color:#D94B4B;
}

.rh-panel-highlight{
    animation: rhPulse .8s ease;
}

@keyframes rhPulse {

    0%{
        box-shadow:0 0 0 0 rgba(36,95,189,.35);
    }

    100%{
        box-shadow:0 0 0 20px rgba(36,95,189,0);
    }

}

.rh-plan-wrapper{
    margin:20px 0;
}

.rh-plan-image{
    width:100%;
    height:auto;
    border-radius:12px;
    border:1px solid #e5e5e5;
    display:block;
    margin-bottom:10px;
    transition:.3s;
}

.rh-plan-image:hover{
    transform:scale(1.02);
}