/* ==========================================================================
   Kosa Kata Styling (kosa_kata.css) - QOMAR Project
   ========================================================================== */

/* Main Page layout */
.pages-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 90px; /* Space for fixed bottom navigation */
}

/* Page Container */
.vocab-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  width: 100%;
  max-width: 540px;
  padding: 1.5rem;
  box-sizing: border-box;
  margin-top: 1.5rem;
}

/* Flashcard Styles */
.vocab-card-outer {
  width: 100%;
  perspective: 1000px;
  margin-bottom: 2rem;
}

.vocab-card {
  width: 100%;
  padding: 2rem;
  border-radius: 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  box-sizing: border-box;
  transform-origin: center;
  transition: transform 0.4s var(--ease-spring), box-shadow 0.4s;
}

.vocab-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

/* Image container */
.vocab-image-container {
  width: 100%;
  max-width: calc(380px * var(--udl-img-scale, 1));
  height: calc(320px * var(--udl-img-scale, 1));
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(2, 38, 128, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  padding: 0.5rem;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

.vocab-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  transition: transform 0.3s ease;
}

.vocab-card:hover .vocab-image {
  transform: scale(1.03);
}

/* Typography contents */
.vocab-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.vocab-arabic {
  font-family: var(--font-arabic);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-blue-800);
  line-height: 1.2;
  margin: 0;
  direction: rtl;
  text-shadow: 0 2px 4px rgba(2, 38, 128, 0.06);
}

.vocab-transliteration {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-pink-500);
  font-style: italic;
  margin: 0;
}

.vocab-translation {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-blue-900);
  margin: 0;
}

/* Progress Tracker Section */
.vocab-progress-section {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem 1rem;
  box-sizing: border-box;
}

.progress-info {
  display: flex;
  justify-content: center;
  align-items: center;
}

.progress-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue-800);
  letter-spacing: 0.5px;
}

.progress-track {
  width: 100%;
  height: 10px;
  border-radius: 50px;
  background: rgba(2, 38, 128, 0.08);
  overflow: hidden;
  border: 1px solid rgba(2, 38, 128, 0.05);
}

.progress-bar {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--color-blue-500) 0%, var(--color-blue-600) 100%);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(25, 103, 222, 0.4);
}

/* Bottom Navigation Controls */
.nav-control-section {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid rgba(2, 38, 128, 0.1);
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: center;
}

.nav-control-inner {
  width: 100%;
  max-width: 540px; /* Aligns with card container width */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Nav Buttons styling */
.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 750;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
  outline: none;
}

/* Prev Button (Transparent / Muted) */
.prev-btn {
  background: transparent;
  color: var(--color-blue-800);
}

.prev-btn:hover:not(:disabled) {
  transform: translateX(-4px);
  color: var(--color-blue-600);
}

.prev-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none !important;
}

/* Next Button (Solid Brand Blue) */
.next-btn {
  background: var(--color-blue-500);
  color: white;
  box-shadow: 0 4px 12px rgba(25, 103, 222, 0.25);
}

.next-btn:hover {
  background: var(--color-blue-600);
  transform: translateX(4px) scale(1.02);
  box-shadow: 0 6px 16px rgba(25, 103, 222, 0.35);
}

.next-btn:active {
  transform: translateY(1px);
}

/* Special styling when changing to 'Tonton Video' */
.next-btn.watch-video-state {
  background: var(--color-pink-500);
  box-shadow: 0 4px 12px rgba(226, 82, 140, 0.25);
}

.next-btn.watch-video-state:hover {
  background: #ce3d75;
  box-shadow: 0 6px 16px rgba(226, 82, 140, 0.35);
}

.nav-btn-icon {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

/* Dots Indicator style */
.dots-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(2, 38, 128, 0.15);
  transition: all 0.3s var(--ease-spring);
  cursor: pointer;
}

.dot:hover {
  background: rgba(2, 38, 128, 0.3);
}

