/* --- 1. Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Noto+Serif+SC:wght@300;500;700&display=swap');

:root {
  /* --- 2. Color Palette (Reverse: 1999 Light Ver.) --- */
  --bg-base: #f7f7f5;          /* Base Background: Warm White */
  --bg-surface: rgba(255, 255, 255, 0.85); /* Card Background: Frosted */
  
  --color-primary: #2c3e50;    /* Primary Text/UI: Dark Iron/Blue */
  --color-primary-dark: #1a252f;
  
  --color-accent: #cba768;     /* Accent: Antique Brass/Gold */
  --color-accent-hover: #b39050;
  
  --color-line: #d1d5db;       /* Borders: Light Grey */
  --color-text-muted: #777;    /* Secondary Text */
  
  --success: #4a6741;          /* Forest Green */
  --danger: #b33a3a;           /* Brick Red */
  
  /* --- 3. Typography --- */
  --font-eng-title: 'Cinzel', serif;
  --font-serif: 'Playfair Display', 'Noto Serif SC', serif;
  --font-sans: system-ui, -apple-system, sans-serif; /* Fallback for inputs/small text */
  
  --radius-card: 0px; /* Sharp/Cut corners style */
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-serif);
  background-color: var(--bg-base);
  color: var(--color-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  
  /* Light Noise Texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
}

/* --- Global Background Decoration (To be added via JS or HTML in index) --- */
.bg-decoration {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
}

/* --- Layout --- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

section {
  width: 100%;
  background: var(--bg-surface);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-line);
  padding: 2.5rem;
  position: relative;
  /* Cut corners effect */
  clip-path: polygon(
    0 0, 100% 0, 
    100% calc(100% - 15px), calc(100% - 15px) 100%, 
    0 100%
  );
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

/* Top Decoration Line for Sections */
section::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 3px;
  background: var(--color-primary);
}

/* --- Header --- */
header {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid var(--color-line);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

header h1, header h2 {
  font-family: var(--font-eng-title);
  font-weight: 700;
  margin: 0;
  color: var(--color-primary);
  letter-spacing: 1px;
  font-size: 1.5rem;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-eng-title);
  color: var(--color-primary);
  margin-top: 0;
}

p {
  color: var(--color-text-muted);
}

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

a:hover {
  color: var(--color-accent);
}

/* --- Buttons (Progress Bar Style) --- */
.button, button {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary) !important;
  font-family: var(--font-eng-title);
  font-weight: bold;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  z-index: 1;
  min-width: 120px;
}

/* Progress Bar Layer */
.button::before, button::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 0%; height: 100%; 
  background: var(--color-primary);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1); 
  z-index: -1;
}

.button:hover, button:hover {
  color: #fff !important;
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.button:hover::before, button:hover::before {
  width: 100%;
}

.button:active, button:active {
  transform: translateY(1px);
}

/* Color Variants for Buttons */
/* Submit/Success Buttons -> Theme Primary (Dark Iron) or Muted Olive */
button[style*="#4caf50"], .button[style*="#4caf50"] { 
  border-color: var(--color-primary) !important;
  color: var(--color-primary) !important;
  /* Option: make it distinct by using thicker border or accent color */
  border-width: 2px !important; 
}
button[style*="#4caf50"]::before, .button[style*="#4caf50"]::before {
  background: var(--color-primary) !important;
}
/* Hover state for success buttons */
button[style*="#4caf50"]:hover, .button[style*="#4caf50"]:hover {
  color: #fff !important;
  background: transparent !important; /* Let pseudo-element handle bg */
}

/* Danger/Cancel Buttons -> Muted Brick Red */
button[style*="#ff5252"], .button[style*="#ff5252"], 
button[style*="#c62828"] {
  border-color: var(--danger) !important;
  color: var(--danger) !important;
}
button[style*="#ff5252"]::before, .button[style*="#ff5252"]::before,
button[style*="#c62828"]::before {
  background: var(--danger) !important;
}
button[style*="#ff5252"]:hover, .button[style*="#ff5252"]:hover,
button[style*="#c62828"]:hover {
  color: #fff !important;
}

/* Back/Secondary Buttons -> Light Grey Border */
button[style*="#607d8b"], .button[style*="#607d8b"] {
  border-color: var(--color-text-muted) !important;
  color: var(--color-text-muted) !important;
}
button[style*="#607d8b"]::before, .button[style*="#607d8b"]::before {
  background: var(--color-text-muted) !important;
}

/* --- Forms --- */
input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--color-line);
  font-family: var(--font-sans); /* Use sans-serif for input */
  font-size: 1rem;
  color: var(--color-primary);
  transition: all 0.3s;
  border-radius: 0; /* Sharp corners */
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(203, 167, 104, 0.1);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  font-family: var(--font-eng-title);
  font-size: 0.9rem;
}

