/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */


@keyframes conicShift {
    0% {
        --c1: #dbeafe; /* blue-100 */
        --c2: #64748b; /* slate-500 */
        --c3: #5e7496;
    }

    100% {
        --c1: #fee2e2; /* red-100 */
        --c2: #ef4444; /* red-500 */
        --c3: #7f1d1d; /* dark red */
    }
}

.animated-bg {
    --c1: #dbeafe;
    --c2: #64748b;
    --c3: #5e7496;

    background: conic-gradient(
        from 330deg,
        var(--c1),
        var(--c2),
        var(--c3)
    );

    animation: conicShift 6s ease-in-out forwards;
}


/* SIGN IN CARD */
 @property --angle {
    syntax: "<angle>";
    initial-value: 0deg;
    inherits: false;
 }

 @keyframes rotate-gradient {
    to {
        --angle: 360deg;
    }
 }

 .glass-glow-card {
    background: rgba(16, 44, 114, 0.807);
    backdrop-filter: blur(10px);

    border-radius: 20px;

    border: 2px solid transparent;

    background-image:
        linear-gradient(rgba(15, 23, 42, 0.923), rgba(15, 23, 42, 0.923)),
        conic-gradient(from var(--angle), transparent 20%, #fa7070, #f8b585, transparent 80%);

    background-origin: border-box;
    background-clip: padding-box, border-box;  
    
    animation: rotate-gradient 5s linear infinite;
 }

/* SIGN IN BG */
.aurora-bg {
    position: relative;
    background-color: #0f172a;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aurora-bg::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.4)0%, rgba(139,92, 246, 0.4)30%, transparent 70%);
    filter: blur(80px);
    animation: aurora-move-1 8s ease-in-out infinite alternate;
    z-index: 0;
}

.aurora-bg::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.3)0%, rgba(30, 64, 175, 0.3)40%, transparent 70%);
    filter: blur(60px);
    animation: aurora-move-2 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes aurora-move-1 {
    0% { transform: translate(0, 0) rotate(0deg);}
    100% { transform: translate(20%, 10%) rotate(10deg);}    
}

@keyframes aurora-move-2 {
    0% { transform: translate(0, 0) scale(1);}
    100% { transform: translate(-20%, -10%) scale(1.1);}    
}

.bg-dash-red {
    position: relative;
    background-color: #030728;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.bg-dash-red::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.4)0%, rgba(139,92, 246, 0.4)30%, transparent 70%);
    filter: blur(80px);
    animation: aurora-move-1 8s ease-in-out infinite alternate;
    z-index: 0;
}

.bg-dash-red::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(6, 182, 212, 0.3)0%, rgba(30, 64, 175, 0.3)40%, transparent 70%);
    filter: blur(60px);
    animation: aurora-move-2 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes red-move-1 {
    0% { transform: translate(0, 0) rotate(0deg);}
    100% { transform: translate(20%, 10%) rotate(10deg);}    
}

@keyframes red-move-2 {
    0% { transform: translate(0, 0) scale(1);}
    100% { transform: translate(-20%, -10%) scale(1.1);}    
}


.bg-dash-light {
    position: relative;
    background-color: #e7f6ffec;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
}

.bg-dash-light::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(165, 255, 232, 0.685)0%, rgba(210, 226, 255, 0.637)30%, transparent 70%);
    filter: blur(80px);
    animation: light-move-1 8s ease-in-out infinite alternate;
    z-index: 0;
}

.bg-dash-light::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle at center, rgba(255, 240, 240, 0.562)rgba(223, 235, 234, 234)40%, transparent 70%);
    filter: blur(60px);
    animation: light-move-2 10s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes light-move-1 {
    0% { transform: translate(0, 0) rotate(0deg);}
    100% { transform: translate(20%, 10%) rotate(10deg);}    
}

@keyframes light-move-2 {
    0% { transform: translate(0, 0) scale(1);}
    100% { transform: translate(-20%, -10%) scale(1.1);}    
}


