@charset "UTF-8";
/* members.css */

/* Form container */
.form-container {
  max-width: 700px;
  margin: 20px auto; /* reduced top margin */
  padding: 30px;
  background: var(--white);
  color: var(--black);
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0,0,0,.3);
}

/* Form elements */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 15px;
}
.form-group input,
.form-group select {
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* Validation messages */
.error-message {
  color: red;
  font-size: .9rem;
  margin-top: 5px;
}
.success-message {
  color: green;
  font-weight: bold;
  text-align: center;
}

/* Submit button */
.submit-btn {
  margin-top: 20px;
  width: 100%;
  padding: 12px;
  font-weight: bold;
  background: var(--gold);
  color: var(--black);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
.submit-btn:hover {
  background: #e6b800;
}

/* Counter text */
.counter {
  text-align: center;
  font-weight: bold;
  color: #d4af37;
  margin: 1rem 0;
}

/* Password toggle */
.password-group {
  position: relative;
}
.input-wrap {
  position: relative;
}
.toggle-password {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  user-select: none;
  font-size: 1.1em;
}
.password-group .forgot-link {
  position: absolute;
  top: 0;
  right: 0;
  font-size: .9em;
}

/* Country code & mobile row */
.row-group {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.row-group .form-group:first-child {
  flex: 0 0 auto;
}
.row-group .form-group:first-child select {
  width: auto;
  min-width: 4ch;
}
.row-group .form-group:last-child {
  flex: 1 1 auto;
}
.row-group .form-group:last-child input {
  width: 100%;
}

/* Reset link styles */
.container a,
.form-container a,
.dashboard a,
.dashboard-tables a {
  color: #000 !important;
  text-decoration: none !important;
}
.container a:hover,
.form-container a:hover,
.dashboard a:hover,
.dashboard-tables a:hover {
  text-decoration: none !important;
}

/* Layout containers */
.container,
.dashboard {
  max-width: 800px;
  margin: 20px auto;
  padding: 0 20px;
}

/* Dashboard header */
.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.dashboard-header h1 {
  font-size: 1.5rem;
  margin: 0;
}
.logout-btn {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: .5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
}

/* Horizontal rule */
hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1rem 0;
}

/* Chart wrapper */
.chart-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  margin-bottom: 2rem;
}

/* Dashboard sections */
.dashboard-chart,
.dashboard-table,
.dashboard-info,
.dashboard-games {
  margin-bottom: 1.5rem;
}

/* Basic dashboard table */
.dashboard-table table {
  width: 100%;
  border-collapse: collapse;
}
.dashboard-table th,
.dashboard-table td {
  padding: .75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

/* Detailed tables */
.dashboard-tables h3 {
  margin: 1.5em 0 .5em;
  color: var(--gold);
}
.dashboard-tables table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}
.dashboard-tables th,
.dashboard-tables td {
  padding: .75rem;
  border: 1px solid #ddd;
  text-align: left;
}
.dashboard-tables thead {
  background: var(--gold);
  color: #fff;
}

/* Wallet ID display */
.wallet-id {
  color: #888;
  font-weight: 300;
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Member Account title */
.member-account-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 1rem;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .dashboard-header h1 {
    font-size: 1.25rem;
  }
  .logout-btn {
    width: 100%;
    margin-top: .5rem;
  }
  .wallet-id {
    text-align: justify;
  }
}
.wallet-id {
  color: #888888;            /* light grey */
  font-weight: 300;          /* lighter weight */
  overflow-wrap: break-word; /* wrap long strings to next line */
  /* optionally limit its width so it can wrap sooner */
  max-width: 100%;
}

@media (max-width: 600px) {
  .wallet-id {
    text-align: justify;     /* justify on mobile for neat wrapping */
  }
}
/* Make all links black and remove underlines */
.container a,
.form-container a,
.dashboard a,
.dashboard-tables a {
  color: #000 !important;
  text-decoration: none !important;
}

.container a:hover,
.form-container a:hover,
.dashboard a:hover,
.dashboard-tables a:hover {
  text-decoration: none !important;
}
