/* --- Brook-Woods Estates Civic Club — definitive button override --- */

/* Site background (optional) */
body { background: #F9F8F4 !important; }

/* Core buttons across WA gadgets and theme */
.WaGadget .Button,
.WaGadget a.Button,
.WaGadget button,
.WaGadget input[type="submit"],
.WaGadget input[type="button"],
.WaGadget .gadgetStyleButton,
.WaGadget .ActionPanel .Button,
.WaGadget .ActionPanel a,
.WaGadget .ActionPanel input[type="submit"],
/* Catch common theme/legacy classes */
.Button, a.Button, button,
input[type="submit"], input[type="button"],
.gadgetStyleButton, .systemButton, .SubmitButton,
a.btn, .btn {
  background: #284E3F !important;   /* deep green */
  border-color: #284E3F !important;
  color: #fff !important;
  border: none !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: .5px !important;
  box-shadow: none !important;
}

/* Hover/focus state */
.WaGadget .Button:hover,
.WaGadget a.Button:hover,
.WaGadget button:hover,
.WaGadget input[type="submit"]:hover,
.WaGadget input[type="button"]:hover,
.WaGadget .gadgetStyleButton:hover,
.WaGadget .ActionPanel .Button:hover,
.WaGadget .ActionPanel a:hover,
.WaGadget .ActionPanel input[type="submit"]:hover,
.Button:hover, a.Button:hover, button:hover,
input[type="submit"]:hover, input[type="button"]:hover,
.gadgetStyleButton:hover, .systemButton:hover, .SubmitButton:hover,
a.btn:hover, .btn:hover,
:where(.WaGadget, body) :is(.Button, .btn, button, input[type="submit"], input[type="button"]):focus {
  background: #203F33 !important;    /* darker hover green */
  border-color: #203F33 !important;
  color: #fff !important;
}

/* Link colors (kept from earlier) */
a, a:link, a:visited { color: #284E3F; text-decoration: none; }
a:hover, a:focus     { color: #C2A15B; text-decoration: underline; }

/* Body text */
body, p, li, span, div { color: #7A7A7A; }
