/* ORFE Design System Tokens */
:root {
  --color-brand-70: #e77500;
  --color-action-70: #e77500;
  --color-neutral-100: #121212;
  --color-neutral-90: #212121;
  --color-neutral-85: #333333;
  --color-neutral-40: #a0a0a0;
  --color-neutral-20: #D9D9D9;
  --color-neutral-10: #eeeeee;
  --color-neutral-5: #f7f7f7;
  --color-white: #ffffff;
  --color-black: #000000;
  
  --font-family-base: "sofia-pro", sans-serif;
  --max-width: 1200px;
}


/* Global Styles */
body {
  font-family: var(--font-family-base);
  color: var(--color-neutral-85);
  background-color: var(--color-neutral-5);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a {
  color: var(--color-brand-70);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-neutral-100);
}

/* Layout */
.container {
  background: var(--color-white);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  border-top: 4px solid var(--color-brand-70);
}

.dept-logo {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.site-footer {
  text-align: center;
  font-size: 12px;
  color: var(--color-neutral-40);
  margin-top: 18px;
  margin-bottom: 20px;
}

.fine-print {
  font-size: 0.75rem;
  color: var(--color-neutral-40);
  margin-top: 2rem;
  line-height: 1.4;
  border-top: 1px solid var(--color-neutral-10);
  padding-top: 1rem;
}

/* Forms */
.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--color-neutral-5);
  padding: 2.5rem;
  border-radius: 4px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}

form {
  margin-top: 1em;
}

h1 {
  font-size: 2.5rem;
  color: var(--color-neutral-100);
  border-bottom: 3px solid var(--color-brand-70);
  display: table;
  margin: 0 auto;
}

.subtitle {
  color: var(--color-neutral-40);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"] {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-neutral-20);
  border-radius: 2px;
  font-size: 1rem;
  box-sizing: border-box;
  font-family: inherit;
}

input:focus {
  outline: none;
  border-color: var(--color-brand-70);
  box-shadow: 0 0 0 2px rgba(231, 117, 0, 0.1);
}

.btn {
  display: inline-block;
  background-color: var(--color-brand-70);
  color: var(--color-white);
  padding: 0.8rem 2rem;
  border: none;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: inherit;
  font-size: 0.9rem;
}

.btn:hover {
  background-color: var(--color-neutral-100);
  color: var(--color-white);
}

/* Tables (for Podium) */
.table-container {
  margin-top: 2rem;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

th {
  background-color: var(--color-neutral-10);
  text-align: left;
  padding: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  border-bottom: 2px solid var(--color-neutral-20);
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--color-neutral-10);
}

tr:hover td {
  background-color: var(--color-neutral-5);
}

/* Status Badges */
.badge {
  padding: 0.25rem 0.5rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-pending { background: #fff8e1; color: #f57f17; }
.badge-clean { background: #e8f5e9; color: #2e7d32; }
.badge-infected { background: #ffebee; color: #c62828; }

/* Messages */
.message {
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 2px;
  border-left: 4px solid transparent;
  display: none;
}

.message.show {
  display: block;
}

.message.success {
  background: #e8f5e9;
  border-color: #2e7d32;
  color: #1b5e20;
}

.message.error {
  background: #ffebee;
  border-color: #c62828;
  color: #b71c1c;
}
