* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(180deg, #f9fafb, #eef2ff);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 100%;
    max-width: 420px;
    background: white;
    padding: 36px;
    border-radius: 18px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.08);
    animation: smoothIn 0.4s ease;
}

h2 {
    text-align: center;
    margin-bottom: 26px;
}

input {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font-size: 15px;
}

input:focus {
    outline: none;
    border-color: #6366f1;
}

button {
    width: 100%;
    padding: 14px;
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    cursor: pointer;
    transition: 0.25s;
}

button:hover {
    background: #4f46e5;
}

a {
    display: block;
    text-align: center;
    margin-top: 18px;
    color: #6366f1;
    text-decoration: none;
}

.msg {
    margin-top: 14px;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
}

.success {
    background: #ecfdf5;
    color: #065f46;
}

.error {
    background: #fef2f2;
    color: #991b1b;
}

@keyframes smoothIn {
    from {opacity:0; transform: translateY(15px);}
    to {opacity:1; transform: translateY(0);}
}