/* --- Cards (Action & Info) --- */
.action-card, .role-card, .teacher-stat-card, .category-item {
  background: var(--bg-surface);
  border: 1px solid var(--color-line);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Add corner decoration */
.action-card::after, .role-card::after, .teacher-stat-card::after, .category-item::after {
  content: "";
  position: absolute;
  bottom: 5px; right: 5px;
  width: 10px; height: 10px;
  border-right: 2px solid var(--color-line);
  border-bottom: 2px solid var(--color-line);
}

.action-card:hover, .role-card:hover, .teacher-stat-card:hover, .category-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-color: var(--color-primary);
  cursor: pointer;
}

/* Category Selected State */
.category-item.selected {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px var(--color-accent); /* Double border effect */
}
.category-item.selected::after {
  border-color: var(--color-accent);
}

/* --- Tables --- */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-family: var(--font-sans);
}

th {
  background: rgba(0,0,0,0.03);
  padding: 1rem;
  text-align: left;
  font-family: var(--font-eng-title);
  border-bottom: 2px solid var(--color-line);
  color: var(--color-primary);
}

td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

/* --- Index Page Specifics --- */
.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-section {
  text-align: center;
  margin-bottom: 4rem;
  padding: 4rem 2rem;
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--color-line);
  /* Cut corners */
  clip-path: polygon(
    20px 0, 100% 0, 
    100% calc(100% - 20px), calc(100% - 20px) 100%, 
    0 100%, 0 20px
  );
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 8px; left: 8px; right: 8px; bottom: 8px;
  border: 1px solid rgba(44, 62, 80, 0.1);
  pointer-events: none;
  clip-path: polygon(
    20px 0, 100% 0, 
    100% calc(100% - 20px), calc(100% - 20px) 100%, 
    0 100%, 0 20px
  );
}

.deco-text {
  font-family: var(--font-eng-title);
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
  font-weight: 700;
}

.role-selection {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.role-card {
  width: 300px;
  min-height: 380px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%);
}

.role-card .icon, .action-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

/* Teacher Style Overrides */
.teacher-card {
  border-color: var(--color-line);
}
.teacher-card:hover {
  border-color: var(--color-accent);
}
.teacher-card .btn-gold {
  border-color: var(--color-accent);
  color: #8c7348 !important;
}
.teacher-card .btn-gold::before {
  background: var(--color-accent);
}

/* --- Utility --- */
.error {
  color: var(--danger);
  background: rgba(179, 58, 58, 0.1);
  padding: 1rem;
  border: 1px solid var(--danger);
  font-family: var(--font-sans);
}

/* Fix inline margin issues */
div[style*="margin-top"] {
  margin-top: 1.5rem !important;
}

/* Dashboard Grid */
.card-grid, .teacher-stats-grid, .student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

/* Quote */
.quote {
  font-style: italic;
  color: var(--color-text-muted);
  font-family: 'Times New Roman', serif;
  margin: 1.5rem 0;
  text-align: center;
}

/* --- Modals --- */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; 
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none; /* Hidden by default */
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-line);
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  clip-path: polygon(
    0 0, 100% 0, 
    100% calc(100% - 20px), calc(100% - 20px) 100%, 
    0 100%
  );
}

