/* Belt Requirements Page Styles */

/* Belt Color Bar */
.belt-color-bar {
  height: 20px;
  width: 100%;
}

/* Header Banner Styles */
.banner-header {
  padding: 10px 0 8px;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: auto;
}

.banner-header .title {
  color: #fff;
  font-size: 50px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  line-height: 1.2;
}

.banner-header h5 {
  color: #fff;
  font-size: 11px;
  font-weight: 400;
  margin-bottom: 0;
  line-height: 1.2;
}

.banner-header h5 a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.banner-header h5 a:hover {
  color: #CF3822;
}

.banner-header h5 i {
  margin: 0 10px;
  color: #CF3822;
}

/* Breadcrumb Styles */
.breadcrumb-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  display: none; /* Hide since we have it in the banner */
}

/* Belt Tabs Styling */
.belt-tabs {
  background: #fff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.belt-tabs .nav-pills {
  gap: 10px;
}

.belt-tabs .nav-link {
  background: #f5f5f5;
  color: #333;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 5px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
}

.belt-tabs .nav-link:hover {
  background: #CF3822;
  color: #fff;
}

.belt-tabs .nav-link.active {
  background: #CF3822;
  color: #fff;
}

/* Content Area */
.belt-content {
  min-height: 400px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.belt-content h2 {
  color: #CF3822;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 24px;
}

.belt-content h3 {
  color: #333;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
}

.belt-content ul {
  padding-left: 20px;
}

.belt-content ul li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.belt-content table {
  margin-top: 20px;
  margin-bottom: 30px;
}

.belt-content .table-bordered {
  border: 2px solid #CF3822;
}

.belt-content .table-bordered th,
.belt-content .table-bordered td {
  border-color: #ddd;
  padding: 12px;
}

.belt-content .table-bordered th {
  background: #CF3822;
  color: #fff;
  font-weight: 600;
}

/* Navigation Buttons */
.belt-navigation {
  padding-top: 30px;
}

/* Section Padding */
.section-padding-small {
  padding: 40px 0;
}

/* Section Title */
.section-title h3 {
  color: #CF3822;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title h1 {
  font-size: 28px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Pattern Page Styles */
.pattern-info-bar {
  padding: 5px 0;
  margin: 20px 0;
}

.pattern-info-bar .info-label {
  color: #666;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-right: 8px;
}

.pattern-info-bar .info-value {
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

.pattern-moves {
  counter-reset: pattern-counter;
  padding-left: 0;
  margin-top: 30px;
}

.pattern-moves li {
  counter-increment: pattern-counter;
  list-style: none;
  position: relative;
  padding-left: 50px;
  margin-bottom: 15px;
  line-height: 1.8;
}

.pattern-moves li::before {
  content: counter(pattern-counter);
  position: absolute;
  left: 0;
  top: 0;
  color: #CF3822;
  font-weight: bold;
  font-size: 18px;
  width: 35px;
  text-align: right;
}

/* Belt Requirements Index Page - Row Layout */
.belt-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.belt-row {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

a.belt-row-link,
.belt-row-link {
  display: flex !important;
  align-items: center !important;
  text-decoration: none !important;
  color: inherit !important;
  padding: 20px !important;
  gap: 25px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  flex-direction: row !important;
}

a.belt-row-link:hover,
.belt-row-link:hover {
  text-decoration: none !important;
  color: inherit !important;
  display: flex !important;
  align-items: center !important;
  padding: 20px !important;
  gap: 25px !important;
  flex-direction: row !important;
}

.belt-row.disabled .belt-row-link {
  cursor: default;
  opacity: 0.6;
}

.belt-row-color {
  flex-shrink: 0;
}

.belt-stripe {
  width: 60px;
  height: 20px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.belt-row-content {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.belt-row-header h4 {
  color: #333;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.belt-row.disabled .belt-row-header h4 {
  color: #999;
}

.belt-row-details {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.belt-detail-item {
  display: flex;
  gap: 8px;
  align-items: center;
}

.detail-label {
  color: #999;
  font-weight: 600;
  font-size: 14px;
}

.detail-value {
  color: #CF3822;
  font-weight: 700;
  font-size: 14px;
}

.belt-row.disabled .detail-value {
  color: #999;
}

.belt-row-action {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  padding: 12px 20px !important;
  background: #CF3822;
  color: #fff;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  width: auto !important;
}

.belt-row-action.disabled {
  background: #ddd;
  color: #999;
}

/* Belt row action icon - no hover effects */

/* Responsive Styles */
@media only screen and (max-width: 768px) {
  /* Disable hover effects on mobile */
  a.belt-row-link:hover,
  .belt-row-link:hover {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 15px !important;
    gap: 15px !important;
  }

  a.belt-row-link,
  .belt-row-link {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 15px !important;
    gap: 15px !important;
  }

  .belt-stripe {
    width: 100% !important;
    height: 15px !important;
  }

  .belt-row-details {
    flex-direction: column !important;
    gap: 10px !important;
  }

  .belt-row-action {
    justify-content: center !important;
    width: 100% !important;
  }

  /* Prevent hover from affecting mobile layout */
  .belt-row:hover {
    transform: none !important;
  }


  .banner-header {
    padding: 8px 0 6px;
  }

  .banner-header .title {
    font-size: 28px;
  }

  .banner-header h5 {
    font-size: 10px;
  }

  .section-padding-small {
    padding: 30px 0;
  }

  .belt-tabs .nav-link {
    padding: 10px 20px;
    font-size: 12px;
  }

  .belt-content {
    padding: 30px 20px !important;
  }

  .pattern-info-box {
    margin-bottom: 15px;
  }

  .section-title h1 {
    font-size: 24px;
  }

  .belt-card-header {
    padding: 20px;
  }

  .belt-card-body {
    padding: 15px 20px;
  }
}

/* Pattern Video Button */
.pattern-video-section {
  margin: 25px 0;
  text-align: center;
}

.btn-pattern-video {
  background: #CF3822;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-pattern-video:hover {
  background: #a02d1f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(207, 56, 34, 0.3);
}

.btn-pattern-video i {
  margin-right: 10px;
  font-size: 18px;
}

/* Pattern Video Modal */
.pattern-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.pattern-modal-content {
  position: relative;
  background-color: #000;
  margin: 2% auto;
  padding: 0;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  border-radius: 10px;
  overflow: hidden;
  animation: slideIn 0.3s;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.pattern-modal-close {
  color: #fff;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  z-index: 10000;
  cursor: pointer;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.pattern-modal-close:hover,
.pattern-modal-close:focus {
  color: #CF3822;
  background: rgba(255, 255, 255, 0.2);
}

.pattern-modal-body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pattern-modal-body iframe {
  width: 100%;
  height: 100%;
}

/* Mobile Responsive for Modal */
@media (max-width: 768px) {
  .pattern-modal-content {
    width: 95%;
    height: 50vh;
    margin: 15% auto;
  }

  .btn-pattern-video {
    padding: 10px 20px;
    font-size: 14px;
  }

  .pattern-modal-close {
    top: 5px;
    right: 10px;
    width: 35px;
    height: 35px;
    font-size: 28px;
  }
}