/**
 * [Senior Standard] Client Info Style v3.8
 * Features: Data Tables, Responsive Grid, Status Indicators
 */

.client-info-app {
    max-width: 1000px;
    margin: 0 auto;
}

.client-info-card {
    background: #fff;
    padding: 30px;
    border-top: 5px solid #3b82f6; /* Theme Blue */
}

.info-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 20px;
}
.info-header h2 { margin: 0 0 10px 0; color: #1e293b; font-size: 1.8rem; }
.info-header p { margin: 0; color: #64748b; }

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.info-section h3 {
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 8px;
}

.full-width {
    grid-column: 1 / -1;
}

/* Data Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}
.data-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #f1f5f9;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table .label { color: #64748b; width: 40%; }
.data-table .value { color: #1e293b; word-break: break-all; }

/* JS Diagnosis Grid */
.diagnosis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.diag-item {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.diag-item .d-label { font-size: 0.85rem; color: #64748b; }
.diag-item .d-value { font-weight: 700; color: #0f172a; font-size: 1rem; }
.diag-item.good .d-value { color: #10b981; }
.diag-item.warn .d-value { color: #f59e0b; }

.loading-spinner {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    padding: 20px;
}

.info-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94a3b8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .info-grid { grid-template-columns: 1fr; }
    .info-footer { flex-direction: column; gap: 5px; text-align: center; }
}
