* {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #141e30, #4b6e86);
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    width: 380px;
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #3d658d;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 12px 10px;
    border: none;
    border-bottom: 2px solid #ccc;
    outline: none;
    font-size: 15px;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 10px;
    color: #999;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -5px;
    font-size: 12px;
    color: #93f8ff;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    background: #243b55;
    color: #fff;
    font-size: 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #296e7a;
}

.error {
    background: #ffdddd;
    color: #a00;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.link {
    text-align: center;
    margin-top: 15px;
}

.link a {
    color: #243b55;
    text-decoration: none;
    font-weight: 600;
}
