:root {
    --bg-page: #e2e8f0;
    --canvas-bg: #f8fafc;
    --card-bg: #ffffff;
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --primary-blue: #2563eb;
    --light-blue: #eff6ff;
    --border-color: #f1f5f9;
    --shadow-soft: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
    --shadow-heavy: 0 25px 50px -12px rgba(0,0,0,0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    padding: 2rem;
    min-height: 100vh;
}

/* Outer Presentation Canvas */
.presentation-canvas {
    width: 100%;
    max-width: 1400px;
    background-color: var(--canvas-bg);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-heavy);
}

/* Presentation Header */
.presentation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem 3.5rem 2rem;
}

.header-left {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.logo-box {
    width: 60px; height: 60px;
    background: var(--card-bg);
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-soft);
    font-size: 1.8rem;
}

.title-area h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}
.title-area p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.header-right {
    display: flex;
    gap: 1rem;
}
.feature-tag {
    background: var(--card-bg);
    padding: 0.6rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 0.5rem;
    box-shadow: var(--shadow-soft);
}
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.blue-bg { background-color: var(--primary-blue); }
.blue-text { color: var(--primary-blue); }
.blue-light-bg { background-color: var(--light-blue); }


/* Mockup Container */
.mockup-container {
    padding: 0 3.5rem 3.5rem;
    width: 100%;
}

/* Dashboard UI Layout */
.dashboard-ui {
    display: flex;
    width: 100%;
    height: 750px;
    background: #f8fafc;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-heavy);
    border: 1px solid var(--border-color);
}

/* Sidebar */
.sidebar {
    width: 250px;
    background: var(--card-bg);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
}

.brand {
    display: flex; align-items: center; gap: 0.8rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem; font-weight: 700;
    margin-bottom: 2.5rem; color: var(--primary-blue);
}
.brand-icon { font-size: 1.5rem; }

.side-menu {
    display: flex; flex-direction: column; gap: 0.5rem; flex: 1;
}
.side-menu a {
    text-decoration: none;
    color: var(--text-muted);
    padding: 0.8rem 1rem;
    border-radius: 10px;
    display: flex; align-items: center; gap: 0.8rem;
    font-weight: 600; font-size: 0.9rem;
    transition: 0.2s;
}
.side-menu a .icon { font-size: 1.1rem; filter: grayscale(1); opacity: 0.7;}
.side-menu a:hover { background: #f1f5f9; color: var(--text-dark); }
.side-menu a.active {
    background: var(--light-blue);
    color: var(--primary-blue);
}
.side-menu a.active .icon { filter: grayscale(0); opacity: 1;}

.sidebar-bottom a {
    text-decoration: none; color: var(--text-muted);
    display: flex; align-items: center; gap: 0.8rem;
    font-weight: 600; font-size: 0.9rem;
    padding: 0.8rem 1rem; border-radius: 10px;
}

/* Main Dashboard Area */
.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
}

/* Topbar */
.topbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.5rem 2rem;
    background: var(--card-bg);
    border-bottom: 1px solid var(--border-color);
}
.search-bar {
    display: flex; align-items: center; gap: 0.5rem;
    background: #f1f5f9; padding: 0.6rem 1rem; border-radius: 10px;
    width: 300px;
}
.search-bar input { border: none; background: transparent; outline: none; font-family: inherit; font-size: 0.9rem; width: 100%;}
.topbar-right { display: flex; align-items: center; gap: 1.5rem; }
.notif-btn { background: transparent; border: none; position: relative; font-size: 1.2rem; cursor: pointer;}
.notif-btn .badge { position: absolute; top: 0; right: 0; width: 8px; height: 8px; background: #ef4444; border-radius: 50%; border: 2px solid white;}
.user-profile { display: flex; align-items: center; gap: 0.8rem; }
.user-profile img { width: 40px; height: 40px; border-radius: 50%; }
.user-info { display: flex; flex-direction: column; }
.user-info b { font-size: 0.9rem; }
.user-info span { font-size: 0.75rem; color: var(--text-muted); }

/* Dashboard Grid */
.dashboard-grid {
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    overflow-y: auto;
}

.card {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem;}
.card-header h4 { font-size: 1rem; font-weight: 700; color: var(--text-dark);}

/* Stat Cards */
.stat-card { display: flex; align-items: flex-start; gap: 1rem; }
.card-icon { width: 50px; height: 50px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0;}
.card-info { display: flex; flex-direction: column; gap: 0.3rem;}
.card-info span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600;}
.card-info h3 { font-family: 'Outfit', sans-serif; font-size: 1.6rem; font-weight: 700; }
.trend { font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.5rem; border-radius: 20px; display: inline-block; width: max-content;}
.trend.up { background: #dcfce7; color: #166534; }
.trend.neutral { background: #f1f5f9; color: #475569; }

/* Big Chart Card */
.chart-card { grid-column: span 2; }
.filter-select { padding: 0.4rem; border-radius: 6px; border: 1px solid var(--border-color); font-family: inherit; font-size: 0.8rem; outline: none; background: #f8fafc; color: var(--text-dark);}
.chart-area { margin-top: 1rem; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 0.5rem; padding: 0 10px; font-size: 0.75rem; color: var(--text-muted); font-weight: 600;}

/* Rent Tracking */
.tracking-card { grid-column: span 1; display: flex; flex-direction: column;}
.circular-progress { position: relative; width: 180px; height: 180px; margin: 0 auto; }
.circle-svg { transform: rotate(-90deg); width: 100%; height: 100%; }
.circle-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; }
.circle-inner h3 { font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 700; color: var(--primary-blue);}
.circle-inner span { font-size: 0.8rem; color: var(--text-muted); font-weight: 600;}
.legend { display: flex; justify-content: space-around; margin-top: 1.5rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted);}
.l-item { display: flex; align-items: center; gap: 0.4rem; }

/* Tenant List */
.tenant-card { grid-column: span 3; }
.view-all { font-size: 0.85rem; color: var(--primary-blue); font-weight: 600; text-decoration: none; }
.table-container { overflow-x: auto; }
.tenant-table { width: 100%; border-collapse: collapse; }
.tenant-table th { text-align: left; padding: 1rem; font-size: 0.8rem; color: var(--text-muted); border-bottom: 1px solid var(--border-color); font-weight: 600;}
.tenant-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); font-size: 0.9rem; font-weight: 500;}
.tenant-table tr:last-child td { border-bottom: none; }
.t-name { display: flex; align-items: center; gap: 0.8rem; font-weight: 600; color: var(--text-dark);}
.t-name img { width: 32px; height: 32px; border-radius: 50%; }
.status-badge { padding: 0.3rem 0.8rem; border-radius: 20px; font-size: 0.75rem; font-weight: 600;}
.status-badge.paid { background: #dcfce7; color: #16a34a; }
.status-badge.pending { background: #fef9c3; color: #ca8a04; }
