@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600&family=Orbitron:wght@700&display=swap');
  .error-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at top, #0f2027, #0a0a0a);
    color: white;
  }

  .error-box {
    text-align: center;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(0, 255, 157, 0.2);
    box-shadow: 0 0 40px rgba(0, 255, 157, 0.2);
    animation: fadeIn 0.8s ease;
  }

  .error-code {
    font-size: 80px;
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #00FF9D, #00A3FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .error-title {
    font-size: 24px;
    margin-top: 10px;
  }

  .error-subtitle {
    color: #aaa;
    margin-bottom: 20px;
  }

  .emoji {
    font-size: 40px;
    margin-bottom: 20px;
    animation: float 2s infinite ease-in-out;
  }

  .btn-home {
    padding: 10px 20px;
    border: none;
    border-radius: 999px;
    background: transparent;
    color: #00ff9d;
    border: 2px solid #00ff9d;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .btn-home:hover {
    background: rgba(0,255,157,0.2);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,255,157,0.6);
  }
  
  /* Анимации */
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
  }
<style scoped>
.profile-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(0,163,255,0.25), transparent 35%),
    radial-gradient(circle at bottom right, rgba(0,255,157,0.18), transparent 35%),
    linear-gradient(135deg, #0b1120, #111827 40%, #0f172a);
  color: white;
  overflow-x: hidden;
}

.profile-content {
  max-width: 1250px;
  margin: auto;
  padding: 30px 20px 80px;
}

/* HERO */

.hero-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;

  padding: 34px;
  border-radius: 30px;

  background: rgba(255,255,255,0.06);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 10px 40px rgba(0,0,0,0.35),
    inset 0 1px 0 rgba(255,255,255,0.05);

  overflow: hidden;

  margin-bottom: 34px;
}

.hero-card::before {
  content: '';
  position: absolute;

  width: 280px;
  height: 280px;

  background: radial-gradient(circle, rgba(0,163,255,0.25), transparent 70%);

  top: -140px;
  right: -120px;

  pointer-events: none;
}

.avatar {
  width: 110px;
  height: 110px;

  min-width: 110px;

  border-radius: 50%;

  background:
    linear-gradient(135deg, #00ff9d, #00a3ff);

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 44px;
  font-weight: 800;

  color: #0b1120;

  box-shadow:
    0 0 30px rgba(0,163,255,0.35);

  border: 4px solid rgba(255,255,255,0.15);
}

.hero-info {
  z-index: 2;
}

.hero-info h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hero-info p {
  margin-top: 8px;
  color: #aab4c5;
  font-size: 15px;
}

.role-badge {
  margin-top: 18px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.5px;

  border: 1px solid rgba(255,255,255,0.08);
}

.role-badge.admin {
  background: rgba(255,0,90,0.14);
  color: #ff4f87;
}

.role-badge.standard {
  background: rgba(0,255,157,0.12);
  color: #00ff9d;
}

/* STATS */

.stats-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(240px, 1fr));

  gap: 22px;

  margin-bottom: 34px;
}

.stat-card {
  position: relative;

  padding: 28px;

  border-radius: 26px;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(16px);

  overflow: hidden;

  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-card::before {
  content: '';

  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,0.06),
      transparent
    );

  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-8px);

  border-color: rgba(0,163,255,0.35);

  box-shadow:
    0 15px 35px rgba(0,0,0,0.25),
    0 0 30px rgba(0,163,255,0.15);
}

.stat-card .emoji {
  font-size: 36px;
}

.stat-card h3 {
  margin: 16px 0 10px;

  color: #aeb9cb;

  font-size: 15px;
  font-weight: 600;
}

