/* Hide the original static gradient */
.intro--hp::before, .intro-actuality-wrapper, #bg_intro:after {
  display: none !important;
}

/* Intro section background color - match the second image */
.hero-section, main,
#hero-header,
.intro--hp,
.intro.intro--hp {
  background: #060b1e;
  position: relative;
  overflow: hidden;
}

/* Override the white background from main.css for the intro section
section.intro--hp {
  background: linear-gradient(135deg, #001122 0%, #002244 50%, #003366 100%) !important;
} */

/* Position #bg_intro on the RIGHT side of the intro section ONLY */
#bg_intro {
    position: absolute;
    width: 50%;
    height: 0;
    padding-bottom: 50%;
    right: 5%;
    top: 18%;
    left: auto;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  border-radius: 50%;
  background: transparent; /* Remove solid background */
}


/* Base gradient - much more subtle and blended */
#bg_intro .bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(closest-side at 40% 50%,
    rgba(0, 173, 235, 0.15) 0%,
    rgba(0, 149, 255, 0.08) 40%,
    rgba(0, 123, 255, 0.03) 70%,
    transparent 100%);
  animation: pulseMainGradient 8s ease-in-out infinite alternate;
}

/* Enhanced morphing animations with smoother transitions */

/* Update existing shape animations with smoother timing functions */
#bg_intro .shape1 {
  width: 30%;
  height: 30%;
  background: radial-gradient(circle,
    rgba(0, 173, 235, 0.25) 0%,
    rgba(0, 149, 255, 0.15) 50%,
    rgba(0, 123, 255, 0.05) 100%);
  top: 25%;
  left: 20%;
  animation: morphShape1Enhanced 12s cubic-bezier(0.4, 0.0, 0.6, 1) infinite alternate;
  will-change: transform, border-radius, background;
}

#bg_intro .shape2 {
  width: 35%;
  height: 35%;
  background: radial-gradient(circle,
    rgba(30, 144, 255, 0.2) 0%,
    rgba(0, 191, 255, 0.12) 50%,
    rgba(135, 206, 250, 0.04) 100%);
  top: 40%;
  left: 35%;
  animation: morphShape2Enhanced 16s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite alternate;
  will-change: transform, border-radius, background;
}

#bg_intro .shape3 {
  width: 20%;
  height: 20%;
  background: radial-gradient(circle,
    rgba(72, 209, 204, 0.18) 0%,
    rgba(0, 206, 209, 0.10) 50%,
    rgba(175, 238, 238, 0.03) 100%);
  top: 65%;
  left: 55%;
  animation: morphShape3Enhanced 10s cubic-bezier(0.23, 1, 0.320, 1) infinite alternate;
  will-change: transform, border-radius, background;
}

/* Base gradient with smoother pulsing */
#bg_intro .bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(closest-side at 40% 50%,
    rgba(0, 173, 235, 0.15) 0%,
    rgba(0, 149, 255, 0.08) 40%,
    rgba(0, 123, 255, 0.03) 70%,
    transparent 100%);
  animation: pulseMainGradient 8s cubic-bezier(0.445, 0.05, 0.55, 0.95) infinite alternate;
  will-change: opacity, transform;
}

