* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "Microsoft YaHei", sans-serif; font-size: 14px; color: #333; background: #f5f5f5; }
a { color: #2d8c3c; text-decoration: none; }
a:hover { text-decoration: underline; }

.member-wrap { max-width: 1200px; margin: 20px auto; background: #fff; border-radius: 6px; padding: 20px; min-height: 400px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.member-bread { padding: 0 0 15px; border-bottom: 1px solid #eee; margin-bottom: 20px; font-size: 13px; color: #999; }
.member-bread a { color: #2d8c3c; }

/* Login & Register forms */
.member-form { max-width: 500px; margin: 30px auto; }
.member-form h2 { text-align: center; color: #2d8c3c; font-size: 22px; margin-bottom: 25px; }
.member-form .form-row { margin-bottom: 18px; }
.member-form .form-row label { display: block; margin-bottom: 6px; font-weight: bold; color: #555; font-size: 14px; }
.member-form .form-row label .req { color: #e74c3c; }
.member-form .form-row input[type="text"],
.member-form .form-row input[type="password"],
.member-form .form-row input[type="email"] { width: 100%; height: 42px; border: 1px solid #ddd; border-radius: 4px; padding: 0 12px; font-size: 14px; transition: border-color 0.3s; }
.member-form .form-row input:focus { border-color: #2d8c3c; outline: none; }
.member-form .form-row .hint { font-size: 12px; color: #999; margin-top: 4px; }
.member-form .form-row .extra-link { float: right; font-size: 13px; }
.member-form .form-row.radio-group label { display: inline-block; margin-right: 15px; font-weight: normal; }
.member-form .form-row.radio-group input { margin-right: 4px; }
.member-form .btn-submit { width: 100%; height: 44px; background: #2d8c3c; color: #fff; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; transition: background 0.3s; }
.member-form .btn-submit:hover { background: #247532; }
.member-form .btn-reg { width: 100%; height: 44px; background: #fff; color: #2d8c3c; border: 1px solid #2d8c3c; border-radius: 4px; font-size: 16px; cursor: pointer; margin-top: 10px; }
.member-form .btn-reg:hover { background: #f0fff0; }
.member-form .form-tips { text-align: center; margin-top: 15px; font-size: 13px; color: #999; }

/* Member Center */
.cp-header { display: flex; align-items: center; padding: 20px; background: linear-gradient(135deg, #2d8c3c, #1a6e28); border-radius: 6px; margin-bottom: 20px; color: #fff; }
.cp-avatar { width: 80px; height: 80px; border-radius: 50%; border: 3px solid rgba(255,255,255,0.3); margin-right: 20px; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.cp-user-info h2 { font-size: 20px; margin-bottom: 5px; }
.cp-user-info p { font-size: 13px; opacity: 0.8; }

.cp-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.cp-nav a { display: inline-block; padding: 8px 20px; background: #f0f0f0; border-radius: 4px; color: #555; font-size: 14px; transition: all 0.3s; }
.cp-nav a:hover, .cp-nav a.active { background: #2d8c3c; color: #fff; text-decoration: none; }

.cp-section { margin-bottom: 25px; }
.cp-section h3 { font-size: 16px; color: #333; border-left: 3px solid #2d8c3c; padding-left: 10px; margin-bottom: 15px; }
.cp-stats { display: flex; gap: 15px; flex-wrap: wrap; }
.cp-stat-card { flex: 1; min-width: 140px; padding: 15px; background: #f9f9f9; border-radius: 4px; text-align: center; }
.cp-stat-card .num { font-size: 24px; color: #2d8c3c; font-weight: bold; }
.cp-stat-card .label { font-size: 13px; color: #999; margin-top: 4px; }

.cp-info-table { width: 100%; border-collapse: collapse; }
.cp-info-table th, .cp-info-table td { padding: 10px 12px; border-bottom: 1px solid #eee; text-align: left; font-size: 14px; }
.cp-info-table th { background: #f9f9f9; color: #666; font-weight: normal; width: 120px; }

/* Post info form */
.post-form { max-width: 800px; }
.post-form .form-row { margin-bottom: 16px; }
.post-form .form-row label { display: block; margin-bottom: 6px; font-weight: bold; color: #555; }
.post-form .form-row label .req { color: #e74c3c; }
.post-form .form-row input[type="text"],
.post-form .form-row textarea,
.post-form .form-row select { width: 100%; border: 1px solid #ddd; border-radius: 4px; padding: 8px 12px; font-size: 14px; }
.post-form .form-row input[type="text"] { height: 38px; }
.post-form .form-row textarea { min-height: 120px; resize: vertical; }
.post-form .form-row input:focus, .post-form .form-row textarea:focus, .post-form .form-row select:focus { border-color: #2d8c3c; outline: none; }
.post-form .btn-submit { width: 120px; height: 40px; background: #2d8c3c; color: #fff; border: none; border-radius: 4px; font-size: 14px; cursor: pointer; }
.post-form .btn-submit:hover { background: #247532; }

/* Info list table */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th { background: #2d8c3c; color: #fff; padding: 10px; font-size: 13px; font-weight: normal; }
.info-table td { padding: 10px; border-bottom: 1px solid #eee; font-size: 13px; }
.info-table tr:hover td { background: #f9fff9; }
.info-table .status-0 { color: #e67e22; }
.info-table .status-1 { color: #2d8c3c; }

/* Error/message page */
.empire-msg { max-width: 500px; margin: 80px auto; text-align: center; padding: 30px; background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); }
.empire-msg .msg-icon { font-size: 48px; margin-bottom: 15px; }
.empire-msg .msg-title { font-size: 18px; color: #333; margin-bottom: 10px; }
.empire-msg .msg-link { display: inline-block; margin-top: 15px; padding: 8px 30px; background: #2d8c3c; color: #fff; border-radius: 4px; }

@media (max-width: 768px) {
    .member-wrap { margin: 10px; padding: 15px; }
    .member-form { margin: 15px auto; }
    .cp-header { flex-direction: column; text-align: center; }
    .cp-avatar { margin: 0 auto 10px; }
    .cp-nav a { padding: 6px 12px; font-size: 13px; }
    .cp-stats { flex-direction: column; }
    .info-table { font-size: 12px; }
    .info-table th, .info-table td { padding: 6px; }
}