/* Enhanced Comic Style for Index Page */

/* Improved Vietnamese Font Support */
@font-face {
  font-family: "NinjaFont";
  src: url("../fonts/Bangers-Regular.ttf") format("truetype");
  font-display: swap;
}

.vietnamese-font {
  font-family: "NinjaFont", "Montserrat", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif !important;
  letter-spacing: 0.03em !important;
  word-spacing: 0.05em !important;
  text-rendering: optimizeLegibility;
}

/* Enhanced Title Effects */
.manga-title {
  text-shadow: 3px 3px 0 #000, -2px 2px 0 #000, 2px -2px 0 #000,
    -2px -2px 0 #000;
  -webkit-text-stroke: 1px black;
  margin: 0 0 10px;
  display: inline-block;
  position: relative;
  z-index: 2;
  padding: 5px 15px;
  color: #ffb700;
  /* Brighter yellow-orange for better visibility */
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 800;
  background: transparent;
  border: none;
  box-shadow: none;
  text-transform: uppercase;
}

.ninjaschoolonline-tagline {
  text-align: center;
  font-size: 1.3rem;
  margin: 10px 0 5px;
  color: white;
  font-style: italic;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  position: relative;
  z-index: 2;
  padding: 0 10px;
}

/* Hero Section Enhancements */
.hero-section {
  margin-bottom: 40px;
}

.hero-banner {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin: 20px 0;
  transform: rotate(-1deg);
}

.hero-banner img {
  width: 100%;
  display: block;
}

.hero-buttons-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.manga-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
}

.manga-btn i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.manga-btn span {
  display: inline-block;
  transition: transform 0.3s ease;
}

.manga-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.manga-btn:hover span {
  transform: translateY(2px);
}

/* Features Section Enhancements */
.features-slider {
  margin: 30px 0;
  border-radius: 10px;
  overflow: visible;
  position: relative;
  padding: 10px 0 11px;
  /* Reduced bottom padding by 19px (0.5cm) */
}

.feature-slide {
  display: block;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  /* No transformations or transitions */
}

/* Added to prevent any hover effects on feature images */
.feature-slide:hover,
.feature-image:hover,
.feature-image img:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
  transition: none !important;
}

/* Added to reduce feature image height by 0.5cm */
.feature-image {
  height: calc(100% - 19px);
  /* Reduced by 0.5cm (19px) */
  overflow: hidden;
}

/* Comic Navigation Buttons - adjusted positioning */
.comic-nav-button {
  background-color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid var(--manga-border-color);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
  color: var(--ninjaschoolonline-orange) !important;
  transition: all 0.3s ease;
}

/* Move navigation buttons further to the sides */
.swiper-button-next.comic-nav-button {
  right: -10px;
  /* Move further to the right */
}

.swiper-button-prev.comic-nav-button {
  left: -10px;
  /* Move further to the left */
}

/* Hide navigation buttons completely on mobile devices */
@media (max-width: 767.98px) {
  .swiper-button-next.comic-nav-button,
  .swiper-button-prev.comic-nav-button {
    display: none !important;
    /* Hide navigation buttons on mobile */
  }
}

.comic-nav-button:after {
  font-size: 18px !important;
  font-weight: bold;
}

.comic-nav-button:hover {
  transform: scale(1.1);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
}

/* Enhanced Characters Section with simpler animations */
.characters-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 15px 5px 25px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--ninjaschoolonline-orange) rgba(0, 0, 0, 0.1);
}

.characters-container::-webkit-scrollbar {
  height: 8px;
}

.characters-container::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.characters-container::-webkit-scrollbar-thumb {
  background-color: var(--ninjaschoolonline-orange);
  border-radius: 4px;
}

.character-card {
  flex: 0 0 auto;
  width: 160px;
  background: linear-gradient(to bottom, #f9f9f9, #e9e9e9);
  border: 3px solid var(--manga-border-color);
  border-radius: 10px;
  overflow: visible;
  position: relative;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
  padding: 8px;
  transform: rotate(0deg);
  /* Removed rotation */
  transition: all 0.2s ease;
  /* Faster, simpler transition */
}

.character-card:hover {
  transform: translateY(-5px);
  /* Simpler hover effect */
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}

.character-thumbnail {
  width: 100px;
  height: 100px;
  margin: -15px auto 10px;
  position: relative;
  z-index: 2;
}

.character-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.character-info-preview {
  padding: 5px 10px 15px;
  text-align: center;
}

.character-info-preview h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  color: var(--ninjaschoolonline-orange);
  transition: all 0.3s ease;
}