/* Smoother keyframe animations with better easing curves */
@keyframes morphShape1Enhanced {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(0, 173, 235, 0.25) 0%,
      rgba(0, 149, 255, 0.15) 50%,
      rgba(0, 123, 255, 0.05) 100%);
  }
  12.5% {
    transform: translate(12.5%, 7.5%) scale(1.2) rotate(22.5deg);
    border-radius: 55% 45% 35% 65% / 55% 35% 65% 45%;
    background: radial-gradient(ellipse,
      rgba(0, 149, 255, 0.3) 0%,
      rgba(30, 144, 255, 0.18) 50%,
      rgba(0, 123, 255, 0.07) 100%);
  }
  25% {
    transform: translate(25%, 15%) scale(1.4) rotate(45deg);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    background: radial-gradient(ellipse,
      rgba(0, 149, 255, 0.35) 0%,
      rgba(30, 144, 255, 0.2) 50%,
      rgba(0, 123, 255, 0.08) 100%);
  }
  37.5% {
    transform: translate(7.5%, 25%) scale(1.1) rotate(67.5deg);
    border-radius: 45% 55% 50% 50% / 45% 50% 55% 50%;
    background: radial-gradient(ellipse,
      rgba(0, 191, 255, 0.28) 0%,
      rgba(0, 173, 235, 0.16) 50%,
      rgba(135, 206, 250, 0.09) 100%);
  }
  50% {
    transform: translate(-15%, 35%) scale(0.8) rotate(90deg);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: radial-gradient(ellipse,
      rgba(0, 191, 255, 0.3) 0%,
      rgba(0, 173, 235, 0.18) 50%,
      rgba(135, 206, 250, 0.1) 100%);
  }
  62.5% {
    transform: translate(10%, 12.5%) scale(1.05) rotate(112.5deg);
    border-radius: 42% 58% 48% 52% / 48% 58% 42% 52%;
    background: radial-gradient(ellipse,
      rgba(30, 144, 255, 0.26) 0%,
      rgba(0, 149, 255, 0.14) 50%,
      rgba(0, 123, 255, 0.065) 100%);
  }
  75% {
    transform: translate(35%, -10%) scale(1.2) rotate(135deg);
    border-radius: 40% 60% 50% 50% / 50% 60% 40% 50%;
    background: radial-gradient(ellipse,
      rgba(30, 144, 255, 0.28) 0%,
      rgba(0, 149, 255, 0.16) 50%,
      rgba(0, 123, 255, 0.06) 100%);
  }
  87.5% {
    transform: translate(22.5%, 7.5%) scale(1.05) rotate(157.5deg);
    border-radius: 55% 45% 45% 55% / 45% 65% 35% 55%;
    background: radial-gradient(ellipse,
      rgba(72, 209, 204, 0.24) 0%,
      rgba(0, 206, 209, 0.13) 50%,
      rgba(175, 238, 238, 0.065) 100%);
  }
  100% {
    transform: translate(10%, 25%) scale(1) rotate(180deg);
    border-radius: 50% 50% 40% 60% / 60% 40% 50% 50%;
    background: radial-gradient(circle,
      rgba(0, 173, 235, 0.25) 0%,
      rgba(0, 149, 255, 0.15) 50%,
      rgba(0, 123, 255, 0.05) 100%);
  }
}

