/* Mobile Phone Clinic UK - Machine-Readable Technical Layout */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --text-main: #0f172a;
    --text-muted: #475569;
    --border: #cbd5e1;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --success: #16a34a;
    --tag-bg: #eff6ff;
    --tag-text: #1d4ed8;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-main);
    background-color: #f1f5f9;
    line-height: 1.5;
    font-size: 14px;
}
.gov-compliance-bar {
    background-color: #0f172a;
    color: #f8fafc;
    padding: 8px 24px;
    font-size: 12px;
    border-bottom: 2px solid #2563eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.gov-compliance-bar span { font-weight: 500; }
.gov-badge {
    background: #15803d;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}
header {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.brand-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.brand-sub {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: normal;
    display: block;
}
nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
}
nav a {
    color: var(--text-main);
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
}
nav a:hover, nav a.active {
    background: var(--bg-light);
    border-color: var(--border);
    color: var(--primary);
}
.container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 16px;
}
.card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}
.card-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
    margin-bottom: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.stat-box {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 16px;
    border-left: 4px solid var(--primary);
}
.stat-label { font-size: 12px; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.stat-val { font-size: 22px; font-weight: 800; color: var(--text-main); margin-top: 4px; }
.stat-desc { font-size: 11px; color: var(--success); font-weight: 600; margin-top: 4px; }

table.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}
table.data-table th {
    background: #f8fafc;
    color: var(--text-muted);
    font-weight: 700;
    padding: 10px 12px;
    border-bottom: 2px solid var(--border);
    text-transform: uppercase;
    font-size: 11px;
}
table.data-table td {
    padding: 12px;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
}
table.data-table tr:hover {
    background: #f8fafc;
}
.badge-clean {
    background: #dcfce7;
    color: #15803d;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.badge-blue {
    background: #dbeafe;
    color: #1d4ed8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 24px 16px;
    font-size: 12px;
    border-top: 1px solid #1e293b;
    margin-top: 40px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
