.flatmate-owner-dashboard-page {
    background: #f5f8fb;
    padding: 45px 16px 70px;
    min-height: 80vh;
}

.flatmate-owner-dashboard-container {
    max-width: 1180px;
    margin: 0 auto;
}

.flatmate-owner-dashboard-title h1 {
    font-size: 36px;
    margin: 0 0 25px;
    color: #1f2933;
}

.flatmate-owner-dashboard-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 28px;
}

.flatmate-owner-profile-card,
.flatmate-owner-nav,
.flatmate-owner-main,
.flatmate-owner-tip-box,
.flatmate-owner-row-card,
.flatmate-owner-empty-box {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.flatmate-owner-profile-card {
    padding: 22px;
    text-align: center;
    margin-bottom: 18px;
}

.flatmate-owner-avatar {
    display: block !important;
    width: 130px !important;
    height: 130px !important;
    max-width: 130px !important;
    max-height: 130px !important;
    min-width: 130px !important;
    min-height: 130px !important;
    border-radius: 16px;
    object-fit: cover;
    object-position: center;
    margin: 0 auto 15px;
    background: #eaf0f6;
}

.flatmate-owner-avatar-placeholder {
    width: 130px;
    height: 130px;
    border-radius: 16px;
    margin: 0 auto 15px;
    background: #eaf0f6;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flatmate-owner-avatar-placeholder span {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #c92b2b;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 900;
}

.flatmate-owner-profile-card h2 {
    margin: 0 0 10px;
    font-size: 22px;
}

.flatmate-owner-verified {
    color: #198754;
    font-weight: 800;
    margin-bottom: 15px;
}

.flatmate-owner-info-line {
    margin: 10px 0;
    color: #475467;
    font-size: 14px;
}

.flatmate-owner-nav {
    padding: 10px;
}

.flatmate-owner-nav a {
    display: block;
    padding: 13px 14px;
    border-radius: 10px;
    color: #475467;
    text-decoration: none !important;
    font-weight: 700;
}

.flatmate-owner-nav a.is-active,
.flatmate-owner-nav a:hover {
    background: #f8eaea;
    color: #c92b2b;
}

.flatmate-owner-main {
    padding: 26px;
}

.flatmate-owner-main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.flatmate-owner-main-header h2 {
    margin: 0 0 6px;
    font-size: 30px;
}

.flatmate-owner-main-header p {
    margin: 0;
    color: #667085;
}

.flatmate-owner-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #c92b2b;
    color: #fff !important;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 800;
    white-space: nowrap;
}

.flatmate-owner-tip-box {
    padding: 16px 18px;
    background: #fff8e6;
    color: #7a4b00;
    margin-bottom: 22px;
}

.flatmate-owner-listing-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.flatmate-owner-row-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 18px;
    padding: 14px;
}

.flatmate-owner-row-image,
.flatmate-owner-row-placeholder {
    width: 100%;
    height: 145px;
    border-radius: 14px;
    object-fit: cover;
    background: #eef2f6;
}

.flatmate-owner-row-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8792a2;
    font-weight: 700;
}

.flatmate-owner-row-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.flatmate-owner-row-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.flatmate-owner-row-top h3 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #1f2933;
}

.flatmate-owner-row-price {
    margin: 0 0 8px;
    color: #1f2933;
    font-size: 20px;
    font-weight: 900;
}

.flatmate-owner-row-price span {
    font-size: 13px;
    color: #667085;
}

.flatmate-owner-row-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #475467;
    font-weight: 700;
}

.flatmate-owner-status {
    height: fit-content;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
}

.flatmate-owner-status.available {
    background: #e8f7ee;
    color: #198754;
}

.flatmate-owner-status.rented {
    background: #fff3cd;
    color: #9a6a00;
}

.flatmate-owner-row-stats {
    display: flex;
    gap: 18px;
    color: #475467;
    font-weight: 700;
    margin: 12px 0;
}

.flatmate-owner-row-actions {
    display: flex;
    gap: 10px;
}

.flatmate-owner-row-actions a {
    padding: 10px 18px;
    border-radius: 9px;
    text-decoration: none !important;
    font-weight: 800;
}

.flatmate-owner-row-actions .edit {
    background: #26799a;
    color: #fff !important;
}

.flatmate-owner-row-actions .view {
    background: #f3f4f6;
    color: #1f2933 !important;
}

.flatmate-owner-empty-box {
    padding: 35px;
    text-align: center;
}

.flatmate-notice {
    max-width: 720px;
    margin: 50px auto;
    background: #fff;
    padding: 24px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.08);
}

@media (max-width: 950px) {
    .flatmate-owner-dashboard-layout {
        grid-template-columns: 1fr;
    }

    .flatmate-owner-sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 18px;
    }
}

@media (max-width: 720px) {
    .flatmate-owner-sidebar {
        grid-template-columns: 1fr;
    }

    .flatmate-owner-main-header,
    .flatmate-owner-row-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .flatmate-owner-row-card {
        grid-template-columns: 1fr;
    }

    .flatmate-owner-row-image,
    .flatmate-owner-row-placeholder {
        height: 220px;
    }
}