.stat-card p {
  margin: 0;

  font-size: 38px;
  font-weight: 800;

  background: linear-gradient(135deg, #ffffff, #9ad7ff);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* PROFILE CARD */

.profile-card {
  background: rgba(255,255,255,0.05);

  border-radius: 28px;

  padding: 30px;

  margin-bottom: 34px;

  border: 1px solid rgba(255,255,255,0.08);

  backdrop-filter: blur(14px);

  box-shadow:
    0 10px 35px rgba(0,0,0,0.25);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 14px;

  margin-bottom: 24px;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(20px, 4vw, 28px);
}

/* PROGRESS */

.progress-bar {
  height: 20px;

  border-radius: 999px;

  background: rgba(255,255,255,0.08);

  overflow: hidden;

  position: relative;
}

.progress-fill {
  height: 100%;

  border-radius: 999px;

  background:
    linear-gradient(
      90deg,
      #00ff9d,
      #00a3ff,
      #0066ff
    );

  position: relative;

  transition: width 0.5s ease;
}

.progress-fill::after {
  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      120deg,
      transparent,
      rgba(255,255,255,0.4),
      transparent
    );

  animation: shine 2.5s infinite;
}

@keyframes shine {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

.progress-text {
  margin-top: 14px;
  color: #9aa4b2;
}

/* QUIZ */

.quiz-history {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.quiz-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  gap: 16px;

  padding: 22px;

  border-radius: 22px;

  background: rgba(255,255,255,0.04);

  transition: 0.25s ease;

  border: 1px solid transparent;
}

.quiz-item:hover {
  transform: translateY(-4px);

  border-color: rgba(0,163,255,0.2);

  background: rgba(255,255,255,0.06);
}

.quiz-item h3 {
  margin: 0;
  font-size: 24px;
}

.quiz-item p {
  margin-top: 6px;
  color: #9aa4b2;
}

.quiz-badge {
  padding: 10px 16px;

  border-radius: 999px;

  font-weight: 700;

  white-space: nowrap;
}

.quiz-badge.excellent {
  background: rgba(0,255,157,0.14);
  color: #00ff9d;
}

.quiz-badge.good {
  background: rgba(255,196,0,0.14);
  color: #ffc400;
}

.quiz-badge.bad {
  background: rgba(255,90,90,0.14);
  color: #ff7070;
}

/* COMPONENTS */

.components-grid {
  display: grid;

  grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

  gap: 18px;
}

.component-item {
  display: flex;
  align-items: center;
  gap: 16px;

  padding: 20px;

  border-radius: 22px;

  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.05);

  transition: 0.25s ease;
}

.component-item:hover {
  transform: translateY(-5px);

  border-color: rgba(0,163,255,0.2);

  background: rgba(255,255,255,0.06);
}

.component-item h3 {
  margin: 0 0 6px;
}

.component-item p {
  margin: 0;
  color: #9aa4b2;
}

.component-icon {
  width: 60px;
  height: 60px;

  border-radius: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(0,163,255,0.18),
      rgba(0,255,157,0.12)
    );

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 26px;

  border: 1px solid rgba(255,255,255,0.08);
}

/* ACTIONS */

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.action-btn {
  border: none;

  border-radius: 18px;

  padding: 15px 26px;

  font-weight: 700;
  font-size: 15px;

  color: white;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.action-btn:hover {
  transform: translateY(-4px);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.25);
}

.blue {
  background:
    linear-gradient(
      135deg,
      #00a3ff,
      #0066ff
    );
}

.green {
  background:
    linear-gradient(
      135deg,
      #00ff9d,
      #00c27a
    );
}

.red {
  background:
    linear-gradient(
      135deg,
      #ff4f87,
      #ff2d55
    );
}

/* STATES */

.loading-box,
.empty {
  color: #9aa4b2;
  text-align: center;
  padding: 30px;
}

/* MOBILE */

