/* Animated Border Button */
.animated-border-btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
    background-color: #ffd500 !important; /* YELLOW BUTTON */
    border: none !important;
    color: #000;
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s ease;
}

/* Animated Gradient Border */
.animated-border-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 6px;
    background: linear-gradient(
        120deg,
        #ffef9f,
        #ffcf33,
        #ff9b00,
        #ffcf33,
        #ffef9f
    );
    background-size: 400%;
    animation: borderFlow 4s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

/* Border animation motion */
@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---------- ADDITIONAL PREMIUM EFFECTS ---------- */

/* 1️⃣ Soft Glow Pulse */
.animated-border-btn::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 10px;
    background: radial-gradient(
        circle,
        rgba(255,215,0,0.35),
        transparent 70%
    );
    animation: softGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes softGlow {
    0% { transform: scale(0.85); opacity: 0.6; }
    50% { transform: scale(1); opacity: 1; }
    100% { transform: scale(0.85); opacity: 0.6; }
}

/* 2️⃣ Shimmer Highlight Sweep */
.animated-border-btn:hover::after {
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.0) 0%,
        rgba(255,255,255,0.5) 50%,
        rgba(255,255,255,0.0) 100%
    );
    background-size: 200%;
    animation: shimmerSweep 1.2s ease-in-out;
}

@keyframes shimmerSweep {
    0% { background-position: -100% 0%; }
    100% { background-position: 200% 0%; }
}











.animated-gradient-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(
        90deg,
        #ffcf33,
        #ff9b00,
        #f75c03,
        #ffcf33
    );
    background-size: 300%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: gradientFlow 3s ease-in-out infinite;
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}






/* Parallax Background */
.login-parallax-bg {
    background-image: url('../assets/image/navbar.jpg');
    background-attachment: fixed;
    background-position: center 30%; /* slight upward shift */
    background-size: cover;
    filter: brightness(0.5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Overlay */
#admin-login .overlay {
    background: rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Card Styling - Transparent + Animation */
#admin-login .card {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(1px);
    color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatRotate 3s ease-in-out infinite alternate;
}

/* Hover effect to pause animation and pop slightly */
#admin-login .card:hover {
    transform: translateY(-5px) scale(1.02) rotate(0deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    animation-play-state: paused;
}

/* Floating + rotating animation */
@keyframes floatRotate {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-5px) rotate(-1deg);
    }

    50% {
        transform: translateY(5px) rotate(1deg);
    }

    75% {
        transform: translateY(-5px) rotate(-1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Button Styling with Glow */
#admin-login .btn-primary {
    background-color: #ffd700;
    border-color: #ffd700;
    color: #111;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    animation: glowPulse 2s infinite alternate;
}

#admin-login .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 1), 0 0 40px rgba(255, 215, 0, 0.6);
    animation-play-state: paused;
}

/* Glow pulse animation */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.7);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
    }
}

/* Input Styling */
#admin-login input {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#admin-login input::placeholder {
    color: #eee;
}

/* Responsive */
@media (max-width: 576px) {
    #admin-login .card {
        padding: 2rem 1.5rem;
    }
}