/* === Fonts === */
@font-face {
    font-family: "HealTheWebB";
    src: url("/static/fonts/HealTheWebB-Regular.otf") format("opentype");
}

@font-face {
    font-family: "HealTheWebA";
    src: url("/static/fonts/HealTheWebA-Regular.otf") format("opentype");
}

/* === Base Typography & Layout === */
body {
    font-family: 'HealTheWebA', sans-serif;
    background-color: #F5F5F7;
    color: #1C1C1E;
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'HealTheWebB', sans-serif;
    color: #2C3E50;
    margin: 0.5em 0;
    text-align: center;
}

header {
    width: 100%;
    background-color: #E9EEF5;
    color: #1C1C1E;
    padding: 1.5em 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2em;
    color: #2C3E50;
}

header p {
    font-size: 1em;
    color: #cd0d80;
    margin: 0.2em 0 0;
}

.logo-link img {
    height: 70px;
    margin-bottom: 0.5em;
    cursor: pointer;
}

nav {
    margin-top: 0.5em;
}

nav a {
    color: #2C3E50;
    text-decoration: none;
    margin: 0 0.5em;
    font-weight: 600;
}

nav a:hover {
    color: #FFCC00;
}

main {
    flex: 1;
    width: 100%;
}

.container {
    max-width: 900px;
    width: 90%;
    margin: 3em auto;
    display: flex;
    flex-direction: column;
    gap: 1.5em;
    background: #FFFFFF;
    padding: 2em;
    border-radius: 12px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.task-card {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 1em;
    margin-bottom: 1em;
    background: #fffbe6;
    transition: background 0.2s;
}

.task-card.approved {
    background: #e6ffe6;
}

.task-card.printed {
    background: #e6e6e6;
}

.actions {
    margin-top: 0.5em;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: 1em;
}

form input[type="text"] {
    width: 100%;
    padding: 0.6em;
    border: 1px solid #D1D1D6;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    background-color: #FAFAFA;
    color: #1C1C1E;
}

button {
    background-color: #cd0d80;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    padding: 1.2em 1em;
    font-size: 1.2em;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background-color: #FFCC00;
    color: #1C1C1E;
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
        margin: 2em auto;
        padding: 1.5em;
    }

    header h1 {
        font-size: 1.7em;
    }

    .logo-link img {
        height: 60px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.5em;
    }

    .logo-link img {
        height: 55px;
    }

    .container {
        padding: 1em;
    }
}