/* Brand colours: gold #d4af37, black #000000, white #ffffff */

/* Copy Animation */
.base-color {
  color: #d4af37 !important;
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

/* COPIED badge: gold background with black text for best contrast */
.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #000000;
  background-color: #d4af37;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.7;
    transform: translateX(40%);
  }

  70% {
    opacity: 1;
    transform: translateX(0);
  }

  100% {
    opacity: 0;
  }
}

/* Cookies card - use black card with gold accents */
.cookies-card {
  width: 520px;
  padding: 30px;
  color: #ffffff;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #000000;               /* black background */
  border-radius: 5px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

/* Icon: gold circle with black icon glyph */
.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #d4af37;         /* gold */
  color: #000000;                    /* black icon glyph for contrast */
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
}

/* Primary cookie button: gold background, black text */
.cookies-btn {
  color: #000000;
  background: #d4af37;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.06);
  font-weight: 600;
}

/* Hover: slightly darker gold edge (keeps black text) */
.cookies-btn:hover {
  color: #000000;
  filter: brightness(0.95);
}

/* Responsive */
@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

/* Hover input popup (kept dark with gold accents) */
.hover-input-popup {
  position: relative;
}

.input-popup {
  display: none;
}

.hover-input-popup .input-popup {
  display: block;
  position: absolute;
  bottom: 130%;
  left: 50%;
  width: 280px;
  background-color: #000000;         /* black background */
  color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid rgba(212,175,55,0.12);
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px 10px 10px 10px;
  border-style: solid;
  border-color: transparent transparent #000000 transparent; /* match popup bg */
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p::before {
  position: absolute;
  content: '';
  font-family: 'Line Awesome Free';
  font-weight: 900;
  left: 0;
  top: 4px;
  line-height: 1;
  font-size: 18px;
}

.input-popup p.error {
  text-decoration: line-through;
}

.input-popup p.error::before {
  content: "\f057";
  color: #ea5455;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

/* filter / responsive toggles */
.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* select2 styles (kept neutral but aligned with brand accents) */
.selection {
  display: block;
}

.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #e5e5e5 !important;
  height: 50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  color: #444;
  line-height: 50px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 50px !important;
}

.select2 .dropdown-wrapper {
  display: none;
}

.select2-container:has(.select2-selection--single) {
  width: 100% !important;
}

.form-select.form--control.select2-auto-tokenize {
  display: none;
}

.form-select.form--control.select2-hidden-accessible {
  display: none;
}

/* required label asterisk keeps red (error signalling) */
label.required:after {
  content: '*';
  color: #dc3545 !important;
  margin-left: 2px;
}

.instructionIcon {
  font-size: 0.8rem !important;
}