/* ===============================
   YES FINANCE - 2026 Sleek Theme
   Refined Deep Blue Banking Aesthetic
   =============================== */

/* Primary Accent */
:root {
  --main: 218 85% 45%; /* Deep Chase Blue */
  --base: 218 80% 52%;
  --soft: 218 100% 97%;
  --neutral: 225 15% 22%;
  --success: 148 65% 45%;
  --danger: 0 70% 55%;
}

/* Typography & Transitions */
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: hsl(var(--neutral));
  background-color: #f9fafc;
  transition: background-color .3s ease, color .3s ease;
}

a {
  color: hsl(var(--base));
  transition: color .3s ease;
}
a:hover {
  color: hsl(var(--main));
}

/* Copy Animation */
.base-color {
  color: hsl(var(--main)) !important;
}

.copyInput {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  line-height: 44px;
  font-size: 14px;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  transition: all .3s ease;
}
.copyInput:hover {
  background-color: hsl(var(--soft));
  color: hsl(var(--base));
}

.copied::after {
  content: "COPIED";
  position: absolute;
  top: 8px;
  right: 12%;
  display: inline-block;
  padding: 6px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  background-color: hsl(var(--base));
  border-radius: 6px;
  opacity: 0;
  animation: showcopied 1.5s ease;
}

@keyframes showcopied {
  0% { opacity: 0; transform: translateX(100%); }
  50% { opacity: 0.9; transform: translateX(30%); }
  70% { opacity: 1; transform: translateX(0); }
  100% { opacity: 0; }
}

/* ===============================
   Cookies Notice
   =============================== */
.cookies-card {
  width: 480px;
  padding: 25px 30px;
  color: hsl(var(--neutral));
  background: #ffffff;
  border: 1px solid #e8e8e8;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  border-radius: 12px;
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999999;
  transition: all .5s ease;
}

.cookies-card.hide {
  bottom: -500px !important;
}

.cookies-card__icon {
  width: 55px;
  height: 55px;
  background-color: hsl(var(--main));
  color: #fff;
  font-size: 28px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.cookies-btn {
  padding: 10px 28px;
  background: hsl(var(--base));
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background .3s;
}
.cookies-btn:hover {
  background: hsl(var(--main));
}

/* ===============================
   Inputs, Buttons, and Selects
   =============================== */

.btn {
  background-color: hsl(var(--base));
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  padding: 12px 30px;
  transition: all .3s ease;
}
.btn:hover {
  background-color: hsl(var(--main));
  box-shadow: 0 8px 20px rgba(50, 115, 220, 0.25);
}
.btn.disabled,
.btn:disabled {
  opacity: .6;
  cursor: not-allowed;
}

/* Input focus glow */
.form--control:focus,
.select2-container--default .select2-selection--single:focus {
  border-color: hsl(var(--base));
  box-shadow: 0 0 0 4px hsla(218, 85%, 45%, 0.15);
  transition: all .3s ease;
}

/* Select2 Dropdown */
.select2-dropdown {
  border: none !important;
  border-radius: 10px !important;
  margin-top: 8px !important;
  box-shadow: 0 4px 24px rgba(30, 60, 90, 0.08);
}

/* Scrollbar refinement */
.select2-results__options::-webkit-scrollbar {
  width: 6px;
}
.select2-results__options::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

/* ===============================
   Maintenance Page Centering
   =============================== */
.maintenance-page {
  display: grid;
  place-content: center;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(135deg, hsl(var(--soft)), #fff);
}

/* Responsive Cookie Card */
@media (max-width: 768px) {
  .cookies-card {
    width: calc(100% - 30px);
    left: 15px;
    bottom: 10px;
    padding: 15px;
    font-size: 14px;
  }
}