.character-card:hover .character-info-preview h3 {
  color: var(--ninjaschoolonline-black);
}

.character-type {
  display: inline-block;
  background-color: #f0f0f0;
  border: 2px solid #ccc;
  border-radius: 15px;
  padding: 2px 10px;
  font-size: 0.8rem;
  color: #555;
  transition: all 0.3s ease;
}

.character-card:hover .character-type {
  background-color: var(--ninjaschoolonline-orange);
  color: white;
  border-color: var(--ninjaschoolonline-black);
}

/* Character Modal Enhanced */
.character-modal-content {
  background-color: white;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: rotate(-1deg);
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  cursor: pointer;
  z-index: 10;
  color: var(--ninjaschoolonline-orange);
  width: 35px;
  height: 35px;
  background: white;
  border-radius: 50%;
  border: 2px solid var(--manga-border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.close-modal:hover {
  transform: rotate(90deg);
  color: var(--danger-color);
}

.character-view {
  display: flex;
  flex-direction: column;
}

.character-full-image {
  max-width: 100%;
  height: auto;
  border-bottom: 3px solid var(--ninjaschoolonline-orange);
}

.character-info {
  padding: 20px;
}

.character-type-badge {
  display: inline-block;
  background-color: var(--ninjaschoolonline-orange);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-weight: bold;
  border: 2px solid var(--manga-border-color);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.character-info h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--ninjaschoolonline-orange);
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
}

.character-info p {
  margin-bottom: 20px;
  line-height: 1.6;
  font-size: 1.05rem;
  color: #333;
}

.character-skills-container {
  margin-top: 25px;
  border: 3px solid var(--manga-border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  position: relative;
}

.skills-title {
  background: var(--ninjaschoolonline-orange);
  color: white;
  margin: 0;
  padding: 10px;
  text-align: center;
  font-size: 1.4rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
  position: relative;
}

.shuriken-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url("../images/shuriken.png");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
  padding: 15px;
}

.skill-item {
  background: white;
  border: 2px solid var(--manga-border-color);
  border-radius: 8px;
  padding: 10px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(-1deg);
  overflow: hidden;
}

.skill-item:hover {
  transform: rotate(1deg) translateY(-3px);
  box-shadow: 3px 5px 0 rgba(0, 0, 0, 0.3);
}

.skill-item:before {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  right: -10px;
  top: -10px;
  background: var(--ninjaschoolonline-orange);
  transform: rotate(45deg);
  z-index: 0;
}

.skill-name {
  color: var(--ninjaschoolonline-black);
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 5px;
  position: relative;
  z-index: 1;
}

.skill-description {
  color: #555;
  font-size: 0.9rem;
  position: relative;
  z-index: 1;
}

/* Enhanced News Section */
.news-compact {
  display: flex;
  flex-direction: row-reverse;
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

/* Featured image styling with improved hover preview */
.news-featured-image-container {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  border-left: none;
}

.news-featured-image {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.news-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 30px 20px 15px;
}

.featured-title {
  color: white;
  font-size: 1.3rem;
  margin: 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* News content styling */
.news-content {
  flex: 0 0 60%;
  display: flex;
  flex-direction: column;
  border-right: 3px solid var(--manga-border-color);
}

/* Enhanced category tabs with refined style */
.news-tabs-container {
  border-bottom: 2px solid var(--manga-border-color);
  background-color: #f8f8f8;
  position: relative;
  z-index: 10;
}

.news-tabs {
  display: flex;
  overflow-x: auto;
  padding: 10px;
  scrollbar-width: thin;
  scrollbar-color: var(--ninjaschoolonline-orange) transparent;
  justify-content: flex-start;
  gap: 5px;
  position: relative;
  z-index: 15;
}

/* Fix the news tab buttons by making them actual buttons */
.news-tab {
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 2px solid var(--manga-border-color);
  background-color: white;
  box-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2);
  flex: 0 0 auto;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  margin: 0;
  font-family: inherit;
  text-decoration: none;
}

.news-tab .tab-effect {
  position: relative;
  z-index: 1;
}

.news-tab:hover {
  transform: translateY(-2px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
}

.news-tab.active {
  color: #333;
  background-color: var(--accent-color);
  transform: scale(1.05);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.3);
  z-index: 20;
}

.news-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 10px 5px;
  max-height: 350px;
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: var(--ninjaschoolonline-orange) transparent;
}

.news-items-container::-webkit-scrollbar {
  width: 5px;
}

.news-items-container::-webkit-scrollbar-track {
  background: transparent;
}

.news-items-container::-webkit-scrollbar-thumb {
  background-color: var(--ninjaschoolonline-orange);
  border-radius: 10px;
}

.news-items {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 10px 15px;
}

.news-items.active {
  display: block;
  position: relative;
  opacity: 1;
  pointer-events: all;
}

/* News item styling with hover effects */
.news-item {
  padding: 12px;
  border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
  position: relative;
  transition: all 0.3s ease;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 5px;
}

.news-item:last-child {
  border-bottom: none;
}

.news-category-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  margin-bottom: 5px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(0, 0, 0, 0.3);
}

