/* [GIMY-ADDON] member.css — never existed in this theme deployment before,
   which left every user/* page (login, register, findpass...) completely
   unstyled since they all reference this exact file. Written to match the
   site's existing accent color (#fa474b family, taken from style.css) and
   the classes actually used in template/gimy/html/user/{login,reg}.html. */

* { box-sizing: border-box; }

body {
    background: #f5f5f5;
    font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
    color: #333;
    margin: 0;
}

/* Top bar */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 14px 0;
}
.header .layout {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.header .logo img { display: block; height: 36px; width: auto; }
.header .nav { list-style: none; margin: 0; padding: 0; display: flex; gap: 20px; }
.header .nav-item { list-style: none; }
.header .nav-link { color: #666; text-decoration: none; font-size: 14px; }
.header .nav-link:hover { color: #fa474b; }

/* Page layout */
.layout.clearfix { max-width: 960px; margin: 0 auto; padding: 0 16px; }
.layout.clearfix:after { content: ""; display: table; clear: both; }

/* Login / register card */
.reg-w {
    background: #fff;
    max-width: 420px;
    margin: 40px auto 0;
    padding: 32px 36px 28px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.reg-w h4 {
    margin: 0 0 22px;
    font-size: 18px;
    color: #222;
    font-weight: 600;
    border-bottom: 2px solid #fa474b;
    padding-bottom: 10px;
    display: inline-block;
}

/* Form rows (login.html uses plain <p><label>...) */
.reg-w p { margin: 14px 0; }
.reg-w label {
    display: inline-block;
    width: 56px;
    color: #666;
    font-size: 14px;
}
.reg-w input[type="text"],
.reg-w input[type="password"],
.reg-w input[type="email"] {
    width: 260px;
    max-width: 70%;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s;
}
.reg-w input[type="text"]:focus,
.reg-w input[type="password"]:focus,
.reg-w input[type="email"]:focus {
    border-color: #fa474b;
}

/* Register page's specific field wrappers */
.reg-group { margin: 14px 0; display: flex; align-items: center; }
.reg-control {
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}
.reg-control.w150 { width: 150px; }
.bd-r { border-radius: 4px; }

/* Buttons */
.btn-brand {
    display: inline-block;
    background: #fa474b;
    color: #fff !important;
    border: none;
    border-radius: 4px;
    padding: 9px 20px;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: background .15s;
}
.btn-brand:hover { background: #e23a3e; color: #fff; }
.btn-brand.btn-sub { margin-top: 6px; padding: 10px 0; width: 100%; text-align: center; }

/* Third-party login row — sits below .reg-w, a sibling not a child, so it
   needs its own matching card treatment to look like one connected block */
.reg-another {
    background: #fff;
    max-width: 420px;
    margin: 16px auto 40px;
    padding: 18px 36px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.reg-another h5 {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 400;
    color: #bbb;
}
.reg-another h5:last-of-type {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
    color: #999;
}
.reg-another .btn-brand {
    background: #fff;
    color: #555 !important;
    border: 1px solid #ddd;
    padding: 7px 18px;
    margin: 6px 6px 0 0;
}
.reg-another .btn-brand:hover {
    border-color: #fa474b;
    color: #fa474b !important;
    background: #fff;
}

.fr { float: right; }
.mr10 { margin-right: 10px; }
.mt10 { margin-top: 10px; }
.i-pers { color: #999; font-size: 13px; }
