body {
    font-family: 'Inter', sans-serif;
    background-color: #F9FAFB;
    color: #1a202c;
}
.gradient-text {
    background: linear-gradient(to right, #EF4444, #F97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.sidebar-button, .nav-button {
    width: 100%;
    text-align: center;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
    cursor: pointer;
}
.sidebar-button:hover, .nav-button:hover {
    background-color: #FEE2E2;
    color: #EF4444;
}
.sidebar-button.active, .nav-button.active {
    background-color: #FEE2E2;
    color: #EF4444;
    font-weight: 600;
}
.content-card {
    background-color: #FFFFFF;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.2s ease-in-out;
}
.content-card:hover {
    transform: translateY(-5px);
}
.content-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}
.content-card h3::before {
    margin-right: 0.5rem;
    font-size: 1.25rem;
}
#przewodnik-konsekwencje h3::before { content: '⚖️'; }
#przewodnik-podstawa-prawna h3::before { content: '📜'; }
#przewodnik-reakcja h3::before { content: '👨‍🏫'; }
#przewodnik-konsekwencje-rodzic h3::before { content: '👨‍👩‍👧'; }
#przewodnik-uwagi h3::before { content: '📝'; }
#wzory-inspiracja-card h3::before { content: '💡'; }
#wzory-wzor-card h3::before { content: '📄'; }

.flowchart-step {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    border-radius: 0.5rem;
    color: #1F2937;
    font-weight: 600;
    min-height: 80px;
}
.chart-container {
    position: relative;
    margin: auto;
    height: 40vh;
    max-height: 400px;
    width: 100%;
    max-width: 600px;
}
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F1F5F9; }
::-webkit-scrollbar-thumb { background: #94A3B8; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748B; }

html {
    scroll-behavior: smooth;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.modal-content {
    background-color: #FFFFFF;
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    max-width: 90%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    animation: fadeIn 0.3s ease-out;
    text-align: center;
}
.modal-close-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #EF4444;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
