/* =========================================================
   KEJAHUB DASHBOARD
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0F3D2E;
    --primary-dark: #092b20;
    --primary-light: #e8f0ed;
    --gold: #D4A017;
    --gold-light: #f8efd2;

    --background: #f6f7f5;
    --surface: #ffffff;
    --border: #e8ebe8;

    --text: #17201c;
    --text-soft: #6b746f;
    --danger: #c94b4b;

    --sidebar-width: 270px;

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow:
        0 12px 35px rgba(15, 61, 46, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    background: var(--background);
    color: var(--text);
    min-height: 100vh;
}

button,
input,
select {
    font-family: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   DASHBOARD LAYOUT
========================================================= */

.dashboard {
    display: flex;
    min-height: 100vh;
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    position: fixed;
    top: 0;
    left: 0;

    width: var(--sidebar-width);
    height: 100vh;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(212, 160, 23, 0.13),
            transparent 25%
        ),
        linear-gradient(
            180deg,
            #103f30 0%,
            #092b20 100%
        );

    padding: 28px 20px;

    display: flex;
    flex-direction: column;

    z-index: 1000;

    overflow-y: auto;
}


/* Decorative glow */

.sidebar::before {
    content: "";

    position: absolute;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    background: rgba(212, 160, 23, 0.08);

    bottom: -80px;
    right: -80px;

    pointer-events: none;
}


/* SIDEBAR TOP */

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 45px;

    position: relative;
    z-index: 2;
}


/* LOGO */

.logo {
    color: white;

    text-decoration: none;

    font-size: 28px;
    font-weight: 700;

    letter-spacing: -1px;
}

.logo span {
    color: var(--gold);
}


/* CLOSE BUTTON */

.sidebar-close {
    display: none;

    border: none;
    background: transparent;

    color: white;

    font-size: 22px;

    cursor: pointer;
}


/* =========================================================
   SIDEBAR MENU
========================================================= */

.menu {
    display: flex;
    flex-direction: column;

    gap: 7px;

    position: relative;
    z-index: 2;
}


.nav-item {
    width: 100%;

    min-height: 52px;

    border: none;
    background: transparent;

    color: rgba(255, 255, 255, 0.7);

    text-decoration: none;

    display: flex;
    align-items: center;

    gap: 14px;

    padding: 0 16px;

    border-radius: 13px;

    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    text-align: left;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.nav-item i {
    width: 22px;

    font-size: 19px;

    text-align: center;
}


.nav-item:hover {
    background: rgba(255, 255, 255, 0.07);

    color: white;

    transform: translateX(3px);
}


.nav-item.active {
    background: white;

    color: var(--primary);

    font-weight: 600;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.12);
}


.nav-item.active i {
    color: var(--gold);
}


/* NAV BADGE */

.nav-badge {
    margin-left: auto;

    min-width: 22px;
    height: 22px;

    padding: 0 6px;

    border-radius: 50px;

    background: var(--gold);

    color: #171717;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 10px;
    font-weight: 700;
}


/* =========================================================
   SIDEBAR BOTTOM
========================================================= */

.sidebar-bottom {
    margin-top: auto;

    padding-top: 30px;

    position: relative;
    z-index: 2;
}


.back-home {
    display: flex;
    align-items: center;

    gap: 10px;

    color: rgba(255, 255, 255, 0.65);

    text-decoration: none;

    font-size: 13px;

    padding: 12px;

    margin-bottom: 12px;

    transition: 0.25s ease;
}


.back-home:hover {
    color: white;
}


.logout-btn {
    width: 100%;

    border: 1px solid rgba(255, 255, 255, 0.13);

    background: rgba(255, 255, 255, 0.05);

    color: white;

    padding: 14px 16px;

    border-radius: 13px;

    display: flex;
    align-items: center;

    gap: 12px;

    cursor: pointer;

    font-weight: 500;

    transition: 0.25s ease;
}


.logout-btn:hover {
    background: rgba(255, 255, 255, 0.11);
}


/* =========================================================
   MAIN CONTENT
========================================================= */

.content {
    width: calc(100% - var(--sidebar-width));

    margin-left: var(--sidebar-width);

    min-height: 100vh;

    padding: 0 42px 60px;
}


