@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #0f2027, #203a43, #2c5364, #0066FF);
    background-size: 300% 300%;
    animation: gradientBG 15s ease infinite;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Glassmorphism Card */
.login-container {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    color: white;
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    animation: listEntrance 0.8s forwards;
}

@keyframes listEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-section img {
    width: 120px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.2));
}

.brand-section h2 {
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 1.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Form Styles */
.form-floating {
    position: relative;
    margin-bottom: 20px;
}

.login-input {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    outline: none;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.login-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #0066FF;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.3);
}

.login-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

/* Button */
.btn-login {
    width: 100%;
    padding: 15px;
    background: #0066FF;
    background: linear-gradient(90deg, #0066FF, #00c6ff);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
    margin-top: 10px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.6);
}

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

/* Alerts */
.alert {
    background: rgba(255, 87, 87, 0.8);
    color: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Footer/Copyright */
.footer-text {
    margin-top: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Background Shapes for extra flair */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    animation: floatShape 10s infinite alternate;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #0066FF;
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background: #00c6ff;
    bottom: -50px;
    right: -50px;
    animation-delay: 2s;
}

@keyframes floatShape {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, 30px);
    }
}