@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Plus+Jakarta+Sans:wght@300;400;500;700&display=swap');

:root {
  /* Obsidian & Steel Blue Theme (coincidiendo con el Logo) */
  --bg-primary: #06080e; /* Obsidian profundo con matiz azul */
  --bg-glow: rgba(82, 148, 226, 0.04);
  --glass-bg: rgba(12, 16, 28, 0.78);
  --glass-border: rgba(82, 148, 226, 0.12);
  --glass-border-hover: rgba(82, 148, 226, 0.28);
  
  --primary: #5294e2; /* Azul Acero (del logotipo) */
  --primary-glow: rgba(82, 148, 226, 0.35);
  --primary-dark: #162a45; /* Azul Marino Oscuro */
  
  --silver: #cbd5e1; /* Plata Metálico */
  --silver-glow: rgba(203, 213, 225, 0.2);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.3);
  
  --rose: #f43f5e;
  --rose-glow: rgba(244, 63, 94, 0.3);
  
  --text-primary: #f8fafc; /* Slate 50 */
  --text-secondary: #cbd5e1; /* Slate 300 */
  --text-muted: #64748b; /* Slate 500 */

  /* Tipografía nativa iOS: usa San Francisco real en iPhone/Mac, con fallback a las fuentes de marca */
  --font-title: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Outfit', sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Plus Jakarta Sans', sans-serif;

  /* Curvas de resorte iOS (spring) para animaciones */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --ios-spring: all 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

/* Base resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  background: radial-gradient(circle at 50% 0%, #10213d 0%, var(--bg-primary) 80%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  padding: calc(2rem + env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  touch-action: manipulation;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Glassmorphic Panels (estilo tarjeta iOS: esquinas grandes y continuas) */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.8);
  transition: var(--transition);
}

.glass-panel:hover {
  border-color: var(--glass-border-hover);
  box-shadow: 0 15px 50px -10px rgba(0, 0, 0, 0.9);
}

/* Header & Corporate Logo — barra estilo iOS: sticky + blur */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(82, 148, 226, 0.08);
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 8, 14, 0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-md);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.logo-img:hover {
  transform: scale(1.03);
  border-color: var(--primary);
  box-shadow: 0 4px 25px var(--primary-glow);
}

/* Dashboard Grid Layout */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 2rem;
}

@media (min-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 5fr 7fr;
  }
}

/* Timer Display Card */
.timer-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.timer-circle {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, #0e1220 0%, #05060a 100%);
  border: 4px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.9), 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: var(--transition);
}

.timer-circle::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 4px solid transparent;
  background: linear-gradient(135deg, var(--primary), #ffffff, var(--primary-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0.25;
  transition: var(--transition);
}

.timer-circle.active::before {
  animation: rotate-border 6s linear infinite;
  opacity: 1;
  box-shadow: 0 0 35px var(--primary-glow);
}

.timer-circle.active {
  border-color: rgba(82, 148, 226, 0.25);
  box-shadow: 0 0 30px rgba(82, 148, 226, 0.15), inset 0 0 25px rgba(82, 148, 226, 0.06);
}

.timer-watermark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('logo.png');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.08;
  pointer-events: none;
  z-index: 1;
  border-radius: 50%;
}

@keyframes rotate-border {
  100% {
    transform: rotate(360deg);
  }
}

.time-display {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  color: var(--primary);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 15px rgba(82, 148, 226, 0.25);
}

.timer-status {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
  font-weight: 600;
}

.timer-status.active {
  color: var(--primary);
  animation: pulse-status 1.5s infinite alternate;
}

@keyframes pulse-status {
  0% { opacity: 0.6; }
  100% { opacity: 1; text-shadow: 0 0 10px var(--primary-glow); }
}