/* =========================================================
   TOPBAR
========================================================= */

.topbar {
    min-height: 100px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);

    margin-bottom: 35px;
}


.topbar-left {
    display: flex;
    align-items: center;

    gap: 16px;
}


.page-label {
    color: var(--text-soft);

    font-size: 11px;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    margin-bottom: 3px;
}


.topbar h2 {
    font-size: 24px;

    font-weight: 600;

    letter-spacing: -0.5px;
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    border: 1px solid var(--border);

    border-radius: 12px;

    background: white;

    color: var(--primary);

    font-size: 22px;

    cursor: pointer;
}


/* TOPBAR ACTIONS */

.topbar-actions {
    display: flex;
    align-items: center;

    gap: 14px;
}


.notification-btn {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    border: 1px solid var(--border);

    background: white;

    color: var(--text);

    position: relative;

    cursor: pointer;

    font-size: 18px;
}


.notification-btn span {
    position: absolute;

    top: 8px;
    right: 8px;

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--gold);

    border: 2px solid white;
}


/* USER PROFILE */

.user-profile {
    display: flex;
    align-items: center;

    gap: 11px;

    background: transparent;

    border: none;

    cursor: pointer;

    text-align: left;
}


.avatar,
.message-avatar {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: white;

    font-size: 13px;
    font-weight: 600;
}


.user-info {
    display: flex;
    flex-direction: column;
}


.user-info strong {
    font-size: 13px;
}


.user-info span {
    font-size: 11px;

    color: var(--text-soft);
}


.user-profile > i {
    font-size: 12px;

    color: var(--text-soft);
}


/* =========================================================
   DASHBOARD PAGES
========================================================= */

.dashboard-page {
    display: none;

    animation: pageFade 0.35s ease;
}


.dashboard-page.active {
    display: block;
}


@keyframes pageFade {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   WELCOME CARD
========================================================= */

.welcome-card {
    min-height: 215px;

    border-radius: var(--radius-lg);

    padding: 42px;

    color: white;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            120deg,
            rgba(15, 61, 46, 0.97),
            rgba(18, 76, 56, 0.93)
        );
}


/* BLOB SHAPE */

.welcome-card::before {
    content: "";

    position: absolute;

    width: 330px;
    height: 330px;

    border-radius:
        60% 40% 55% 45% /
        40% 60% 40% 60%;

    background:
        rgba(212, 160, 23, 0.12);

    right: -80px;
    top: -150px;

    transform: rotate(25deg);
}


.welcome-card::after {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    border-radius:
        45% 55% 65% 35% /
        60% 40% 60% 40%;

    border:
        1px solid rgba(255, 255, 255, 0.1);

    right: 220px;
    bottom: -100px;
}


.welcome-card > * {
    position: relative;
    z-index: 2;
}


.welcome-tag {
    display: inline-block;

    color: var(--gold);

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1.5px;

    margin-bottom: 14px;
}


.welcome-card h1 {
    font-size: clamp(28px, 4vw, 40px);

    letter-spacing: -1.3px;

    margin-bottom: 10px;
}


.welcome-card p {
    max-width: 500px;

    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    line-height: 1.8;
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-btn {
    min-height: 48px;

    padding: 0 21px;

    border: none;

    border-radius: 12px;

    background: var(--gold);

    color: #161616;

    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    font-size: 13px;
    font-weight: 600;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.primary-btn:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(212, 160, 23, 0.22);
}


/* =========================================================
   STATS
========================================================= */

.stats {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 18px;

    margin: 24px 0;
}


.stat-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 23px;

    display: flex;
    align-items: center;

    gap: 17px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.stat-card:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow);
}


.stat-icon {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 20px;
}


.stat-card span {
    display: block;

    color: var(--text-soft);

    font-size: 11px;

    margin-bottom: 4px;
}


.stat-card h3 {
    font-size: 25px;

    font-weight: 600;
}


/* =========================================================
   DASHBOARD PANEL
========================================================= */

.dashboard-panel {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 28px;

    margin-top: 24px;
}


.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 25px;
}


