/* ============================================================
   FischRadio — page-layout.css
   Shared page primitives (headers, surfaces, buttons, fields).
   ============================================================ */

.v2-page { display: flex; flex-direction: column; gap: 32px; min-width: 0; }

.v2-page-header { padding: 8px 0 28px; border-bottom: 1px solid rgba(255, 255, 255, 0.07); }
.v2-page-header h1 { margin: 0; color: var(--f-heading); font-size: 34px; font-weight: 700; line-height: 1.2; letter-spacing: -0.8px; }
.v2-page-header p { max-width: 600px; margin: 12px 0 0; color: var(--f-muted-2); font-size: 14px; line-height: 1.7; }

.v2-page h2 { margin: 0; font-size: 21px; font-weight: 700; line-height: 1.35; letter-spacing: -0.35px; }

.v2-surface { min-width: 0; padding: 26px; border: 1px solid rgba(255, 255, 255, 0.07); border-radius: var(--f-radius-lg); background: var(--f-surface); }

.v2-field { min-width: 0; }
.v2-field > label { display: block; margin-bottom: 8px; color: #dededb; font-size: 13px; font-weight: 500; line-height: 1.5; }
.v2-field input:not([type="checkbox"]):not([type="radio"]),
.v2-field select,
.v2-field textarea {
  display: block; width: 100%; min-width: 0; min-height: 44px;
  padding: 11px 13px;
  border: 1px solid var(--f-border-2); border-radius: var(--f-radius-md);
  background: var(--f-surface-2); color: var(--f-heading);
  font-size: 14px; line-height: 1.5; box-shadow: none;
  transition: border-color 180ms ease;
}
.v2-field input::placeholder, .v2-field textarea::placeholder { color: #8f8f8f; opacity: 1; }
.v2-field input:hover, .v2-field select:hover, .v2-field textarea:hover { border-color: rgba(255, 255, 255, 0.35); }
.v2-field input:focus, .v2-field select:focus, .v2-field textarea:focus { border-color: rgba(232, 227, 216, 0.5); }
.v2-field textarea { min-height: 136px; resize: vertical; }

.v2-page-empty {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  grid-column: 1 / -1; min-width: 0; padding: 28px;
  border-radius: 12px; background: var(--f-surface);
  color: #aaa; font-size: 14px; line-height: 1.6;
}
.v2-page-empty > iconify-icon { color: var(--f-accent); font-size: 24px; }

.v2-text-link { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: var(--f-accent); font-size: 13px; font-weight: 500; text-decoration: none; text-underline-offset: 4px; }
.v2-text-link:hover { text-decoration: underline; }

@media (max-width: 767px) {
  .v2-page { gap: 25px; }
  .v2-page-header { padding: 0 0 23px; }
  .v2-page-header h1 { font-size: 28px; letter-spacing: -0.6px; }
  .v2-page-header p { margin-top: 10px; font-size: 13px; }
  .v2-page h2 { font-size: 19px; }
  .v2-surface { padding: 20px; }
  .v2-field input:not([type="checkbox"]):not([type="radio"]), .v2-field textarea, .v2-field select { font-size: 16px; }
  .v2-page-empty { padding: 22px; }
}
