/* === THEME : LIQUID GLASS / GLASSMORPHISM === */
/* Effet global pour un rendu moderne et fluide */
:root {
  --glass-bg: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  --glass-blur: blur(15px);
  --main-color: hsl(var(--main));
}

/* === Copy Animation === */
.base-color {
  color: var(--main-color) !important;
}

.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 0.3s ease;
  color: #fff;
}

.copyInput:hover {
  transform: scale(1.1);
  color: #ffb97d;
}

.copied::after {
  position: absolute;
  top: 8px;
  right: 12%;
  width: 100px;
  display: block;
  content: "COPIED";
  font-size: 1em;
  padding: 5px 5px;
  color: #fff;
  background: rgba(255, 112, 0, 0.85);
  border-radius: 5px;
  opacity: 0;
  animation: showcopied 1.5s ease;
  backdrop-filter: blur(5px);
}

@keyframes showcopied {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }
  50% {
    opacity: 0.8;
    transform: translateX(40%);
  }
  70% {
    opacity: 1;
    transform: translateX(0);
  }
  100% {
    opacity: 0;
  }
}

/* === Cookies Card (Glassmorphism) === */
.cookies-card {
  width: 520px;
  padding: 30px;
  color: #fff;
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 999999;
  transition: all 0.5s ease;

  /* Glass effect */
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.cookies-card.hide {
  bottom: -500px !important;
}

.radius--10px {
  border-radius: 10px;
}

/* Icon circle */
.cookies-card__icon {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}

.cookies-card__content {
  margin-bottom: 0;
  color: #e6e6e6;
}

/* Boutons cookies */
.cookies-btn {
  color: #fff;
  text-decoration: none;
  padding: 10px 35px;
  margin: 3px 5px;
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.cookies-btn:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
  transform: scale(1.05);
}

/* === Input Popup (glass style tooltip) === */
.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: rgba(25, 25, 25, 0.4);
  color: #fff;
  padding: 20px;
  border-radius: 12px;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
}

.input-popup::after {
  position: absolute;
  content: '';
  bottom: -19px;
  left: 50%;
  margin-left: -5px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent transparent rgba(25,25,25,0.4) transparent;
  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: #ff6b6b;
}

.input-popup p.success::before {
  content: "\f058";
  color: #28c76f;
}

/* === Responsive === */
@media (max-width: 767px) {
  .cookies-card {
    width: 100%;
    left: 0;
    bottom: 0;
    font-size: 14px;
    padding: 15px;
    border-radius: 0;
  }
}

/* === Inputs and buttons === */
.btn.disabled, .btn:disabled, fieldset:disabled .btn {
  opacity: 0.5;
  background-color: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.05);
}

.h-45 { height: 50px; }
.h-none { height: 37px !important; }

.input-group-text {
  color: #d1d1d1;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.15s linear;
  backdrop-filter: blur(10px);
}

.account-form .input-group-text {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.25);
}

.input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
  border-left: 0;
}

.input-group:not(.has-validation)>.dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation)>:not(:last-child):not(.dropdown-toggle):not(.dropdown-menu) {
  border-right: 0;
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .hover-input-popup .input-popup {
    left: 70% !important;
  }
}

.input-group-text.removeFile {
  border-color: rgba(255,255,255,0.3) !important;
  border-style: dashed;
}

/* === Date Picker Highlight === */
.daterangepicker td.active,
.daterangepicker td.active:hover,
.daterangepicker .ranges li.active {
  background-color: var(--main-color) !important;
  color: #fff;
  border-radius: 8px;
}