@keyframes morphShape2Enhanced {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(30, 144, 255, 0.2) 0%,
      rgba(0, 191, 255, 0.12) 50%,
      rgba(135, 206, 250, 0.04) 100%);
  }
  16.66% {
    transform: translate(-20%, 13.33%) scale(1.25) rotate(-40deg);
    border-radius: 45% 55% 55% 45% / 48% 65% 35% 52%;
    background: radial-gradient(ellipse,
      rgba(0, 191, 255, 0.24) 0%,
      rgba(30, 144, 255, 0.14) 50%,
      rgba(135, 206, 250, 0.05) 100%);
  }
  33.33% {
    transform: translate(-30%, 20%) scale(1.5) rotate(-60deg);
    border-radius: 40% 60% 60% 40% / 50% 70% 30% 50%;
    background: radial-gradient(ellipse,
      rgba(0, 191, 255, 0.28) 0%,
      rgba(30, 144, 255, 0.16) 50%,
      rgba(135, 206, 250, 0.06) 100%);
  }
  50% {
    transform: translate(20%, -35%) scale(0.7) rotate(-90deg);
    border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%;
    background: radial-gradient(ellipse,
      rgba(0, 149, 255, 0.24) 0%,
      rgba(0, 191, 255, 0.14) 50%,
      rgba(175, 238, 238, 0.08) 100%);
  }
  66.66% {
    transform: translate(-5%, -25%) scale(1.15) rotate(-140deg);
    border-radius: 35% 65% 45% 55% / 55% 45% 65% 35%;
    background: radial-gradient(ellipse,
      rgba(72, 209, 204, 0.20) 0%,
      rgba(0, 173, 235, 0.12) 50%,
      rgba(135, 206, 250, 0.045) 100%);
  }
  83.33% {
    transform: translate(-20%, -15%) scale(1.3) rotate(-160deg);
    border-radius: 30% 70% 50% 50% / 60% 40% 60% 40%;
    background: radial-gradient(ellipse,
      rgba(72, 209, 204, 0.22) 0%,
      rgba(0, 173, 235, 0.13) 50%,
      rgba(135, 206, 250, 0.05) 100%);
  }
  100% {
    transform: translate(-25%, 10%) scale(1) rotate(-180deg);
    border-radius: 50% 50% 30% 70% / 70% 30% 50% 50%;
    background: radial-gradient(circle,
      rgba(30, 144, 255, 0.2) 0%,
      rgba(0, 191, 255, 0.12) 50%,
      rgba(135, 206, 250, 0.04) 100%);
  }
}

@keyframes morphShape3Enhanced {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
    border-radius: 50%;
    background: radial-gradient(circle,
      rgba(72, 209, 204, 0.18) 0%,
      rgba(0, 206, 209, 0.10) 50%,
      rgba(175, 238, 238, 0.03) 100%);
  }
  25% {
    transform: translate(15%, -18.75%) scale(1.4) rotate(90deg);
    border-radius: 55% 45% 35% 65% / 45% 55% 45% 55%;
    background: radial-gradient(ellipse,
      rgba(0, 206, 209, 0.22) 0%,
      rgba(72, 209, 204, 0.13) 50%,
      rgba(175, 238, 238, 0.04) 100%);
  }
  50% {
    transform: translate(20%, -25%) scale(1.6) rotate(180deg);
    border-radius: 60% 40% 30% 70% / 40% 60% 40% 60%;
    background: radial-gradient(ellipse,
      rgba(0, 206, 209, 0.25) 0%,
      rgba(72, 209, 204, 0.15) 50%,
      rgba(175, 238, 238, 0.05) 100%);
  }
  75% {
    transform: translate(-18.75%, 15%) scale(0.8) rotate(270deg);
    border-radius: 45% 55% 60% 40% / 35% 65% 35% 65%;
    background: radial-gradient(ellipse,
      rgba(0, 191, 255, 0.18) 0%,
      rgba(72, 209, 204, 0.11) 50%,
      rgba(175, 238, 238, 0.035) 100%);
  }
  100% {
    transform: translate(15%, -10%) scale(1.2) rotate(360deg);
    border-radius: 50% 50% 60% 40% / 60% 40% 50% 50%;
    background: radial-gradient(circle,
      rgba(72, 209, 204, 0.18) 0%,
      rgba(0, 206, 209, 0.10) 50%,
      rgba(175, 238, 238, 0.03) 100%);
  }
}

/* Smoother main gradient pulsing */
@keyframes pulseMainGradient {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  25% {
    opacity: 0.7;
    transform: scale(1.025);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
  75% {
    opacity: 0.75;
    transform: scale(1.015);
  }
  100% {
    opacity: 0.9;
    transform: scale(0.98);
  }
}

/* Enhanced CSS for performance and smoother rendering */
#bg_intro .bg-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
  mix-blend-mode: soft-light;
  /* Add GPU acceleration for smoother animations */
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Add transition for any dynamic property changes */
#bg_intro .bg-shape {
  transition: opacity 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

/* Update the enhanced styles in footer with smoother timing */
#bg_intro.animation-active .bg-gradient {
  animation-duration: 6s;
  animation-timing-function: cubic-bezier(0.445, 0.05, 0.55, 0.95);
}