.news-title {
  margin: 5px 0;
  font-size: 1rem;
}

.news-title a {
  color: var(--dark-color);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title a:hover {
  color: var(--ninjaschoolonline-orange);
}

.news-date {
  font-size: 0.8rem;
  color: #777;
}

.news-date i {
  margin-right: 4px;
  color: #999;
}

/* View all news button */
.view-all-news {
  display: block;
  text-align: center;
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 2px solid var(--manga-border-color);
  color: var(--ninjaschoolonline-orange);
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
}

.view-all-news:hover {
  background-color: var(--ninjaschoolonline-orange);
  color: white;
}

.view-all-news i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.view-all-news:hover i {
  transform: translateX(5px);
}

/* No news styling */
.no-news-container {
  padding: 40px 20px;
  text-align: center;
}

.no-news-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.no-news-icon i {
  font-size: 40px;
  color: #ccc;
}

/* Empty data styling */
.empty-data-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ccc;
}

.no-character-data {
  text-align: center;
  padding: 30px 0;
}

/* Removed logo styling for hero section */
/* Responsive adjustments for the logo */
@media (max-width: 767.98px) {
  .hero-logo {
    max-width: 250px;
  }
}

@media (max-width: 575.98px) {
  .hero-logo {
    max-width: 200px;
  }
}

/* Responsive styles with better Vietnamese text support */
@media (max-width: 991.98px) {
  .manga-title {
    font-size: 2.5rem;
  }

  .comic-heading h2 {
    font-size: 1.7rem;
    padding: 8px 20px;
  }
}

@media (max-width: 767.98px) {
  .manga-title {
    font-size: 2rem;
    padding: 5px;
  }

  .ninjaschoolonline-tagline {
    font-size: 1.1rem;
    margin-top: 5px;
  }

  .comic-heading h2 {
    font-size: 1.4rem;
    padding: 8px 15px;
  }

  .comic-title-container {
    padding: 10px 5px;
    margin-bottom: 20px;
  }
}

@media (max-width: 575.98px) {
  .manga-title {
    font-size: 1.5rem;
    line-height: 1.2;
    padding: 4px;
  }

  .ninjaschoolonline-tagline {
    font-size: 0.9rem;
    line-height: 1.3;
    margin-top: 3px;
  }

  .comic-heading h2 {
    font-size: 1.2rem;
    padding: 6px 12px;
    letter-spacing: 0.5px;
    transform: rotate(0);
  }

  .comic-heading h2::before,
  .comic-heading h2::after {
    margin: 0 5px;
    font-size: 1rem;
  }

  .comic-title-container {
    padding: 10px 5px;
    transform: rotate(0);
    margin-bottom: 15px;
  }
}

/* Unified Empty Data Styling */
.empty-data-container {
  padding: 30px 20px;
  text-align: center;
  background: linear-gradient(to bottom, #f9f9f9, #f0f0f0);
  border: 3px dashed var(--manga-border-color);
  border-radius: 15px;
  margin: 20px auto;
  max-width: 400px;
  position: relative;
  overflow: hidden;
}

.empty-data-container:before,
.empty-data-container:after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border: 3px solid var(--ninjaschoolonline-orange);
  border-radius: 50%;
  z-index: 0;
  opacity: 0.2;
}

.empty-data-container:before {
  top: -15px;
  left: -15px;
}

.empty-data-container:after {
  bottom: -15px;
  right: -15px;
}

.empty-data-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #ccc;
  animation: float 3s ease-in-out infinite;
  background: white;
}

.empty-data-message {
  font-size: 1.1rem;
  color: #777;
  margin: 10px 0;
  font-weight: 600;
  text-shadow: 1px 1px 0 white;
}

