/* 外部容器 */
.container {

    max-width: 280px;
    margin: 0 auto;
    padding: 16px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* 表单 */
form {
    display: flex;
    flex-direction: column;
}

/* 标签 */
label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
    color: #555;
}

/* 输入框和按钮容器 */
.form-group {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 输入框 */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #555;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease-in-out;
    width: 96%;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
    outline: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* 按钮 */
button[type="submit"] {
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    color: #fff;
    background-color: #007bff;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #0069d9;
}

button[type="submit"]:focus {
    outline: none;
}

/* 标题 */
h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

/* sweep 2026-10-22: icon gaps, inline remember-me, cabinet card */
label i, button i { margin-right: 8px; }
.toggle { display: flex; gap: 8px; margin-bottom: 8px; }
.toggle button { flex: 1; padding: 8px 6px; border: 0; border-radius: 6px; background: #eef1f6; color: #444; font-size: 15px; cursor: pointer; }
.toggle button.active { background: #007bff; color: #fff; }
.form-group.check-row { flex-direction: row; align-items: center; gap: 8px; }
.form-group.check-row input { margin: 0; width: auto; }
.form-group.check-row label { margin: 0; }
.container h1 { margin-top: 8px; }
.welcome { text-align: center; color: #333; margin: 0 0 12px; }
ul.user-info { list-style: none; padding: 0; margin: 0 0 12px; color: #333; }
ul.user-info li { padding: 6px 0; border-bottom: 1px solid #eee; word-break: break-all; }
ul.user-info li span { color: #777; margin-right: 4px; }
button.btn-main, button.btn-second, button.btn-plain { width: 100%; padding: 11px; border: 0; border-radius: 6px; font-size: 16px; cursor: pointer; margin-top: 10px; }
button.btn-main { background: #f2a92e; color: #1a1a1a; font-weight: 600; }
button.btn-second { background: #007bff; color: #fff; }
button.btn-plain { background: #e6e8ee; color: #444; }
.container { margin-top: 24px; }
.hint { font-size: 13px; color: #777; text-align: center; margin: 14px 0 0; }
.lang-switch { text-align: center; margin: 8px 0 0; font-size: 14px; }
.lang-switch a { color: #007bff; }
