/* Copy Animation */

.base-color {
  color: #F0B90B !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::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #000;
  background-color: #F0B90B;
  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 */
.cookies-card {
  width: 520px;
  padding: 30px;
  color: #EAECEF;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: #1E2028;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #F0B90B;
  color: #000;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.cookies-card__content {
  margin-bottom: 0;
  color: #EAECEF;
}

.cookies-btn {
  color: #000;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
  background: #F0B90B;
  transition: all 0.3s ease;
}

.cookies-btn:hover {
  color: #000;
  background: #d9a806;
  transform: translateY(-1px);
}

@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
  }
}

/* Input Popup */
.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: #1E2028;
  color: #EAECEF;
  padding: 20px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  -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(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.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 #1E2028 transparent;
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
  margin-bottom: 8px;
}

.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;
  color: #F6465D;
}

.input-popup p.error::before {
  content: "\f057";
  color: #F6465D;
}

.input-popup p.success::before {
  content: "\f058";
  color: #0ECB81;
}

/* Filter Responsive */
.show-filter {
  display: none;
}

@media(max-width:767px) {
  .responsive-filter-card {
    display: none;
    transition: none;
  }

  .show-filter {
    display: block;
  }
}

/* Required Field Indicator */
label.required:after {
  content: '*';
  color: #F6465D !important;
  margin-left: 2px;
}

/* Verification Code */
.verification-code span {
  background: #1E2028 !important;
  color: #EAECEF !important;
}

.verification-code::after {
  background-color: #1E2028 !important;
}

/* Copy Input (Duplicate - keeping both) */
.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::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #000;
  background-color: #F0B90B;
  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;
  }
}

/* Breadcrumb height override */
.hero-section {
  padding: 105px 0 60px;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 95px 0 50px;
  }
}

/* Additional Binance Style Enhancements */

/* Custom Scrollbar for Custom Elements */
.custom-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: #1E2028;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: #F0B90B;
  border-radius: 3px;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: #d9a806;
}

/* Tooltip Styling */
[data-tooltip] {
  position: relative;
  cursor: pointer;
}

[data-tooltip]:before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #1E2028;
  color: #EAECEF;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  z-index: 100;
}

[data-tooltip]:hover:before {
  opacity: 1;
  visibility: visible;
  bottom: calc(100% + 8px);
}

/* Loading Spinner Override */
.spinner-border {
  color: #F0B90B !important;
}

/* Modal Close Button */
.btn-close {
  background: transparent;
  color: #F6465D;
  opacity: 1;
}

.btn-close:hover {
  color: #d13c50;
  opacity: 1;
}

/* Alert Overrides */
.alert-dismissible .btn-close {
  filter: brightness(0) invert(1);
}

/* Table Responsive Fix */
.table-responsive {
  border-radius: 8px;
  overflow-x: auto;
}

/* Card Footer */
.card-footer {
  background: #1E2028;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Dropdown Menu Items */
.dropdown-menu {
  background: #1E2028;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.dropdown-item {
  color: #EAECEF;
}

.dropdown-item:hover {
  background: #F0B90B;
  color: #000;
}

/* Progress Bar */
.progress {
  background-color: #2B2E3A;
}

.progress-bar {
  background-color: #F0B90B;
}

/* Nav Tabs */
.nav-tabs {
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

.nav-tabs .nav-link {
  color: #EAECEF;
}

.nav-tabs .nav-link:hover {
  border-color: rgba(255, 255, 255, 0.05);
  color: #F0B90B;
}

.nav-tabs .nav-link.active {
  background-color: #F0B90B;
  border-color: #F0B90B;
  color: #000;
}

/* Accordion */
.accordion-item {
  background: #1E2028;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-button {
  background: #1E2028;
  color: #EAECEF;
}

.accordion-button:not(.collapsed) {
  background: #F0B90B;
  color: #000;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(240, 185, 11, 0.25);
}

/* List Group */
.list-group-item {
  background: #1E2028;
  border-color: rgba(255, 255, 255, 0.05);
  color: #EAECEF;
}

.list-group-item.active {
  background: #F0B90B;
  border-color: #F0B90B;
  color: #000;
}

/* Offcanvas */
.offcanvas {
  background: #1E2028;
  color: #EAECEF;
}

.offcanvas-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Toast */
.toast {
  background: #1E2028;
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #EAECEF;
}

.toast-header {
  background: #2B2E3A;
  color: #EAECEF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Badge Pill */
.badge-pill {
  border-radius: 50px;
}

/* Animation for Gold Elements */
@keyframes goldPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 185, 11, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(240, 185, 11, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 185, 11, 0);
  }
}

.gold-pulse {
  animation: goldPulse 2s infinite;
}

/* Focus Ring */
:focus-visible {
  outline: 2px solid #F0B90B;
  outline-offset: 2px;
}

/* Selection Color */
::selection {
  background-color: #F0B90B;
  color: #000;
}

/* Placeholder Color */
::placeholder {
  color: #848E9C !important;
  opacity: 1;
}

/* Disabled Input */
input:disabled,
textarea:disabled,
select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Transition Effects */
.transition-all {
  transition: all 0.3s ease;
}

/* Hover Lift Effect */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}