/* =========================================================================
   Theme nut V4 dung chung cho .mdc-button (Figma "Button Medium - 14px SemiBold").
   Nap qua ButtonV4Asset o layouts/main.php va layouts/v4.php.

   Thong so (Figma 14996:76419 / 15320:90270):
     cao 36, padding 6/16, bo goc 4, chu 14/21 SemiBold IN HOA, gap icon-chu 8
     mac dinh (text)   chu #025AFC, khong nen
     --raised          nen #025AFC, chu trang, bong button (3 lop)
     --unelevated      nhu raised, khong bong
     --outlined        nen trang, chu #025AFC, vien 1px #025AFC
   Selector chi la .mdc-button... (do dac hieu thap) de cac rule rieng theo #id/cho van de len
   duoc trong luc chua don dep; :not(:disabled) giu nguyen mau trang thai disabled cua MDC.
   ========================================================================= */
.mdc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  height: 36px;
  min-width: 0;
  padding: 6px 16px;
  border-radius: 4px;
  font-family: Roboto, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  letter-spacing: normal;
  text-transform: uppercase;
  cursor: pointer;
}
.mdc-button:disabled {
  cursor: default;
}
.mdc-button:not(:disabled) {
  color: #025afc;
}
.mdc-button .mdc-button__icon {
  width: 20px;
  height: 20px;
  margin: 0;
  font-size: 20px;
  line-height: 20px;
}

/* --- large: nut 42px/16px cua form dang nhap, quen mat khau, hero trang chu (Figma 14985:14450).
   Giu nguyen so do truoc day cua nut submit form dang nhap (chu 16/24, 500, letter-spacing 0.4). --- */
.mdc-button--large {
  height: 42px;
  padding: 0 16px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.4px;
}

/* --- raised / unelevated: nen dac --- */
.mdc-button--raised:not(:disabled),
.mdc-button--unelevated:not(:disabled) {
  background-color: #025afc;
  color: #fff;
}
.mdc-button--raised:not(:disabled) {
  box-shadow:
    0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
.mdc-button--unelevated:not(:disabled) {
  box-shadow: none;
}

/* --- nut chap nhan cua dialog MDC (.mdc-dialog__footer__button--accept): hanh dong chinh = nen dac
   nhu raised (Figma 15320:90270). Truoc day moi dialog tu khai bao lai bang rule #id. --- */
.mdc-dialog__footer__button--accept:not(:disabled) {
  background-color: #025afc;
  color: #fff;
  box-shadow:
    0 3px 1px -2px rgba(0, 0, 0, 0.2),
    0 2px 2px 0 rgba(0, 0, 0, 0.14),
    0 1px 5px 0 rgba(0, 0, 0, 0.12);
}

/* --- outlined: vien --- */
.mdc-button--outlined:not(:disabled) {
  border: 1px solid #025afc;
  background-color: #fff;
  color: #025afc;
}
