/**
 * PROPERTYTURKIYE.NET - Portal & Dashboard Styles (Admin, Developer, Broker)
 */

.dashboard-wrapper {
    display: flex;
    min-height: calc(100vh - 150px);
    background: #080f1d;
}

.dashboard-sidebar {
    width: 260px;
    background: #091326;
    border-right: 1px solid var(--pt-border);
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dashboard-sidebar-title {
    font-size: 0.72rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.6px;
    padding: 8px 12px 4px;
}

.dashboard-nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    color: #cbd5e1;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.dashboard-nav-item:hover,
.dashboard-nav-item.active {
    background: rgba(197, 160, 89, 0.12);
    color: #c5a059;
}

.dashboard-content {
    flex: 1;
    padding: 36px 40px;
    overflow-y: auto;
}

.dashboard-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 16px;
}

.stats-grid-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 36px;
}

.stat-card-dash {
    background: #0e1a2f;
    border: 1px solid var(--pt-border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    flex-direction: column;
}

.stat-card-dash.highlight-gold {
    border-color: rgba(197, 160, 89, 0.4);
    background: linear-gradient(135deg, #13243d 0%, #0e1a2f 100%);
}

.stat-card-dash.highlight-emerald {
    border-color: rgba(16, 185, 129, 0.4);
}

.stat-dash-label {
    font-size: 0.76rem;
    color: #94a3b8;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-dash-value {
    font-size: 2.1rem;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}

.stat-dash-sub {
    font-size: 0.78rem;
    color: #10b981;
    margin-top: 6px;
}

/* Pipeline Flow */
.pipeline-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 30px;
}

.pipeline-stage-col {
    min-width: 200px;
    background: #0a1426;
    border: 1px solid var(--pt-border);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pipeline-stage-header {
    font-size: 0.8rem;
    font-weight: 700;
    color: #c5a059;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
}

.pipeline-card-item {
    background: #0e1a2f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 12px;
    font-size: 0.82rem;
}

@media (max-width: 900px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
    .dashboard-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid var(--pt-border);
    }
    .dashboard-content {
        padding: 24px 16px;
    }
}