.panel-header span,
.page-heading > div > span {
    display: block;

    color: var(--gold);

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1.4px;

    margin-bottom: 4px;
}


.panel-header h3 {
    font-size: 20px;
}


.text-btn {
    border: none;

    background: transparent;

    color: var(--primary);

    font-size: 12px;
    font-weight: 600;

    cursor: pointer;

    display: flex;
    align-items: center;

    gap: 8px;
}


/* =========================================================
   PAGE HEADING
========================================================= */

.page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 30px;
}


.page-heading h1 {
    font-size: 34px;

    letter-spacing: -1px;

    margin-bottom: 7px;
}


.page-heading p {
    color: var(--text-soft);

    font-size: 13px;
}


/* =========================================================
   PROPERTY TOOLBAR
========================================================= */

.property-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    margin-bottom: 25px;
}


.dashboard-search {
    width: min(430px, 100%);

    height: 50px;

    background: white;

    border: 1px solid var(--border);

    border-radius: 13px;

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 0 16px;
}


.dashboard-search i {
    color: var(--text-soft);
}


.dashboard-search input {
    width: 100%;

    border: none;
    outline: none;

    background: transparent;

    color: var(--text);

    font-size: 13px;
}


.property-toolbar select {
    height: 50px;

    min-width: 170px;

    border: 1px solid var(--border);

    border-radius: 13px;

    background: white;

    padding: 0 15px;

    outline: none;

    color: var(--text);
}


/* =========================================================
   PROPERTY GRID
========================================================= */

.property-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}


/* PROPERTY CARD */

.dashboard-property-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.dashboard-property-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}


.property-image {
    height: 195px;

    position: relative;

    overflow: hidden;
}


.property-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.5s ease;
}


.dashboard-property-card:hover
.property-image img {
    transform: scale(1.04);
}


/* STATUS */

.status-badge {
    position: absolute;

    top: 14px;
    left: 14px;

    padding: 7px 11px;

    border-radius: 50px;

    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    backdrop-filter: blur(10px);
}


.status-badge.available {
    background: rgba(15, 61, 46, 0.9);

    color: white;
}


.status-badge.unavailable {
    background: rgba(35, 35, 35, 0.85);

    color: white;
}


/* PROPERTY BODY */

.property-body {
    padding: 19px;
}


.property-location {
    display: flex;
    align-items: center;

    gap: 5px;

    color: var(--text-soft);

    font-size: 10px;

    margin-bottom: 7px;
}


.property-location i {
    color: var(--gold);
}


.property-body h3 {
    font-size: 16px;

    font-weight: 600;

    line-height: 1.4;

    margin-bottom: 12px;
}


.property-price {
    display: block;

    color: var(--primary);

    font-size: 16px;

    margin-bottom: 17px;
}


.property-price small {
    color: var(--text-soft);

    font-size: 10px;

    font-weight: 400;
}


/* PROPERTY ACTIONS */

.property-actions {
    display: flex;

    gap: 8px;

    padding-top: 14px;

    border-top: 1px solid var(--border);
}


.property-actions a,
.property-actions button {
    width: 38px;
    height: 38px;

    border-radius: 10px;

    border: 1px solid var(--border);

    background: #fafbfa;

    color: var(--primary);

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    cursor: pointer;

    transition: 0.2s ease;
}


.property-actions a:hover,
.property-actions button:hover {
    background: var(--primary);

    border-color: var(--primary);

    color: white;
}


.property-actions .delete-action:hover {
    background: var(--danger);

    border-color: var(--danger);
}


/* =========================================================
   REQUESTS
========================================================= */

.requests-list {
    display: flex;
    flex-direction: column;

    gap: 14px;
}


.request-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-md);

    padding: 20px;

    display: flex;
    align-items: center;

    gap: 17px;
}


.request-avatar {
    width: 48px;
    height: 48px;

    flex-shrink: 0;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-weight: 600;
}


.request-info {
    flex: 1;
}


.request-info h4 {
    font-size: 14px;

    margin-bottom: 4px;
}


.request-info p {
    color: var(--text-soft);

    font-size: 12px;

    margin-bottom: 7px;
}


.request-info span {
    color: var(--text-soft);

    font-size: 10px;
}