#bg_intro.animation-active .shape1 {
  animation-duration: 12s;
  animation-timing-function: cubic-bezier(0.4, 0.0, 0.6, 1);
}

#bg_intro.animation-active .shape2 {
  animation-duration: 15s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#bg_intro.animation-active .shape3 {
  animation-duration: 9s;
  animation-timing-function: cubic-bezier(0.23, 1, 0.320, 1);
}

.pl-10 {
  padding-left: 10px;
}
.accordion-item__content > div {
  padding-left: 26px;
}

.downloadTable {
  width:60%;
  margin-left:auto;
  margin-right:auto;
}

.download a {
    color: var(--color-blue);
}

.table > tbody > tr.first > td {
    border-top: 0px solid #ddd;
}
.table > tbody > tr > td {
    border-top: 1px solid #ddd;
}
.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 8px;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}

/* Services Hub - No conflicts with existing CSS */
.services-hub {
    position: relative;
    width: 100%;
    min-height: 500px;
    margin: 0 auto;
    max-width: 800px;
}

/* Center logo - positioned at 30%, 40% */
.hub-center {
    position: absolute;
    top: 30%;
    left: 40%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 3px solid #074383;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 11, 30, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10;
    text-decoration: none;
    color: inherit;
    transition: all 0.1s ease;
}

.hub-center:hover {
    transform: translate(-50%, -50%) scale(1.05);
    border-color: var(--color-blue);
    box-shadow: 0 0 30px rgba(0, 173, 235, 0.4);
}

.hub-center img {
    width: 90px;
    height: auto;
}

/* Service items positioned around the center - NO OVERLAPS */
.service-node {
    position: absolute;
    text-decoration: none;
    color: inherit;
    z-index: 5;
    transition: all 0.3s ease;
}

.service-node:hover {
    transform: translateY(-3px);

}

.service-node:hover .service-label {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0px 35px rgba(0, 123, 255, 0.3);
    color: var(--color-blue);
}

