* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    min-height: 100vh;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
    background-image: url("/static/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Top bar */
.top-bar {
    height: 72px;
    background: white;
    display: flex;
    align-items: center;
    padding-left: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.top-logo {
    height: 44px;
}

/* Center layout */
.wrapper {
    height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.card {
    background: white;
    width: 520px;
    padding: 56px 64px;
    border-radius: 32px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.logo {
    width: 260px;
    margin-bottom: 24px;
}

.title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 32px;
    color: #19577a;
}

.field-group {
    text-align: left;
    margin-bottom: 18px;
}

label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #19577a;
}

input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid #19577a;
    font-size: 14px;
}

input:focus {
    outline: none;
    border-color: #0f3e56;
}

.btn {
    margin-top: 24px;
    background-color: #19577a;
    color: white;
    padding: 14px 32px;
    border-radius: 999px;
    border: none;
    font-weight: 800;
    cursor: pointer;
}

.btn:hover {
    opacity: 0.9;
}

/* Flash messages */
.flash-container {
    margin-bottom: 20px;
}

.flash {
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
}

.flash.error {
    background: #ffd6d6;
    color: #7a0000;
}

.flash.success {
    background: #d6ffe0;
    color: #0c5a1a;
}
