.logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logout-btn {
    background-color: rgba(255,255,255,0.2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: rgba(255,255,255,0.3);
}

.dashboard-container {
    display: flex;
    min-height: calc(100vh - 120px);
}

.sidebar {
    width: 250px;
    background-color: white;
    border-left: 1px solid var(--gray-200);
    padding: 1rem 0;
}

.sidebar nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar nav li a {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.3s;
    border-right: 3px solid transparent;
}

.sidebar nav li a:hover {
    background-color: var(--teal-100);
}

.sidebar nav li a.active {
    background-color: var(--teal-100);
    border-right: 3px solid var(--teal-500);
    color: var(--teal-500);
    font-weight: bold;
}

.main-content {
    flex: 1;
    padding: 2rem;
    background-color: var(--gray-100);
}

.dashboard-welcome {
    margin-bottom: 2rem;
}

.dashboard-welcome h2 {
    color: var(--teal-500);
    margin-bottom: 0.5rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.stat-card h3 {
    margin-top: 0;
    color: var(--gray-700);
    font-size: 1rem;
}

.stat-card p {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0.5rem 0 0;
    color: var(--teal-500);
}

.recent-activity {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.recent-activity h3 {
    margin-top: 0;
    color: var(--gray-700);
}

.children-list {
    margin-bottom: 2rem;
}

.child-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.child-info h4 {
    margin-top: 0;
    margin-bottom: 0.3rem;
}

.child-info p {
    margin: 0;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.child-status .status-good {
    color: #10b981;
    font-weight: bold;
}

.child-status .status-warning {
    color: #f59e0b;
    font-weight: bold;
}

.btn {
    background-color: var(--teal-500);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.quick-links {
    margin-bottom: 2rem;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.link-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    text-decoration: none;
    color: var(--gray-700);
    transition: transform 0.3s;
    display: block;
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.link-card .icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}

