/* 
 * Enhanced Modules Styles 
 * Modernized design for modules page to match enhanced profile and exams
 */

/* Modules Header Section */
.modules-header-section {
  background: linear-gradient(145deg, #3b82f6 0%, #2563eb 100%);
  padding: 7rem 0 0;
  position: relative;
  overflow: hidden;
  color: white;
}

/* Add subtle pattern overlay */
.modules-header-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.modules-header {
  position: relative;
  z-index: 5;
  padding-bottom: 5rem;
}

.modules-header-content {
  animation: fadeInUp 0.5s ease-out;
}

.modules-header h1 {
  font-size: 2.75rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  line-height: 1.2;
}

.modules-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
}

.modules-header-actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.modules-header-actions .btn {
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
  cursor: pointer;
}

.modules-header-actions .btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  z-index: -1;
}

.modules-header-actions .btn:hover::before {
  left: 0;
}

.modules-header-actions .btn i {
  font-size: 1rem;
}

.modules-header-actions .btn-light {
  background: #fff;
  color: #2563eb;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.modules-header-actions .btn-light:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.modules-header-actions .btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #fff;
}

.modules-header-actions .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: white;
}

.modules-image img {
  border-radius: 1rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  transition: all 0.5s ease;
  transform: translateY(0);
}

.modules-image:hover img {
  transform: translateY(-10px);
}

