* { box-sizing: border-box; }
body {
    font-family: -apple-system, Segoe UI, Roboto, sans-serif;
    margin: 0;
    background: #f4f6f8;
    color: #1a1a1a;
}
.login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
.login-box {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    width: 320px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.login-box h1 { margin: 0 0 10px; text-align: center; color: #14487a; }
label { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
input, select { padding: 8px; border: 1px solid #ccc; border-radius: 6px; font-size: 14px; }
button {
    background: #14487a; color: #fff; border: none; padding: 10px;
    border-radius: 6px; cursor: pointer; font-size: 14px;
}
button:hover { background: #0e3760; }
.error { color: #b00020; font-size: 13px; }
.success { color: #1a7a2e; font-weight: bold; }
.topnav {
    background: #14487a; padding: 12px 24px; display: flex; align-items: center;
    gap: 20px; color: #fff;
}
.topnav a { color: #d8e6f5; text-decoration: none; }
.topnav a:hover { color: #fff; }
.brand { font-weight: bold; margin-right: 20px; }
.user-info { margin-left: auto; font-size: 13px; }
.container { padding: 24px; max-width: 1000px; margin: 0 auto; }
.quote-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-end; background: #fff; padding: 16px; border-radius: 8px; }
.quote-form label { min-width: 140px; }
.results-table { width: 100%; border-collapse: collapse; background: #fff; margin: 16px 0; }
.results-table th, .results-table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.results-table th { background: #eef2f6; }
.row-paid { opacity: 0.55; }
.note { font-size: 12px; color: #666; margin-top: 10px; }
.sale-summary { background: #fff; padding: 16px; border-radius: 8px; margin-bottom: 16px; }
