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

body {
    height: 100vh;
    background: linear-gradient(135deg, #4f46e5, #9333ea);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 100%;
    padding: 20px;
}

.login-card {
    max-width: 380px;
    margin: auto;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    color: #fff;
}

.login-header {
    text-align: center;
    margin-bottom: 25px;
}

.login-header img {
    width: 70px;
    margin-bottom: 10px;
}

.login-header h2 {
    font-size: 24px;
    margin-bottom: 5px;
}

.login-header p {
    font-size: 14px;
    opacity: 0.85;
}

.alert {
    background: rgba(255, 0, 0, 0.2);
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 15px;
    text-align: center;
}

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

.input-group i {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #ddd;
}

.input-group input {
    width: 100%;
    padding: 12px 40px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #ddd;
}

.btn-login {
    width: 100%;
    background: #22c55e;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: #16a34a;
}

.footer-text {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
    opacity: 0.7;
}
