* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: linear-gradient(135deg, #1a73e8, #0b3c91);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    display: flex;
    width: 800px;
    height: 420px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.6s ease;
}

.login-left {
    width: 45%;
    background: linear-gradient(135deg, #0b3c91, #1a73e8);
    color: #fff;
    padding: 40px;
}

.login-left h1 {
    margin-top: 80px;
    font-size: 32px;
}

.login-right {
    width: 55%;
    padding: 40px;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
}

.input-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: #888;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -12px;
    font-size: 12px;
    color: #1a73e8;
}

.password-group .toggle {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

.btn-login {
    width: 100%;
    padding: 12px;
    background: #1a73e8;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-login:hover {
    background: #0b3c91;
}

.error {
    background: #ffe5e5;
    color: #b00020;
    padding: 8px;
    margin-bottom: 15px;
}

@keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
