/* ================================
   COPY ANIMATION
   ================================ */

.base-color {
  color: hsl(var(--main)) !important;
  text-shadow: 0 0 12px hsl(var(--main) / 0.35);
}

.copyInput {
  display: inline-block;
  line-height: 50px;
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  text-align: center;
  font-size: 14px;
  cursor: pointer;
  transition: all .3s ease;
}

.copyInput:hover {
  transform: scale(1.08);
  color: hsl(var(--main));
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px;
  color: #fff;
  background-color: #FF7000;
  border-radius: 3px;
  opacity: 0;
  will-change: opacity, transform;
  animation: showcopied 1.5s ease;
  box-shadow: 0 8px 25px rgba(255, 112, 0, 0.35);
  letter-spacing: 1px;
}

@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: #1E2337;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all .5s;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.85),
    rgba(245, 247, 250, 0.95)
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 10px;
  box-shadow:
    0 25px 50px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background-color: #6e6f70;
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  animation: cookiePulse 3s infinite;
}

@keyframes cookiePulse {
  0% { box-shadow: 0 0 0 0 rgba(110, 111, 112, 0.45); }
  70% { box-shadow: 0 0 0 14px rgba(110, 111, 112, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 111, 112, 0); }
}

.cookies-card__content {
  margin-bottom: 0;
}

.cookies-btn {
  color: #363636;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    hsl(var(--main) / 0.12),
    hsl(var(--main) / 0.04)
  );
  transition: all 0.35s ease;
}

.cookies-btn:hover {
  background: hsl(var(--main));
  color: #fff;
  box-shadow: 0 10px 30px hsl(var(--main) / 0.35);
  transform: translateY(-2px);
}

/* ================================
   RESPONSIVE
   ================================ */

@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: 80%;
  left: 50%;
  width: 280px;
  background-color: #1a1a1a;
  color: #fff;
  padding: 20px;
  border-radius: 5px;
  transform: translateX(-50%);
  transition: all 0.3s;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: floatPopup 3s ease-in-out infinite;
}

@keyframes floatPopup {
  0% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
  100% { transform: translateX(-50%) translateY(0); }
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent #1a1a1a transparent;
  transform: rotate(180deg);
}

.input-popup p {
  padding-left: 20px;
  position: relative;
}

.input-popup p.success {
  color: #28c76f;
}

.input-popup p.error {
  color: #ea5455;
  text-decoration: line-through;
}

/* ================================
   BUTTONS & FORMS
   ================================ */

.btn.disabled,
.btn:disabled,
fieldset:disabled .btn {
  opacity: 0.5;
  cursor: not-allowed;
  filter: grayscale(0.4);
}

.h-45 { height: 50px; }
.h-none { height: 37px !important; }

.input-group-text {
  color: #747474;
  background-color: #fff;
  border-color: hsl(var(--black) / 0.08);
  transition: all .15s linear;
}

.input-group-text.removeFile {
  border-color: hsl(var(--black) / 0.1) !important;
  border-style: dashed;
}

/* ================================
   DATE PICKER
   ================================ */

.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active {
  background-color: hsl(var(--base)) !important;
  box-shadow: 0 0 0 6px hsl(var(--base) / 0.15);
  border-radius: 50%;
}

/* ================================
   GLOBAL MICRO INTERACTIONS
   ================================ */

button,
a,
input,
select,
textarea {
  transition:
    color .25s ease,
    background-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

/* ================================
   🧠 KYC SMART ANIMATIONS
   ================================ */

/* KYC Step Card */
.kyc-step {
  position: relative;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 14px;
  padding: 30px;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all .4s ease;
}

.kyc-step:hover {
  transform: translateY(-4px);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.18);
}

/* Step Active Pulse */
.kyc-step.active::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    hsl(var(--main)),
    transparent
  );
  animation: kycScan 2.5s linear infinite;
  opacity: 0.6;
}

@keyframes kycScan {
  from { background-position: 0% 50%; }
  to   { background-position: 200% 50%; }
}

/* Upload Zone */
.kyc-upload {
  border: 2px dashed hsl(var(--main) / 0.35);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: all .35s ease;
}

.kyc-upload:hover {
  background: hsl(var(--main) / 0.05);
  border-color: hsl(var(--main));
}

/* Upload Success */
.kyc-upload.success {
  border-style: solid;
  background: rgba(40, 199, 111, 0.08);
  border-color: #28c76f;
}

/* ================================
   🎯 FINANCIAL DASHBOARD PREMIUM
   ================================ */

.dashboard-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 28px;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all .35s ease;
}

.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 35px 90px rgba(0, 0, 0, 0.2);
}

/* Key Amount */
.dashboard-amount {
  font-size: 32px;
  font-weight: 700;
  color: hsl(var(--main));
  letter-spacing: 0.5px;
}

/* Sub Label */
.dashboard-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #7f8c8d;
  margin-bottom: 6px;
}

/* ================================
   🧊 ADVANCED GLASSMORPHISM
   ================================ */

.glass-panel {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.75),
    rgba(240, 245, 255, 0.6)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 20px;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

/* Floating Light Effect */
.glass-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  opacity: 0;
  transition: opacity .4s ease;
}

.glass-panel:hover::after {
  opacity: 1;
}