/* ============================================================
   Silvature Design System
   Author: Silvature Consulting
   Version: 1.0
   ============================================================ */

/* ---------- ROOT VARIABLES ---------- */
:root {
  --primary: #c7b299;
  --accent: #5b89b2;
  --orange: #cc7a00;
  --dark: #16191d;
  --light: #f8f9fb;
  --font-sans: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  --bg: var(--light);
  --text: var(--dark);
}

body.dark {
  --bg: #121416;
  --text: #f1f2f4;
  --primary: #d7c2a9;
  --accent: #8bb1d3;
  --orange: #ff8c1a;
}

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

/* ---------- BASE ---------- */


body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  margin: 0 auto;
  padding: 20px;
  /*max-width: 900px;*/
  color: #333;
  background-color: #f9f9f9;

}


a {
  text-decoration: none;
  color: inherit;
}

/* ---------- HEADER ---------- */
header {
  background: linear-gradient(90deg, var(--dark), #2a3139, var(--dark));
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
  color: var(--light);
  padding: 1.2rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.6s ease;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--primary);
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

nav a {
  color: var(--orange);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

.superscript-mark {
  font-size: 0.4em;
  /* much smaller */
  color: white;
  /* ivory white color */
  vertical-align: super;
  /* keep as superscript */
}

.circled-mark {
  font-size: 0.3em;
  /* smaller size */
  color: ivory;
  /* ivory white text */
  background-color: transparent;
  /* or a subtle background */
  border: 1px solid ivory;
  /* circle border color */
  border-radius: 50%;
  /* makes it round */
  padding: 2px 2px;
  /* spacing inside circle */
  vertical-align: super;
  /* keep superscript position */
  display: inline-block;
  /* needed for padding and circle */
  line-height: 1;
  /* tighten height */
}

.login-btn {
  border: 1px solid var(--orange);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  color: var(--orange);
  background: transparent;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.login-btn:hover {
  background: var(--orange);
  color: var(--dark);
}



/*  EOI SPECIFIC STYLES */


h1,
h2,
h3 {
  color: #0056b3;
  border-bottom: 2px solid #0056b3;
  padding-bottom: 10px;
}

/* EOI Layout */
.eoi-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

.eoi-title {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.eoi-title span {
  display: block;
  font-size: 1.1rem;
  font-weight: 400;
  color: #6b7280;
}

/* Sections */
.eoi-section {
  margin-bottom: 3rem;
}

.eoi-section h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.eoi-section p {
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

/* Notes */
.eoi-note {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Tables */
.eoi-table-wrapper {
  overflow-x: auto;
}

.eoi-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.eoi-table th,
.eoi-table td {
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.75rem;
  vertical-align: top;
}

.eoi-table th {
  background: rgba(192, 108, 43, 0.08);
  text-align: left;
}

/* Divider */
.eoi-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  margin: 3rem 0;
}

/* Dark Mode */
body.dark .eoi-title span,
body.dark .eoi-note {
  color: #9ca3af;
}

body.dark .eoi-table th,
body.dark .eoi-table td {
  border-color: rgba(255, 255, 255, 0.15);
}

body.dark .eoi-table th {
  background: rgba(242, 167, 102, 0.15);
}

body.dark .eoi-divider {
  background: rgba(255, 255, 255, 0.4);
}

.submission-info {
  background-color: #e9ecef;
  padding: 5px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.form-table td:first-child {
  width: 30%;
  font-weight: bold;
  background-color: #f9f9f9;
}

.form-table input,
.form-table textarea,
.form-table select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.container {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

th,
td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background-color: #f2f2f2;
  font-weight: bold;
}

.form-table td:first-child {
  width: 30%;
  font-weight: bold;
  background-color: #f9f9f9;
}

.form-table input,
.form-table textarea,
.form-table select {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

ul {
  padding-left: 20px;
}

li {
  margin-bottom: 5px;
}