* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* Gradient + Image ka combination: Agar image na chale toh gradient dikhega */
    background: linear-gradient(45deg, #4b0082, #0000ff), 
                url('../../assets/pic1.jpg') no-repeat center center/cover;
    background-blend-mode: overlay;
}

.login-box {
    position: relative;
    width: 400px;
    padding: 40px;
    /* Glassmorphism Effect ko thora dark kiya taake white par bhi dikhe */
    background: rgba(255, 255, 255, 0.1); 
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: #ffffff;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px 45px 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    outline: none;
    color: #fff;
    font-size: 1rem;
    transition: 0.3s;
}

.input-group input:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.9);
}

.input-group i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    color: #fff;
}

.options {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 25px;
    color: #eee;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: #ffffff;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #4b0082;
    cursor: pointer;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.login-btn:hover {
    background: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0,0,0,0.3);
}

.register-link {
    margin-top: 25px;
    font-size: 0.9rem;
}

.register-link a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

/* Error/Success Messages */
.msg {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}
.error { background: rgba(255, 0, 0, 0.5); border: 1px solid #ff4d4d; }
.success { background: rgba(0, 255, 0, 0.5); border: 1px solid #00ff00; }