/**
 * Shared UI (ClubMaster):
 * - `btn-update-orange-gold` — primary row “Update”: orange–gold metallic, **white bold** label.
 * - `btn-confirm-black` — **Confirm** / submit-save: black, **white bold** label.
 * - `btn-cancel-metallic-brown` / `renewal-cancel-btn-metal-brown` — **Cancel** / dismiss: black–red
 *   metallic, **white bold** label (class names kept for compatibility).
 * - `btn-new-login-account-metallic` — **New Login Account** (see `/css/btn-dark-blue-green.css`; name kept for markup).
 */

.btn-update-orange-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer;
  border: 1px solid rgba(251, 191, 36, 0.55);
  background:
    linear-gradient(
      180deg,
      rgba(255, 251, 235, 0.38) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(120, 53, 15, 0.42) 100%
    ),
    linear-gradient(
      168deg,
      #fde68a 0%,
      #fbbf24 18%,
      #f59e0b 45%,
      #ea580c 72%,
      #9a3412 100%
    );
  background-size: 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 0 rgba(254, 243, 199, 0.55),
    inset 0 -8px 18px rgba(124, 45, 18, 0.32),
    0 3px 12px rgba(0, 0, 0, 0.38);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-update-orange-gold:hover:not(:disabled) {
  filter: brightness(1.08);
  border-color: rgba(253, 230, 138, 0.85);
}

.btn-update-orange-gold:focus-visible {
  outline: 2px solid rgba(251, 191, 36, 0.75);
  outline-offset: 2px;
}

.btn-update-orange-gold:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.btn-confirm-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer;
  border: 1px solid rgba(23, 23, 23, 0.95);
  background:
    linear-gradient(
      180deg,
      rgba(82, 82, 82, 0.32) 0%,
      rgba(255, 255, 255, 0) 40%,
      rgba(0, 0, 0, 0.5) 100%
    ),
    linear-gradient(168deg, #404040 0%, #262626 28%, #171717 55%, #0a0a0a 82%, #000000 100%);
  background-size: 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -10px 22px rgba(0, 0, 0, 0.55),
    0 3px 14px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.65);
}

.btn-confirm-black:hover:not(:disabled) {
  filter: brightness(1.12);
  border-color: rgba(64, 64, 64, 0.95);
}

.btn-confirm-black:focus-visible {
  outline: 2px solid rgba(163, 163, 163, 0.75);
  outline-offset: 2px;
}

.btn-confirm-black:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

.btn-cancel-metallic-brown,
.renewal-cancel-btn-metal-brown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff !important;
  font-weight: 700 !important;
  cursor: pointer;
  border: 1px solid rgba(127, 29, 29, 0.9);
  background:
    linear-gradient(
      180deg,
      rgba(254, 202, 202, 0.2) 0%,
      rgba(255, 255, 255, 0) 36%,
      rgba(0, 0, 0, 0.52) 100%
    ),
    linear-gradient(
      168deg,
      #b91c1c 0%,
      #991b1b 18%,
      #7f1d1d 42%,
      #450a0a 68%,
      #0a0a0a 100%
    );
  background-size: 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 0 rgba(254, 215, 215, 0.28),
    inset 0 -10px 22px rgba(0, 0, 0, 0.48),
    0 4px 16px rgba(0, 0, 0, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.btn-cancel-metallic-brown:hover:not(:disabled),
.renewal-cancel-btn-metal-brown:hover:not(:disabled) {
  filter: brightness(1.08);
  border-color: rgba(248, 113, 113, 0.75);
}

.btn-cancel-metallic-brown:focus-visible,
.renewal-cancel-btn-metal-brown:focus-visible {
  outline: 2px solid rgba(239, 68, 68, 0.65);
  outline-offset: 2px;
}

.btn-cancel-metallic-brown:disabled,
.renewal-cancel-btn-metal-brown:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}

/**
 * Primary “Create” actions — dark brown metallic (Coach / Student roster).
 */
.btn-create-metallic-dark-brown {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #f5ead4;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(78, 52, 46, 0.95);
  background:
    linear-gradient(
      180deg,
      rgba(255, 248, 220, 0.14) 0%,
      rgba(255, 255, 255, 0) 36%,
      rgba(0, 0, 0, 0.38) 100%
    ),
    linear-gradient(
      168deg,
      #8d6e63 0%,
      #6d4c41 18%,
      #5d4037 42%,
      #4e342e 68%,
      #2d1b14 100%
    );
  background-size: 100% 100%, 100% 100%;
  box-shadow:
    inset 0 1px 0 rgba(255, 236, 210, 0.2),
    inset 0 -14px 26px rgba(0, 0, 0, 0.48),
    0 4px 20px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(40, 24, 16, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.btn-create-metallic-dark-brown:hover:not(:disabled) {
  filter: brightness(1.09);
  border-color: rgba(168, 130, 96, 0.75);
}

.btn-create-metallic-dark-brown:focus-visible {
  outline: 2px solid rgba(212, 165, 116, 0.55);
  outline-offset: 2px;
}

.btn-create-metallic-dark-brown:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  filter: none;
}