.controls-group {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.btn-control {
  border: none;
  background: rgba(18, 18, 24, 0.8);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.btn-control:hover:not(:disabled) {
  transform: scale(1.1);
  border-color: var(--glass-border-hover);
}

.btn-control:active:not(:disabled) {
  transform: scale(0.95);
}

.btn-control:disabled {
  opacity: 0.25;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-play {
  color: var(--primary);
  border-color: rgba(82, 148, 226, 0.3);
}

.btn-play:hover:not(:disabled) {
  background: rgba(82, 148, 226, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.btn-pause {
  color: var(--silver);
  border-color: rgba(203, 213, 225, 0.3);
}

.btn-pause:hover:not(:disabled) {
  background: rgba(203, 213, 225, 0.1);
  border-color: #f1f5f9;
  box-shadow: 0 0 20px var(--silver-glow);
}

.btn-stop {
  color: var(--rose);
  border-color: rgba(244, 63, 94, 0.3);
}

.btn-stop:hover:not(:disabled) {
  background: rgba(244, 63, 94, 0.1);
  border-color: var(--rose);
  box-shadow: 0 0 20px var(--rose-glow);
}

/* Forms & UI Controls */
.form-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}

/* Grupo de campo estilo "lista agrupada" de Ajustes de iOS */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem 0.8rem;
  transition: var(--ios-spring);
}

.form-group:focus-within {
  border-color: var(--glass-border-hover);
  background: rgba(82, 148, 226, 0.06);
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.form-row {
  display: flex;
  gap: 0.75rem;
}

select, input, textarea {
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0.3rem 0;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

/* Inputs sueltos (fuera de un .form-group), como los de las notas iOS */
input:not(.form-group input), textarea:not(.form-group textarea), select:not(.form-group select) {
  background: rgba(8, 8, 12, 0.8);
  border: 1px solid var(--glass-border);
  padding: 0.8rem 1.1rem;
}

select:focus, input:focus, textarea:focus {
  box-shadow: none;
}

input:not(.form-group input):focus, textarea:not(.form-group textarea):focus, select:not(.form-group select):focus {
  border-color: var(--primary);
  box-shadow: 0 0 12px var(--primary-glow);
  background: #0d121f;
}

/* Botones estilo píldora iOS (fully rounded) */
button.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  transition: var(--ios-spring);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 15px rgba(82, 148, 226, 0.25);
}

button.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(82, 148, 226, 0.4);
}

button.btn-primary:active {
  transform: scale(0.96);
}

/* Projects Management List inside Panel */
.project-manage-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  max-height: 150px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb {
  background: rgba(82, 148, 226, 0.15);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(82, 148, 226, 0.4);
}

.project-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255,255,255, 0.03);
  border-radius: 8px;
}

.project-item span {
  font-size: 0.85rem;
  font-weight: 500;
}

.btn-remove-project {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.15rem;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-remove-project:hover {
  color: var(--rose);
  background: rgba(244, 63, 94, 0.08);
}

/* KPI Cards */
.stats-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
}

.stats-title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}

@media (min-width: 576px) {
  .kpi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.kpi-card {
  background: rgba(82, 148, 226, 0.02);
  border: 1px solid rgba(82, 148, 226, 0.08);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  box-shadow: inset 0 0 15px rgba(82, 148, 226, 0.01);
}

.kpi-val {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px rgba(82, 148, 226, 0.15);
}

.kpi-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Charts Card Grid */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .charts-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.chart-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.25rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
}

