﻿/* Container & Headers */
.dashboard-container {
    padding: 1.5rem;
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.page-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
}

.page-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 0.25rem;
}

.btn-action-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.btn-action-primary:hover {
    background-color: #1d4ed8;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.metric-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.metric-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.icon-blue { background-color: #eff6ff; color: #2563eb; }
.icon-green { background-color: #f0fdf4; color: #16a34a; }
.icon-amber { background-color: #fffbeb; color: #d97706; }
.icon-purple { background-color: #faf5ff; color: #9333ea; }

.metric-label {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
}

.metric-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0.25rem 0;
}

.metric-subtext {
    font-size: 0.75rem;
    font-weight: 500;
}

.text-success { color: #16a34a; }
.text-neutral { color: #94a3b8; }

/* Quick Actions */
.section-block {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.875rem;
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.action-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.action-card:hover {
    border-color: #2563eb;
    color: #2563eb;
    background-color: #f8fafc;
}

/* Panels & Tables */
.dashboard-columns {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .dashboard-columns {
        grid-template-columns: 1fr;
    }
}

.card-panel {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.panel-header h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.link-more {
    color: #2563eb;
    font-size: 0.8125rem;
    text-decoration: none;
    font-weight: 500;
}

.dashboard-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.875rem;
}

.dashboard-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.dashboard-table td {
    padding: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background-color: #dcfce7;
    color: #15803d;
}

.table-link {
    color: #2563eb;
    text-decoration: none;
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.activity-item .metric-icon {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.875rem;
}

.activity-text {
    margin: 0;
    font-size: 0.875rem;
    color: #334155;
}

.activity-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

.margin-bottom-lg {
    margin-bottom: 2rem;
}

.icon-inline {
    margin-right: 0.5rem;
    color: #2563eb;
}

.system-intro-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
}

.system-overview-img {
    max-width: 50%;
    height: auto;
    border-radius: 0.5rem;
    object-fit: cover;
}

/* Onboarding Steps */
.onboarding-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-details h5 {
    margin: 0 0 0.25rem 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
}

.step-details p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