/* Service labels */
.service-label {
    background-color: #fff;
    font-size: 0.89474rem;
    color: #000;
    padding: 0.69421rem 0.73684rem 0.48632rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Ray lines from center to each service */
.service-node::before {
    content: '';
    position: absolute;
    background: linear-gradient(to bottom, #007bff, rgba(0, 123, 255, 0.3), transparent);
    width: 2px;
    z-index: -1;
    animation: rayPulse 3s ease-in-out infinite;
}

@keyframes rayPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

/* Position services around center at 30%, 40% with NO OVERLAPS */

/* Top - directly above center */
.service-node:nth-child(2) {
    top: 5%;
    left: 30%;
    transform: translateX(-50%);
}
.service-node:nth-child(2)::before {
    top: 100%;
    left: 50%;
    transform: rotate(-25deg);
    height: 80px;
}

/* Top Right - adjusted to avoid overlap */
.service-node:nth-child(3) {
    top: 8%;
    right: 5%;
}
.service-node:nth-child(3)::before {
    bottom: 0;
    left: 0;
    transform: rotate(235deg);
    transform-origin: bottom left;
    height: 160px;
}

/* Right - level with center */
.service-node:nth-child(4) {
    top: 35%;
    right: 2%;
    transform: translateY(-50%);
}
.service-node:nth-child(4)::before {
    top: 50%;
    right: 100%;
    transform: translateY(-50%);
    height: 2px;
    width: 180px;
    background: linear-gradient(to left, #007bff, rgba(0, 123, 255, 0.3), transparent);
}

/* Bottom Right */
.service-node:nth-child(5) {
    bottom: 28%;
    right: 5%;
}
.service-node:nth-child(5)::before {
    top: 0;
    left: 0;
    transform: rotate(120deg);
    transform-origin: top left;
    height: 160px;
}

/* Bottom Left - long text needs more space */
.service-node:nth-child(6) {
    bottom: 25%;
    left: 5%;
}
.service-node:nth-child(6)::before {
    top: 0;
    right: 180px;
    transform: rotate(-155deg);
    transform-origin: top right;
    height: 160px;
}

/* Left - level with center */
.service-node:nth-child(7) {
    top: 30%;
    left: 2%;
    transform: translateY(-50%);
}
.service-node:nth-child(7)::before {
    top: 50%;
    left: 100%;
    transform: rotate(5deg);
    height: 2px;
    width: 80px;
    background: linear-gradient(to right, #007bff, rgba(0, 123, 255, 0.3), transparent);
}

/* Top Left */
.service-node:nth-child(8) {
    top: 8%;
    left: 5%;
}
.service-node:nth-child(8)::before {
    bottom: 0;
    right: 0;
    transform: rotate(65deg);
    transform-origin: bottom right;
    height: 160px;
}

@media screen and (max-width: 767px) {
    .services-hub {
        min-height: 400px;
    }

    .hub-center {
        width: 100px;
        height: 100px;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .hub-center img {
        width: 55px;
    }

    .service-label {
        font-size: 0.7rem;
        padding: 0.4rem 0.5rem 0.3rem;
    }

    /* Mobile positioning with CORRECT ray calculations */

    /* Top Left - pointing toward center (down and right) */
    .service-node:nth-child(2) {
      top: 15%;
      left: 16%;
    }
    .service-node:nth-child(2)::before {
        top: 100%;
        right: 0;
        transform: rotate(-50deg);
        transform-origin: top right;
        height: 120px;
    }

    /* Top Right - pointing toward center (down and left) */
    .service-node:nth-child(3) {
        top: 5%;
        right: 25%;
    }
    .service-node:nth-child(3)::before {
        top: 100%;
        left: 0;
        transform: rotate(-15deg);
        transform-origin: top left;
        height: 120px;
    }

    /* Right Upper - pointing toward center (down and left) */
    .service-node:nth-child(4) {
        top: 25%;
        right: 2%;
    }
    .service-node:nth-child(4)::before {
        top: 133px;
        left: -16%;
        transform: rotate(-45deg);
        transform-origin: top left;
        height: 2px;
    }

    /* Bottom Right - pointing toward center (up and left) */
    .service-node:nth-child(5) {
        bottom: 25%;
        right: 8%;
    }
    .service-node:nth-child(5)::before {
        bottom: -66px;
        left: 75px;
        transform: rotate(129deg);
        /* transform-origin: bottom left; */
        height: 200px;
    }
    /* Bottom Center - pointing straight up to center */
    .service-node:nth-child(6) {
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
    }
    .service-node:nth-child(6)::before {
        top: 100%;
        left: 50%;
        transform: translateX(-50%) rotate(180deg);
        height: 120px;
    }

    /* Left Lower - pointing toward center (up and right) */
    .service-node:nth-child(7) {
        top: 65%;
        left: 2%;
    }
    .service-node:nth-child(7)::before {
      top: -35px;
      left: 60px;
        transform: rotate(-25deg);
        transform-origin: bottom right;
        height: 2px;
    }
}

.ckeditor-output ul li::before {
  background-color: var(--color-blue) !important;
}

.ckeditor-output ul li {
  margin-bottom: 8px;
}

.ckeditor-output ul {
  margin: 15px 0;
}

.section-detail__content p:not(:last-of-type) {
  margin-bottom: 1em;
}

.section-detail {
  padding: calc(1.7*var(--base-spacing)) 0 calc(3*var(--base-spacing));
}

.dns-and-divisions {
  padding: calc(0.75*var(--base-spacing)) 0 calc(1.5*var(--base-spacing)) 0;
}

.page--infohub-actualities-and-case-studies-detail .section-detail h1 + p {
  margin-bottom: 0.75em;
}

.page--infohub-actualities-and-case-studies-detail .section-detail h1 {
  margin-bottom: 0em;
}

.page--infohub-actualities-and-case-studies-detail .section-detail h1 + p span:nth-of-type(1)::after {
  content: "";
  display:none;
  right: 0;
  width: 2px;
  height: 70%;
  top: 4%;
  background-color: var(--color-dark);
}

.section-detail__content .ckeditor-output {
  margin-top: calc(.25*var(--base-spacing));
}

.matrix-block__image {
    background-size: contain;
}

.technology .matrix-block__image-wrapper, .vendors .heading-and-side-content h2 {
  width: 52%;
}

.vendors .matrix-blocks-wrapper {
  margin-bottom: calc(.5*var(--base-spacing));
}
.flexbox--end {
  justify-content: end;
}
.footer__contact {
  width: 45%;
}
.footer__socials img { max-height: 100px; }

.footer__contact p, .footer__menu p {
    margin-bottom: 15px;
}

.footer__block-left {
    width: 45%;
}

.footer__block-right {
    width: 45%;
}
div.h3 {  margin-bottom: 1.2em; }

.footer__socials {
    margin-top: calc(0.45 * var(--base-spacing));
}
.footer__socials a:not(:last-of-type) {
  margin-right: calc(.4*var(--base-spacing));
}
.footer {
  background: #060b1e; padding: calc(1*var(--base-spacing)) 0 30px;
}

.accordion-item__banner {
  padding-left: 0px;
}

.header__navbar a:hover {
  color: var(--color-blue); opacity:1;
}

.header.is-scrolled {
  backdrop-filter: blur(25px);
  background-color: rgba(255, 255, 255, .5);
}

@media screen and (min-width: 767px) {
  .header__logo img {
  width: 150px; height: 54px;
}
.vendors .matrix-block__image-wrapper {
    width: 50%;
}
.vendors .matrix-block__content-wrapper {
    width: 50%;
}
}

.visible-xs { display:none; }

@media screen and (max-width: 767px) {
    .footer__block-left {
        width: 100%;
    }
    .footer__block-right {
        width: 100%;
    }
    .footer__menu {
        margin-top: 0px; display:none;
    }
    div.h3 { display: none; }
    .footer {
        padding: calc(1.25 * var(--base-spacing)) 0 calc(1.15 * var(--base-spacing));
    }

.footer__socials img {
    max-height: 80px;
}
.vendors .matrix-block__image-wrapper {
    width: 100%;
    max-width: inherit;
  }
  .technology .matrix-block__image-wrapper, .vendors .heading-and-side-content h2 {
    width: 100%; font-size: 1.5rem; margin-bottom:0px;
}
.vendors .matrix-blocks-wrapper {
    margin-top: 0px;
}
.matrix-block__image-wrapper {
   max-width: inherit;
 }
 #detail .matrix-block__image {
   background-size: 90%;
 }
 .page-content .accordion-item__content > div {
  padding-left: 6px; padding-right: 6px; text-align: left;
}
 .page-content .accordion-item__content > div ul {
   text-align: left !important;
 }
 .anchors-menu__list {
  width: 100%;
}

.form>div {
        margin-bottom: calc(.4 * var(--base-spacing));
    }

    .footer {
            padding-bottom: 15px;
        }

.visible-xs { display:block; }

}

.flexbox--space-evenly {
  justify-content: space-evenly;
}

.form input.half {
  width: 49%;
}

/* Login Form Styles - Component Version */
.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* background: #df0d0e; */
    position: relative;
    overflow: hidden;
}

/* Animated background shapes */
.login-wrapper::before,
.login-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.login-wrapper::before {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    top: -150px;
    right: -150px;
}

.login-wrapper::after {
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -250px;
    left: -250px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

/* Login container */
.login-container {
    background: #060b1e;
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 1;
    animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Logo or Title Area */
.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h2 {
    color: #333;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

/* Icon for header */
.login-icon {
    width: 60px;
    height: 60px;
    background: #df0d0e;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.login-icon::before {
    content: '👤';
    font-size: 28px;
    filter: grayscale(100%) brightness(200%);
}

/* Form styling */
.login-form {
    position: relative;
}

.login-form .form-group {
    margin-bottom: 20px;
    position: relative;
}

.login-form .form-group input {
    width: 100%;
    padding: 15px 20px 15px 50px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.login-form .form-group input:focus {
    outline: none;
    border-color: #d75329;
    background: white;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.login-form .form-group input::placeholder {
    color: #999;
    transition: opacity 0.3s ease;
}

.login-form .form-group input:focus::placeholder {
    opacity: 0.5;
}

/* Input icons */
.login-form .form-group .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: color 0.3s ease;
    pointer-events: none;
}

.login-form .form-group input:focus ~ .input-icon {
    color: #d75329;
}

/* User icon */
.login-form .user-icon::before {
    content: '👤';
    font-size: 18px;
    filter: grayscale(100%);
}

/* Password icon */
.login-form .password-icon::before {
    content: '🔒';
    font-size: 18px;
    filter: grayscale(100%);
}

/* Show/Hide password toggle */
.login-form .password-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
    user-select: none;
    font-size: 18px;
}

.login-form .password-toggle:hover {
    color: #d75329;
}

.login-form .password-toggle::before {
    content: '👁';
    filter: grayscale(100%);
}

.login-form .password-toggle.show::before {
    content: '👁‍🗨';
    filter: grayscale(100%);
}

/* Remember me checkbox */
.login-form .form-options {
    display: none;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.login-form .remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.login-form .remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #d75329;
}

.login-form .remember-me label {
    color: #666;
    font-size: 14px;
    cursor: pointer;
    margin: 0;
}

.login-form .forgot-password {
    color: #d75329;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.login-form .forgot-password:hover {
    color: #df0d0e;
    text-decoration: underline;
}

/* Submit button */
.login-form .submit-btn {
    width: 100%;
    padding: 15px;
    background: #df0d0e;
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(223, 13, 14, 0.3);
}

.login-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(223, 13, 14, 0.4);
}

.login-form .submit-btn:active {
    transform: translateY(0);
}

/* Button ripple effect */
.login-form .submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.login-form .submit-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Message display */
.login-message {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.5s ease;
    display: none;
}

.login-message.show {
    display: block;
}

.login-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.login-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.login-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

a.airi { color: #000 !important; cursor: pointer; }
a.airi:hover { color: #df0d0e !important; cursor: pointer; opacity:1; }
.strong { font-weight: bold; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading spinner */
.login-form .spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.login-form .submit-btn.loading .button-text {
    display: none;
}

.login-form .submit-btn.loading .spinner {
    display: block;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Sign up link */
.signup-link {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e1e8ed;
    color: #666;
    font-size: 14px;
}

.signup-link a {
    color: #d75329;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.signup-link a:hover {
    color: #df0d0e;
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-header h2 {
        font-size: 24px;
    }

    .login-form .form-group input {
        padding: 12px 15px 12px 45px;
        font-size: 15px;
    }

    .login-form .submit-btn {
        padding: 12px;
        font-size: 15px;
    }

    .login-form .form-options {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .login-wrapper {
        /* background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%); */
    }

    .login-container {
        background: #060b1e;
    }

    .login-header h2 {
        color: #f7fafc;
    }

    .login-header p {
        color: #cbd5e0;
    }

    .login-form .form-group input {
        background: #2d3748;
        border-color: #4a5568;
        color: #f7fafc;
    }

    .login-form .form-group input:focus {
        background: #1a202c;
        border-color: #d75329;
    }

    .login-form .remember-me label,
    .signup-link {
        color: #cbd5e0;
    }
}