.dot.active {
  width: 18px;
  border-radius: 50px;
  background: var(--color-blue-500);
}

/* Animation utilities for slider updates */
.vocab-card.slide-in-right {
  will-change: transform, opacity;
  animation: slideInRight 0.4s var(--ease-spring) forwards;
}

.vocab-card.slide-in-left {
  will-change: transform, opacity;
  animation: slideInLeft 0.4s var(--ease-spring) forwards;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px) rotate(1deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px) rotate(-1deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) rotate(0deg);
  }
}

/* Responsive adjustment for Mobile-first views */
@media (max-width: 480px) {
  .vocab-container {
    padding: 1rem;
  }
  
  .vocab-card {
    padding: 1.5rem 1rem;
    gap: 1.25rem;
  }
  
  .vocab-image-container {
    height: 160px;
  }
  
  .vocab-arabic {
    font-size: 2.75rem;
  }
  
  .vocab-transliteration {
    font-size: 1.15rem;
  }
  
  .vocab-translation {
    font-size: 1rem;
  }
  
  .nav-btn span {
    display: none; /* Hide button text on extra-small screens to preserve space */
  }
  
  .nav-btn {
    padding: 0.75rem 1.15rem;
  }
}

/* ==========================================================================
   Multi-Screen & Audio Features Styling (Added)
   ========================================================================== */

/* Screen container logic */
.screen-container {
  width: 100%;
  animation: fadeIn 0.4s ease-out;
}

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

/* 1. Theme Selection Screen Styles */
.theme-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-blue-800);
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
  text-shadow: 0 2px 4px rgba(2, 38, 128, 0.05);
}

.theme-subtitle {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-blue-600);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem;
  box-sizing: border-box;
}

.theme-card {
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s var(--ease-spring);
}

.theme-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-elevated);
  border-color: rgba(2, 38, 128, 0.35);
}

.theme-card-icon-container {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

.theme-card-icon-container .theme-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

/* Theme card icons background styles */
.theme-card-icon-container.bg-blue {
  background: linear-gradient(135deg, var(--color-blue-400) 0%, var(--color-blue-600) 100%);
}

.theme-card-icon-container.bg-pink {
  background: linear-gradient(135deg, #ff7ba9 0%, var(--color-pink-500) 100%);
}

.theme-card-icon-container.bg-teal {
  background: linear-gradient(135deg, #20cfae 0%, var(--color-teal-500) 100%);
}

.theme-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.8rem;
}

.theme-card-arabic {
  font-family: var(--font-arabic);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-blue-800);
  margin-bottom: 0.6rem;
  direction: rtl;
}

.theme-card-title {
  font-size: 1.35rem;
  font-weight: 750;
  color: var(--color-blue-900);
  margin-bottom: 0.8rem;
}

.theme-card-desc {
  font-size: 0.95rem;
  color: var(--color-blue-700);
  line-height: 1.6;
  font-weight: 500;
}

.theme-card-btn {
  background: var(--color-blue-500);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 750;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(25, 103, 222, 0.2);
  transition: all 0.3s var(--ease-spring);
}

.theme-card:hover .theme-card-btn {
  background: var(--color-blue-600);
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(25, 103, 222, 0.3);
}

/* 2. Comic Reader Screen Styles */
.comic-header {
  margin-bottom: 1.5rem;
}

.comic-title-arab {
  font-family: var(--font-arabic);
  font-size: 2.6rem;
  color: var(--color-blue-800);
  margin-bottom: 0.25rem;
}

.comic-title-indo {
  font-size: 1.3rem;
  color: var(--color-pink-500);
  font-weight: 700;
}

.comic-viewer-card {
  max-width: 800px;
  width: 100%;
  margin: 0 auto 2rem auto;
  border-radius: 28px;
  padding: 2.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.comic-image-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 2px solid rgba(2, 38, 128, 0.08);
  padding: 1rem;
  box-sizing: border-box;
  box-shadow: var(--shadow-soft);
}

.comic-img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.comic-img:hover {
  transform: scale(1.01);
}

.comic-page-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
  width: 100%;
}