.request-actions {
    display: flex;

    gap: 8px;
}


.accept-btn,
.decline-btn {
    border: none;

    padding: 10px 16px;

    border-radius: 9px;

    cursor: pointer;

    font-size: 11px;
    font-weight: 600;
}


.accept-btn {
    background: var(--primary);

    color: white;
}


.decline-btn {
    background: #f4f4f4;

    color: var(--text);
}


/* =========================================================
   MESSAGES
========================================================= */

.messages-layout {
    height: 620px;

    display: grid;

    grid-template-columns: 330px 1fr;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    overflow: hidden;
}


/* CONVERSATION LIST */

.conversation-list {
    border-right: 1px solid var(--border);

    padding: 12px;
}


.conversation {
    display: grid;

    grid-template-columns: auto 1fr auto;

    gap: 11px;

    align-items: center;

    padding: 14px;

    border-radius: 13px;

    cursor: pointer;

    transition: 0.2s ease;
}


.conversation:hover,
.conversation.active {
    background: var(--primary-light);
}


.conversation strong {
    display: block;

    font-size: 12px;

    margin-bottom: 3px;
}


.conversation p {
    max-width: 160px;

    color: var(--text-soft);

    font-size: 10px;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;
}


.conversation > span {
    color: var(--text-soft);

    font-size: 8px;
}


/* CHAT */

.chat-box {
    display: flex;
    flex-direction: column;

    min-width: 0;
}


.chat-header {
    min-height: 75px;

    padding: 0 22px;

    display: flex;
    align-items: center;

    gap: 12px;

    border-bottom: 1px solid var(--border);
}


.chat-header strong {
    display: block;

    font-size: 13px;
}


.chat-header span {
    color: var(--text-soft);

    font-size: 10px;
}


.chat-messages {
    flex: 1;

    padding: 25px;

    overflow-y: auto;

    display: flex;
    flex-direction: column;

    gap: 12px;

    background: #fafbf9;
}


.message {
    max-width: 65%;

    padding: 12px 16px;

    border-radius: 15px;

    font-size: 12px;

    line-height: 1.6;
}


.message.received {
    align-self: flex-start;

    background: white;

    border: 1px solid var(--border);

    border-bottom-left-radius: 4px;
}


.message.sent {
    align-self: flex-end;

    background: var(--primary);

    color: white;

    border-bottom-right-radius: 4px;
}


/* MESSAGE FORM */

.message-form {
    min-height: 75px;

    padding: 13px 18px;

    border-top: 1px solid var(--border);

    display: flex;

    gap: 10px;
}


.message-form input {
    flex: 1;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 0 16px;

    outline: none;
}


.message-form input:focus {
    border-color: var(--primary);
}


.message-form button {
    width: 48px;

    border: none;

    border-radius: 12px;

    background: var(--primary);

    color: white;

    cursor: pointer;

    font-size: 17px;
}


/* =========================================================
   PROFILE
========================================================= */

.profile-card {
    max-width: 850px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius-lg);

    padding: 32px;
}


.profile-header {
    display: flex;
    align-items: center;

    gap: 18px;

    padding-bottom: 28px;

    margin-bottom: 28px;

    border-bottom: 1px solid var(--border);
}


.large-avatar {
    width: 75px;
    height: 75px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary);

    color: white;

    font-size: 25px;
    font-weight: 600;
}


.profile-header h3 {
    font-size: 19px;

    margin-bottom: 3px;
}


.profile-header p {
    color: var(--text-soft);

    font-size: 12px;
}


/* FORM */

.form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-bottom: 25px;
}


.form-group {
    display: flex;
    flex-direction: column;

    gap: 8px;
}


.form-group label {
    font-size: 11px;

    font-weight: 500;

    color: var(--text-soft);
}


.form-group input {
    height: 50px;

    border: 1px solid var(--border);

    border-radius: 12px;

    padding: 0 15px;

    outline: none;

    color: var(--text);

    background: #fcfcfb;

    transition: 0.2s ease;
}


