.actionBar{
    display:flex;
    gap:15px;
    margin-top:20px;
}

.actionBar input{
    flex:1;
}

.propertyFormBox{
    background:white;
    padding:20px;
    border-radius:15px;
    margin-top:20px;
    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

.hidden{
    display:none;
}

.propertyFormBox input{
    margin-top:10px;
}

.page{
    display:none;
}

.page.active{
    display:block;
}

.small-btn{
    width:120px;
}

.property-img{
    width:90px;
    height:90px;
    object-fit:cover;
    border-radius:12px;
    margin-bottom:10px;
}

.property-overview-bar {
    display: grid;
    grid-template-columns: 90px 1fr 2fr 1fr 1fr 1fr 1fr 1fr 2fr 120px;
    gap: 15px;
    align-items: center;
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #f5f5f5;
    border-radius: 2px;
}

.property-card{
    flex: 1;
    display: grid;
    grid-template-columns: 90px 1fr 2fr 1fr 1fr 1fr 1fr 1fr 2fr 120px;
    gap: 15px;
    align-items: center;
    border: 1px solid #f5f5f5;
    margin-top: 10px;
}

.property-card h3{
    font-weight: 500;
    font-size: 15px;
    margin: 10px;
}

.action-btn-status {
    border: 1px solid #f5f5f5;
    border-radius: 6px;
    background: #ebf8ee;
}

.action-btn-status p {
    display: flex;
    justify-content: center; /* horizontal */
    align-items: center;     /* vertikal */

    border: 1px solid #f5f5f5;
    border-radius: 6px;
    background: #ebf8ee;
    color: #2ba63d;

    height: 35px;
    margin: 0;
    text-align: center;
}

.property-actions{
    grid-template-columns: repeat(2, 1fr) 300px;
}

.property-overview-item h3{
    font-weight: 500;
    font-size: 15px;
}

/* PROPERTY DETAILS
 */

.property-hero{
    display:flex;
    gap:30px;
    align-items:center;
    margin:30px 0;
}

.property-hero img{
    width:340px;
    height:240px;
    object-fit:cover;
    border-radius:18px;
    box-shadow:0 15px 35px rgba(0,0,0,.12);
}

.property-info h1{
    font-size:36px;
    margin:10px 0;
}

.property-info p{
    color:#667085;
    font-size:18px;
}

.status-badge{
    display:inline-block;
    background:#E8F7EE;
    color:#18A058;
    padding:8px 18px;
    border-radius:30px;
    font-weight:600;
}

.property-kpis{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin:30px 0;
}

.kpi-card{
    background:#fff;
    padding:28px;
    border-radius:18px;
    border:1px solid #eef2f7;
    box-shadow:0 10px 30px rgba(15,23,42,.05);
}

.kpi-card span{
    color:#667085;
    font-size:14px;
}

.kpi-card h2{
    margin-top:12px;
    font-size:32px;
}

.property-dashboard{

    gap:24px;

    margin-top:24px;

}


.dashboard-box{

    position:relative;

    background:#ffffff;

    border:1px solid #e8edf3;

    border-radius:16px;

    padding:26px;

    margin-top:24px;

    box-shadow:
            0 2px 5px rgba(15,23,42,.025),
            0 10px 25px rgba(15,23,42,.045);

    transition:
            box-shadow .2s ease,
            transform .2s ease,
            border-color .2s ease;

}

.dashboard-box:hover{

    border-color:#e1e7ef;

    box-shadow:
            0 4px 8px rgba(15,23,42,.035),
            0 14px 32px rgba(15,23,42,.055);

}

.dashboard-box > h3{

    margin:0;

    font-size:17px;

    font-weight:650;

    letter-spacing:-.01em;

    color:#182230;

}


/* optionale Unterzeile */

.dashboard-box > p{

    margin:6px 0 0;

    color:#667085;

    font-size:13px;

    line-height:1.5;

}



.property-investment-box{

    background:#fff;

    padding:30px;

    margin-top:25px;

    border:1px solid #e8edf3;

    border-radius:18px;

    box-shadow:
            0 4px 12px rgba(28,41,57,.04),
            0 14px 35px rgba(28,41,57,.05);

}


/* ============================
   Header
============================ */

.property-investment-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    padding-bottom:25px;

    border-bottom:1px solid #eef2f6;

}


.property-investment-subtitle{

    display:block;

    margin-bottom:6px;

    font-size:11px;

    font-weight:700;

    letter-spacing:1.4px;

    color:#366bd4;

}


