/* General Styles */
body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    overflow: hidden;
}

/* Background Image */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('assets/login-bg.jpg') no-repeat center center/cover;
    filter: blur(8px) brightness(0.6);
    animation: background-move 20s infinite alternate ease-in-out;
    z-index: -1;
}

/* Login Container */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Login Card */
.login-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    text-align: center;
    animation: fade-in-scale 1.5s ease-out;
}

/* Logo */
.logo {
    width: 100px;
    margin-bottom: 20px;
    animation: bounce 2s infinite alternate;
}

/* Heading and Text */
.welcome-text {
    font-size: 26px;
    color: #fff;
    margin: 10px 0;
    text-shadow: 0 3px 5px rgba(0, 0, 0, 0.4);
}

.sub-text {
    font-size: 14px;
    color: #ddd;
    margin-bottom: 20px;
}

/* Input Fields */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    font-size: 14px;
    color: #eee;
    margin-bottom: 5px;
    display: block;
}

.input-group input {
    width: 100%;
    padding: 12px;
    font-size: 14px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.8);
}

/* Login Button */
.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    color: #fff;
    background: linear-gradient(90deg, #6a11cb, #2575fc);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-login:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.5);
}

/* Forgot Password Links */
.forgot-password {
    margin-top: 15px;
}

.forgot-password a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password a:hover {
    color: #fff;
}

/* Animations */
@keyframes fade-in-scale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px);
    }
}

@keyframes background-move {
    from {
        transform: scale(1) translateX(0);
    }
    to {
        transform: scale(1.1) translateX(-10px);
    }
}
