/*!*************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./src/app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,600;9..144,700&family=Great+Vibes&family=Jost:wght@300;400;500;600;700&display=swap");

:root {
  --ink: #2a0f1a;
  --ink-soft: #3d1524;
  --cream: #fbf6ee;
  --cream-dim: #f2e6d3;
  --red: #7d1f2c;
  --red-dark: #4b1220;
  --gold: #c8a04a;
  --text: #2a0f1a;
  --muted: #7d6b5c;
  --border: #e6d9bf;
  --panel: #fffdf8;
  --primary: var(--red);
  --ok: #2f7d4f;
  --warn: #9a5a12;
  --danger: #9f2436;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 4px;
  --shadow: 0 22px 55px -18px rgba(42, 15, 26, 0.34);
  --shadow-soft: 0 12px 32px rgba(42, 15, 26, 0.13);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  background:
    radial-gradient(900px 500px at 88% -10%, rgba(200, 160, 74, 0.16), transparent 58%),
    linear-gradient(180deg, rgba(251, 246, 238, 0.98), rgba(242, 230, 211, 0.74));
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 10px;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 2rem);
}

p {
  margin: 0 0 12px;
}

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 48px;
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: start center;
  padding-top: clamp(18px, 5vh, 42px);
}

.panel {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(18px, 3vw, 28px);
}

.login-panel {
  width: min(540px, 100%);
  padding: clamp(22px, 5vw, 42px);
}

.title-card {
  overflow: hidden;
  margin: 0 auto 22px;
  background: #fffdf8;
  border: 1px solid rgba(230, 217, 191, 0.92);
  box-shadow: 0 18px 42px rgba(42, 15, 26, 0.08);
}

.title-image {
  display: block;
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  background: #fffdf8;
}

.sharing-band {
  width: 100%;
  padding: 14px 16px 15px;
  background: linear-gradient(180deg, var(--red), var(--red-dark));
  color: #fffdf8;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 4vw, 2.15rem);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
}

.login-copy {
  margin: 0 auto 24px;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(200, 160, 74, 0.28);
}

.section-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}

.section-title h2,
.section-title p {
  margin: 0;
}

.section-title h2 {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  grid-gap: 18px;
  gap: 18px;
  align-items: start;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-gap: 14px;
  gap: 14px;
}

.form-field {
  display: grid;
  grid-gap: 7px;
  gap: 7px;
}

.form-field.wide {
  grid-column: span 2;
}

.form-field label,
form > label {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.form-actions {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.form-gap {
  height: 14px;
}

.row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 160, 74, 0.16);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius);
  padding: 11px 16px;
  background: var(--red);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.button.secondary {
  border: 1px solid rgba(200, 160, 74, 0.55);
  background: rgba(251, 246, 238, 0.86);
  color: var(--ink);
}

.button.compact {
  min-height: 36px;
  padding: 8px 11px;
  font-size: 0.88rem;
}

.button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.muted {
  color: var(--muted);
}

.small-text {
  font-size: 0.82rem;
}

.role-detected {
  color: var(--primary);
  font-weight: 700;
}

.progress {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(230, 217, 191, 0.82);
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

.warning-band {
  margin: 14px 0 0;
  padding: 13px 14px;
  border: 1px solid rgba(154, 90, 18, 0.24);
  border-left: 4px solid var(--gold);
  background: rgba(200, 160, 74, 0.12);
  color: var(--ink);
}

.upload-zone {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
  margin-top: 14px;
  padding: 16px;
  border: 1px dashed rgba(125, 31, 44, 0.38);
  border-radius: var(--radius);
  background: rgba(251, 246, 238, 0.72);
}

.selected-files {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.spaced {
  margin-top: 16px;
}

.table-wrap {
  width: 100%;
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.table th,
.table td {
  padding: 11px 10px;
  border-bottom: 1px solid rgba(230, 217, 191, 0.82);
  text-align: left;
  vertical-align: top;
}

.table th {
  color: var(--ink-soft);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 9px;
  border: 1px solid rgba(200, 160, 74, 0.55);
  border-radius: 999px;
  background: rgba(251, 246, 238, 0.9);
  color: var(--ink-soft);
  font-weight: 700;
}

.hidden-input {
  display: none;
}

code {
  color: var(--ink-soft);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  white-space: normal;
}

@media (max-width: 860px) {
  .topbar,
  .section-title {
    display: grid;
  }

  .grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.wide {
    grid-column: auto;
  }
}

@media (max-width: 520px) {
  .shell {
    width: min(100% - 22px, 1180px);
    padding-top: 18px;
  }

  .login-panel {
    padding: 18px;
  }

  .sharing-band {
    padding: 12px;
  }

  .button {
    width: 100%;
  }
}