.property-investment-header h3{

    margin:0;

    font-size:21px;

    font-weight:700;

    color:#101828;

}


.property-investment-header p{

    margin:7px 0 0;

    max-width:600px;

    font-size:13px;

    line-height:1.5;

    color:#667085;

}


/* ============================
   Sections
============================ */

.property-metric-section{

    padding:24px 0;

    border-bottom:1px solid #eef2f6;

}


.property-metric-section:last-child{

    border-bottom:none;

    padding-bottom:0;

}


.property-section-title{

    display:flex;

    align-items:center;

    gap:10px;

    margin-bottom:15px;

    font-size:13px;

    font-weight:700;

    color:#475467;

}


.property-section-title::before{

    content:"";

    width:4px;

    height:16px;

    border-radius:4px;

    background:#366bd4;

}


/* ============================
   Metrics
============================ */

.property-metrics{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:12px;

}


.property-metric{

    min-height:85px;

    padding:17px 18px;

    background:#f8fafc;

    border:1px solid #edf1f5;

    border-radius:12px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    transition:.2s ease;

}


.property-metric:hover{

    transform:translateY(-2px);

    border-color:#dce5f2;

    box-shadow:0 5px 15px rgba(28,41,57,.06);

}


.property-metric span{

    display:block;

    margin-bottom:7px;

    font-size:12px;

    font-weight:500;

    color:#667085;

}


.property-metric strong{

    font-size:18px;

    font-weight:700;

    color:#101828;

}


/* ============================
   Highlight
============================ */

.property-metric.highlight{

    background:#f4f7ff;

    border-color:#dce5ff;

}


.property-metric.highlight strong{

    color:#366bd4;

}


/* ============================
   Positive Werte
============================ */

.property-metric.positive{

    background:#f4fbf6;

    border-color:#dcefe1;

}


.property-metric.positive strong{

    color:#16803c;

}


.property-metrics{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:14px;
}



#propertyDocuments{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:15px;
}


.property-document{

    display:flex;
    align-items:center;
    gap:12px;

    padding:14px 16px;

    background:#f8fafc;

    border:1px solid #eef2f7;

    border-radius:10px;

    text-decoration:none;

    color:#101828;

    transition:.2s;

}


.property-document:hover{

    background:#f1f5f9;

    border-color:#dbe3ee;

    transform:translateY(-1px);

}


.document-icon{

    width:38px;
    height:38px;

    display:flex;

    align-items:center;
    justify-content:center;

    background:#fff;

    border:1px solid #eef2f7;

    border-radius:9px;

    font-size:18px;

}


.document-name{

    flex:1;

    font-size:14px;

    font-weight:600;

}


.document-type{

    font-size:11px;

    font-weight:700;

    color:#667085;

    background:#e9eef5;

    padding:5px 8px;

    border-radius:6px;

}


.no-documents{

    padding:20px;

    text-align:center;

    color:#98a2b3;

    background:#f8fafc;

    border:1px dashed #d0d5dd;

    border-radius:10px;

}

#propertyRenters{
    display:flex;
    flex-direction:column;
    gap:12px;
    margin-top:15px;
}

.property-renter{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;

    padding:16px;

    background:#fff;

    border:1px solid #eef2f7;
    border-radius:12px;
}

.property-renter-main{
    display:flex;
    align-items:center;
    gap:12px;
}

.property-renter-avatar{
    width:44px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#D3E2FF;
    color:#366bd4;

    font-weight:700;
}

.property-renter-main h4{
    margin:0 0 3px;
    font-size:15px;
}

.property-renter-main span{
    font-size:13px;
    color:#667085;
}

.property-renter-info{
    display:flex;
    align-items:center;
    gap:35px;
}

.property-renter-info div{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.property-renter-info small{
    color:#98a2b3;
    font-size:11px;
}

.property-renter-info strong{
    font-size:13px;
    color:#344054;
}

.payment-paid{
    color:#2ba63d !important;
}

.payment-open{
    color:#d97706 !important;
}

.no-renters{
    padding:20px;
    text-align:center;
    color:#98a2b3;
    background:#f8fafc;
    border:1px dashed #d0d5dd;
    border-radius:10px;
}

.no-tasks{
    padding:20px;
    text-align:center;
    color:#98a2b3;
    background:#f8fafc;
    border:1px dashed #d0d5dd;
    border-radius:10px;
}