.comic-page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(2, 38, 128, 0.12);
  background: white;
  color: var(--color-blue-800);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
}

.comic-page-btn:hover:not(:disabled) {
  background: var(--color-blue-500);
  color: white;
  border-color: var(--color-blue-500);
  transform: scale(1.1);
}

.comic-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.comic-page-btn svg {
  width: 18px;
  height: 18px;
}

.comic-page-indicator {
  font-size: 0.95rem;
  font-weight: 750;
  color: var(--color-blue-800);
}

/* Comic dialogue section transcript */
.comic-dialogue-section {
  width: 100%;
}

.section-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--color-blue-600);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.section-divider::before, .section-divider::after {
  content: '';
  flex: 1;
  border-bottom: 2px dashed rgba(2, 38, 128, 0.15);
}

.section-divider:not(:empty)::before {
  margin-right: .75em;
}

.section-divider:not(:empty)::after {
  margin-left: .75em;
}

.comic-dialogue-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: 400px;
  overflow-y: auto;
  padding: 0.5rem 0.75rem;
  background: rgba(2, 38, 128, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(2, 38, 128, 0.05);
}

/* Scrollbar for chat list */
.comic-dialogue-list::-webkit-scrollbar {
  width: 6px;
}
.comic-dialogue-list::-webkit-scrollbar-track {
  background: transparent;
}
.comic-dialogue-list::-webkit-scrollbar-thumb {
  background: rgba(2, 38, 128, 0.15);
  border-radius: 10px;
}

/* Chat bubble dialogue styles */
.chat-bubble {
  max-width: 85%;
  padding: 1rem 1.25rem;
  border-radius: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(2, 38, 128, 0.04);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Character 1 (Left aligned, soft blue) */
.chat-bubble.char-1 {
  align-self: flex-start;
  background: #ffffff;
  border: 1.5px solid rgba(2, 38, 128, 0.08);
  border-bottom-left-radius: 4px;
}

/* Character 2 (Right aligned, soft pink) */
.chat-bubble.char-2 {
  align-self: flex-end;
  background: #ffeef4;
  border: 1.5px solid rgba(226, 82, 140, 0.15);
  border-bottom-right-radius: 4px;
}

.bubble-sender {
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--color-pink-500);
}

.chat-bubble.char-1 .bubble-sender {
  color: var(--color-blue-600);
}

.bubble-arabic {
  font-family: var(--font-arabic);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--color-blue-800);
  direction: rtl;
  text-align: right;
  margin-top: 0.2rem;
}

.bubble-translation {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-blue-900);
}

.comic-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.finish-reading-btn {
  background: var(--color-teal-500);
  color: white;
  border: none;
  padding: 1.1rem 2rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(19, 156, 128, 0.25);
  transition: all 0.3s var(--ease-spring);
}

.finish-reading-btn:hover {
  background: #0f856d;
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 156, 128, 0.35);
}

.finish-icon {
  width: 22px;
  height: 22px;
}