.form-group input:focus {
    border-color: var(--primary);

    background: white;

    box-shadow:
        0 0 0 3px rgba(15, 61, 46, 0.06);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.dashboard-empty {
    grid-column: 1 / -1;

    min-height: 260px;

    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;

    background: white;

    border: 1px dashed #d8ded9;

    border-radius: var(--radius-md);
}


.dashboard-empty i {
    width: 60px;
    height: 60px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--primary-light);

    color: var(--primary);

    font-size: 24px;

    margin-bottom: 16px;
}


.dashboard-empty h3 {
    font-size: 17px;

    margin-bottom: 7px;
}


.dashboard-empty p {
    color: var(--text-soft);

    font-size: 12px;
}


/* =========================================================
   TOAST
========================================================= */

.dashboard-toast {
    position: fixed;

    right: 25px;
    bottom: 25px;

    min-width: 250px;

    padding: 15px 18px;

    border-radius: 13px;

    background: var(--primary);

    color: white;

    display: flex;
    align-items: center;

    gap: 10px;

    font-size: 12px;

    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.18);

    transform: translateY(120px);

    opacity: 0;

    visibility: hidden;

    transition: 0.35s ease;

    z-index: 3000;
}


.dashboard-toast.show {
    transform: translateY(0);

    opacity: 1;

    visibility: visible;
}


.dashboard-toast i {
    color: var(--gold);

    font-size: 18px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1200px) {

    .property-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE / TABLET SIDEBAR
========================================================= */

@media (max-width: 900px) {

    .sidebar {
        transform: translateX(-100%);

        transition: transform 0.35s ease;

        box-shadow:
            20px 0 50px rgba(0, 0, 0, 0.2);
    }


    .sidebar.open {
        transform: translateX(0);
    }


    .sidebar-close {
        display: block;
    }


    .content {
        width: 100%;

        margin-left: 0;

        padding:
            0 25px 50px;
    }


    .menu-toggle {
        display: flex;

        align-items: center;
        justify-content: center;
    }


    .messages-layout {
        grid-template-columns: 270px 1fr;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .content {
        padding:
            0 16px 40px;
    }


    .topbar {
        min-height: 80px;

        margin-bottom: 22px;
    }


    .page-label {
        display: none;
    }


    .topbar h2 {
        font-size: 19px;
    }


    .user-info,
    .user-profile > i {
        display: none;
    }


    .welcome-card {
        padding: 28px;

        min-height: 280px;

        align-items: flex-start;

        flex-direction: column;

        justify-content: center;
    }


    .welcome-card h1 {
        font-size: 30px;
    }


    .welcome-card .primary-btn {
        width: 100%;
    }


    .stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 10px;
    }


    .stat-card {
        padding: 17px;

        flex-direction: column;

        align-items: flex-start;
    }


    .stat-icon {
        width: 42px;
        height: 42px;
    }


    .stat-card h3 {
        font-size: 22px;
    }


    .dashboard-panel {
        padding: 18px;
    }


    .page-heading {
        align-items: flex-start;

        flex-direction: column;
    }


    .page-heading h1 {
        font-size: 27px;
    }


    .page-heading .primary-btn {
        width: 100%;
    }


    .property-toolbar {
        flex-direction: column;

        align-items: stretch;
    }


    .dashboard-search {
        width: 100%;
    }


    .property-toolbar select {
        width: 100%;
    }


    .property-grid {
        grid-template-columns: 1fr;
    }


    .request-card {
        align-items: flex-start;

        flex-wrap: wrap;
    }


    .request-actions {
        width: 100%;

        padding-left: 65px;
    }


    .messages-layout {
        height: auto;

        grid-template-columns: 1fr;
    }


    .conversation-list {
        border-right: none;

        border-bottom: 1px solid var(--border);
    }


    .chat-box {
        height: 500px;
    }


    .form-grid {
        grid-template-columns: 1fr;
    }


    .profile-card {
        padding: 22px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .stats {
        grid-template-columns: 1fr 1fr;
    }


    .stat-card {
        min-width: 0;
    }


    .stat-card span {
        font-size: 9px;
    }


    .notification-btn {
        display: none;
    }


    .message {
        max-width: 85%;
    }


    .request-actions {
        padding-left: 0;
    }


    .accept-btn,
    .decline-btn {
        flex: 1;
    }

}