.ga-fin-reimb-card {
  display: grid;
  grid-template-columns:
    auto
    minmax(0,1fr)
    auto;
  align-items: center;
  gap: 16px;

  margin:
    16px 0;

  padding:
    18px 20px;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius:
    14px;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.045),
      rgba(255,255,255,.015)
    );
}

.ga-fin-reimb-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 52px;
  height: 52px;

  border-radius: 12px;

  background:
    rgba(255,255,255,.06);

  font-size: 24px;
}

.ga-fin-reimb-info span,
.ga-fin-reimb-info strong,
.ga-fin-reimb-info small {
  display: block;
}

.ga-fin-reimb-info span {
  color: #7d8691;
  font-size: 8px;
  font-weight: 800;
}

.ga-fin-reimb-info strong {
  margin-top: 3px;
  color: #fff;
  font-size: 22px;
}

.ga-fin-reimb-info small {
  margin-top: 3px;
  color: #79818c;
  font-size: 9px;
}

.ga-fin-reimb-action button {
  padding: 11px 17px;

  border: 0;
  border-radius: 9px;

  background: #f4f5f7;
  color: #111419;

  font-weight: 800;
  cursor: pointer;
}

.ga-fin-reimb-action button:disabled {
  opacity: .45;
  cursor: default;
}


/* MODAIS */

.ga-reimb-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
}

.ga-reimb-overlay {
  position: absolute;
  inset: 0;

  background:
    rgba(0,0,0,.78);

  backdrop-filter:
    blur(7px);
}

.ga-reimb-dialog {
  position: relative;

  width:
    min(620px,calc(100vw - 30px));

  max-height:
    calc(100vh - 40px);

  margin:
    20px auto;

  overflow-y: auto;

  border:
    1px solid
    rgba(255,255,255,.10);

  border-radius:
    16px;

  background:
    #111419;
}

.ga-reimb-dialog-large {
  width:
    min(900px,calc(100vw - 30px));
}

.ga-reimb-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  padding:
    18px 20px;

  border-bottom:
    1px solid
    rgba(255,255,255,.07);
}

.ga-reimb-head span {
  color: #737d88;
  font-size: 8px;
  font-weight: 800;
}

.ga-reimb-head h2 {
  margin: 4px 0;
  color: #fff;
  font-size: 20px;
}

.ga-reimb-head p {
  margin: 0;
  color: #7b8490;
  font-size: 9px;
}

.ga-reimb-head > button {
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 26px;
  cursor: pointer;
}


/* COLABORADORES */

.ga-reimb-groups {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.ga-reimb-employee {
  overflow: hidden;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius:
    12px;

  background:
    rgba(255,255,255,.018);
}

.ga-reimb-employee-head {
  display: flex;
  justify-content: space-between;

  padding:
    14px 16px;

  border-bottom:
    1px solid
    rgba(255,255,255,.06);
}

.ga-reimb-employee-head strong,
.ga-reimb-employee-head small,
.ga-reimb-employee-head span {
  display: block;
}

.ga-reimb-employee-head > div:first-child strong {
  color: #fff;
  font-size: 12px;
}

.ga-reimb-employee-head small,
.ga-reimb-employee-head span {
  margin-top: 3px;
  color: #737c87;
  font-size: 8px;
}

.ga-reimb-employee-head > div:last-child {
  text-align: right;
}

.ga-reimb-employee-head > div:last-child strong {
  margin-top: 3px;
  color: #fff;
  font-size: 15px;
}

.ga-reimb-select-all {
  display: flex;
  align-items: center;
  gap: 9px;

  padding:
    11px 15px;

  background:
    rgba(255,255,255,.025);

  color: #9aa1aa;
  font-size: 9px;
  cursor: pointer;
}

.ga-reimb-note {
  display: grid;
  grid-template-columns:
    auto
    minmax(0,1fr)
    auto;

  align-items: center;
  gap: 11px;

  padding:
    11px 15px;

  border-top:
    1px solid
    rgba(255,255,255,.04);

  cursor: pointer;
}

.ga-reimb-note:hover {
  background:
    rgba(255,255,255,.02);
}

.ga-reimb-note strong,
.ga-reimb-note span {
  display: block;
}

.ga-reimb-note > div strong {
  color: #e6e9ed;
  font-size: 10px;
}

.ga-reimb-note span {
  margin-top: 3px;
  color: #707985;
  font-size: 8px;
}

.ga-reimb-note > strong {
  color: #fff;
  font-size: 11px;
}

.ga-reimb-employee-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding:
    13px 15px;

  border-top:
    1px solid
    rgba(255,255,255,.06);
}

