@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

:root {
    --bg-slate-50: #f8fafc;
    --bg-white: #ffffff;
    --text-slate-900: #0f172a;
    --text-slate-500: #64748b;
    --text-slate-400: #94a3b8;
    --border-slate-100: #f1f5f9;
    --emerald-500: #10b981;
    --rose-600: #e11d48;
    --blue-600: #2563eb;
    --radius-3xl: 2rem;
    --radius-2xl: 1rem;
    --shadow-soft: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-slate-50);
    color: var(--text-slate-900);
    line-height: 1.6;
    font-weight: 400; /* Regular weight by default */
    -webkit-font-smoothing: antialiased;
}

/* Typography & Labels */
.label-small {
    font-size: 10px;
    font-weight: 500; /* Medium weight instead of Bold/Black */
    text-transform: uppercase;
    letter-spacing: 0.25em; /* Increased tracking for better readability on Roboto */
    color: var(--text-slate-400);
}

h1, h2, h3, h4 {
    font-weight: 500; /* Crisp Medium weight */
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Layout Containers */
.container-micro {
    max-width: 440px;
    margin: 0 auto;
    padding: 40px 20px;
}

.card {
    background: var(--bg-white);
    border: 1px solid var(--border-slate-100);
    border-radius: var(--radius-3xl);
    padding: 32px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.03);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000;
    color: #fff;
    padding: 16px 36px; /* Slightly more compact for Roboto */
    border-radius: 12px;
    font-weight: 500; /* Non-bold */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    width: 100%;
}

.btn-primary:hover {
    background: #222;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Badges */
.badge-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-green { background: #f0fdf4; color: #166534; border: 1px solid #dcfce7; }
.badge-yellow { background: #fffbeb; color: #92400e; border: 1px solid #fef3c7; }
.badge-red { background: #fff1f2; color: #9f1239; border: 1px solid #ffe4e6; }

/* --- Layout Utilities --- */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-10 { gap: 40px; }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.font-black, .font-bold { font-weight: 500; } /* Mapping all bolds to Medium (500) */
.font-medium { font-weight: 400; } /* Mapping Medium to Regular (400) */
.font-light { font-weight: 300; }

.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-10 { margin-bottom: 40px; }
.mb-12 { margin-bottom: 48px; }

.p-4 { padding: 16px; }
.p-6 { padding: 24px; }
.p-8 { padding: 32px; }
.p-10 { padding: 40px; }

.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-3xl { border-radius: 24px; }
.rounded-full { border-radius: 9999px; }

.text-xs { font-size: 11px; }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.text-7xl { font-size: 80px; letter-spacing: -0.05em; font-weight: 300; } /* Large numbers look great in thin weight */

.tracking-tight { letter-spacing: -0.02em; }
.tracking-widest { letter-spacing: 0.2em; }
.tracking-tighter { letter-spacing: -0.05em; }

@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3 { grid-template-columns: 1fr; }
}
