/* Affiliate page styles */

/* Table responsive styles */
.table-responsive {
  border-radius: 8px;
  overflow: hidden;
}

.accordion-body .table {
  margin-bottom: 0;
}

.accordion-body .table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #26ace3;
  font-weight: 600;
  padding: 15px;
  color: #333;
}

.accordion-body .table tbody tr {
  transition: background-color 0.2s;
}

.accordion-body .table tbody tr:hover {
  background-color: #e9f6fc;
}

.accordion-body .table tbody td {
  padding: 15px;
  vertical-align: middle;
  border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 767.98px) {
  .accordion-body .table {
    font-size: 14px;
  }
  .accordion-body .table thead th,
  .accordion-body .table tbody td {
    padding: 10px 8px;
  }
}

.cta-box button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3) !important;
}

/* Styly pro affiliate boxy - kopie ze .services .box s úpravami */
#about.services .box {
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 10px 10px 15px rgba(73, 78, 92, 0.1);
  background: #fff;
  transition: 0.4s;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#about.services .box:hover {
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  transform: translateY(-10px);
  -webkit-transform: translateY(-10px);
  -moz-transform: translateY(-10px);
}

#about.services .box.text-center .icon {
  float: none !important;
  text-align: center;
  width: 100%;
  margin-bottom: 15px;
}

#about.services .box.text-center h3,
#about.services .box.text-center p {
  margin-left: 0 !important;
  text-align: center;
}

#about.services .box.text-center .icon i {
  margin-top: 0 !important;
  font-size: 48px;
  color: #26ace3;
  transition: 0.5s;
  line-height: 0;
}

#about.services .box.text-center .icon i:before {
  background: linear-gradient(45deg, #26ace3 0%, #8ed5f0 100%);
  background-clip: border-box;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

#about.services .box.text-center h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 22px;
  margin-top: 15px;
}

#about.services .box.text-center p {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 24px;
}

/* Text styles */
.affiliate-intro-text {
  line-height: 1.8;
  margin-bottom: 20px;
}

.affiliate-intro-text-secondary {
  line-height: 1.7;
  margin-bottom: 20px;
}

.affiliate-intro-text-highlight {
  line-height: 1.7;
  color: #26ace3;
  font-weight: 600;
}

/* CTA Box styles */
#about.services .box.affiliate-cta-box {
  background: linear-gradient(135deg, #26ace3 0%, #1e8bc3 100%);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
  color: #fff;
  box-shadow: 0 5px 15px rgba(38, 172, 227, 0.3);
  min-height: auto;
}

#about.services .box.affiliate-cta-box h2 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 28px;
  font-weight: 700;
}

#about.services .box.affiliate-cta-box p {
  color: #fff;
  font-size: 16px;
  margin-bottom: 25px;
  opacity: 0.95;
}

.affiliate-cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

#about.services .box.affiliate-cta-box .btn-success {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

#about.services .box.affiliate-cta-box .btn-light {
  padding: 12px 30px;
  font-weight: 600;
  border-radius: 5px;
  background-color: #fff;
  color: #26ace3;
  border: 2px solid #fff;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: transform 0.2s;
}

#about.services .box.affiliate-cta-box .btn-success:hover,
#about.services .box.affiliate-cta-box .btn-light:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3) !important;
}

/* Service box styles */
#about.services .box.affiliate-service-box {
  height: auto;
  min-height: 320px;
  padding: 40px;
}

#about.services .box.affiliate-service-box .title {
  margin-left: 0 !important;
  margin-top: 15px;
  font-size: 20px;
}

#about.services .box.affiliate-service-box .commission-percentage {
  font-size: 32px;
  font-weight: bold;
  color: #26ace3;
  margin: 15px 0;
}

#about.services .box.affiliate-service-box .commission-description {
  color: #666;
  font-size: 14px;
}

/* Benefits list styles */
.affiliate-benefits-list {
  list-style: none;
  padding: 0;
}

.affiliate-benefits-list li {
  margin-bottom: 10px;
}

.affiliate-benefits-list i {
  color: #26ace3;
  margin-right: 10px;
}

/* Accordion icon styles */
#accordion-ukazka .accordion-button i {
  color: #26ace3;
  margin-right: 10px;
  font-size: 20px;
}

#accordion-ukazka .accordion-button .commission-badge {
  color: #666;
  font-weight: normal;
  margin-left: 10px;
}

/* Table styles */
.accordion-body .affiliate-table {
  margin-bottom: 0;
}

.accordion-body .affiliate-table th {
  min-width: 200px;
}

.accordion-body .affiliate-table th.text-center {
  text-align: center;
  min-width: 120px;
}

.accordion-body .affiliate-table td.text-center {
  text-align: center;
}

.accordion-body .affiliate-table .location-icon {
  color: #26ace3;
  margin-right: 8px;
}

.accordion-body .affiliate-table .address-street {
  color: #666;
  font-size: 0.9em;
}

.accordion-body .affiliate-table .commission-value {
  font-size: 20px;
  font-weight: bold;
  color: #26ace3;
}

/* Variant badges styles */
.affiliate-variants-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.affiliate-variant-badge {
  display: inline-block;
  padding: 6px 12px;
  background-color: #f8f9fa;
  border-radius: 5px;
  border-left: 3px solid #26ace3;
}

.affiliate-variant-badge .variant-name {
  font-weight: 600;
  color: #333;
  margin-right: 5px;
}

.affiliate-variant-badge .variant-commission {
  font-size: 16px;
  font-weight: bold;
  color: #26ace3;
}

/* Registration thank you page styles */
.affiliate-registration-success-box {
  margin-top: 20px;
  padding: 30px;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 5px;
}

.affiliate-registration-success-icon {
  font-size: 64px;
  color: #28a745;
  margin-bottom: 20px;
}

.affiliate-registration-success-title {
  margin-top: 15px;
  color: #155724;
}

.affiliate-registration-content {
  margin-top: 40px;
  text-align: left;
}

.affiliate-registration-content h4 {
  font-size: 24px;
  color: #26ace3;
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  padding-bottom: 20px;
  margin-top: 40px;
  margin-bottom: 0;
}

.affiliate-registration-content h4:first-of-type {
  margin-top: 0;
}

.affiliate-registration-content h4::before {
  content: '';
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #26ace3;
  bottom: 0;
  left: 0;
}

.affiliate-registration-content h4 i {
  margin-right: 10px;
}

.affiliate-registration-content h4 i.fa-envelope {
  color: #007bff;
}

.affiliate-registration-content h4 i.fa-rocket {
  color: #ffc107;
}

.affiliate-registration-content p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 15px;
}

.affiliate-registration-info-box {
  margin-top: 40px;
  padding: 20px;
  background-color: #f5f5f5;
  border-left: 4px solid #26ace3;
  border-radius: 5px;
}

.affiliate-registration-info-box p {
  margin-bottom: 0;
  font-size: 14px;
  color: #666;
}

.affiliate-registration-info-box i {
  color: #26ace3;
  margin-right: 8px;
}