/* CSS Variables - GitHub Dark Theme Inspired */
:root {
  --bg: #0d1117;
  --surface: #161b22;
  --surface-raised: #1c2128;
  --border: #30363d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --green: #3fb950;
  --red: #f85149;
  --yellow: #d29922;
  --purple: #a371f7;
}

/* Light mode */
[data-theme="light"] {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-raised: #f6f8fa;
  --border: #d0d7de;
  --text: #1f2328;
  --text-muted: #656d76;
  --accent: #0969da;
  --green: #1a7f37;
}

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

/* Base */
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Container */
.container {
  width: 100%;
  max-width: 800px;
}

/* Terminal Window */
.terminal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

/* Terminal Header (Title Bar) */
.terminal-header {
  background: var(--surface-raised);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-close { background: var(--red); }
.btn-minimize { background: var(--yellow); }
.btn-maximize { background: var(--green); }

.terminal-title {
  flex: 1;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

/* Theme toggle button */
.theme-toggle {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  color: var(--text-muted);
}

.theme-toggle:hover {
  background: var(--surface);
  border-color: var(--accent);
  color: var(--accent);
}

/* Show sun in dark mode, moon in light mode */
.icon-sun { display: block; }
.icon-moon { display: none; }

[data-theme="light"] .icon-sun { display: none; }
[data-theme="light"] .icon-moon { display: block; }

/* Terminal Body */
.terminal-body {
  height: 500px;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

/* Messages */
.messages {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.message .prompt {
  color: var(--green);
  flex-shrink: 0;
  font-weight: 600;
}

.message.user .prompt {
  color: var(--accent);
}

.message.user .prompt::before {
  content: 'you: ';
  color: var(--text-muted);
  font-weight: 400;
}

.message .text {
  flex: 1;
  white-space: pre-wrap;
  word-break: break-word;
}

.message.ai .text {
  color: var(--text);
}

.message.user .text {
  color: var(--accent);
}

/* Typing indicator */
.typing {
  display: flex;
  gap: 4px;
  padding: 8px 0;
}

.typing span {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  animation: bounce 1.4s infinite ease-in-out;
}

.typing span:nth-child(1) { animation-delay: -0.32s; }
.typing span:nth-child(2) { animation-delay: -0.16s; }

@keyframes bounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

/* Typing status with text */
.typing-status {
  display: flex;
  align-items: center;
  color: var(--text-muted);
  font-style: italic;
}

.typing-status .status-text {
  color: var(--green);
}

.typing-status .status-dots {
  animation: dots-pulse 1.2s infinite;
}

@keyframes dots-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* Suggestions */
.suggestions {
  margin-top: 20px;
  padding: 16px;
  background: var(--surface-raised);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.suggestions-label {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.suggestion {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: center;
}

.suggestion:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.suggestion-highlight {
  background: linear-gradient(135deg, #7c3aed, #a855f7);
  color: white;
  border-color: transparent;
  grid-column: span 2;
}

.suggestion-highlight:hover {
  background: linear-gradient(135deg, #6d28d9, #9333ea);
  color: white;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.suggestions.hidden {
  display: none;
}

/* Follow-up suggestions after AI response */
.followups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
  padding-left: 20px;
}

.followup {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 16px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.followup:hover {
  border-style: solid;
  border-color: var(--green);
  color: var(--green);
}

/* Chat images */
.chat-image {
  margin: 12px 0;
  max-width: 100%;
}

.chat-image img {
  max-width: 100%;
  max-height: 300px;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.chat-image img:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.chat-image-caption {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
  font-style: italic;
}

/* Image modal */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  text-align: center;
}

.image-modal-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 8px;
}

.image-modal-content p {
  color: #fff;
  margin-top: 12px;
  font-size: 14px;
}

.image-modal-content button {
  margin-top: 16px;
  padding: 10px 24px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
}

/* Input Area */
.terminal-input {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--surface-raised);
  border-top: 1px solid var(--border);
}

.terminal-input .prompt {
  color: var(--green);
  font-weight: 600;
}

.terminal-input input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-family: inherit;
  font-size: 16px; /* 16px prevents iOS auto-zoom */
  outline: none;
}

.terminal-input input::placeholder {
  color: var(--text-muted);
}

.send-btn {
  background: var(--green);
  color: var(--bg);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.send-btn:hover {
  opacity: 0.9;
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* CV Display */
.cv-display {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  margin-top: 12px;
  font-size: 13px;
}

.cv-display h2 {
  color: var(--accent);
  font-size: 18px;
  margin-bottom: 4px;
}

.cv-display h3 {
  color: var(--green);
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cv-display .subtitle {
  color: var(--text-muted);
  margin-bottom: 12px;
}

.cv-display ul {
  list-style: none;
  padding-left: 0;
}

.cv-display li {
  color: var(--text);
  padding: 2px 0;
}

.cv-display li::before {
  content: '• ';
  color: var(--green);
}

.cv-display .skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cv-display .skill-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--text-muted);
}

.cv-download {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 20px;
  background: var(--accent);
  color: var(--bg);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  transition: opacity 0.15s ease;
}

.cv-download:hover {
  opacity: 0.9;
}

/* Footer */
.footer {
  text-align: center;
  padding: 16px;
  color: var(--text-muted);
  font-size: 12px;
}

.footer .separator {
  margin: 0 8px;
  opacity: 0.5;
}

/* Scrollbar */
.terminal-body::-webkit-scrollbar {
  width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
  background: var(--surface);
}

.terminal-body::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* Mobile */
@media (max-width: 600px) {
  body {
    padding: 10px;
    align-items: flex-start;
  }

  .terminal-body {
    height: calc(100vh - 200px);
  }

  .suggestions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .suggestion {
    padding: 14px 12px;
    font-size: 14px;
  }

  .followups {
    padding-left: 12px;
  }

  .followup {
    font-size: 13px;
    padding: 8px 14px;
  }
}

/* Theme Picker Screen */
.theme-picker-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
}

.theme-picker-box {
  text-align: center;
  max-width: 400px;
}

/* Seevee Robot Character */
.seevee-character {
  width: 120px;
  margin: 0 auto 24px;
  animation: seevee-float 3s ease-in-out infinite;
}

.seevee-antenna {
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, #a855f7, var(--accent));
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.seevee-antenna-ball {
  width: 12px;
  height: 12px;
  background: #a855f7;
  border-radius: 50%;
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  animation: seevee-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.6);
}

.seevee-head {
  width: 90px;
  height: 70px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  border-radius: 20px 20px 25px 25px;
  margin: 0 auto;
  position: relative;
  box-shadow:
    0 4px 20px rgba(59, 130, 246, 0.4),
    inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.seevee-screen {
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 15px;
  background: linear-gradient(145deg, #0f172a, #1e293b);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.seevee-screen::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.1), transparent);
  border-radius: 12px 12px 0 0;
}

.seevee-eyes {
  display: flex;
  gap: 14px;
  z-index: 1;
}

.seevee-eye {
  width: 16px;
  height: 16px;
  background: #22d3ee;
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px rgba(34, 211, 238, 0.6);
  animation: seevee-blink 4s ease-in-out infinite;
}

.seevee-eye:nth-child(2) {
  animation-delay: 0.1s;
}

.seevee-pupil {
  width: 6px;
  height: 6px;
  background: #0f172a;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: seevee-look 5s ease-in-out infinite;
}

.seevee-mouth {
  width: 24px;
  height: 8px;
  background: #22d3ee;
  border-radius: 0 0 12px 12px;
  z-index: 1;
  box-shadow: 0 0 8px rgba(34, 211, 238, 0.5);
  animation: seevee-talk 3s ease-in-out infinite;
}

.seevee-body {
  width: 60px;
  height: 35px;
  background: linear-gradient(145deg, #3b82f6, #1d4ed8);
  margin: -5px auto 0;
  border-radius: 10px 10px 20px 20px;
  position: relative;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.seevee-chest-light {
  width: 16px;
  height: 16px;
  background: radial-gradient(circle, #22d3ee, #0891b2);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: seevee-heartbeat 1.5s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
}

@keyframes seevee-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes seevee-blink {
  0%, 42%, 48%, 100% { transform: scaleY(1); }
  45% { transform: scaleY(0.1); }
}

@keyframes seevee-look {
  0%, 100% { transform: translate(-50%, -50%); }
  25% { transform: translate(-30%, -50%); }
  75% { transform: translate(-70%, -50%); }
}

@keyframes seevee-talk {
  0%, 100% { height: 8px; }
  50% { height: 12px; }
}

@keyframes seevee-pulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scale(1.2); }
}

@keyframes seevee-heartbeat {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 1; }
  50% { transform: translateX(-50%) scale(1.15); opacity: 0.8; }
}

/* Theme Toggle Cards */
.theme-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 24px 0;
}

.theme-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.theme-option-card span {
  font-size: 14px;
  font-weight: 500;
}

.theme-option-card.theme-option-light {
  background: #ffffff;
  color: #1f2328;
  border-color: #d0d7de;
}

.theme-option-card.theme-option-light svg {
  stroke: #d29922;
}

.theme-option-card.theme-option-light:hover {
  border-color: #0969da;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-option-card.theme-option-light.selected {
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.3);
}

.theme-option-card.theme-option-dark {
  background: #161b22;
  color: #e6edf3;
  border-color: #30363d;
}

.theme-option-card.theme-option-dark svg {
  stroke: #58a6ff;
}

.theme-option-card.theme-option-dark:hover {
  border-color: #58a6ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-option-card.theme-option-dark.selected {
  border-color: #58a6ff;
  box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.3);
}

.theme-continue-btn {
  background: linear-gradient(145deg, var(--accent), #1d4ed8);
  color: white;
  border: none;
  padding: 14px 40px;
  border-radius: 25px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.theme-continue-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.theme-continue-btn:active {
  transform: translateY(0);
}

.theme-picker-box h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.theme-picker-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 28px;
}

.theme-picker-options {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 32px;
  border-radius: 12px;
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
}

.theme-option:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.theme-option-light {
  background: #ffffff;
  color: #1f2328;
  border-color: #d0d7de;
}

.theme-option-light:hover {
  border-color: #0969da;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-option-light svg {
  stroke: #d29922;
}

.theme-option-dark {
  background: #161b22;
  color: #e6edf3;
  border-color: #30363d;
}

.theme-option-dark:hover {
  border-color: #58a6ff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.theme-option-dark svg {
  stroke: #58a6ff;
}

@media (max-width: 600px) {
  .theme-picker-options {
    flex-direction: column;
    align-items: center;
  }

  .theme-option {
    width: 100%;
    max-width: 200px;
  }
}

/* Passcode Screen */
.passcode-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  padding: 40px 20px;
}

.passcode-box {
  text-align: center;
  max-width: 400px;
}

.passcode-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.passcode-box h2 {
  color: var(--text);
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 12px;
}

.passcode-box p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.passcode-input-group {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.passcode-input-group input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  padding: 12px 16px;
  width: 200px;
  outline: none;
  transition: border-color 0.2s;
}

.passcode-input-group input:focus {
  border-color: var(--accent);
}

.passcode-input-group button {
  background: var(--accent);
  border: none;
  border-radius: 6px;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.passcode-input-group button:hover {
  opacity: 0.9;
}

.passcode-error {
  color: var(--red);
  font-size: 13px;
  margin-top: 12px;
  min-height: 20px;
}

/* Light mode adjustments for passcode */
[data-theme="light"] .passcode-input-group button {
  color: #fff;
}

@media (max-width: 600px) {
  .passcode-input-group {
    flex-direction: column;
    align-items: center;
  }

  .passcode-input-group input {
    width: 100%;
    max-width: 280px;
  }

  .passcode-input-group button {
    width: 100%;
    max-width: 280px;
  }
}

/* LinkedIn Button */
.linkedin-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0A66C2;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin: 8px 0;
  transition: background 0.2s, transform 0.1s;
}

.linkedin-button:hover {
  background: #004182;
  transform: translateY(-1px);
}

.linkedin-button:active {
  transform: translateY(0);
}

.linkedin-button svg {
  flex-shrink: 0;
}

[data-theme="light"] .linkedin-button {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Job Match Feature */
.job-match-prompt {
  background: linear-gradient(135deg, rgba(88, 166, 255, 0.1), rgba(168, 85, 247, 0.1));
  border: 1px solid rgba(88, 166, 255, 0.3);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-bottom: 16px;
}

.job-match-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.job-match-prompt p {
  color: var(--text);
  font-size: 14px;
  margin-bottom: 12px;
}

.job-match-btn {
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.3);
}

.job-match-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(88, 166, 255, 0.4);
}

/* Job Match Modal */
.job-match-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.job-match-modal-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.job-match-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 10px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.job-match-close:hover {
  background: var(--surface-raised);
  color: var(--text);
}

.job-match-header {
  padding: 24px 24px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.job-match-header-icon {
  font-size: 40px;
  margin-bottom: 8px;
}

.job-match-header h2 {
  color: var(--text);
  font-size: 20px;
  margin-bottom: 8px;
}

.job-match-header p {
  color: var(--text-muted);
  font-size: 14px;
}

.job-match-modal-content textarea {
  flex: 1;
  margin: 16px;
  padding: 16px;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  resize: none;
  min-height: 200px;
  outline: none;
  transition: border-color 0.2s ease;
}

.job-match-modal-content textarea:focus {
  border-color: var(--accent);
}

.job-match-modal-content textarea::placeholder {
  color: var(--text-muted);
}

.job-match-submit {
  margin: 0 16px 16px;
  background: linear-gradient(135deg, var(--accent), #a855f7);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.job-match-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(88, 166, 255, 0.4);
}

/* Notice banner at top */
.notice-banner {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 12px;
  margin-bottom: 10px;
  background: var(--surface);
  border-radius: 6px;
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .notice-banner {
    font-size: 11px;
    padding: 6px 10px;
    margin-bottom: 8px;
  }
}

/* Mobile keyboard fix - use fixed positioning */
@media (max-width: 768px) {
  html, body {
    position: fixed;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 10px;
  }

  .terminal {
    flex: 1;
    display: flex;
    flex-direction: column;
    max-height: calc(100% - 50px);
    width: calc(100% - 20px);
  }

  .terminal-body {
    flex: 1;
    height: auto;
    min-height: 0;
  }
}
