.tw-group\/body:not([data-theme=flatty]) .group-\[\:not\(\[data-theme\=flatty\]\)\]\/body\:tw-bg-base-200 {
  background-color: #e8e8e8 !important;
}

.tw-group\/body:not([data-theme=flatty]) .group-\[\:not\(\[data-theme\=flatty\]\)\]\/body\:tw-bg-base-300 {
  background-color: #e8e8e8 !important;
}

.xhide {
  display: none !important;
}

.load_content_bg {
  z-index: 999999999 !important;
}

/* --- Glow button --- */
.glow-button {
  background-color: #000;
  color: #fff;
  border: 2px solid #fff352;
  /* korostusväri */
  padding: 12px 18px;
  border-radius: 10px;
  box-shadow: 0 0 12px #fff352;
  /* hohto */
  transition: all 0.3s ease-in-out;
  font-weight: 700;
  max-width: 320px;
  width: 90%;
  margin: 0 auto;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}
.stx-dark-text{
  color: #333!important;
}

#location-header {
  color: #000 !important;
}

.tw-flex.tw-flex-wrap.tw-items-center {
  display: block !important;
}

.fas.fa-user {
  color: #333 !important;
}

.tw-text-black.tw-text-right.group-\[\:not\(\[data-theme\=flatty\]\)\]\/body\:tw-text-current {
  margin-top: 10px !important;
}

.description.tw-group.blur-bg.-tw-mt-\[1px\].tw-bg-base-200.tw-backdrop-blur-md {
  background-color: #fff !important;
}

.description.tw-group.blur-bg.-tw-mt-\[1px\].tw-bg-base-200.tw-backdrop-blur-md.sm\:tw-rounded-tl-none {
  background-color: #e9e7e7 !important;
}

.description.tw-group.blur-bg.-tw-mt-\[1px\].tw-bg-base-200.tw-backdrop-blur-md {
  background-color: #e9e7e7 !important;
}

.description.tw-group.blur-bg.-tw-mt-\[1px\].tw-bg-transparent.tw-border-0.md\:tw-border.md\:tw-bg-base-200.md\:tw-backdrop-blur-md {
  background-color: #e9e7e7 !important;
}

.tw-text-white.group-\[\[data-theme\=sihteeriopistoTreffit\]\]\/body\:tw-text-base-content {
  margin: 10px 0 10px !important;
}

.tw-underline.tw-text-white.hover\:tw-text-blue-400 {
  color: #333 !important;
}

.tw-text-white.group-\[\[data-theme\=sihteeriopistoTreffit\]\]\/body\:tw-text-base-content {
  color: #333 !important;
}

.tw-label-text.tw-text-white.tw-text-base.group-\[\[data-theme\=sihteeriopistoTreffit\]\]\/body\:tw-text-base-content {
  color: #333 !important;
}

.tw-text-center.tw-text-white.group-\[\[data-theme\=sihteeriopistoTreffit\]\]\/body\:tw-text-base-content.tw-pt-4 {
  color: #333 !important;
}

.user-search .users-sort .active {
  color: #333 !important;
}

.glow-button:hover {
  box-shadow: 0 0 20px #fff352, 0 0 40px #fff352;
  color: #000;
  transform: scale(1.05);
}

.load_content_bg.gallery-type {
  overflow-y: auto !important;
  overflow-x: hidden !important;
}

.small-gray-button {
  background-color: #3a3a3a;
  color: #ddd;
  border: 1px solid #555;
  padding: 10px 15px;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
  max-width: 280px;
  width: 85%;
  margin: 0 auto;
}

.small-gray-button:hover {
  background-color: #555;
  color: #fff;
}

.form-control.tw-join-item.tw-border-solid.tw-select-info.tw-select {
  max-width: 50vw !important;
}

/* --- Apple / Google Pay logo --- */
.apple-gpay-logo {
  margin-top: 8px;
  max-width: 180px;
  height: auto;
  display: block;
}

/* Pinoa otsikko ja kenttä päällekkäin tässä blokissa */
.user-profile-view .view-user .view-section.owner-actions .field-block {
  display: flex;
  flex-direction: column;
  /* otsikko ylös, kenttä alle */
  align-items: stretch;
  gap: 6px;
  /* pieni väli otsikon ja kentän väliin */
  border-bottom: 1px solid rgba(0, 0, 0, 0.13);
  line-height: 20px;
  padding: 8px 0;
}

/* Nollaa grid/float ja pakota täysi leveys */
.user-profile-view .view-user .view-section.owner-actions .field-block .field-name,
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info {
  float: none !important;
  width: 100% !important;
  max-width: 100% !important;
  display: block;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Otsikko hieman korostetummaksi */
.user-profile-view .view-user .view-section.owner-actions .field-block .field-name {
  font-weight: 700;
  margin-bottom: 2px;
}

/* Kenttä-/ohjausosuus täyteen leveyteen */
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info,
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info .input-group,
.user-profile-view .view-user .view-section.owner-actions .field-block .field-info .input__input-group {
  width: 100%;
}

/* Teksti- ja select-kentille mukava oletusleveys; poista jos ei tarvita */
.user-profile-view .view-user .view-section.owner-actions .field-block input[type="text"],
.user-profile-view .view-user .view-section.owner-actions .field-block select {
  width: 100%;
  max-width: 480px;
}

/* Varmista, että piilotetut esikatselut eivät riko pinoamista */
.user-profile-view .view-user .view-section.owner-actions .field-block .hide {
  display: none;
}

.add_to_fav.tw-w-full.tw-btn.tw-normal-case.tw-btn-primary.group-\[\:not\(\[data-theme\=sihteeriopistoTreffit\]\)\]\/body\:tw-text-white {
  display: none !important;
}

/* --- Responsiivisuus --- */
@media (max-width: 480px) {
  .glow-button {
    width: 90%;
    font-size: 15px;
  }

  .col-xs-12.col-md-6.tw-p-0.md\:tw-pl-4 {
    display: none !important;
  }

  .xhide-mob {
    display: none !important;
  }

  .footer-info {
    font-size: 10px !important;
    margin-bottom: 80px !important;
  }


  .small-gray-button {
    width: 90%;
    font-size: 14px;
  }

  .apple-gpay-logo {
    max-width: 150px;
  }

  .load_content_bg .lc-header {
    background-color: #e9e7e7 !important;
  }

  .load_content_inner {
    background-color: #e8e8e8 !important;
  }

  .tw-text-secondary-content {
    background-color: #e9e7e7 !important;
    z-index: 8 !important;
  }

  .tw-group\/body:not([data-theme=flatty]) .group-\[\:not\(\[data-theme\=flatty\]\)\]\/body\:tw-bg-base-200 {
    min-height: 100% !important;
  }

  .user-profile-view .view-user .view-section.owner-actions .field-block {
    gap: 8px;
  }
}