.modal-header {
  padding: 1.5rem;
  background: var(--bg-base);
  border-bottom: 1px solid var(--color-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  padding: 0;
}
.close-btn:hover { color: var(--danger); }

.modal-body {
  padding: 2rem;
  overflow-y: auto;
}

/* --- Status Badges --- */
.status-badge {
  display: inline-block;
  padding: 0.25em 0.6em;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid currentColor;
}

.status-success {
  color: var(--success);
  background: rgba(74, 103, 65, 0.1);
}

.status-danger {
  color: var(--danger);
  background: rgba(179, 58, 58, 0.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: #aaa;
  font-family: var(--font-eng-title);
  letter-spacing: 1px;
  font-size: 0.8rem;
  margin-top: auto;
}

@media (max-width: 768px) {
  header { padding: 1rem; }
  main { padding: 1rem; }
  .role-card { width: 100%; }
}

/* =========================================
   REVERSE: 1999 - ARCHIVE QUESTION UI
   ========================================= */

/* --- 1. Archive Card Container --- */
.question-container-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-height: 500px; /* Ensure space for transition */
  perspective: 1000px;
}

.archive-card {
  background: #fdfdfc; /* Slightly brighter paper */
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
  border-left: 2px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  /* Ensure it overlays correctly during transition */
  width: 100%;
  transform-origin: center center;
  margin-bottom: 2rem;
}

/* Secret Stripe Decoration */
.archive-card::before {
  content: "";
  position: absolute;
  top: 0; left: 20px; width: 100px; height: 4px; background: var(--danger);
}

/* Paper Clip Decoration */
.paper-clip {
  position: absolute;
  top: -15px; right: 60px;
  width: 12px; height: 40px;
  border: 3px solid #888;
  border-radius: 10px;
  z-index: 10;
  box-shadow: 2px 2px 2px rgba(0,0,0,0.2);
}

/* Meta Info (e.g. Question Type) */
.meta-info {
  font-family: monospace; /* Fallback if specific font not loaded */
  font-size: 0.8rem;
  color: var(--color-accent);
  letter-spacing: 1px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: bold;
}

/* Question Text */
.archive-card h3 {
  font-size: 1.3rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  font-weight: bold;
  color: var(--color-primary);
  font-family: var(--font-serif);
}

/* --- 2. Metal Frame Options --- */
.option-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.option-item {
  position: relative;
  display: flex;
  align-items: center;
  padding: 1rem 1.5rem;
  border: 1px solid var(--color-accent);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  user-select: none;
}

/* Double border effect via pseudo-element */
.option-item::before {
  content: "";
  position: absolute;
  top: 3px; left: 3px; right: 3px; bottom: 3px;
  border: 1px solid rgba(203, 167, 104, 0.3);
  pointer-events: none;
  transition: border-color 0.3s;
}

.option-key {
  font-family: var(--font-eng-title);
  font-size: 1.2rem;
  color: var(--color-accent);
  margin-right: 1rem;
  font-weight: bold;
}

.option-text {
  font-size: 1rem;
  color: var(--color-text-muted);
  flex: 1;
}

/* Hover State */
.option-item:hover {
  background: rgba(203, 167, 104, 0.05);
  transform: translateX(5px);
}
.option-item:hover::before {
  border-color: var(--color-accent);
}

/* Selected State */
.option-item.selected {
  background: #fff;
  border-color: var(--color-primary);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}
.option-item.selected .option-key {
  color: var(--color-primary);
}
.option-item.selected::before {
  border-color: var(--color-primary);
}

/* --- 3. Stamp Animation (Pass/Fail) --- */
.stamp-mark {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) scale(2);
  opacity: 0;
  font-family: var(--font-eng-title); /* Use Cinzel for stamp look */
  font-weight: bold;
  font-size: 1rem;
  text-transform: uppercase;
  border: 3px solid currentColor;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  pointer-events: none;
  mix-blend-mode: multiply;
  z-index: 5;
}

