/* === Login Page (CAISE style) === */
:root {
    --blue-primary: #004A99;
    --blue-light: #3B7DDD;
    --green-accent: #3BB273;
    --background-light: #f8f9fb;
    --text-dark: #222;
}

html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: rgba(0,0,0,.87);
    margin: 0;
    background: #fafafa;
    padding: 2rem;
}

.login-container {
    max-width: 450px;
    margin: 60px auto;
    padding: 2rem;
    background: white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-logo {
    height: 100px;
    width: auto;
    margin-bottom: 1rem;
}

.login-title {
    text-align: center;
    color: var(--blue-primary);
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.4;
}

.login-container h2 {
    text-align: center;
    color: var(--blue-primary);
    margin: 0 0 1.5rem 0;
    font-size: 1.5em;
    font-weight: 600;
}

.login-container form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.login-container input {
    width: 100%;
    padding: 0.75em;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .4em;
    font-size: 1em;
    font-family: inherit;
}

.login-container input:focus {
    outline: none;
    border-color: var(--blue-primary);
    box-shadow: 0 0 0 2px rgba(0, 74, 153, 0.1);
}

.login-container button {
    background-color: var(--blue-primary);
    border: none;
    color: #fff;
    padding: .75em 1.2em;
    font-size: 1em;
    border-radius: .4em;
    cursor: pointer;
    margin-top: .5em;
    width: 100%;
}

.login-container button:hover {
    background-color: var(--blue-light);
}

.login-container p {
    color: #d32f2f;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9em;
    background: rgba(211, 47, 47, 0.1);
    padding: 0.5em;
    border-radius: .4em;
}

.demo-info {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,.1);
    text-align: center;
}

.demo-info p {
    color: rgba(0,0,0,.6);
    font-size: 0.85em;
    margin: 0;
    background: none;
    padding: 0;
    font-style: italic;
}

/* ===== Header (CAISE style) ===== */
.site-header {
    background: linear-gradient(90deg, #EEEEEE 0%, #DDDDDD 100%);
    color: var(--blue-primary);
    padding: 1em 1.5em;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 1em auto 2em auto;
    width: 100%;
    max-width: 1200px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    gap: 1em;
    width: 100%;
}

.logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
}

.header-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-text h1 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
}

.header-text p {
    margin: 0.25em 0 0;
    font-size: 0.9em;
}

.header-text a {
    color: #3BB273;
    text-decoration: none;
    font-weight: bold;
}

.header-text a:hover {
    text-decoration: underline;
}