// :root {
//   --#{$database-prefix}footer-bg: var(--#{$variable-prefix}eerie-black-footer);
//   --#{$database-prefix}footer-tc: #fff;
// }

/* stylelint-disable */
[data-color-mode="dark"] {
  .footer-links-col{
   .form-floating > .form-control:not(:placeholder-shown) ~ label,
   .form-floating > .form-select ~ label {
        color: #adadad;
    }
  }
}
/* stylelint-enable */

.footer-wrapper{
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  background: var(--#{$database-prefix}footer-bg);
  .footer-logo{
    display: block;
    width: 150px;
    max-width: 150px;
    // filter: invert(1);
    .img-fluid{
      width: 100%;
      height: 100%;
      object-fit: contain;
    }
  }
  @media (max-width: 991px) {
    .copyright-flex-wrapper{
      flex-direction: column-reverse;
    }
  }
}

.copyright-flex-wrapper{
  color: var(--#{$database-prefix}footer-tc);
  .copyright-content{
    color: inherit;
  }
}

.footer-links-col{
  color: var(--#{$database-prefix}footer-tc);
  .list-group-item{
    color : var(--#{$database-prefix}footer-tc);;
  }
  .dropdown-menu {
    .dropdown-item{
      color: var(--#{$database-prefix}footer-tc);
    }
    background-color: var(--#{$database-prefix}footer-bg);
  }
  .form-floating{
    > label {
      color: inherit;
    }
  } 
  .form-select{
    color: inherit;
    background: var(--#{$database-prefix}footer-bg);
    border-color: var(--#{$variable-prefix}dark-gray);
  }
  .footer-heading{
    margin: 0 0 1.25rem;
    font-size: .875rem;
    font-weight: 700;
    color: inherit;
  }
  .list-group{
    padding: 0;
    list-style: none;
  }
  .list-group-item{
    margin: 0 0 1rem;
    .desc{
      font-size: .875rem;
      font-weight: 600;
      word-break: break-word;
      color: inherit;
      
    }
    .link{
      font-size: .875rem;
      font-weight: 600;
      text-decoration: none;
      color: inherit;
    }
  }
  &.col-2-content{
    @media (min-width: 991px) { 
      .list-group{
        display: block;
        columns: 2;
      }
    }
  }
  .form-control{
    color: inherit;
    background: var(--#{$database-prefix}footer-bg);
    border-color: var(--#{$variable-prefix}dark-gray);
    &:hover,
    &:focus,
    &:focus:hover {
      color: inherit;
      background: var(--#{$database-prefix}footer-bg);
      border-color: var(--#{$variable-prefix}dark-gray);
    }
  }
  textarea{
    &.form-control{
      height: 85px;
    }
  }
}

.server-validated{
  .is-server-invalid{
    &:hover,
    &:focus,
    &:focus:hover {
      color: inherit;
      border-color: #f46582;
      box-shadow: 0 0 0 6px rgba(#f46582, .07);
    }
  &~ .invalid-feedback{
      display: flex;
      gap: 6px;
      svg{
        width: 12px;
      }
      .message-warning{
        flex: 1;
      }
    }
  }
}

.message-success-wrapper{
  display: flex;
  gap: 6px;
  svg{
    display: inline-flex;
    width: 12px;
    color: #a7d9c2;
  }
  .message-success{
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: 0;
    color: #a7d9c2;
  }
}

// [data-color-mode="dark"]{
//   .footer-logo{
//     filter: initial;
//   }
// }

.footer-separator{
  border-top: 1px solid #333;
}

.footer-left-content-wrapper{
  border-right: 1px solid #333;
  @media (max-width: 991px) {
    border: 0;
  }
}

.copyright-content{
  font-size: 12px;
  color: #fff;
  @media (max-width: 991px) {
    margin: 0 0 15px;
    text-align: center;
  }
}

.footer-payment-options{
  float: right;
  @media (max-width: 991px) {
    float: none;
    text-align: center;
  }
  .list-group{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0 0 5px;
    list-style: none;
    @media (max-width: 991px) {
      justify-content: center;
      margin: 0 0 15px;
    }
    .list-group-item{
      padding: 0;
      background-color: #fff;
      border-radius: 2px;
      .link{
        display: block;
        width: 52px;
        height: 23px;
        padding: 5px;
      }
      .img-card{
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
      }
    }
  }
  .payment-title{
    margin: 0 0 5px;
    font-size: 12px;
    letter-spacing: 0;
    text-align: right;
    // color: #989898;
    color: var(--#{$database-prefix}footer-tc);
    @media (max-width: 991px) {
      text-align: center;
    }
  }
}