@media (max-width: 768px) {
  .profile-content {
    padding: 20px 14px 60px;
  }

  .hero-card {
    flex-direction: column;
    align-items: flex-start;

    padding: 24px;
  }

  .avatar {
    width: 90px;
    height: 90px;

    font-size: 34px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .quiz-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    flex-direction: column;
  }

  .action-btn {
    width: 100%;
  }

  .components-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-info h1 {
    font-size: 26px;
  }

  .stat-card p {
    font-size: 30px;
  }

  .profile-card {
    padding: 22px;
  }

  .component-item {
    padding: 16px;
  }

  .quiz-item {
    padding: 18px;
  }
}
</style>
.admin-page[data-v-5d5554b4] {
  min-height: 100vh;
  background: #0b0f19;
  color: white;
  padding: 40px 20px;
}
.page-header[data-v-5d5554b4] {
  text-align: center;
  margin-bottom: 40px;
}
.page-header h1[data-v-5d5554b4] {
  font-size: 42px;
  margin-bottom: 10px;
}
.page-header p[data-v-5d5554b4] {
  color: #a0aec0;
}
.loading[data-v-5d5554b4] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 80px;
  font-size: 20px;
}
.loader[data-v-5d5554b4] {
  width: 28px;
  height: 28px;
  border: 3px solid #444;
  border-top: 3px solid #6c63ff;
  border-radius: 50%;
  animation: spin-5d5554b4 0.8s linear infinite;
}
@keyframes spin-5d5554b4 {
to {
    transform: rotate(360deg);
}
}
.stats-grid[data-v-5d5554b4] {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}
.stat-card[data-v-5d5554b4] {
  display: flex;
  align-items: center;
  gap: 15px;

  padding: 25px;
  border-radius: 18px;

  background: linear-gradient(
    135deg,
    #1f2937,
    #374151
  );

  border: 1px solid rgba(255,255,255,0.08);
}
.stat-card p[data-v-5d5554b4] {
  font-size: 32px;
  font-weight: bold;
  margin-top: 6px;
}
.stat-icon[data-v-5d5554b4] {
  font-size: 38px;
}
.admin-section[data-v-5d5554b4] {
  background: #111827;
  border-radius: 18px;
  padding: 25px;
  margin-bottom: 35px;
  border: 1px solid rgba(255,255,255,0.08);
}
.section-header[data-v-5d5554b4] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.table-wrapper[data-v-5d5554b4] {
  overflow-x: auto;
}
.admin-table[data-v-5d5554b4] {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th[data-v-5d5554b4] {
  background: #1f2937;
  color: #cbd5e1;
}
.admin-table th[data-v-5d5554b4],
.admin-table td[data-v-5d5554b4] {
  padding: 16px;
  border-bottom: 1px solid #253041;
  text-align: left;
}
.admin-table tr[data-v-5d5554b4]:hover {
  background: rgba(255,255,255,0.03);
}
.mono[data-v-5d5554b4] {
  font-family: monospace;
}
.role-select[data-v-5d5554b4],
.form-group input[data-v-5d5554b4],
.form-group select[data-v-5d5554b4],
.form-group textarea[data-v-5d5554b4] {
  width: 100%;
  background: #1f2937;
  color: white;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 12px;
}
.form-group textarea[data-v-5d5554b4] {
  min-height: 100px;
  resize: vertical;
}
.btn-add[data-v-5d5554b4],
.btn-save[data-v-5d5554b4] {
  background: linear-gradient(
    135deg,
    #6366f1,
    #8b5cf6
  );

  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: bold;
}
.btn-cancel[data-v-5d5554b4] {
  background: #374151;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  cursor: pointer;
}
.icon-btn[data-v-5d5554b4] {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
  margin-right: 10px;
}
.icon-btn.delete[data-v-5d5554b4]:hover {
  transform: scale(1.15);
}
.icon-btn.edit[data-v-5d5554b4]:hover {
  transform: scale(1.15);
}
.actions[data-v-5d5554b4] {
  white-space: nowrap;
}
.empty[data-v-5d5554b4] {
  text-align: center;
  padding: 30px;
  color: #94a3b8;
}
.modal-overlay[data-v-5d5554b4] {
  position: fixed;
  inset: 0;

  background: rgba(0,0,0,0.7);

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 1000;
}
.modal[data-v-5d5554b4] {
  width: 90%;
  max-width: 700px;

  background: #111827;

  border-radius: 20px;
  padding: 30px;

  border: 1px solid rgba(255,255,255,0.08);
}
.modal-header[data-v-5d5554b4] {
  margin-bottom: 25px;
}
.form-grid[data-v-5d5554b4] {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group.full[data-v-5d5554b4] {
  grid-column: span 2;
}
.modal-actions[data-v-5d5554b4] {
  margin-top: 25px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}
@media (max-width: 768px) {
.form-grid[data-v-5d5554b4] {
    grid-template-columns: 1fr;
}
.form-group.full[data-v-5d5554b4] {
    grid-column: span 1;
}
.section-header[data-v-5d5554b4] {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
}
.page-header h1[data-v-5d5554b4] {
    font-size: 30px;
}
}
.components-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #1a1f35 0%, #0d1117 45%, #06090f 100%);
  color: white;
}

.components-page .content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
}

.page-title {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #00c6ff, #00ff9d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.search-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 35px;
}

.search-input {
  width: 100%;
  max-width: 650px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(12px);
  color: white;
  font-size: 16px;
  transition: 0.3s;
}

.search-input:focus {
  outline: none;
  border-color: #00c6ff;
  box-shadow: 0 0 20px rgba(0,198,255,0.4);
}

.components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 24px;
}

.component-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
}

.component-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,198,255,0.4);
  box-shadow: 0 12px 35px rgba(0,198,255,0.15);
}

