body {
    background-color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.settings-container {
    max-width: 600px;
    margin: 80px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

h2 {
    text-align: center;
    font-size: 24px;
}

h3 {
    margin-top: 40px;
    font-size: 20px;
}

.black-text {
    color: black;
}

label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background-color: #fffacd; /* Light Yellow */
    border: 1px solid #ccc;
    box-sizing: border-box;
}

button {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

button:hover {
    opacity: 0.85;
}

.logout-btn {
    background-color: #d9534f;
}

.form-msg { margin-top:8px; font-size:13px; }
.form-msg.error   { color:#d93025; }  /* 红 */
.form-msg.success { color:#1e8e3e; }  /* 绿 */

/* ===== Password hint ===== */
.password-hint{
  margin-top:8px;
  background:#f7f7f7;
  border:1px solid #e6e6e6;
  border-radius:8px;
  padding:10px 12px;
  color:#666;
  font-size:12px;
  line-height:1.5;
}
.password-hint .hint-title{
  font-weight:600; margin-bottom:6px; color:#555;
}
.req-list{ list-style:none; padding:0; margin:0 0 6px 0; }
.req-item{ position:relative; padding-left:18px; margin:2px 0; color:#777; }
.req-item::before{ content:"•"; position:absolute; left:0; top:0; color:#bbb; }
.req-item.ok{ color:#0a7a2f; font-weight:600; }
.req-item.ok::before{ content:"✓"; color:#0a7a2f; }
.req-note{ color:#888; }

#btn-change-password:disabled,
#btn-change-sec:disabled{ background:#bdbdbd; cursor:not-allowed; opacity:0.7; }

/* 按钮禁用态（更灰、更不可点） */
button:disabled{
  background:#bdbdbd;   /* 明显变灰 */
  color:#fff;
  cursor:not-allowed;
  opacity:0.7;
  box-shadow:none;
}
button:disabled:hover{ opacity:0.7; } /* 禁用时悬停不再变暗 */

