* {
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #1d2671, #c33764);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.login-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.25);
    text-align: center;
}

.login-card h2 {
    margin: 0;
    color: #1d2671;
}

.subtitle {
    color: #777;
    margin-bottom: 25px;
    font-size: 14px;
}

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

.input-group input {
    width: 100%;
    padding: 12px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
}

.input-group label {
    position: absolute;
    left: 10px;
    top: 50%;
    color: #888;
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
    transition: 0.3s;
    background: white;
    padding: 0 5px;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -7px;
    font-size: 11px;
    color: #1d2671;
}

button {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #1d2671, #c33764);
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    opacity: 0.9;
}

.error {
    background: #ffe6e6;
    color: #cc0000;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
}

.footer-text {
    margin-top: 25px;
    font-size: 12px;
    color: #aaa;
}
