/*
 * 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-layered {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: #0b1220;
  overflow: hidden;
}

.bg-layered .panel {
  position: absolute;
  inset: -20%;
  background: #243444;
  box-shadow: -30px 30px 60px rgba(0,0,0,.55);
  transform-origin: center;
}

.bg-layered .panel.p1 {
  clip-path: polygon(0 0, 55% 0, 35% 60%, 0 85%);
  transform: rotate(-12deg);
}

.bg-layered .panel.p2 {
  clip-path: polygon(20% 0, 100% 0, 100% 65%, 55% 100%, 20% 55%);
  background: #2c4154;
  transform: rotate(10deg);
}

.bg-layered .panel.p3 {
  clip-path: polygon(0 25%, 60% 5%, 100% 35%, 40% 100%, 0 80%);
  background: #1b2b3a;
  transform: rotate(0deg);
}

.demo-text {
    border: solid 1px whitesmoke;
    border-radius: 5px;
    padding-left: 2px;
    padding-right: 2px;
    padding-top: 1px;
    padding-bottom: 1px;
}