/* Wave divider enhancement */
.wave-divider {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.wave-divider svg {
  width: 100%;
  height: 90px;
  display: block;
}

/* Section Title Styling */
.section-header {
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
  color: #0f172a;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* Search & Filter Styling */
.search-filter-container {
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 2rem;
}

.search-filter-container .input-group {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  overflow: hidden;
}

.search-filter-container .input-group-text,
.search-filter-container .form-control,
.search-filter-container .form-select {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
}

.search-filter-container .form-control:focus,
.search-filter-container .form-select:focus {
  box-shadow: none;
  outline: none;
}

.search-filter-container .form-select {
  max-width: 200px;
  background-color: #f8fafc;
  border-left: 1px solid rgba(0, 0, 0, 0.08);
}

/* Module Card Styling */
.module-card {
  background: #fff;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  height: 100%;
}

.module-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.module-card .card-img-top {
  height: 180px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.module-card:hover .card-img-top {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.module-card .card-header {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  padding: 1.25rem;
  border-bottom: none;
  position: relative;
  z-index: 1;
}

.module-card .card-body {
  padding: 1.5rem;
}

.module-card .card-footer {
  border-top: none;
  padding: 1.25rem;
  background-color: white;
}

/* Premium indicator */
.premium-indicator {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #f59e0b;
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  z-index: 2;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.premium-indicator i {
  font-size: 0.8rem;
}

/* Progress Bar */
.progress {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: #f1f5f9;
  margin: 0.5rem 0;
}

.progress-bar {
  transition: width 1.2s ease-in-out;
}

/* Topic & Question counts */
.module-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748b;
}

.meta-item i {
  color: #3b82f6;
}

/* Premium Upsell Card */
.premium-upsell-card {
  background: linear-gradient(135deg, #fdfbfb 0%, #f8f9fa 100%);
  border-radius: 1rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.premium-upsell-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.premium-upsell-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
  border-radius: 50%;
  transform: translate(50%, -50%);
  z-index: 0;
}

.premium-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
  position: relative;
  z-index: 1;
}

.premium-icon i {
  font-size: 3rem;
  color: white;
}

.premium-upsell-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
  position: relative;
  z-index: 1;
}

.premium-upsell-card p {
  color: #64748b;
  position: relative;
  z-index: 1;
}

.premium-features {
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.feature-item i {
  color: #f59e0b;
  margin-right: 0.75rem;
  font-size: 1.1rem;
}

.btn-premium {
  background: linear-gradient(45deg, #f59e0b, #fbbf24);
  color: white;
  font-weight: 600;
  border: none;
  box-shadow: 0 8px 15px rgba(245, 158, 11, 0.25);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-premium:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 20px rgba(245, 158, 11, 0.35);
  color: white;
}

.btn-premium:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

/* No Content Card */
.no-content-card {
  background: #f8f9fa;
  border-radius: 1rem;
  padding: 3rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px dashed #cbd5e1;
}

.no-content-card i {
  color: #64748b;
  opacity: 0.8;
}

.no-content-card h4 {
  color: #0f172a;
  margin-bottom: 1rem;
}

.no-content-card p {
  color: #64748b;
}

/* Chapter list styling */
.chapters-list {
  margin-top: 1rem;
}

.chapter-item {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  background-color: #f8fafc;
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chapter-item:hover {
  background-color: #f1f5f9;
  transform: translateX(5px);
}

.chapter-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chapter-icon {
  width: 2rem;
  height: 2rem;
  background-color: rgba(59, 130, 246, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.chapter-completed .chapter-icon {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.chapter-title {
  font-weight: 500;
  color: #0f172a;
  margin-bottom: 0;
}

.chapter-status {
  font-size: 0.8rem;
  padding: 0.2rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
}

.status-completed {
  background-color: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.status-in-progress {
  background-color: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.status-not-started {
  background-color: rgba(99, 102, 241, 0.1);
  color: #6366f1;
}

/* Tags styling */
.module-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.module-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background-color: #f1f5f9;
  color: #64748b;
  transition: all 0.3s ease;
}

.module-tag:hover {
  background-color: #e2e8f0;
  transform: translateY(-2px);
}

/* Button for study action */
.btn-study {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-study:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(37, 99, 235, 0.35);
  color: white;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
  }
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .modules-header-section {
    padding-top: 6rem;
  }
  
  .modules-header h1 {
    font-size: 2.25rem;
  }
  
  .premium-upsell-card {
    padding: 2rem;
  }
  
  .premium-icon {
    width: 100px;
    height: 100px;
  }
  
  .premium-icon i {
    font-size: 2.5rem;
  }
  
  .premium-upsell-card h3 {
    font-size: 1.75rem;
  }
  
  .search-filter-container .form-select {
    max-width: 150px;
  }
}

@media (max-width: 767.98px) {
  .modules-header-section {
    padding-top: 5rem;
  }
  
  .modules-header {
    padding-bottom: 3rem;
    text-align: center;
  }
  
  .modules-header h1 {
    font-size: 2rem;
  }
  
  .modules-header-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .modules-header-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .search-filter-container .input-group {
    flex-direction: column;
  }
  
  .search-filter-container .form-select {
    max-width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-left: none;
  }
  
  .premium-upsell-card {
    text-align: center;
    padding: 1.5rem;
  }
  
  .premium-icon {
    margin-bottom: 1.5rem;
  }
  
  .feature-item {
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .modules-header h1 {
    font-size: 1.75rem;
  }
  
  .modules-header p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .premium-upsell-card h3 {
    font-size: 1.5rem;
  }
  
  .premium-icon {
    width: 80px;
    height: 80px;
  }
  
  .premium-icon i {
    font-size: 2rem;
  }
  
  .btn-lg {
    padding: 0.6rem 1.25rem;
    font-size: 1rem;
  }
  
  .meta-item {
    width: 100%;
  }
  
  .module-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Base styles for common elements */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #0f172a;
  line-height: 1.6;
  background-color: #ffffff;
}

/* Navigation Bar */
.navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 0;
  transition: all 0.3s ease;
  z-index: 100;
}

.brand-logo {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
}

.brand-highlight {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.nav-link {
  color: #0f172a;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.625rem 0.5rem;
  transition: all 0.15s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #3b82f6;
}

.nav-link.active::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  margin-top: 4px;
  border-radius: 9999px;
}

/* Skip to content for accessibility */
.skip-to-content {
  position: absolute;
  top: -9999px;
  left: -9999px;
  background: #3b82f6;
  color: #ffffff;
  padding: 1rem 1.5rem;
  z-index: 9999;
  opacity: 0;
  transition: all 0.15s ease;
}

.skip-to-content:focus {
  top: 20px;
  left: 20px;
  opacity: 1;
}

/* Button styles */
.btn {
  font-weight: 500;
  padding: 0.625rem 1.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  outline: none !important;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover, 
.btn-primary:focus {
  background: #1d4ed8;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.btn-outline:hover, 
.btn-outline:focus {
  background: #3b82f6;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-light {
  background: #ffffff;
  color: #3b82f6;
  border: none;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn-light:hover, 
.btn-light:focus {
  background: #f8fafc;
  color: #2563eb;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: #ffffff;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  border-color: #ffffff;
}

/* Footer */
.site-footer {
  background-color: #0f172a;
  color: #e2e8f0;
  padding-top: 4rem;
  position: relative;
}

.footer-brand {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: white;
}

.footer-text {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: #3b82f6;
  transform: translateY(-3px);
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: white;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
  text-decoration: none;
}

.newsletter-form .input-group {
  border-radius: 8px;
  overflow: hidden;
}

.newsletter-form .form-control {
  background-color: #1e293b;
  border: none;
  color: white;
  padding: 0.75rem 1rem;
}

.newsletter-form .form-control::placeholder {
  color: #94a3b8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
}

.copyright {
  color: #94a3b8;
  text-align: center;
  margin: 0;
}

/* Back to top button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: #ffffff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: none;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.back-to-top-btn.show {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Notification container */
.notification-container {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 9999;
  max-width: 350px;
}

/* Spinner */
.spinner-border {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  vertical-align: text-bottom;
  border: 0.25em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border .75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* Responsive navbar adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }

  .nav-buttons {
    margin-top: 1rem;
    flex-direction: column;
    width: 100%;
  }

  .nav-buttons .btn {
    margin: 0.25rem 0;
    width: 100%;
  }
}