#club91-withdraw-root {
  position: fixed;
  inset: 0;
  z-index: 99990;
  background: #f4f6f8;
  display: none;
  flex-direction: column;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #222;
  overflow: hidden;
}

#club91-withdraw-root.is-open {
  display: flex;
}

html.club91-withdraw-active #app {
  visibility: hidden !important;
  pointer-events: none !important;
}

html.club91-withdraw-active body {
  overflow: hidden !important;
}

.c91-wd-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-bottom: 1px solid #e8ebf0;
  flex-shrink: 0;
}

.c91-wd-back {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  color: #333;
}

.c91-wd-title {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.c91-wd-body {
  flex: 1;
  overflow-y: auto;
  padding: 0 0 24px;
}

.c91-wd-card {
  background: #fff;
  border-top: 1px solid #eceff5;
  border-bottom: 1px solid #eceff5;
  padding: 12px 14px 14px;
}

.c91-wd-balance {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #ff6b81, #ff9b5b);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.c91-wd-label {
  display: block;
  margin: 8px 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #1f2937;
}

.c91-wd-input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid #d8dbe1;
  border-radius: 10px;
  font-size: 16px;
  background: #fff;
}

.c91-wd-submit {
  width: 100%;
  margin-top: 14px;
  border: none;
  border-radius: 999px;
  padding: 14px;
  background: linear-gradient(180deg, #ff6b81, #ff9b5b);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.c91-wd-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.c91-wd-msg {
  margin: 10px 14px 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
}

.c91-wd-msg.ok {
  background: #e8f8ef;
  color: #1a7a42;
}

.c91-wd-msg.err {
  background: #fdecea;
  color: #b42318;
}

.c91-wd-history {
  margin-top: 10px;
  padding: 0 0 8px;
}

.c91-wd-history-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid #e5e7eb;
  border-bottom: 0;
  border-radius: 16px 16px 0 0;
  background: #fff;
}

.c91-wd-history-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.c91-wd-history-refresh {
  border: none;
  background: transparent;
  font-size: 16px;
  cursor: pointer;
  color: #6b7280;
  padding: 4px;
}

.c91-wd-history-empty {
  padding: 20px 14px;
  text-align: center;
  color: #6b7280;
  font-size: 13px;
  background: #fff;
  border: 1px solid #d9dee8;
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.c91-wd-table-wrap {
  border: 1px solid #d9dee8;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  overflow-x: auto;
  background: #fff;
}

.c91-wd-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}

.c91-wd-table th,
.c91-wd-table td {
  padding: 10px;
  border: 1px solid #e2e8f0;
  text-align: left;
  white-space: nowrap;
}

.c91-wd-table th {
  background: #f8fafc;
  font-weight: 600;
  color: #4b5563;
}

.c91-wd-table td.amt {
  text-align: right;
  font-weight: 600;
}

.c91-wd-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 600;
}

.c91-wd-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.c91-wd-status.approved,
.c91-wd-status.completed {
  background: #d1fae5;
  color: #065f46;
}

.c91-wd-status.rejected {
  background: #fee2e2;
  color: #991b1b;
}
