/* COMMISSIONS PAGE SPECIFIC STYLES */

/* Back Navigation Button */
.back-nav {
  width: 820px;
  max-width: 100%;
  margin: 15px auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #d58ae2;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 2px 2px 0 #000;
}

.back-button:hover {
  background: #b14dc8;
  transform: translateY(-2px);
  box-shadow: 3px 3px 0 #000;
  text-decoration: none;
  color: white;
}

.back-button i {
  font-size: 16px;
}

/* Commission Sections */
.commission-info-section,
.tos-section,
.how-to-section,
.pricing-section {
  margin-bottom: 20px;
  margin-left: 40px;;
}

.commission-content {
  background-color: var(--label-background);
  padding: 15px;
  font-size: 12px;
  line-height: 1.6;
}

.disclaimer {
  text-align: center;
  font-weight: bold;
  font-style: italic;
  margin: 10px 0;
  color: #bf79db;
}

/* Terms of Service List */
.tos-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tos-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  border-bottom: 1px solid #e0d5f0;
}

.tos-list li:last-child {
  border-bottom: none;
}

.tos-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #d58ae2;
  font-weight: bold;
}

/* Discord Link Container */
.discord-link-container {
  text-align: center;
  margin: 15px 0;
}

.discord-icon {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.discord-icon:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 20px rgba(213, 138, 226, 0.8);
}
/* Contact Icons Container */
.contact-icons-container {
  text-align: center;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 60px;
  height: 60px;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.contact-icon:hover {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 0 20px rgba(213, 138, 226, 0.8);
}
/* Price Categories */
.price-category {
  margin: 20px 0;
  padding: 15px;
  background: #D5E7FF;
  border-radius: 8px;
  border: 2px solid #B1D0EF;
}

.price-category h3 {
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #3b77b8;
  font-weight: bold;
  text-align: center;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 4px;
  overflow: hidden;
}

.price-table tr {
  border-bottom: 1px solid #e0d5f0;
}

.price-table tr:last-child {
  border-bottom: none;
}

.price-table td {
  padding: 8px 12px;
  font-size: 12px;
}

.price-table td:first-child {
  font-weight: bold;
  color: #333;
  width: 70%;
}

.price-table td:last-child {
  text-align: right;
  color: #d58ae2;
  font-weight: bold;
  width: 30%;
}

.price-note {
  margin: 10px 0 0 0;
  font-size: 11px;
  font-style: italic;
  color: #666;
  text-align: center;
}

/* Gallery Section - adjusted for left column width */
.gallery-section {
  margin-top: 30px;
  margin-left: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.gallery-column {
  width: 100%;
}

.gallery-column .orange-bar {
  max-width: 100%;
}

.gallery-column .photo-scroll-container {
  max-width: 100%;
  height: 450px;
}

/* Mobile Responsive Styles for Commissions Page */
@media screen and (max-width: 820px) {
  .back-nav {
    width: 100%;
  }

  .tables-container {
    flex-direction: column;
  }

  .table-wrapper {
    margin-left: 0;
  }

  .table-wrapper-2 {
    margin-left: 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .gallery-column .photo-scroll-container {
    height: 400px;
  }

  .price-category {
    padding: 12px;
  }

  .price-table td {
    padding: 6px 10px;
  }
}

@media screen and (max-width: 480px) {
  .back-button {
    padding: 8px 15px;
    font-size: 13px;
  }

  .back-button i {
    font-size: 14px;
  }

  .commission-content {
    padding: 12px;
  }

  .price-category {
    padding: 10px;
    margin: 15px 0;
  }

  .price-category h3 {
    font-size: 13px;
  }

  .price-table td {
    padding: 5px 8px;
    font-size: 11px;
  }

  .discord-icon {
    width: 50px;
    height: 50px;
  }
  .contact-icon {
    width: 50px;
    height: 50px;
  }

  .contact-icons-container {
    gap: 15px;
  }

  .gallery-column .photo-scroll-container {
    height: 350px;
  }
}

@media screen and (max-width: 360px) {
  .price-category h3 {
    font-size: 12px;
  }

  .gallery-column .photo-scroll-container {
    height: 300px;
  }
}