/* Payment Header Styles */
.payment-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.payment-header .svg-c {
  width: 35px;
  height: 35px;
  background-color: #865ba6;
  border-radius: 8px;
  display: grid;
  place-content: center;
  cursor: pointer;
}

.payment-header .svg-c i.fas,
.payment-header .svg-c i.fab {
  color: white;
  font-size: 16px;
}

.payment-header span {
  font-size: 1.2rem !important;
  color: #000;
  font-weight: 400;
}

.payment-header .span-border {
  color: #865ba6;
  font-size: 1.2rem !important;
  font-weight: 400;
}

/* Styles for Servis i Reklamacije page - based on povracaj-robe.css */

.pc-empty-container {
  max-width: 1100px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  text-align: center;
  font-size: 1.4rem;
  color: #222;
}

.mobile-empty-container {
  padding: 18px;
  background: #fff;
  border-radius: 12px;
  margin: 16px;
  text-align: center;
  font-size: 1rem;
  color: #222;
}

/* Ensure page containers mirror payment_form behaviour */
#pageContainer {
  padding-bottom: 60px;
}

/* Mobile rules: hide desktop layout under 500px like payment pages */
@media (max-width: 499px) {
  #body {
    background-color: #fff !important;
  }
  footer {
    display: none !important;
  }
  #pageContainer {
    display: none;
  }
  .mobile-container {
    display: block;
  }
  #mobileContainerSection {
    fill: #fff;
    background: #fff;
    margin-inline: 15px;
  }

  #mobileContainerSection .all-container {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25),
      0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 20px;
  }

  #mobileContainerSection h2 {
    color: #000;
    font-size: 1.5rem !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: normal !important;
    padding-bottom: 10px;
  }
  #mobileContainerSection p {
    color: #000;
    font-size: 0.85rem !important  ;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 21px !important;
    margin-top: 20px;
  }
  #mobileContainerSection li {
    display: block;
    position: relative;
    padding-left: 18px;
    color: #000;
    font-size: 0.85rem !important;
    font-style: normal !important;
    font-weight: 300 !important;
    line-height: 21px !important;
    margin-bottom: 5px;
  }

  #mobileContainerSection li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 4px;
    background: #000;
    border-radius: 50%;
  }
  #mobileContainerSection h4 {
    color: #865ba6;
    font-size: 1.2rem !important  ;
    font-style: normal !important;
    font-weight: 500 !important;
    line-height: 21px !important;
    margin-top: 20px;
  }

  #mobileContainerSection .custom-card {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25),
      0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
    border-radius: 15px;
    padding: 10px;
    margin-bottom: 20px;
  }
  #mobileContainerSection h6 {
    color: #865ba6 !important;
    font-size: 1.2rem !important;
    font-style: normal !important;
    font-weight: 400 !important;
    line-height: normal !important;
  }

  /* Disable the pseudo-element for spans inside #secondHeader */
}

/* ===== DESKTOP VERSION STYLES (500px and above) ===== */
@media (min-width: 500px) {
  .mobile-container {
    display: none !important;
  }

  #body {
    background-color: #f5f5f5;
    min-height: 100vh;
  }

  #desktopServiceContainer {
    display: block !important;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    position: relative;
    top: 100px;
  }

  #desktopSecondHeader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
  }

  #desktopSecondHeader .svg-c {
    width: 45px;
    height: 45px;
    display: grid;
    place-content: center;
    background-color: #865ba6;
    border-radius: 10px;
  }

  #desktopSecondHeader span {
    color: #000;
    font-size: 2rem;
    font-weight: 300;
  }

  .desktop-service-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 25px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  }

  .desktop-service-card h2 {
    color: #865ba6;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(134, 91, 166, 0.2);
  }

  .desktop-service-card h4 {
    color: #865ba6;
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
  }

  .desktop-service-card h6 {
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
  }

  .desktop-service-card p {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
  }

  .desktop-service-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
  }

  .desktop-service-list li {
    display: block;
    position: relative;
    padding-left: 30px;
    color: #555;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 12px;
  }

  .desktop-service-list li::before {
    content: "";
    position: absolute;
    left: 10px;
    top: 12px;
    width: 8px;
    height: 8px;
    background: #865ba6;
    border-radius: 50%;
  }

  .purple-span {
    color: #865ba6;
    font-weight: 500;
  }

  .site-link {
    color: #865ba6;
    border-bottom: 1px solid rgba(133, 91, 166, 0.66);
    padding-bottom: 2px;
    text-decoration: none;
    transition: border-color 0.3s;
  }

  .site-link:hover {
    border-bottom-color: #865ba6;
  }

  .clan {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: #000;
  }
}

/* Add purple styling and link underline/border for site and "Član" markers */
.purple-span {
  color: #865ba6;
  font-weight: 500;
}

/* Site link: same purple color as headings, with bottom border */
.site-link {
  color: #865ba6;
  border-bottom: 1px solid #855ba6a8;
  padding-bottom: 2px;
  text-decoration: none;
}

/* Underline specific "Član" spans */
.clan {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #000; /* keep text black unless purple desired; override if needed */
}

/* If you want the "Član" label also purple, uncomment the next rule */
/* .clan { color: #865ba6; } */
