* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    overflow: hidden;
    background: #0f0c29;
}

/* Dynamic Animated Background */
.background-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #0f0c29, #302b63, #24243e, #0575E6);
    background-size: 400% 400%;
    z-index: -1;
    animation: gradientMove 15s ease infinite;
}

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

/* Glassmorphism Container */
.login-container {
    position: relative;
    width: 400px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
    color: white;
    text-align: center;
}

h2 { margin-bottom: 10px; font-weight: 600; }
p { font-size: 0.9rem; color: #ccc; margin-bottom: 30px; }

/* Innovative Floating Labels */
.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    outline: none;
    color: white;
    transition: 0.3s;
}

.input-group label {
    position: absolute;
    left: 0;
    top: 10px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus ~ label,
.input-group input:valid ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: #0575E6;
}

.input-group input:focus {
    border-bottom: 2px solid #0575E6;
}

/* UX Elements */
.form-options {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.form-options a { color: #0575E6; text-decoration: none; }

.login-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 25px;
    background: #0575E6;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #021B79;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(5, 117, 230, 0.4);
}

.separator {
    margin: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 0.1em;
}

.separator span {
    background: rgba(255, 255, 255, 0.05);
    padding: 0 10px;
    font-size: 0.8rem;
    color: #888;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}