/* =========================================
   SIMULASI PSIKOTES GRATIS — style.css
   Simple, clean, soft pastel design
   ========================================= */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #f8f6f2;
  --card-bg:   #ffffff;
  --primary:   #1e3a5f;
  --secondary: #2a8a8a;
  --accent:    #e8793a;
  --success:   #4caf7d;
  --warning:   #f0a500;
  --danger:    #e05c5c;
  --text:      #1e3a5f;
  --text-muted:#6b7c93;
  --border:    #e0e4ea;
  --radius:    10px;
  --shadow:    0 2px 12px rgba(30,58,95,0.08);
  --font:      'Segoe UI', system-ui, -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

/* --- Utility --- */
.hidden { display: none !important; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* --- Navbar --- */
.navbar {
  background: var(--card-bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(30,58,95,0.07);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.navbar-brand {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand span { color: var(--secondary); }

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-menu a {
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.15s;
}

.navbar-menu a:hover { background: #f0f3f8; text-decoration: none; }

.navbar-menu .nav-home {
  background: var(--secondary);
  color: #fff;
  padding: 0.4rem 1rem;
}

.navbar-menu .nav-home:hover { background: #1f7070; }

.navbar-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--primary);
  padding: 0.25rem;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #e8f0fe 0%, #f8f6f2 60%);
  padding: 4rem 1.25rem 3rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.hero h1 span { color: var(--secondary); }

.hero p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.1s;
  text-decoration: none;
}

.btn:hover { opacity: 0.88; transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-primary   { background: var(--primary);   color: #fff; }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-accent    { background: var(--accent);    color: #fff; }
.btn-outline   { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-ghost     { background: #f0f3f8; color: var(--primary); }
.btn-success   { background: var(--success); color: #fff; }
.btn-danger    { background: var(--danger);  color: #fff; }
.btn-sm        { padding: 0.4rem 0.9rem; font-size: 0.85rem; }
.btn-lg        { padding: 0.8rem 1.8rem; font-size: 1.05rem; }
.btn-block     { width: 100%; justify-content: center; }
.btn:disabled  { opacity: 0.45; cursor: not-allowed; transform: none; }

/* --- Section --- */
.section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* --- Cards grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.15s;
}

.card:hover { box-shadow: 0 4px 20px rgba(30,58,95,0.12); transform: translateY(-2px); }

.card-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.55;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}

.badge-primary { background: #dde9f8; color: var(--primary); }
.badge-secondary { background: #d4f0f0; color: #1f7070; }
.badge-accent { background: #fdebd8; color: #c05a1a; }
.badge-success { background: #d9f3e6; color: #2d7a50; }

/* --- Package set selector --- */
.set-tabs {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.set-tab {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: 2px solid var(--border);
  background: var(--card-bg);
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}

.set-tab:hover { border-color: var(--secondary); color: var(--secondary); }
.set-tab.active { background: var(--primary); color: #fff; border-color: var(--primary); }

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

.category-card {
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
}

.category-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.category-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.category-card .name { font-weight: 700; color: var(--primary); font-size: 0.92rem; }
.category-card .meta { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.3rem; }

/* --- Instruction Screen --- */
#screen-instruction {
  max-width: 680px;
  margin: 2rem auto;
  padding: 0 1.25rem;
}

.instruction-box {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.instruction-box h2 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.instruction-box .subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.instruction-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.instruction-stats .stat {
  background: #f0f4fb;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  text-align: center;
  flex: 1;
  min-width: 100px;
}

.instruction-stats .stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
}

.instruction-stats .stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.instruction-rules {
  background: #f8f9fb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.instruction-rules h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.instruction-rules ul {
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.instruction-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* --- Test Screen --- */
#screen-test {
  max-width: 780px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
}

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

.test-section-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.test-timer {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  background: #f0f4fb;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-variant-numeric: tabular-nums;
}

.test-timer.warning { color: var(--warning); background: #fff8e8; }
.test-timer.danger  { color: var(--danger);  background: #fdeaea; }

.test-progress {
  margin-bottom: 1.25rem;
}

.progress-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
  display: flex;
  justify-content: space-between;
}

.progress-bar-bg {
  background: var(--border);
  border-radius: 10px;
  height: 7px;
  overflow: hidden;
}

.progress-bar-fill {
  background: var(--secondary);
  height: 100%;
  border-radius: 10px;
  transition: width 0.3s;
}

.question-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}

.question-number {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.question-text {
  font-size: 1rem;
  color: var(--text);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

/* Stimulus area (table / chart / figural) */
.question-stimulus {
  background: #f8f9fb;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

/* Options */
.options-list { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }

.option-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 0.93rem;
  line-height: 1.5;
}

.option-item:hover { border-color: var(--secondary); background: #f0fafa; }

.option-item.selected {
  border-color: var(--primary);
  background: #eef3fb;
}

.option-item input[type="radio"] { margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }

/* Likert options */
.likert-statement {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  line-height: 1.65;
  color: var(--text);
}

.likert-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.likert-btn {
  flex: 1;
  min-width: 80px;
  padding: 0.6rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: var(--card-bg);
  cursor: pointer;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: all 0.15s;
  font-weight: 600;
}

.likert-btn:hover { border-color: var(--secondary); color: var(--secondary); }
.likert-btn.selected { background: var(--primary); color: #fff; border-color: var(--primary); }
.likert-btn .val { font-size: 1.1rem; display: block; margin-bottom: 0.2rem; }

.test-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.autosave-note {
  font-size: 0.78rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

/* --- Empty State --- */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
  max-width: 480px;
  margin: 2rem auto;
}

.empty-state-icon { font-size: 3.5rem; margin-bottom: 1rem; }

.empty-state h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

/* --- Result Screen --- */
#screen-result {
  max-width: 780px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
}

.result-header {
  text-align: center;
  margin-bottom: 2rem;
}

.result-header h2 { font-size: 1.6rem; color: var(--primary); margin-bottom: 0.4rem; }
.result-header p  { color: var(--text-muted); font-size: 0.92rem; }

.result-status {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1rem;
  margin-top: 0.75rem;
}

.status-recommended  { background: #d9f3e6; color: #2d7a50; }
.status-consider     { background: #fdeaea; color: #b03030; }
.status-medium       { background: #fff8e8; color: #9a6a00; }
.status-practice     { background: #f0f3f8; color: var(--text-muted); }

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

.score-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.score-card .score-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.score-card .score-percent {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.score-card .score-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

.score-card .score-percentile {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--secondary);
}

/* Radar chart container */
#radar-container {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  margin-bottom: 2rem;
}

#radar-container h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.workstyle-dims {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.dim-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
}

.dim-bar .dim-name { flex: 1; color: var(--text); font-weight: 600; }
.dim-bar .dim-score { width: 30px; text-align: right; color: var(--secondary); font-weight: 700; }

.dim-bar-bg {
  flex: 2;
  background: var(--border);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
}

.dim-bar-fill { background: var(--secondary); height: 100%; border-radius: 10px; }

.result-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }

/* Resume prompt */
.resume-prompt {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--secondary);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.resume-prompt h4 { color: var(--primary); margin-bottom: 0.4rem; }
.resume-prompt p  { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.75rem; }

/* --- Subtest transition (Full Mix) --- */
.subtest-transition {
  text-align: center;
  padding: 2.5rem 1.5rem;
  max-width: 520px;
  margin: 2rem auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.subtest-transition h3 { color: var(--primary); font-size: 1.3rem; margin-bottom: 0.5rem; }
.subtest-transition p  { color: var(--text-muted); margin-bottom: 1.5rem; }

/* --- Footer --- */
.footer {
  background: var(--primary);
  color: #b8cbdf;
  padding: 2.5rem 1.25rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.footer a { color: #aad4e6; }
.footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 0.88rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: #8aa4bc;
}

/* --- Alert / Notif --- */
.alert {
  padding: 0.85rem 1.1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  border-left: 4px solid transparent;
}

.alert-warning { background: #fff8e8; border-color: var(--warning); color: #7a5500; }
.alert-info    { background: #e8f4fd; border-color: var(--secondary); color: #145a75; }
.alert-success { background: #d9f3e6; border-color: var(--success); color: #1e5a38; }
.alert-danger  { background: #fdeaea; border-color: var(--danger); color: #8c2020; }

/* --- Simple table (for numerical stimulus) --- */
.stim-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.stim-table th, .stim-table td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: center;
}
.stim-table th { background: #f0f4fb; color: var(--primary); font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.55rem; }
  .hero p  { font-size: 0.93rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .navbar-menu { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--card-bg); border-bottom: 1px solid var(--border); padding: 0.75rem 1.25rem; gap: 0.25rem; }
  .navbar-menu.open { display: flex; }
  .navbar-toggle { display: block; }
  .navbar-inner { position: relative; }
  .cards-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .result-scores { grid-template-columns: repeat(2, 1fr); }
  .test-header { flex-direction: column; align-items: flex-start; }
  .likert-options { flex-direction: column; }
  .likert-btn { min-width: unset; display: flex; align-items: center; gap: 0.6rem; }
  .likert-btn .val { display: inline; margin: 0; }
  .instruction-stats { flex-direction: column; }
}

@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
  .result-scores { grid-template-columns: 1fr; }
  .test-nav { flex-direction: column; }
  .test-nav .btn { width: 100%; justify-content: center; }
}
/* =========================================
   MOBILE FIX — RESULT REPORT / PSIKOTES
   Tambahkan di paling bawah style.css
   ========================================= */

.result-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.25rem;
  overflow: hidden;
}

.result-score-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.result-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.result-summary > div {
  background: #f8f9fb;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.88rem;
}

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

.result-subtest-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: var(--shadow);
}

.result-subtest-card h4 {
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.result-subtest-card ol,
.result-subtest-card ul {
  padding-left: 1.2rem;
  line-height: 1.7;
}

.result-bar {
  width: 100%;
  height: 9px;
  background: var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.result-bar span {
  display: block;
  height: 100%;
  background: var(--secondary);
  border-radius: 999px;
}

.radar-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.radar-container svg,
#radar-result svg {
  max-width: 100%;
  height: auto;
}

/* Mobile report layout */
@media (max-width: 768px) {
  #screen-result {
    padding: 1.25rem 0.85rem;
    max-width: 100%;
  }

  .result-header {
    margin-bottom: 1.25rem;
  }

  .result-header h2 {
    font-size: 1.35rem;
  }

  .result-card {
    padding: 1rem !important;
    margin: 0 0 1rem !important;
    border-radius: 14px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .result-report-top {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .result-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
    width: 100% !important;
  }

  .result-subtest-card {
    width: 100%;
    max-width: 100%;
  }

  .result-summary {
    grid-template-columns: 1fr 1fr;
  }

  .result-score-big {
    font-size: 2.4rem !important;
  }

  .result-status {
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
  }

  .result-conclusion {
    padding: 0.9rem !important;
    border-radius: 12px !important;
  }

  .result-conclusion h3 {
    font-size: 1.05rem;
  }

  .result-conclusion p,
  .result-conclusion li {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .radar-container {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  #radar-result {
    width: 100%;
    max-width: 100%;
  }

  #radar-result svg {
    width: 100% !important;
    max-width: 280px !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }

  .result-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100%;
  }

  .result-actions .btn,
  .result-actions button,
  .result-actions a {
    width: 100% !important;
    justify-content: center !important;
    text-align: center;
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 0.9rem;
  }

  .navbar-inner {
    padding: 0.75rem 0.9rem;
  }

  .navbar-brand {
    font-size: 0.98rem;
  }

  .navbar-menu {
    top: 54px;
  }

  #screen-result {
    padding: 1rem 0.7rem;
  }

  .result-card {
    padding: 0.85rem !important;
  }

  .result-summary {
    grid-template-columns: 1fr !important;
  }

  .result-summary > div {
    font-size: 0.85rem;
  }

  .result-score-big {
    font-size: 2.15rem !important;
  }

  .result-card h2 {
    font-size: 1.35rem !important;
  }

  .result-card h3 {
    font-size: 1.05rem !important;
  }

  .result-card h4 {
    font-size: 0.98rem !important;
  }

  .result-card p,
  .result-card li {
    font-size: 0.88rem;
  }

  .alert {
    font-size: 0.82rem;
    padding: 0.75rem 0.85rem;
  }

  #radar-result svg {
    max-width: 250px !important;
  }
}