/* Frozen Reports - Dark mobile-first theme */

:root {
  --bg: #0f1117;
  --surface: #1a1d27;
  --surface-hover: #232738;
  --border: #2a2e3a;
  --text: #e1e4ed;
  --text-muted: #8b8fa3;
  --accent: #58a6ff;
  --error: #f85149;
  --radius: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  font-size: 15.5px;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
}

/* Header */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

header h1 {
  font-size: 1.3rem;
  font-weight: 600;
}

header h1 a {
  color: var(--text);
  text-decoration: none;
}

header nav {
  display: flex;
  gap: 16px;
}

header nav a {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Login */
.login-box {
  max-width: 340px;
  margin: 60px auto 0;
  text-align: center;
}

.login-box h1 {
  margin-bottom: 24px;
}

.login-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-box label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: left;
}

input[type="password"] {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
}

input[type="password"]:focus {
  border-color: var(--accent);
}

.error {
  color: var(--error);
  font-size: 0.9rem;
}

button {
  background: var(--accent);
  color: #0f1117;
  border: none;
  border-radius: var(--radius);
  padding: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}

button:hover {
  opacity: 0.9;
}

/* Report list */
.report-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.report-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  text-decoration: none;
  transition: background 0.15s;
}

.report-card:hover {
  background: var(--surface-hover);
}

.report-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-content {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.pagination a {
  color: var(--accent);
  text-decoration: none;
}

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

/* Single report */
.report-full {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.report-header time {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--border);
  color: var(--text);
  border-radius: 6px;
  transition: all 0.15s;
}

.copy-btn:hover {
  background: var(--accent);
  color: #0f1117;
}

.report-body {
  line-height: 1.7;
  white-space: pre-wrap;
  font-size: 0.95rem;
}

/* Empty state */
.empty {
  text-align: center;
  color: var(--text-muted);
  margin-top: 40px;
  font-size: 0.95rem;
}