.chart-card h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.chart-wrapper {
  flex-grow: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

/* Turn History Table */
.history-section {
  margin-top: 2rem;
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.action-buttons {
  display: flex;
  gap: 0.75rem;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ios-spring);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover {
  background: rgba(82, 148, 226, 0.08);
  color: var(--text-primary);
  border-color: var(--primary);
}

.btn-secondary:active {
  transform: scale(0.95);
}

.table-container {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  background: rgba(8, 8, 12, 0.4);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
  min-width: 750px;
}

th, td {
  padding: 1.1rem 1.25rem;
}

th {
  background: rgba(82, 148, 226, 0.03);
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  border-bottom: 1px solid var(--glass-border);
}

tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

tr:last-child {
  border-bottom: none;
}

tr:hover td {
  background: rgba(82, 148, 226, 0.015);
}

.project-tag {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(82, 148, 226, 0.1);
  color: var(--primary);
  border: 1px solid rgba(82, 148, 226, 0.2);
}

.duration-tag {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary);
}

.btn-table-action {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  padding: 0.25rem;
  border-radius: 4px;
}

.btn-table-action:hover.btn-edit-session {
  color: var(--primary);
  background: rgba(82, 148, 226, 0.08);
}

.btn-table-action:hover.btn-delete-session {
  color: var(--rose);
  background: rgba(244, 63, 94, 0.08);
}

/* Modals & Startup Welcomer */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(4, 5, 10, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  animation: modal-in 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border-color: var(--primary);
  box-shadow: 0 15px 50px -5px rgba(82, 148, 226, 0.15), 0 10px 40px -10px rgba(0, 0, 0, 0.8);
}

@keyframes modal-in {
  0% { transform: scale(0.92) translateY(20px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Manija (grabber) de hoja iOS — solo visible cuando el modal se convierte en bottom sheet */
.sheet-grabber {
  display: none;
  width: 36px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.25);
  margin: -0.75rem auto 1.25rem;
}

/* En pantallas de celular, los modales se comportan como "bottom sheets" nativos de iOS */
@media (max-width: 640px) {
  .modal {
    align-items: flex-end;
    padding: 0;
  }

  .modal-content {
    max-width: 100%;
    width: 100%;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    padding: 1.5rem 1.5rem calc(1.75rem + env(safe-area-inset-bottom));
    animation: sheet-up 0.4s cubic-bezier(0.32, 0.72, 0, 1);
  }

  .sheet-grabber {
    display: block;
  }

  @keyframes sheet-up {
    0% { transform: translateY(100%); }
    100% { transform: translateY(0); }
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(82, 148, 226, 0.08);
  padding-bottom: 0.75rem;
}

.modal-header h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--primary);
}

.btn-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-close:hover {
  color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ios-sheet-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* NOTAS iOS — burbujas estilo Mensajes, usadas tanto en el conteo activo como en el historial */
.ios-notes-section {
  margin-top: 0.25rem;
  width: 100%;
  text-align: left;
  transition: var(--ios-spring);
}

.ios-notes-section.disabled {
  opacity: 0.45;
}

.ios-notes-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.6rem;
  padding: 0 0.1rem;
}

.ios-notes-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.ios-notes-count {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(82, 148, 226, 0.12);
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
  min-width: 1.4rem;
  text-align: center;
}

.ios-notes-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 220px;
  overflow-y: auto;
  padding: 0.35rem;
  scroll-behavior: smooth;
}

.ios-notes-empty {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1.25rem 0.5rem;
}

.ios-note-bubble {
  position: relative;
  background: rgba(82, 148, 226, 0.12);
  border: 1px solid rgba(82, 148, 226, 0.18);
  border-radius: 18px 18px 18px 4px;
  padding: 0.65rem 2.1rem 0.65rem 0.9rem;
  align-self: flex-start;
  max-width: 92%;
  animation: note-in 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes note-in {
  0% { opacity: 0; transform: translateY(6px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.ios-note-text {
  font-size: 0.88rem;
  color: var(--text-primary);
  word-break: break-word;
  white-space: pre-wrap;
}

.ios-note-time {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.ios-note-delete {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: var(--transition);
}

.ios-note-delete:hover {
  color: var(--rose);
  opacity: 1;
  background: rgba(244, 63, 94, 0.12);
}

.ios-notes-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  align-items: center;
}

.ios-notes-input-row input {
  flex-grow: 1;
  border-radius: 999px !important;
  padding: 0.7rem 1.15rem !important;
  font-size: 0.9rem;
}

.ios-notes-input-row input:disabled {
  cursor: not-allowed;
}

.ios-send-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--primary);
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--ios-spring);
  box-shadow: 0 4px 12px rgba(82, 148, 226, 0.35);
}

.ios-send-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  box-shadow: none;
}

.ios-send-btn:active:not(:disabled) {
  transform: scale(0.85);
}

/* Botón + badge de notas en la fila del historial */
.btn-notes-session {
  position: relative;
}

.notes-badge {
  position: absolute;
  top: -5px;
  right: -6px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 999px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 0 0 2px var(--glass-bg);
}

/* Startup Welcome Screen Card */
.welcome-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.welcome-title-grp {
  text-align: center;
  margin-bottom: 0.5rem;
}

.welcome-title-grp h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.welcome-title-grp p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.project-cards-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.project-card-select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}

.project-card-select:hover {
  background: rgba(82, 148, 226, 0.05);
  border-color: rgba(82, 148, 226, 0.25);
}

.project-card-select.selected {
  background: rgba(82, 148, 226, 0.1);
  border-color: var(--primary);
  box-shadow: 0 0 15px rgba(82, 148, 226, 0.15);
}

.project-card-select span {
  font-weight: 600;
  font-size: 0.95rem;
}

.project-card-select i {
  color: var(--primary);
  opacity: 0;
  transition: var(--transition);
}

.project-card-select.selected i {
  opacity: 1;
}

#file-import {
  display: none;
}
