* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    height: 100vh;
    background: url("https://images.unsplash.com/photo-1503376780353-7e6692767b70")
        no-repeat center center/cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.85),
        rgba(15,15,15,0.9)
    );
}

.login-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.login-card {
    width: 380px;
    padding: 40px;
    border-radius: 15px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(15px);
    box-shadow: 0 0 40px rgba(255, 70, 0, 0.2);
    text-align: center;
    animation: fadeIn 0.8s ease;
}

.login-card h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 5px;
}

.subtitle {
    color: #aaa;
    margin-bottom: 30px;
    font-size: 14px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #444;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 12px;
    left: 0;
    color: #777;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -10px;
    font-size: 11px;
    color: #ff4d00;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(90deg, #ff4d00, #ff1e00);
    color: #fff;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    box-shadow: 0 0 20px rgba(255,77,0,0.7);
    transform: translateY(-2px);
}

#message {
    margin-top: 15px;
    font-size: 13px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media(max-width: 420px){
    .login-card{
        width: 100%;
        padding: 30px;
    }
}
.password-group {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #999;
    transition: 0.3s;
}

.toggle-password:hover {
    color: #000;
}