.card-image-box {
  height: 230px;
  background: linear-gradient(145deg, #111827, #1f2937);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: 0.3s;
}

.component-card:hover .card-img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.badge {
  background: rgba(0,198,255,0.15);
  color: #00c6ff;
  border: 1px solid rgba(0,198,255,0.2);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.price {
  color: #00ff9d;
  font-size: 18px;
  font-weight: 700;
}

.card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-specs {
  color: #cbd5e1;
  line-height: 1.6;
  flex-grow: 1;
}

.btn-select {
  margin-top: 20px;
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #00c6ff, #0072ff);
  color: white;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-select:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,114,255,0.35);
}

.loader,
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #94a3b8;
  font-size: 20px;
}

@media (max-width: 768px) {
  .components-page .content {
    padding: 16px;
  }

  .components-grid {
    grid-template-columns: 1fr;
  }

  .card-title {
    font-size: 20px;
  }

  .search-input {
    font-size: 15px;
  }
}.bios-page {
  min-height: 100vh;
  padding: 40px 20px;
  background:
    radial-gradient(circle at top, #0f172a 0%, #020617 70%);
  color: white;
}

.bios-hero {
  text-align: center;
  margin-bottom: 50px;
}

.bios-title {
  font-size: clamp(40px, 6vw, 72px);
  font-family: 'Orbitron', sans-serif;
  color: #00ff9d;
  text-shadow:
    0 0 20px rgba(0,255,157,.5);
}

.bios-subtitle {
  color: #94a3b8;
  margin-top: 15px;
  font-size: 18px;
}

.loading {
  text-align: center;
  font-size: 22px;
  color: #00a3ff;
}

.bios-section {
  margin-bottom: 50px;
}

.glass {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 25px;
}

.update-grid,
.cpu-check {
  display: grid;
  grid-template-columns:
    repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-top: 25px;
}

select,
input {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  color: white;
  padding: 14px;
  border-radius: 14px;
  outline: none;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 700;
  transition: .3s;
}

.btn-primary {
  background:
    linear-gradient(135deg,#00ff9d,#00a3ff);
  color: black;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(0,163,255,.15);
  color: #00a3ff;
}

.btn-danger {
  background: rgba(255,77,109,.15);
  color: #ff4d6d;
}

.risk-box {
  margin-top: 20px;
  padding: 20px;
  border-radius: 18px;
  font-weight: 700;
}

.risk-box.low {
  background: rgba(0,255,157,.1);
  border: 1px solid rgba(0,255,157,.4);
}

.risk-box.medium {
  background: rgba(255,193,7,.1);
  border: 1px solid rgba(255,193,7,.4);
}

.risk-box.high {
  background: rgba(255,77,109,.1);
  border: 1px solid rgba(255,77,109,.4);
}

.progress-wrapper {
  width: 100%;
  height: 16px;
  background: rgba(255,255,255,.08);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 25px;
}

.progress-fill {
  height: 100%;
  background:
    linear-gradient(90deg,#00ff9d,#00a3ff);
  transition: width .5s ease;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.step {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #64748b;
  transition: .3s;
}

.step.active {
  color: white;
  background: rgba(0,255,157,.15);
  border: 1px solid rgba(0,255,157,.3);
}

.cpu-result {
  margin-top: 20px;
  padding: 18px;
  border-radius: 14px;
  font-weight: 700;
}

.cpu-result.success {
  background: rgba(0,255,157,.1);
  border: 1px solid rgba(0,255,157,.3);
}

.cpu-result.error {
  background: rgba(255,77,109,.1);
  border: 1px solid rgba(255,77,109,.3);
}

.timeline {
  position: relative;
  margin-top: 40px;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 0;
  width: 3px;
  height: 100%;
  background:
    linear-gradient(#00ff9d,#00a3ff);
}

.timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.timeline-dot {
  position: absolute;
  left: -27px;
  top: 25px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #00ff9d;
  box-shadow:
    0 0 15px rgba(0,255,157,.8);
}

.bios-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  padding: 24px;
  transition: .3s;
}

.bios-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0,255,157,.4);
}

.bios-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bios-header h2 {
  color: #00a3ff;
}

.bios-badge {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0,255,157,.15);
  color: #00ff9d;
  font-size: 12px;
  font-weight: 700;
}

.bios-badge.beta {
  background: rgba(255,77,109,.15);
  color: #ff4d6d;
}

.bios-description {
  margin: 18px 0;
  color: #cbd5e1;
  line-height: 1.7;
}

.bios-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #94a3b8;
  margin-bottom: 18px;
}

