body {
    font-family: 'Noto Sans', sans-serif;
    line-height: 1.35;
    color: #1a1a1a;
    /* Background handled by Tailwind classes in index.html */
}

/* Resume Page Paper Style */
.resume-page {
    background: white;
    width: 100%;
    max-width: 210mm;
    min-height: 297mm;
    margin: 1.5rem auto;
    padding: 10mm 15mm;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    flex-shrink: 0; /* Prevent shrinking in flex container */
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .resume-page {
        padding: 5mm;
        margin: 1rem auto;
    }
}

@media print {
    body { background: white; margin: 0; height: auto; overflow: visible; display: block; }
    aside, #admin-view, .no-print, #sidebar-toggle { display: none !important; }
    main { overflow: visible; height: auto; }
    #resume-view { padding: 0; display: block; }
    .resume-page { margin: 0; box-shadow: none; width: 100%; max-width: none; min-height: auto; padding: 10mm; }
    /* Ensure links are black for print */
    a { color: black !important; text-decoration: none !important; }
}

h1 { letter-spacing: -0.05em; margin-bottom: 2px; }
h2 { 
    border-bottom: 1.5px solid #222;
    padding-bottom: 1px;
    margin-top: 10px;
    margin-bottom: 5px;
    text-transform: uppercase;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}

.item-header {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.9rem;
}

.item-sub {
    display: flex;
    justify-content: space-between;
    font-style: italic;
    font-size: 0.8rem;
    margin-bottom: 2px;
}

.resume-page ul { list-style-type: disc; margin-left: 1.1rem; }
.resume-page li { font-size: 0.82rem; margin-bottom: 1px; text-align: justify; }

.skills-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2px 10px;
    font-size: 0.82rem;
}

.bold { font-weight: 700; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Sidebar Profile Styles */
.profile-item {
    cursor: pointer;
    transition: background-color 0.2s;
}
.profile-item:hover, .profile-item.active {
    background-color: #374151;
}
.profile-avatar {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}