@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&amp;family=Playfair+Display:wght@700&amp;display=swap');

:root {
    --primary: #1e3a8a;
}

body {
    font-family: 'Inter', system_ui, sans-serif;
}

.heading-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

.toy-gradient {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
}

.status-pill {
    font-size: 0.75rem;
    padding: 0.125rem 0.625rem;
    border-radius: 9999px;
    font-weight: 600;
}

.family-row {
    transition: all 0.1s ease;
}

.family-row:hover {
    background-color: #f8fafc;
}

.modal {
    animation: modalPop 0.2s ease forwards;
}

.nav-active {
    background-color: #1e40af;
    color: white;
    border-radius: 0.375rem;
}

.child-card {
    transition: all 0.1s ease;
}

.stats-card {
    transition: transform 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .3s;
    border-radius: 9999px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .3s;
    border-radius: 9999px;
}

input:checked + .slider {
    background-color: #16a34a;
}

input:checked + .slider:before {
    transform: translateX(20px);
}

.section-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
    letter-spacing: -.025em;
}
