:root {
  --navy: #23435a;
  --navy-deep: #1a3346;
  --ink: #1c2630;
  --muted: #5b6874;
  --line: #e3e8ec;
  --bg: #f6f8f9;
  --white: #ffffff;
  --accent: #c9a96e;
  --error: #b3413a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Inter', Arial, sans-serif; color: var(--ink); background: var(--navy); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; text-decoration: none; }

.top { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; max-width: 1120px; width: 100%; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--white); }
.logo svg { width: 34px; height: 34px; }
.logo-text { font-family: 'Bebas Neue', sans-serif; line-height: 0.9; }
.logo-text .big { font-size: 30px; letter-spacing: 2px; display: block; }
.logo-text .small { font-size: 13px; letter-spacing: 2.5px; display: block; }
.back { color: #c9d6df; font-size: 14px; font-weight: 500; }
.back:hover { color: var(--white); }

.center { flex: 1; display: flex; align-items: center; justify-content: center; padding: 24px 16px 64px; }
.card { background: var(--white); border-radius: 10px; width: 100%; max-width: 420px; padding: 44px 40px 36px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.eyebrow { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.card h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 40px; letter-spacing: 1px; color: var(--navy); line-height: 1; }
.card .sub { color: var(--muted); font-size: 15px; margin: 10px 0 28px; }

label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input[type=text], input[type=password] { width: 100%; padding: 12px 14px; border: 1px solid #cfd8df; border-radius: 6px; font: inherit; font-size: 15px; color: var(--ink); background: var(--white); margin-bottom: 18px; }
input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(35,67,90,0.15); }

.btn { display: inline-block; padding: 13px 24px; border-radius: 6px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--accent); color: var(--navy-deep); width: 100%; }
.btn-primary:hover { background: #d8bb84; }
.btn-outline { border: 1px solid var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }

.error { background: #fbeceb; color: var(--error); border: 1px solid #f1c9c6; border-radius: 6px; padding: 10px 14px; font-size: 14px; margin-bottom: 18px; }
.note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); text-align: center; }
.note a { color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--accent); }
.note a:hover { color: var(--accent); }

/* Trade area */
.panel { background: var(--white); border-radius: 10px; width: 100%; max-width: 760px; padding: 40px; box-shadow: 0 24px 60px rgba(0,0,0,0.25); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.panel h1 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; font-size: 40px; letter-spacing: 1px; color: var(--navy); line-height: 1; }
.panel .sub { color: var(--muted); font-size: 15px; margin-top: 8px; }
.files { list-style: none; border-top: 1px solid var(--line); }
.files li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.files .name { font-weight: 600; color: var(--navy); word-break: break-word; }
.files .meta { font-size: 13px; color: var(--muted); }
.files a.dl { font-size: 14px; font-weight: 600; color: var(--navy); border: 1px solid var(--navy); padding: 7px 14px; border-radius: 6px; white-space: nowrap; }
.files a.dl:hover { background: var(--navy); color: var(--white); }
.empty { color: var(--muted); padding: 20px 0; border-top: 1px solid var(--line); }

footer { color: #8fa5b5; font-size: 13px; text-align: center; padding: 20px 16px; }

@media (max-width: 480px) {
  .card, .panel { padding: 32px 22px 28px; }
  .logo-text .big { font-size: 24px; }
  .logo-text .small { font-size: 10px; }
  .top { padding: 18px 16px; }
  .back { font-size: 13px; }
}