.moving-mesh-bg {
    width: 100%;
    height: 100vh;
    background-color: #f8fafc;
    background-image:
        radial-gradient(at 0% 0%, #bfd0ffa6 0px, transparent 50%),
        radial-gradient(at 100% 0%, #893dec69 0px, transparent 50%),
        radial-gradient(at 100% 100%, #99cdf79a 0px, transparent 50%),
        radial-gradient(at 0% 100%, #f7ffcb5e 0px, transparent 50%);
    background-size: 200% 200%;
    animation: mesh-animation 12s ease infinite;
    overflow: hidden;
}

@keyframes mesh-animation {
    0% {
        background-position: 0% 0%;
    }
    25% {
        background-position: 100% 0%;
    }
    50% {
        background-position: 100% 100%;  
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 0%;
    }

}

.main-dash-bg {
    position: relative;
    z-index: 0;
}

.main-dash-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;

    background-image: url("/assets/opt4-6e5b8d6e.webp");
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1;
    filter: brightness(100%);
    filter: blur(0px);
    z-index: -1;
}






.bg-normal {
  background: #5E7496;
}

.wave-normal {
    background: #c8dbf7;
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 60em;
    animation: wave-normal 30s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
    rotate: -30deg;

    box-shadow:
        /* Layer 1 (contact shadow: tight, higher density) */
        0px 1px 2px 0px rgba(0, 0, 0, 0.5),
        /* Layer 2 (mid-range shadow) */
        0px 6px 20px 0px rgba(0, 0, 0, 0.35),
        /* Layer 3 (ambient shadow: large blur, faint opacity) */
        0px 20px 50px 0px rgba(0, 0, 0, 0.2);
}

.wave-normal:nth-of-type(2) {
    bottom: -3.25em;
    animation: wave-normal 30s linear reverse infinite;
    opacity: 0.5;
}

.wave-normal:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave-normal 40s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave-normal {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}





.bg-alarm {
  background: rgb(3, 34, 73);
}

.wave-alarm {
    background: #ff7b00;
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 60em;
    animation: wave-alarm 30s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
    rotate: -30deg;
}

.wave-alarm:nth-of-type(2) {
    bottom: -3.25em;
    animation: wave-alarm 30s linear reverse infinite;
    opacity: 0.5;
}

.wave-alarm:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave-alarm 40s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave-alarm {
    2% {
        transform: translateX(1);
    }

    25% {
        transform: translateX(-25%);
    }

    50% {
        transform: translateX(-50%);
    }

    75% {
        transform: translateX(-25%);
    }

    100% {
        transform: translateX(1);
    }
}






.bg-genuine {
  background: rgb(145, 30, 4);
}

.wave-genuine {
    background: #ff7b00;
    border-radius: 1000% 1000% 0 0;
    position: fixed;
    width: 200%;
    height: 60em;
    animation: wave-genuine 30s -3s linear infinite;
    transform: translate3d(0, 0, 0);
    opacity: 0.8;
    bottom: 0;
    left: 0;
    z-index: -1;
    rotate: -30deg;
}

.wave-genuine:nth-of-type(2) {
    bottom: -3.25em;
    animation: wave-genuine 30s linear reverse infinite;
    opacity: 0.5;
}

.wave-genuine:nth-of-type(3) {
    bottom: -2.5em;
    animation: wave-genuine 40s -1s reverse infinite;
    opacity: 0.9;
}

@keyframes wave-genuine {
  2% {
    transform: translateX(1);
  }

  25% {
    transform: translateX(-25%);
  }

  50% {
    transform: translateX(-50%);
  }

  75% {
    transform: translateX(-25%);
  }

  100% {
    transform: translateX(1);
  }
}

body {
  transition: background-color 1s ease;
}

/* Smooth switch for wave color + opacity */
.wave-normal, .wave-alarm, .wave-genuine {
  transition: background-color 1s ease, opacity 200ms ease;
}

.timeline-item > summary::-webkit-details-marker {
  display: none;
}

.timeline-item > summary {
  list-style: none;
}

.timeline-item[open] .details-chevron {
  transform: rotate(180deg);
}


/* set how tall the table scroll area is (tune this) */
.dt-scrollbox {
  max-height: 65vh;   /* or a fixed height like 520px */
}

/* DataTables scroll wrapper should not introduce extra scrollbars outside */
.dataTables_wrapper .dataTables_scroll {
  overflow: visible;
}

/* Ensure the scroll head + body use the same width and behave */
.dataTables_scrollHeadInner,
.dataTables_scrollBody table {
  width: 100% !important;
}