body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0984e3, #6c5ce7);
    height: 100vh;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
}

.login-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.glass {
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 18px;
    padding: 45px 35px;
    width: 380px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    color: white;
}

.login-logo {
    width: 70px;
    margin-bottom: 25px;
}

h2 {
    margin-bottom: 20px;
}

.floating-input {
    position: relative;
    margin-bottom: 22px;
}

.floating-input input {
    width: 100%;
    padding: 16px 12px 10px 12px;
    border: none;
    border-radius: 8px;
    background: rgba(255,255,255,0.25);
    color: white;
    font-size: 14px;
}

.floating-input input::placeholder {
    color: transparent;
}

.floating-input label {
    position: absolute;
    left: 12px;
    top: 14px;
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    transition: 0.2s ease;
    pointer-events: none;
}

.floating-input input:focus + label,
.floating-input input:not(:placeholder-shown) + label {
    top: 4px;
    font-size: 11px;
    opacity: 0.8;
}

.login-options {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 20px;
}

.login-options a {
    color: white;
    text-decoration: none;
}

.login-btn {
    width: 100%;
    padding: 14px;
    background: white;
    color: #0984e3;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    letter-spacing: 0.5px;
}

.login-btn:hover {
    background: #f1f2f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.error-box {
    background: rgba(255,0,0,0.2);
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
}