/*
  MFP Design System — Buttons (Legacy)
  Production CSS for buttons (legacy) component.
  Import tokens.css before this file.
*/

/* ======================================================================
   BUTTONS (LEGACY) — Figma node 3:35
   ====================================================================== */
.btn-l {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.25px;
  line-height: 1;
  cursor: pointer;
  border: none;
  white-space: nowrap;
  position: relative;
  outline: none;
}

.btn-l.is-hover,
.btn-l.is-pressed { pointer-events: none; }

.btn-l__icon {
  font-size: 24px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0;
  color: inherit;
}

.btn-l--icon-only { gap: 0; }

.btn-l--primary { background: var(--color-dark-blue); color: var(--color-white); }
.btn-l--primary:hover,
.btn-l--primary.is-hover { background: #00144C; }
.btn-l--primary:active,
.btn-l--primary.is-pressed { background: #00144C; box-shadow: inset 0 2px 4px rgba(0,0,0,0.25); }

.btn-l--default-blue { background: #04529C; color: #ffffff; }
.btn-l--default-blue:hover,
.btn-l--default-blue.is-hover { background: #00346A; }
.btn-l--default-blue:active,
.btn-l--default-blue.is-pressed { background: #00346A; box-shadow: inset 0 2px 4px rgba(0,0,0,0.25); }

.btn-l--sky { background: #5586FF; color: #00144C; }
.btn-l--sky:hover,
.btn-l--sky.is-hover { background: #4A77E8; }
.btn-l--sky:active,
.btn-l--sky.is-pressed { background: #4A77E8; box-shadow: inset 0 2px 4px rgba(0,0,0,0.25); }

.btn-l--dusk { background: #FF5153; color: #ffffff; }
.btn-l--dusk:hover,
.btn-l--dusk.is-hover { background: #DF4952; }
.btn-l--dusk:active,
.btn-l--dusk.is-pressed { background: #DF4952; box-shadow: inset 0 2px 4px rgba(0,0,0,0.25); }

.btn-l--outlined { background: transparent; color: var(--color-dark-blue); border: 1px solid var(--color-dark-blue); }
.btn-l--outlined:hover,
.btn-l--outlined.is-hover { background: #EFF0F3; }
.btn-l--outlined:active,
.btn-l--outlined.is-pressed { background: #EFF0F3; box-shadow: inset 0 2px 4px rgba(0,0,0,0.25); }

.btn-l--soft { background: #ffffff; color: #222222; border: 1px solid #E0E0E0; box-shadow: 0 0 4px rgba(0,0,0,0.08); }
.btn-l--soft:hover,
.btn-l--soft.is-hover { background: #EFF0F3; }
.btn-l--soft:active,
.btn-l--soft.is-pressed { background: #EFF0F3; border: 1px solid #E0E0E0; box-shadow: inset 0 2px 4px rgba(0,0,0,0.25); }

.btn-l--naked { background: transparent; color: #222222; }
.btn-l--naked:hover,
.btn-l--naked.is-hover { background: #EFF0F3; }
.btn-l--naked:active,
.btn-l--naked.is-pressed { box-shadow: 0 0 4px rgba(0,0,0,0.08); }

.btn-l--disabled { background: #E0E0E0; color: #999999; cursor: not-allowed; pointer-events: none; }

.btn-legacy-table {
  display: grid;
  grid-template-columns: 130px auto auto auto;
  justify-items: start;
  row-gap: 20px;
  column-gap: 40px;
  align-items: center;
  padding: 40px 32px;
  background: var(--color-white);
}

.btn-legacy-table--2col { grid-template-columns: 130px auto auto; }

.btn-legacy-table__col-hd {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666666;
  font-weight: 400;
}

.btn-legacy-table__label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-darkest-grey);
}
