:root { --blue: #1c376f; --lightBlue: #1c8bf1; --mediumBlue: #0c6fcb; --paleBlue: #d5e4f1; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Segoe UI", sans-serif; color: #1a1a1a; background: #f8f8f8; }
button, input, select, textarea { font: inherit; }
button, .button { border: 0; border-radius: 6px; background: var(--lightBlue); color: white; padding: 12px 20px; cursor: pointer; text-decoration: none; }
button:hover, .button:hover { background: var(--mediumBlue); }
button:disabled { opacity: .6; cursor: wait; }
button.link { background: none; color: var(--lightBlue); padding: 0; }
button.danger, .error { color: #b42318; }
label { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
input, select, textarea { border: 1px solid #bdbdbd; border-radius: 6px; padding: 12px; width: 100%; }
h1 { font-size: 24px; }
.center { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.login-background { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: center / cover url("../images/login-bg.jpg"); }
.login-card { width: min(440px, 95%); padding: 40px; background: white; border-radius: 14px; box-shadow: 0 2px 24px #0005; }
.login-card form { display: flex; flex-direction: column; gap: 4px; }
.login-card .link { display: block; margin: 18px auto 0; }
.brand-header { text-align: center; border-bottom: 1px solid #e4e4e4; padding-bottom: 30px; }
.brand { max-width: 100%; max-height: 150px; object-fit: contain; }
.brand-name { color: var(--blue); font-size: 22px; font-weight: 600; text-align: center; }
.drawer-content { min-height: 100%; padding: 24px 16px; display: flex; flex-direction: column; gap: 32px; }
.sidebar-footer { margin-top: auto; font-size: 12px; color: #828282; }
.content { padding: 24px 40px; min-width: 0; }
.panel { background: white; border-radius: 14px; padding: 24px 32px; box-shadow: 0 1px 8px #0002; margin: 16px 0; }
.order-tabs { display: flex; flex-wrap: wrap; gap: 4px; border-bottom: 1px solid #e4e4e4; margin: 0 0 24px; }
.order-tab { background: none; color: var(--blue); border-radius: 0; border-bottom: 3px solid transparent; }
.order-tab:hover { background: var(--paleBlue); }
.order-tab.active { border-bottom-color: var(--lightBlue); font-weight: 600; }
.order-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.order-field-first { grid-column: 1; }
.order-field-wide { grid-column: 1 / -1; }
.line-actions { display: inline-flex; gap: 8px; }
.line-action { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 8px; background: transparent; color: var(--blue); }
.line-action:hover { background: var(--paleBlue); }
.line-action-delete { color: #b42318; }
.line-action-delete:hover { background: #fee4e2; }
.line-action svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.orders-table-container { overflow-x: auto; }
.orders-table { border-collapse: separate; border-spacing: 0 10px; }
.orders-table th { border: 0; white-space: nowrap; text-transform: uppercase; }
.orders-table td { background: white; border: 0; padding: 24px 12px; }
.orders-table td:first-child { border-radius: 8px 0 0 8px; padding-left: 24px; }
.orders-table td:last-child { border-radius: 0 8px 8px 0; }
.row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.row > .grow { flex: 1; }
table { width: 100%; border-collapse: collapse; }
td, th { text-align: left; padding: 12px; border-bottom: 1px solid #e4e4e4; }
a { color: var(--blue); }
@media (max-width: 750px) { .content { padding: 16px; } .order-fields { grid-template-columns: minmax(0, 1fr); } .order-field-wide { grid-column: 1; } }
#blazor-error-ui { display: none; position: fixed; bottom: 0; width: 100%; background: #fff3cd; padding: 12px; }
