@import url("variables/global-qhqcgov.css");

* {
    box-sizing: border-box;
    font-family: var(--font-family);
    color: var(--text-color);
}

html, body {
    height: 100vh;
    margin: 0;
    padding: 0;
}

body {
    padding: 0;
    line-height: 1.6;
    background-color: #f9f9f9;
    color: #333;
}

h1, h2, h3 {
    margin: 1.5rem 0 0.5rem;
    color: #222;
}

.hidden {
    display: none;
}

.container {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-color: var(--bg-color-light);
}

.site-header {
    padding: var(--padding);
    display: flex;
    background-color: #F5ECDF;
    align-items: center;
}

.site-header a {
    text-decoration: none;
    color: var(--text-color);
}

.site-header img {
    max-height: 50px;
    max-width: 50px;
    border-radius: var(--border-radius);
    vertical-align: bottom;
}

.site-header h1 {
    margin: 0;
}

.site-menu {
    display: flex;
    margin-left: auto;
    gap: var(--padding);
}

.site-menu a {
    text-decoration: none;
    font-weight: bold;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .site-header h1 {
        display: none;
    }
}

.error-message, .success-message {
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.95rem;
}

.error-message {
    background-color: #ffe5e5;
    border: 1px solid #ff9e9e;
    color: #c00;
}

.success-message {
    background-color: #e6ffea;
    border: 1px solid #9cd8a1;
    color: #217821;
}

@keyframes appear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}