/* Blue Agate - Member Profile */
.profile-section { margin: 0; }
.profile-card {
  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16,40,61,.08);
  box-shadow: 0 12px 35px rgba(15,35,55,.08);
}
.profile-header { display:flex; align-items:center; gap:15px; margin-bottom:20px; }
.profile-avatar { width:58px; height:58px; display:grid; place-items:center; border-radius:18px; background:#eaf9fa; color:#10283d; font-size:26px; }
.profile-header h2 { margin:0 0 4px; color:#10283d; font-size:24px; font-weight:900; }
.profile-header p { margin:0; color:#647486; font-size:13px; }
.subscription-status { padding:20px; border-radius:18px; margin-bottom:18px; text-align:center; }
.subscription-status h3 { margin:0 0 6px; font-size:20px; font-weight:900; }
.subscription-status p { margin:0; font-size:13px; }
.subscription-active { background:#eefbf9; color:#08766f; }
.subscription-warning { background:#fff8e8; color:#8b6200; }
.subscription-expired { background:#fff1f1; color:#a33; }
.subscription-unknown { background:#f2f7fa; color:#526879; }
.profile-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:22px; }
.profile-info { padding:14px; border-radius:14px; background:#f8fbfc; }
.profile-info span { display:block; color:#647486; font-size:12px; margin-bottom:5px; }
.profile-info strong { color:#10283d; font-size:14px; }
.profile-edit-title { margin:0 0 12px; color:#10283d; font-size:17px; font-weight:900; }
.profile-form { display:grid; gap:10px; }
.profile-form label { color:#10283d; font-size:13px; font-weight:800; }
.profile-form input { box-sizing:border-box; width:100%; padding:12px 13px; border:1px solid rgba(16,40,61,.13); border-radius:12px; background:#fafcfd; font:inherit; outline:none; }
.profile-form input:focus { border-color:#22b9c2; box-shadow:0 0 0 3px rgba(34,185,194,.12); }
.profile-save { border:0; border-radius:13px; padding:13px; background:#10283d; color:#fff; font:inherit; font-weight:900; cursor:pointer; }
.profile-save:disabled { opacity:.65; cursor:not-allowed; }
.profile-message { padding:11px 13px; border-radius:11px; margin-bottom:10px; font-size:13px; text-align:center; }
.profile-message.success { background:#eefbf9; color:#08766f; }
.profile-message.error { background:#fff1f1; color:#a33; }
@media (max-width:600px) {
  .profile-card { padding:19px; }
  .profile-info-grid { grid-template-columns:1fr; }
  .profile-header h2 { font-size:21px; }
}


/* Member QR attendance card */
.member-qr-card {
  margin: 0 0 22px;
  padding: 20px;
  border: 1px solid rgba(22, 158, 171, .18);
  border-radius: 18px;
  background: #f4fbfc;
  text-align: center;
}
.member-qr-card h3 { margin: 0 0 7px; color: #10283d; font-size: 18px; font-weight: 900; }
.member-qr-card p { margin: 0 0 14px; color: #647486; font-size: 13px; }
.member-qr-code { display: flex; justify-content: center; align-items: center; min-height: 180px; }
.member-qr-code canvas, .member-qr-code img { display: block; width: 180px; height: 180px; max-width: 100%; padding: 8px; background: #fff; border: 1px solid #e1eaee; border-radius: 12px; }
#member-qr-status { display: block; margin-top: 10px; color: #647486; font-size: 12px; }
@media (max-width: 520px) { .member-qr-card { padding: 16px; } }