.stability-bar {
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.08);
}

.stability-fill {
  height: 100%;
  background:
    linear-gradient(90deg,#00ff9d,#00a3ff);
}

.bios-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .bios-page {
    padding: 20px 15px;
  }

  .bios-actions {
    flex-direction: column;
  }

  .bios-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}.details-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #131a2c 0%, #0d1117 45%, #05070c 100%);
  color: white;
}

.content {
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px;
}

.btn-back {
  margin-bottom: 25px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: white;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-back:hover {
  background: rgba(255,255,255,0.1);
}

.product-card {
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(14px);
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}

.card-header {
  padding: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.product-title {
  font-size: clamp(28px, 5vw, 46px);
  margin-top: 10px;
  line-height: 1.2;
}

.price-tag {
  font-size: 34px;
  font-weight: 800;
  color: #00ff9d;
}

.card-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 35px;
  padding: 32px;
}

.visual-section {
  background: rgba(255,255,255,0.04);
  border-radius: 24px;
  padding: 20px;
}

.image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.component-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
}

.img-caption {
  margin-top: 18px;
  color: #94a3b8;
}

.specs-section h3 {
  margin-bottom: 20px;
  font-size: 28px;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spec-row {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 16px;
}

.spec-row.highlight {
  border: 1px solid rgba(0,198,255,0.3);
}

.label {
  color: #00c6ff;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.value {
  line-height: 1.6;
  color: #e2e8f0;
}

.hint {
  display: block;
  margin-top: 10px;
  color: #94a3b8;
}

.actions {
  margin-top: 28px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-add,
.btn-go {
  flex: 1;
  min-width: 220px;
  padding: 16px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  transition: 0.3s;
}

.btn-add {
  background: linear-gradient(135deg,#00ff9d,#00c6ff);
  color: #081018;
}

.btn-go {
  background: rgba(255,255,255,0.05);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-add:hover,
.btn-go:hover {
  transform: translateY(-3px);
}

@media (max-width: 900px) {
  .card-body {
    grid-template-columns: 1fr;
  }

  .price-tag {
    font-size: 28px;
  }

  .product-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .content {
    padding: 14px;
  }

  .card-header {
    padding: 20px;
  }

  .card-body {
    padding: 18px;
  }

  .btn-add,
  .btn-go {
    width: 100%;
  }

  .product-title {
    font-size: 28px;
  }

  .price-tag {
    font-size: 24px;
  }
}.builder-page { min-height: 100vh; background: #f4f4f9; }
.builder-page .content { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.builder-page .page-title { text-align: center; margin-bottom: 2rem; color: #333; }

.builder-container {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
}

/* Panel Choice */
.selection-panel {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tab {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: #42b983;
  color: white;
  border-color: #42b983;
}

.components-list {
  max-height: 600px;
  overflow-y: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.component-card-small {
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 0.9rem;
}

.specs {
  font-size: 0.8rem;
  color: #666;
  flex-grow: 1;
}

.btn-add {
  background: #42b983;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.btn-add:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.btn-add.in-build {
  background: #9ca3af;
}

/* Panel Build */
.build-panel {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  position: sticky;
  top: 2rem;
}

.build-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.build-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
  background: #f9f9f9;
  border-radius: 6px;
  border-left: 4px solid #42b983;
}

.item-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.9rem;
}

.badge {
  font-size: 0.7rem;
  background: #eee;
  padding: 2px 6px;
  border-radius: 4px;
  width: fit-content;
  text-transform: uppercase;
}

.btn-remove {
  background: #ff4d4d;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.summary {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.total {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1.2rem;
}

.power-estimate {
  font-size: 0.9rem;
  color: #666;
  display: flex;
  justify-content: space-between;
}

.actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.btn-check {
  background: #35495e;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

.btn-check:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-save {
  background: #10b981;
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1rem;
}

.btn-save:disabled {
  opacity: 0.7;
  cursor: wait;
}

.btn-clear {
  background: transparent;
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
}

.result-box {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

.result-box.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.result-box.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.error-item, .warn-item {
  margin: 0.3rem 0;
  font-size: 0.85rem;
}

.empty-build, .empty, .loader {
  text-align: center;
  color: #999;
  padding: 2rem;
}

@media (max-width: 768px) {
  .builder-container {
    grid-template-columns: 1fr;
  }
  .build-panel {
    position: static;
  }
}.lab-page {
  min-height: 100vh;
  padding: 40px;
  background:
    radial-gradient(circle at top, rgba(0,255,200,0.12), transparent 30%),
    #0b0f17;

  color: #fff;
}

/* HERO */

.hero {
  position: relative;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 24px;
  padding: 50px;
  background:
    linear-gradient(
      135deg,
      rgba(0,255,170,0.08),
      rgba(0,140,255,0.08)
    );

  border: 1px solid rgba(255,255,255,0.08);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-subtitle {
  color: #00ffd0;
  letter-spacing: 3px;
  margin-bottom: 10px;
  font-size: 14px;
}

.hero h1 {
  font-size: 54px;
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
}

.hero-text {
  max-width: 700px;
  color: #b7c0d8;
  line-height: 1.7;
  font-size: 18px;
}

.hero-glow {
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px;
  height: 400px;
  background: #00ffd0;
  opacity: 0.12;
  filter: blur(120px);
}

/* GRID */

.lab-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-bottom: 30px;
}

.panel {
  background: rgba(15,20,30,0.92);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(12px);
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}

.panel-header h2 {
  font-size: 24px;
  font-family: 'Orbitron', sans-serif;
}

/* FORM */

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  margin-bottom: 12px;
  color: #d8e2ff;
}

.range-info {
  margin-bottom: 10px;
  color: #00ffd0;
  font-weight: bold;
}

.slider {
  width: 100%;
  accent-color: #00ffd0;
}

/* BUTTONS */

.button-group {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.btn-primary,
.btn-secondary,
.btn-refresh {
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: 0.25s;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(135deg, #00ffd0, #0099ff);
  color: #000;
  padding: 14px 24px;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  padding: 14px 24px;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.15);
}

.btn-refresh {
  background: rgba(255,255,255,0.08);
  color: white;
  width: 42px;
  height: 42px;
}

/* RESULTS */

.results {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.result-card {
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 24px;
}

.result-card p {
  color: #9fb0d3;
  margin-bottom: 10px;
}

.result-card h3 {
  font-size: 40px;
}

.hot {
  color: #ff5e5e;
}

.danger {
  color: #ffb347;
}

.status-box {
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-weight: bold;
}

.status-box.success {
  background: rgba(0,255,120,0.12);
  color: #00ff88;
}

.status-box.fail {
  background: rgba(255,0,80,0.12);
  color: #ff5c8a;
}

/* PROFILES */

.profiles-section {
  margin-top: 20px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.profile-card {
  background: rgba(255,255,255,0.04);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid rgba(255,255,255,0.05);
}

.profile-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
}

.profile-top h3 {
  font-size: 18px;
}

.profile-date {
  color: #8ea0c7;
  font-size: 14px;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.profile-stats span {
  display: block;
  color: #8ea0c7;
  margin-bottom: 4px;
}

.profile-stats strong {
  font-size: 18px;
}

/* EMPTY */

.empty-state {
  padding: 50px 20px;
  text-align: center;
  color: #7f8ca8;
}

/* MOBILE */

@media (max-width: 1000px) {
  .lab-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 42px;
  }
}

@media (max-width: 700px) {
  .lab-page {
    padding: 20px;
  }

  .hero {
    padding: 30px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .button-group {
    flex-direction: column;
  }
}.quiz-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #16213e 0%, #0f172a 45%, #020617 100%);
  color: white;
}

.quiz-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
}

.quiz-header {
  margin-bottom: 30px;
}

.quiz-header h1 {
  font-size: 42px;
  margin-bottom: 25px;
  font-weight: 800;
}

.progress-wrapper {
  background: rgba(255,255,255,0.05);
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(0,163,255,0.2);
}

.progress-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
}

.progress-bar {
  height: 14px;
  border-radius: 30px;
  background: rgba(255,255,255,0.08);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 30px;
  background: linear-gradient(90deg, #00ff9d, #00a3ff);
  transition: width 0.3s ease;
}

.quiz-card,
.finish-card,
.loading-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0,163,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 0 35px rgba(0,163,255,0.12);
}

.question {
  font-size: 30px;
  margin: 20px 0 30px;
  line-height: 1.4;
}

.options {
  display: grid;
  gap: 18px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255,255,255,0.04);
  border: 2px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 18px;
  color: white;
  cursor: pointer;
  transition: 0.25s;
  font-size: 16px;
}

.option-btn:hover {
  transform: translateY(-3px);
  border-color: #00a3ff;
}

.option-btn.active {
  background: linear-gradient(
    135deg,
    rgba(0,255,157,0.2),
    rgba(0,163,255,0.2)
  );
  border-color: #00ff9d;
}

.option-index {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.actions {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

.btn-next,
.btn-submit {
  border: none;
  border-radius: 16px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  color: white;
  background: linear-gradient(135deg, #00a3ff, #00ff9d);
  transition: 0.25s;
}

.btn-next:hover,
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0,163,255,0.4);
}

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

.difficulty {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.easy {
  background: rgba(0,255,157,0.15);
  color: #00ff9d;
}

.medium {
  background: rgba(255,193,7,0.15);
  color: #ffc107;
}

.hard {
  background: rgba(255,82,82,0.15);
  color: #ff5252;
}

.loader {
  width: 60px;
  height: 60px;
  border: 5px solid rgba(255,255,255,0.1);
  border-top-color: #00a3ff;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 0.8s linear infinite;
}

.loading-card {
  text-align: center;
}

.finish-card {
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}.result-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top, #16213e 0%, #0f172a 45%, #020617 100%);
  color: white;
}

.result-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 50px 20px;
}

.result-card {
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(0,163,255,0.2);
  border-radius: 30px;
  padding: 45px;
  box-shadow: 0 0 40px rgba(0,163,255,0.12);
  backdrop-filter: blur(12px);
}

.icon {
  font-size: 70px;
  text-align: center;
  margin-bottom: 15px;
}

h1 {
  text-align: center;
  font-size: 42px;
  margin-bottom: 35px;
}

.score-block {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.score-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, #00a3ff, #00ff9d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 800;
  box-shadow: 0 0 35px rgba(0,163,255,0.35);
}

.score-info h2 {
  font-size: 36px;
  margin-bottom: 10px;
}

.score-info p {
  color: #94a3b8;
  font-size: 18px;
}

.stats {
  display: grid;
  gap: 18px;
  margin-bottom: 35px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.04);
}

.actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  border: none;
  border-radius: 16px;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s;
}

.btn-primary {
  background: linear-gradient(135deg, #00a3ff, #00ff9d);
  color: white;
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-2px);
}.btn {
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

.btn-primary {
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  color: white;
}

.btn-green { background: #28a745; color: white; }
.btn-red { background: #dc3545; color: white; }
.btn-blue { background: #17a2b8; color: white; }
.btn-yellow { background: #ffc107; color: black; }

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  background: #0D0D0D;
  color: #FFFFFF;
  font-family: 'Exo 2', sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
#app {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  text-align: center;
  background: #0D0D0D; 
  min-height: 100vh; 
}
/* ── Главная (LoginPage) ── */
.home h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(24px, 4vw, 48px);
  margin-bottom: 30px;
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.home img {
  max-width: 50%;
  border: 2px solid #00A3FF;
  border-radius: 12px;
  margin: 30px 0;
  box-shadow: 0 0 30px rgba(0, 163, 255, 0.5);
  transition: all 0.3s ease;
}
.home img:hover {
  transform: translateY(4px);
  box-shadow: 0 0 30px rgba(0, 255, 157, 0.1);
}
.auth-buttons { margin-top: 20px; }
/* ── Кнопки ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  margin: 8px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  font-family: 'Exo 2', sans-serif;
}
.btn.full { width: 100%; margin: 0; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-primary {
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  color: #000;
}
.btn-primary:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 0 20px #00FF9D;
}
.btn-secondary {
  background: transparent;
  border: 2px solid #00A3FF;
  color: #00A3FF;
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(0,163,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0,163,255,0.4);
}
.btn-outline {
  background: transparent;
  border: 2px solid #ff4d4d;
  color: #ff4d4d;
  padding: 8px 20px;
  font-size: 14px;
}
.btn-outline:hover { background: rgba(255,77,77,0.1); }
.btn-ghost {
  background: transparent;
  border: none;
  color: #888;
  font-size: 14px;
  margin-top: 12px;
  padding: 6px 0;
  cursor: pointer;
  font-family: 'Exo 2', sans-serif;
}
.btn-ghost:hover { color: #fff; }
/* ── Role badge ── */
.role-badge {
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.role-badge.admin { background: #ff6b35; color: #000; }
.role-badge.standard { background: #00A3FF; color: #000; }
/* ── Auth card ── */
.auth-card {
  max-width: 420px;
  margin: 0 auto;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(0,163,255,0.3);
  border-radius: 20px;
  padding: 40px 36px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 40px rgba(0,163,255,0.15);
  text-align: left;
}
.auth-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 14px;
  color: #aaa;
  margin-bottom: 8px;
}
.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(0,163,255,0.3);
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-family: 'Exo 2', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: #00FF9D; }
.form-group input::placeholder { color: #555; }
.hint { color: #555; font-size: 12px; }
.error-msg {
  background: rgba(255,77,77,0.15);
  border: 1px solid rgba(255,77,77,0.4);
  color: #ff6b6b;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 18px;
}
.switch-link {
  text-align: center;
  font-size: 14px;
  color: #888;
  margin-top: 16px;
}
.switch-link a {
  color: #00A3FF;
  cursor: pointer;
  text-decoration: underline;
}
.switch-link a:hover { color: #00FF9D; }
html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  width: 100%;
}
/* ── Bios and quiz ── */
.page {
  padding: 20px;
  color: white;
}
.header-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 28px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.question {
  font-size: 20px;
  margin-bottom: 20px;
}
.profile-card {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid rgba(0,255,157,0.2);
  box-shadow: 0 0 20px rgba(0,255,157,0.1);
}.skeleton-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.skeleton-img,
.skeleton-text,
.skeleton-btn {
  background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  0% { background-position: -500px 0; }
  100% { background-position: 500px 0; }
}
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-bottom: 2px solid rgba(0, 163, 255, 0.2);
  margin-bottom: 40px;
}
.header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(20px, 3vw, 32px);
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.user-info {
  display: flex;
  gap: 12px;
  align-items: center;
}
.user-email { font-size: 14px; color: #aaa; }
.role-badge {
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: bold;
  text-transform: capitalize;
  color: white;
}
.admin-badge { background: #dc3545; }
.user-badge { background: #17a2b8; }
.guest-badge { background: #6c757d; }

.btn-logout {
  border: 2px solid #00FF9D;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  color: white;
  font-weight: bold;
  transition: transform 0.2s, filter 0.2s;
}
.btn-logout:hover {
  transform: translateY(-2px);
  filter: brightness(1.2);
}

.hero-img {
  max-width: 50%;
  margin: 0 auto 30px;
  display: block;
  border-radius: 12px;
  border: 2px solid #00A3FF;
  box-shadow: 0 0 30px rgba(0, 163, 255, 0.5);
  transition: all 0.3s ease;
}
.hero-img:hover {
  transform: translateY(4px);
  box-shadow: 0 0 40px rgba(0, 255, 157, 0.3);
}

.content { text-align: center; }
.welcome-text { font-size: 22px; margin-bottom: 8px; }
.subtitle { font-size: 16px; color: #888; margin-bottom: 20px; }
.highlight { color: #00FF9D; font-weight: 6; }

.buttons-grid, .sections-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: 30px;
  justify-items: center;
}
.btn-component {
  padding: 14px 28px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  color: white;
  transition: transform 0.2s, filter 0.2s;
}
.btn-component:hover { transform: translateY(-2px); filter: brightness(1.2); }

.green { background-color: #28a745; }
.red { background-color: #dc3545; }
.blue { background-color: #17a2b8; }
.yellow { background-color: #ffc107; color: black; }
.dark { background-color: #424242; }

.btn-section {
  padding: 14px 28px;
  border-radius: 12px;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  background: linear-gradient(135deg, #00FF9D, #00A3FF);
  color: white;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 15px rgba(0, 255, 157, 0.3);
}
.btn-section:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(0, 163, 255, 0.6);
}

@keyframes shimmer { 0% { background-position: -500px 0; } 100% { background-position: 500px 0; } }
.skeleton-wrapper { display: flex; flex-direction: column; align-items: center; }
.skeleton-img, .skeleton-text, .skeleton-btn {
  background: linear-gradient(90deg, #1e1e1e 25%, #2a2a2a 50%, #1e1e1e 75%);
  background-size: 1000px 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 10px;
}
.skeleton-img { width: 50%; height: 200px; margin-bottom: 20px; }
.skeleton-text { width: 60%; height: 20px; margin-bottom: 10px; }
.skeleton-text.small { width: 40%; }
.skeleton-buttons {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px; width: 100%; margin-top: 20px;
}
.skeleton-btn { height: 50px; }