.ga-reimb-employee-footer span,
.ga-reimb-employee-footer strong {
  display: block;
}

.ga-reimb-employee-footer span {
  color: #717a85;
  font-size: 8px;
}

.ga-reimb-employee-footer strong {
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
}

.ga-reimb-pay-selected {
  padding: 9px 13px;

  border: 0;
  border-radius: 8px;

  background: #f4f5f7;
  color: #111419;

  font-weight: 800;
  cursor: pointer;
}

.ga-reimb-pay-selected:disabled {
  opacity: .35;
}


/* PAGAMENTO */

#gaReimbursementPaymentForm {
  padding: 20px;
}

.ga-reimb-total-box {
  padding: 16px;

  border:
    1px solid
    rgba(255,255,255,.08);

  border-radius: 11px;

  background:
    rgba(255,255,255,.025);
}

.ga-reimb-total-box span,
.ga-reimb-total-box strong {
  display: block;
}

.ga-reimb-total-box span {
  color: #727b86;
  font-size: 8px;
}

.ga-reimb-total-box strong {
  margin-top: 4px;
  color: #fff;
  font-size: 23px;
}

.ga-reimb-form-grid {
  display: grid;
  grid-template-columns:
    1fr 1fr;
  gap: 12px;

  margin-top: 14px;
}

.ga-reimb-form-grid label > span,
.ga-reimb-note-field > span {
  display: block;
  margin-bottom: 6px;

  color: #7e8792;
  font-size: 8px;
  font-weight: 800;
}

.ga-reimb-form-grid input,
.ga-reimb-form-grid select,
.ga-reimb-note-field textarea {
  width: 100%;

  padding: 10px;

  border:
    1px solid
    rgba(255,255,255,.09);

  border-radius: 8px;

  background: #0c0f13;
  color: #eee;
}


/* COMPROVANTE GRANDE */

.ga-reimb-proof-box {
  display: block;

  margin-top: 16px;
  padding: 18px;

  border:
    1px dashed
    rgba(255,255,255,.22);

  border-radius: 12px;

  background:
    rgba(255,255,255,.025);

  cursor: pointer;
}

.ga-reimb-proof-box > strong,
.ga-reimb-proof-box > small {
  display: block;
}

.ga-reimb-proof-box > strong {
  color: #f1f3f5;
  font-size: 11px;
}

.ga-reimb-proof-box > small {
  margin-top: 5px;
  color: #7b8490;
  font-size: 9px;
}

.ga-reimb-proof-box input {
  margin-top: 14px;
}

#gaReimbProofName {
  margin-top: 9px;

  color: #98a1aa;
  font-size: 9px;
}

.ga-reimb-note-field {
  display: block;
  margin-top: 14px;
}

.ga-reimb-note-field textarea {
  min-height: 75px;
  resize: vertical;
}

.ga-reimb-message {
  min-height: 18px;
  margin-top: 12px;
  font-size: 9px;
}

.ga-reimb-message.success {
  color: #58d497;
}

.ga-reimb-message.error {
  color: #ff7575;
}

.ga-reimb-payment-footer {
  display: flex;
  justify-content: flex-end;
  gap: 9px;

  margin-top: 15px;
}

.ga-reimb-cancel,
.ga-reimb-confirm {
  padding: 10px 14px;

  border-radius: 8px;

  font-weight: 800;
  cursor: pointer;
}

.ga-reimb-cancel {
  border:
    1px solid
    rgba(255,255,255,.09);

  background: transparent;
  color: #aaa;
}

.ga-reimb-confirm {
  border: 0;

  background: #f4f5f7;
  color: #111419;
}


@media(max-width:700px) {

  .ga-fin-reimb-card {
    grid-template-columns:
      auto 1fr;
  }

  .ga-fin-reimb-action {
    grid-column:
      1 / -1;
  }

  .ga-fin-reimb-action button {
    width: 100%;
  }

  .ga-reimb-form-grid {
    grid-template-columns: 1fr;
  }

  .ga-reimb-employee-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }

  .ga-reimb-pay-selected {
    width: 100%;
  }
}
