/*
 * 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(4, 17, 51, 0.807);
    backdrop-filter: blur(10px);

    border-radius: 20px;

    border: 2px solid transparent;

    background-image:
        linear-gradient(rgba(6, 26, 82, 0.712), rgba(4, 12, 31, 0.923)),
        conic-gradient(from var(--angle), transparent 20%, #770b0b, #bb6223, 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(122, 93, 189, 0.594)30%, transparent 70%);
    filter: blur(80px);
    animation: aurora-move-1 6s 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(24, 203, 235, 0.392)0%, rgba(11, 41, 142, 0.3)40%, transparent 70%);
    filter: blur(60px);
    animation: aurora-move-2 8s 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: radial-gradient(circle, #5E7496 0%, #456499 100%);
    /* Ensure the body or container hides overflow if bubbles go off-screen */
    overflow: hidden; 
}

/* Base styling for the perfect circle bubbles */
.wave-normal {
    background: linear-gradient(135deg, #7dbac5 0%, #89b3f5 100%);
    position: fixed;
    border-radius: 50%;
    opacity: 0.85;
    z-index: -1;
    box-shadow: 
        0px 15px 30px 0px rgba(0, 0, 0, 0.1),
        inset -10px -10px 20px rgba(255, 255, 255, 0.5);
}

/* 1. Medium-large, Top Left */
.wave-normal:nth-of-type(1) {
    top: 5%;
    left: 10%;
    width: 15em;
    height: 15em;
    animation: drift-one 60s infinite ease-in-out;
}

/* 2. Extra large, Bottom Right */
.wave-normal:nth-of-type(2) {
    bottom: 5%;
    right: 5%;
    width: 25em;
    height: 25em;
    background: linear-gradient(135deg, #7aa6e0 0%, #b1a4f9 100%);
    opacity: 0.7;
    /* Using 'alternate' makes it play backwards when it reaches the end */
    animation: drift-two 72s infinite ease-in-out alternate;
    animation-delay: -5s;
}

/* 3. Small, Center Right */
.wave-normal:nth-of-type(3) {
    top: 35%;
    right: 25%;
    width: 8em;
    height: 8em;
    background: linear-gradient(135deg, #ffffff 0%, #c8dbf7 100%);
    animation: drift-three 216s infinite ease-in-out;
    animation-delay: -2s;
}

/* 4. Large, Bottom Left */
.wave-normal:nth-of-type(4) {
    bottom: 5%;
    left: 25%;
    width: 18em;
    height: 18em;
    background: linear-gradient(135deg, #adacd3 0%, #7aa8f2 100%);
    /* Using 'alternate-reverse' adds more chaos */
    animation: drift-one 72s infinite ease-in-out alternate-reverse;
    animation-delay: -12s;
}

/* 5. Tiny, Top Right */
.wave-normal:nth-of-type(5) {
    top: 15%;
    right: 15%;
    width: 5em;
    height: 5em;
    animation: drift-two 76s infinite ease-in-out alternate;
    animation-delay: -7s;
}

/* 6. Medium, Center Left */
.wave-normal:nth-of-type(6) {
    top: 50%;
    left: 5%;
    width: 12em;
    height: 12em;
    background: linear-gradient(135deg, #af9a6e 0%, #89b3f5 100%);
    opacity: 0.6;
    animation: drift-three 50s infinite ease-in-out reverse;
    animation-delay: -15s;
}

/* --- The "Random" Viewport Animations --- */

/* Path 1: Sweeps heavily across the width and drops down */
@keyframes drift-one {
    0%, 100% { transform: translate(0, 0); }
    25%      { transform: translate(40vw, 20vh); }
    50%      { transform: translate(-30vw, 50vh); }
    75%      { transform: translate(-10vw, -30vh); }
}

/* Path 2: Sharp diagonals bouncing from corner to corner */
@keyframes drift-two {
    0%, 100% { transform: translate(0, 0); }
    33%      { transform: translate(-50vw, -40vh); }
    66%      { transform: translate(30vw, 40vh); }
}

/* Path 3: Erratic, tight zigzag across the screen */
@keyframes drift-three {
    0%, 100% { transform: translate(0, 0); }
    20%      { transform: translate(60vw, -20vh); }
    40%      { transform: translate(-20vw, 60vh); }
    60%      { transform: translate(-50vw, -10vh); }
    80%      { transform: translate(20vw, -50vh); }
}





.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);
}

/* Base styling for the perfect circle bubbles */
.wave-genuine {
    background: linear-gradient(135deg, #ff7b00 0%, #89b3f5 100%);
    position: fixed;
    border-radius: 50%; /* Locks the shape to a perfect circle */
    animation: float-circle 20s infinite ease-in-out;
    opacity: 0.85;
    z-index: -1;
    
    /* Subtle 3D inner glow to maintain the bubble look */
    box-shadow: 
        0px 15px 30px 0px rgba(0, 0, 0, 0.1),
        inset -10px -10px 20px rgba(255, 255, 255, 0.5);
}

/* 1. Medium-large, Top Left */
.wave-genuine:nth-of-type(1) {
    top: 5%;
    left: 10%;
    width: 15em;
    height: 15em;
    animation-duration: 18s;
}

/* 2. Extra large, Bottom Right */
.wave-genuine:nth-of-type(2) {
    bottom: 5%;
    right: 5%;
    width: 25em;
    height: 25em;
    /* Lighter gradient variation */
    background: linear-gradient(135deg, #ff7b00 0%, #ffac5f 100%);
    animation-duration: 25s;
    animation-delay: -5s;
    opacity: 0.7;
}

/* 3. Small, Center Right */
.wave-genuine:nth-of-type(3) {
    top: 35%;
    right: 25%;
    width: 8em;
    height: 8em;
    /* Almost white gradient */
    background: linear-gradient(135deg, #ff7b00 0%, #ffac5f 100%);
    animation-duration: 15s;
    animation-delay: -2s;
}

/* 4. Large, Bottom Left */
.wave-genuine:nth-of-type(4) {
    bottom: 15%;
    left: 15%;
    width: 18em;
    height: 18em;
    /* Slightly darker, richer blue */
    background: linear-gradient(135deg, #ff7b00 0%, #ffac5f 100%);
    animation-duration: 22s;
    animation-delay: -8s;
}

/* 5. Tiny, Top Right */
.wave-genuine:nth-of-type(5) {
    top: 15%;
    right: 15%;
    width: 5em;
    height: 5em;
    animation-duration: 12s;
    animation-delay: -4s;
}

/* 6. Medium, Center Left */
.wave-genuine:nth-of-type(6) {
    top: 45%;
    left: 5%;
    width: 12em;
    height: 12em;
    background: linear-gradient(135deg, #ff7b00 0%, #ffac5f 100%);
    animation-duration: 28s;
    animation-delay: -10s;
    opacity: 0.6;
}

/* 
  The Animation: 
  A gentle, wandering drift using translate. 
  By using ease-in-out, the circles slow down smoothly before changing direction.
*/
@keyframes float-circle {
    0%, 100% {
        transform: translate(0, 0);
    }
    33% {
        transform: translate(8%, 12%);
    }
    66% {
        transform: translate(-5%, 8%);
    }
}

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 */
}

.polka-dots {
  background-color: #f0f0f03b; /* The base color showing through */
  background-image: radial-gradient(#4779b92f 10%, transparent 5%),
                    radial-gradient(#4779b92f 10%, transparent 10%);
  background-size: 40px 40px; /* Size of the pattern block */
  background-position: 0 0, 20px 20px; /* Offsets the second layer to create a diamond dot pattern */
}

.grid-pattern {
  background-color: white; 
  background-image: 
    linear-gradient(rgba(0,0,255, 0.2) 1px, transparent 1px), /* Horizontal lines */
    linear-gradient(90deg, rgba(0,0,255, 0.2) 1px, transparent 1px); /* Vertical lines */
  background-size: 20px 20px; /* The size of each grid square */
}

.stripes {
  background-color: #ffffff00;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.5), /* Start of semi-transparent white stripe */
    rgba(255, 255, 255, 0.5) 10px, /* End of white stripe */
    transparent 10px, /* Start of transparent stripe (lets the #ffcccc show through) */
    transparent 20px /* End of transparent stripe */
  );
}