/* Comic back navigation */
.comic-back-nav {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.back-to-menu-btn {
  background: transparent;
  border: none;
  color: var(--color-blue-600);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  transition: all 0.25s ease;
}

.back-to-menu-btn:hover {
  color: var(--color-blue-800);
  background: rgba(2, 38, 128, 0.05);
}

.back-menu-icon {
  width: 18px;
  height: 18px;
}

/* 3. Audio Player Button Styles */
.audio-player-wrapper {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.audio-btn {
  background: linear-gradient(135deg, var(--color-blue-500) 0%, var(--color-blue-600) 100%);
  color: white;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 4px 12px rgba(25, 103, 222, 0.25);
  transition: all 0.3s var(--ease-spring);
}

.audio-btn:hover {
  background: linear-gradient(135deg, var(--color-blue-600) 0%, var(--color-blue-700) 100%);
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(25, 103, 222, 0.35);
}

.audio-btn:active {
  transform: scale(0.98);
}

.audio-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Playing Audio Waves animations */
.audio-btn.playing {
  background: var(--color-pink-500);
  box-shadow: 0 4px 15px rgba(226, 82, 140, 0.35);
}

.audio-btn.playing .audio-wave-1 {
  animation: pulse-soft 0.8s ease-in-out infinite;
}

.audio-btn.playing .audio-wave-2 {
  animation: pulse-soft 0.8s ease-in-out infinite 0.3s;
}

.audio-unavailable {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-blue-600);
  background: rgba(2, 38, 128, 0.05);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px dashed rgba(2, 38, 128, 0.15);
}

/* Desktop Styles for Theme Selection and Comic Reader */
@media (min-width: 768px) {
  .theme-title {
    font-size: 2.5rem;
  }
  
  .theme-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Responsiveness for Chat bubbles and reader */
@media (max-width: 576px) {
  .theme-title {
    font-size: 1.8rem;
    margin-top: 1rem;
  }
  
  .theme-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .comic-viewer-card {
    padding: 1.25rem;
    border-radius: 20px;
    gap: 1.25rem;
  }
  
  .comic-title-arab {
    font-size: 2.1rem;
  }
  
  .comic-title-indo {
    font-size: 1.1rem;
  }
  
  .bubble-arabic {
    font-size: 1.4rem;
  }
  
  .bubble-translation {
    font-size: 0.85rem;
  }
}

/* View Mode Toolbar Styles */
.view-mode-bar {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.view-mode-pill {
  display: inline-flex;
  padding: 0.35rem;
  border-radius: 50px;
  border: 1.5px solid rgba(2, 38, 128, 0.15);
  background: rgba(255, 255, 255, 0.85);
  gap: 0.35rem;
}

.view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-blue-800);
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  outline: none;
}

.view-mode-btn.active {
  background: var(--color-blue-600);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 38, 128, 0.2);
}

.view-mode-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

/* Vocab Grid Galeri Styles */
.vocab-grid-wrapper {
  max-width: 1000px;
  width: 100%;
  margin: 1.25rem auto 4rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.vocab-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
  width: 100%;
}

.vocab-grid-card {
  border-radius: 20px;
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1.5px solid rgba(2, 38, 128, 0.12);
  transition: all 0.3s var(--ease-spring);
  background: rgba(255, 255, 255, 0.9);
}

.vocab-grid-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-blue-500);
  box-shadow: var(--shadow-card);
}

.vocab-grid-image-container {
  width: 100%;
  height: calc(145px * var(--udl-img-scale, 1));
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(2, 38, 128, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  padding: 0.4rem;
  box-sizing: border-box;
  transition: height 0.25s ease;
}

.vocab-grid-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vocab-grid-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  width: 100%;
}

.vocab-grid-arabic {
  font-family: var(--font-arabic);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-blue-800);
  line-height: 1.2;
  margin-top: 0.2rem;
  direction: rtl;
}

.vocab-grid-translit {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-pink-500);
  font-style: italic;
  margin: 0;
}

.vocab-grid-arti {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-blue-900);
  margin-bottom: 0.35rem;
}

.grid-audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: none;
  background: var(--color-blue-500);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s var(--ease-spring);
  box-shadow: 0 2px 8px rgba(25, 103, 222, 0.2);
}

.grid-audio-btn:hover {
  background: var(--color-blue-600);
  transform: scale(1.05);
}

.grid-audio-btn.playing {
  background: var(--color-pink-500);
}

.grid-audio-icon {
  width: 15px;
  height: 15px;
}

.vocab-grid-footer {
  display: flex;
  justify-content: center;
  margin-top: calc(2.5rem * var(--udl-scale, 1));
  margin-bottom: 2rem;
  width: 100%;
  position: relative;
  z-index: 10;
  clear: both;
}

.grid-finish-btn {
  text-decoration: none;
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