.empty-data-decoration {
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255, 165, 0, 0.1) 10px,
    rgba(255, 165, 0, 0.1) 20px
  );
  height: 10px;
  width: 80%;
  margin: 15px auto 5px;
  border-radius: 5px;
}

/* Smaller empty state for tabs/lists */
.empty-data-mini {
  padding: 15px;
  text-align: center;
  color: #777;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
  margin: 10px 0;
  font-style: italic;
}

.empty-data-mini i {
  margin-right: 5px;
  color: var(--ninjaschoolonline-orange);
}

/* Fix for the character container when empty */
.characters-section .empty-data-container {
  min-width: 300px;
  margin: 20px auto;
}

/* Feature section empty state */
.features-slider .empty-data-container {
  height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

/* Fix for news items display */
.news-items {
  display: none;
  padding: 10px 15px;
}

.news-items.active {
  display: block !important;
  position: relative !important;
  opacity: 1 !important;
  pointer-events: all !important;
}

/* Animation for floating elements */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Fixed navigation buttons */
.main-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  position: sticky;
  top: 20px;
  z-index: 100;
}

.comic-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 3px solid #000;
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
  min-width: 160px;
  text-align: center;
}

.comic-button i {
  margin-right: 8px;
  font-size: 18px;
}

.comic-button.primary {
  background-color: #ff5722;
  color: #fff;
}

.comic-button.secondary {
  background-color: #2196f3;
  color: #fff;
}

.comic-button:hover {
  transform: translateY(-3px);
  box-shadow: 7px 7px 0 rgba(0, 0, 0, 0.3);
}

.comic-button:active {
  transform: translateY(2px);
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .main-buttons {
    position: fixed;
    bottom: 20px;
    top: auto;
    left: 0;
    right: 0;
    margin: 0 20px;
    padding: 10px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  }

  .comic-button {
    padding: 10px 15px;
    min-width: 0;
    flex: 1;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .main-buttons {
    gap: 10px;
  }

  .comic-button span {
    display: none;
  }

  .comic-button i {
    margin-right: 0;
    font-size: 20px;
  }

  .comic-button {
    padding: 12px;
    border-radius: 50%;
    aspect-ratio: 1/1;
  }
}

/* Ensure header buttons on index page have consistent styling */
.header .auth-buttons .btn,
.header .auth-buttons .btn-register,
.header .auth-buttons .btn-login,
.header .auth-buttons .btn-profile,
.header .auth-buttons .btn-logout {
  /* Reapply the same styles to ensure they override any page-specific styles */
  display: inline-block;
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  min-width: 90px;
  margin: 0 5px;
  box-sizing: border-box;
  font-size: 0.9rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fix header buttons specifically for index page - override any problematic styles */
.home-page .auth-buttons .btn,
.home-page .auth-buttons .btn-register,
.home-page .auth-buttons .btn-login,
.home-page .auth-buttons .btn-profile,
.home-page .auth-buttons .btn-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  background-color: #ff9500;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  min-width: 90px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.home-page .auth-buttons .btn:hover,
.home-page .auth-buttons .btn-register:hover,
.home-page .auth-buttons .btn-login:hover,
.home-page .auth-buttons .btn-profile:hover,
.home-page .auth-buttons .btn-logout:hover {
  background-color: #e67e00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Ensure header layout on index page */
.home-page .header .auth-container {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
  padding-right: 10px !important;
}

.home-page .header .header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
  padding: 0 15px !important;
}

/* Specific styles for the index/home page */

/* Banner section */
.home-banner {
  position: relative;
  width: 100%;
  margin-bottom: 30px;
}

/* Home page header button styles to ensure consistency */
.home-page .auth-buttons .btn,
.home-page .auth-buttons .btn-register,
.home-page .auth-buttons .btn-login,
.home-page .auth-buttons .btn-profile,
.home-page .auth-buttons .btn-logout {
  padding: 8px 15px;
  border-radius: 50px;
  font-weight: 600;
  text-align: center;
}

/* Ensure consistent auth button styling on index page */
.home-page .auth-buttons .btn,
.home-page .auth-buttons .btn-register,
.home-page .auth-buttons .btn-login,
.home-page .auth-buttons .btn-profile,
.home-page .auth-buttons .btn-logout {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 4px;
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  min-width: 90px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}

.home-page .auth-buttons .btn:hover,
.home-page .auth-buttons .btn-register:hover,
.home-page .auth-buttons .btn-login:hover,
.home-page .auth-buttons .btn-profile:hover,
.home-page .auth-buttons .btn-logout:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}