.stamp-mark.pass {
  color: var(--success);
  animation: stamp-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.stamp-mark.fail {
  color: var(--danger);
  animation: stamp-in 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes stamp-in {
  0% { opacity: 0; transform: translateY(-50%) scale(3) rotate(10deg); }
  100% { opacity: 0.8; transform: translateY(-50%) scale(1) rotate(-15deg); }
}

/* --- 4. Typewriter Input (Fill-in-Blank) --- */
.typewriter-input {
  width: 100%;
  border: none;
  border-bottom: 2px dashed var(--color-accent);
  background: rgba(203, 167, 104, 0.05);
  padding: 0.8rem 1rem;
  font-family: monospace; /* Typewriter font */
  font-size: 1.2rem;
  color: var(--color-primary);
  outline: none;
  transition: all 0.3s;
  margin-top: 1rem;
}

.typewriter-input:focus {
  border-bottom-style: solid;
  background: rgba(203, 167, 104, 0.1);
}

/* Correction Layer for Fill-in-Blank */
.correction-layer {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
}

.strike-line {
  position: absolute;
  left: 10px; top: 50%;
  height: 3px; width: 0;
  background: var(--danger);
  transform: rotate(-2deg);
  opacity: 0.8;
  transition: width 0.3s ease-out;
}

.teacher-note {
  position: absolute;
  right: 0; top: -30px;
  font-family: cursive; /* Handwriting fallback */
  color: var(--danger);
  font-size: 1.2rem;
  transform: rotate(-10deg);
  opacity: 0;
  transition: opacity 0.3s 0.3s;
}

.score-stamp {
  position: absolute;
  right: 20px; top: -40px;
  font-family: cursive;
  font-size: 2.5rem;
  color: var(--success);
  border: 3px solid currentColor;
  border-radius: 50%;
  width: 60px; height: 60px;
  display: flex; justify-content: center; align-items: center;
  transform: scale(2) rotate(20deg);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- 5. Transitions (Ink Dissolve) --- */
@keyframes ink-out {
  0% { filter: blur(0px) contrast(1); opacity: 1; transform: scale(1); }
  50% { filter: blur(4px) contrast(2); opacity: 0.5; }
  100% { filter: blur(10px) contrast(0); opacity: 0; transform: scale(1.05); }
}
@keyframes ink-in {
  0% { filter: blur(10px); opacity: 0; transform: scale(0.95); }
  100% { filter: blur(0px); opacity: 1; transform: scale(1); }
}

.anim-ink-out { animation: ink-out 0.6s ease-out forwards; }
.anim-ink-in { animation: ink-in 0.6s ease-out forwards; }

/* Glitch for Error */
@keyframes glitch-shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-5px) skewX(-5deg); }
  50% { transform: translateX(5px) skewX(5deg); }
  75% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
.glitch-active { animation: glitch-shake 0.3s; }

/* --- AI Analysis Card (The Note) --- */
.analysis-card {
  margin-top: -10px; /* Overlap slightly with the main card */
  margin-bottom: 2rem;
  width: 100%;
  max-width: 800px; /* Match question card width */
  background: #fdf6e3; /* Parchment color */
  border: 1px solid var(--color-accent);
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  clip-path: polygon(
    0 0, 100% 0, 
    100% calc(100% - 10px), calc(100% - 10px) 100%, 
    10px 100%, 0 calc(100% - 10px)
  );
  
  /* Initial state for animation */
  opacity: 0;
  transform: translateY(-20px);
  display: none; /* Hidden by default */
  transform-origin: top center;
  z-index: 0; /* Behind main card initially if needed, but here flow is fine */
}

/* Reveal Animation */
.analysis-card.visible {
  display: block;
  animation: note-reveal 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes note-reveal {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Analysis Header */
.analysis-header {
  font-family: var(--font-eng-title);
  color: var(--color-accent);
  font-size: 0.9rem;
  letter-spacing: 2px;
  border-bottom: 1px dashed var(--color-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}
.analysis-header::before {
  content: "✦";
  margin-right: 10px;
  font-size: 1.2rem;
}

/* Analysis Content (Typewriter Font) */
.analysis-content {
  font-family: monospace; /* Typewriter feel */
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-primary);
  white-space: pre-wrap; /* Preserve formatting */
}

/* AI Button Style */
.btn-ai {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
  opacity: 0; /* Hidden initially */
  pointer-events: none;
  transition: opacity 0.3s;
}
.btn-ai.show {
  opacity: 1;
  pointer-events: auto;
}
.btn-ai::before {
  background: var(--color-accent);
}

/* Typing Cursor */
.typing-cursor::after {
  content: "▋";
  display: inline-block;
  animation: cursor-blink 1s infinite;
  color: var(--color-accent);
  margin-left: 2px;
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* --- Fixes & Polish --- */

/* Ensure question images are contained and centered */
.question-image {
  width: 100%;
  text-align: center;
  margin: 1.5rem 0;
  overflow: hidden;
}

.question-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--color-line);
  padding: 5px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: inline-block;
}

/* --- Inline Cloze Input (Fill-in-the-blank) --- */
.inline-input {
  display: inline-block;
  width: 120px; /* Default width, can be auto if needed */
  min-width: 60px;
  border: none;
  border-bottom: 2px dashed var(--color-accent);
  background: rgba(203, 167, 104, 0.1); /* Slight tint */
  padding: 0 0.5rem;
  margin: 0 0.3rem;
  font-family: monospace;
  font-size: 1.1em; /* Match surrounding text size */
  color: var(--color-primary);
  text-align: center;
  outline: none;
  transition: all 0.3s;
  vertical-align: baseline;
}

.inline-input:focus {
  border-bottom-style: solid;
  background: rgba(203, 167, 104, 0.2);
}

/* Success/Error states for inline input */
.inline-input.correct {
  color: var(--success);
  border-bottom-color: var(--success);
}
.inline-input.wrong {
  color: #aaa;
  text-decoration: line-through;
  text-decoration-color: var(--danger);
  text-decoration-thickness: 2px;
}
