* { box-sizing: border-box; }

body {
    font-family: -apple-system, Segoe UI, Roboto, sans-serif;
    background: #f4f6f9;
    color: #1c1f26;
    margin: 0;
    display: flex;
    justify-content: center;
    padding-top: 70px;
    min-height: 100vh;
}

.card {
    background: #ffffff;
    border: 1px solid #e2e5eb;
    border-radius: 14px;
    padding: 36px 40px;
    width: 380px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #2451e0;
}

.subtitle {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 28px;
}

.btn-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    display: block;
    text-align: center;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: #2451e0;
    color: #fff;
}
.btn-primary:hover { background: #1c3fbd; }

.btn-secondary {
    background: #eef1f6;
    color: #1c1f26;
}
.btn-secondary:hover { background: #e1e5ec; }

label {
    display: block;
    font-size: 13px;
    margin: 14px 0 5px;
    color: #6b7280;
}

input[type=text], input[type=email], input[type=password] {
    width: 100%;
    padding: 11px 13px;
    border-radius: 8px;
    border: 1px solid #dfe3ea;
    background: #fafbfc;
    font-size: 14px;
}

button[type=submit] {
    margin-top: 22px;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: none;
    background: #2451e0;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}
button[type=submit]:hover { background: #1c3fbd; }

.msg {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 13px;
}
.msg.ok { background: #eaf7ee; color: #1e7a37; border: 1px solid #bfe6ca; }
.msg.fail { background: #fdeeee; color: #b3261e; border: 1px solid #f3c8c6; }

.links {
    margin-top: 20px;
    font-size: 13px;
    text-align: center;
}
.links a { color: #2451e0; text-decoration: none; }
.links a:hover { text-decoration: underline; }

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eef1f6;
    font-size: 14px;
}
.info-row span:first-child { color: #6b7280; }
