:root {
  --header-bg: #e8e8e8;
  --bg-primary: #296EB5;
  --text-light: #ffffff;
  --primary: #296EB5;
  --secondary: #F3C325;
  --glow-color: #F7E5AB;
  --animation-duration: 2s;
}

@keyframes backgroundShift {
  0% {
    transform: translateX(-10px) translateY(-10px);
  }
  100% {
    transform: translateX(10px) translateY(10px);
  }
}
@keyframes slideInFromTop {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes scanLine {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}
.icon-container {
  position: relative;
  animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}
@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
@keyframes crossBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}
@keyframes fadeInScale {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
.decorative-elements {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.pulse-circle {
  position: absolute;
  border: 2px solid var(--secondary);
  border-radius: 50%;
  animation: pulseExpand 4s ease-out infinite;
}

.pulse-1 {
  width: 200px;
  height: 200px;
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.pulse-2 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -150px;
  animation-delay: 1s;
}

.pulse-3 {
  width: 400px;
  height: 400px;
  top: -200px;
  left: -200px;
  animation-delay: 2s;
}

.particules {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.particule {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--secondary);
  animation: particuleFloat 6s linear infinite;
}

.particule-1 {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.particule-2 {
  top: 60%;
  left: 80%;
  animation-delay: 1s;
}

.particule-3 {
  top: 30%;
  left: 70%;
  animation-delay: 2s;
}

.particule-4 {
  top: 80%;
  left: 20%;
  animation-delay: 3s;
}

.particule-5 {
  top: 50%;
  left: 50%;
  animation-delay: 4s;
}

.separateur {
  width: 100%;
  height: 4px;
  background: var(--bg-primary);
}

.animated-line {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--secondary) 50%, transparent 100%);
  animation: lineMove 3s linear infinite;
}

@keyframes textFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pulseExpand {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}
@keyframes particuleFloat {
  0% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}
@keyframes lineMove {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.dropdown-toggle.active {
  color: #D7CF06 !important;
  font-weight: bold !important;
}

#speedForm .fade {
  transition: opacity 0.025s ease-in;
}
#speedForm .nav-link {
  border-radius: 1rem 1rem 0 0;
  display: inline-flex;
  color: #c4dadc !important;
}
#speedForm .nav-link.active {
  padding: 0.5rem 1.5rem;
  color: #fff;
  background-color: #1C3B72;
  font-weight: bold;
}
#speedForm .nav-link.active::before {
  content: "\f4f9";
  font-family: bootstrap-icons !important;
  font-weight: 400;
  padding-right: 0.5rem;
}

.modal {
  z-index: 9999999 !important;
}

.bifont::before {
  padding: 1rem 0;
  font-family: bootstrap-icons !important;
  font-weight: 400;
  font-size: small;
  content: "\f151  \f151  \f151  \f151  \f151  \f151";
}

/* LIGHT CSS */
body {
  background-image: url("../img/bg.jpg") !important;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

header {
  padding: 0 6em;
  padding-bottom: 0;
}
header .menuContent .dropdown-center a {
  color: #c4dadc;
  padding: 0 1em;
}
header .menuContent .dropdown-center a span {
  font-size: 0.7em;
  text-transform: uppercase;
  margin-top: 0.5em;
}
header .menuContent .dropdown-center a:hover, header .menuContent .dropdown-center a.user i {
  color: #D7CF06;
  cursor: pointer;
}
header .menuContent .dropdown-center a::after {
  display: none;
}
header .menuContent .dropdown-center .dropdown-menu.show {
  z-index: 999999999;
}
header .menuContent.ms-auto a.user i {
  font-size: 2em;
}
header .menuContent .dropdown-item {
  text-align: center;
  margin: 15px 0 !important;
  padding: 0 30px !important;
}

.main {
  padding: 0 6em;
  padding-bottom: 0;
  position: relative;
}
.main.rond {
  border-radius: 2em !important;
  padding: 5em 4em !important;
}

.navbar-custom {
  backdrop-filter: blur(10px);
}

.navbar-brand img {
  height: 40px;
}

.nav-link {
  transition: color 0.3s;
}

.pricing-card {
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden; /* For particles */
}

.pricing-card .card-body {
  position: relative;
  z-index: 2;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
}

.features-list {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-top: 20px;
}

.features-list li {
  margin-bottom: 12px;
  color: white;
  font-weight: 500;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.features-list li:last-child {
  border-bottom: none;
}

.order-card {
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent; /* Default border */
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.order-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
}

/* Active state for the selected card */
.order-card.selected {
  border-color: #D7CF06; /* Use theme primary color */
  background: rgba(28, 59, 114, 0.1); /* Subtle primary tint */
  box-shadow: 0 0 20px rgba(215, 207, 6, 0.2);
}

.order-card .card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Hide the actual radio buttons */
.domain-option-input {
  display: none;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  #solde {
    transform: translate(-50%, -50%) !important;
    left: 50% !important;
    top: 0 !important;
    position: absolute !important;
    width: 70%;
  }
}
@media (min-width: 992px) {
  #solde {
    width: 50%;
  }
}
@media (min-width: 1200px) {
  #solde {
    width: 40%;
  }
}
@media (max-width: 1199px) {
  .main:not(.rond) {
    border-radius: 3em 3em 0 0;
    padding: 2em;
  }
}
@media (max-width: 991px) {
  #stats .day span {
    font-size: 0.7em;
  }
  header .dropdown-center a {
    padding: 0 0.2em;
    margin-bottom: 3em;
  }
  .ms-auto header .dropdown-center a.user {
    padding-left: 1.5em;
  }
  .ms-auto header .dropdown-center a.user i {
    font-size: 3.7em;
  }
  header .dropdown-center a i {
    font-size: 2.7em;
  }
}
@media (max-width: 767px) {
  header .dropdown-center a {
    padding: 0 0.2em;
  }
  header .dropdown-center a.user {
    padding-left: 1.5em;
  }
  header .dropdown-center a.user i {
    font-size: 4em;
  }
  header .dropdown-center a i {
    font-size: 2em;
  }
  header .dropdown-center a span {
    font-size: 0.6em;
  }
  header .dropdown-center a .dropdown-item {
    margin: 10px 0 !important;
  }
  #solde {
    width: 100%;
    text-align: center;
  }
}
@media (max-width: 575px) {
  header {
    zoom: 0.7;
  }
  header .menuContent .dropdown-center a {
    padding: 0 0.2em;
  }
  header .menuContent .dropdown-center a span {
    display: none;
  }
  #stats .day {
    width: 13%;
  }
  #stats .rounded-4 {
    border-radius: 0.5rem !important;
  }
  #speedForm .nav-link {
    padding: 0.5rem;
  }
  #speedForm .nav-link.active {
    padding: 0.5rem 1rem;
  }
}
@media (max-width: 420px) {
  #stats .day span {
    font-size: 0.4em;
  }
  .main:not(.rond) {
    border-radius: 3.5em 3.5em 0 0;
    padding: 1em;
  }
}