.dashboard-greeting {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.dashboard-greeting h1 {
  margin: 0;
}
.signature-manage-btn {
  font: inherit;
  font-size: 12px;
  padding: 6px 10px;
  border: 1px solid #d8e3f0;
  border-radius: 7px;
  color: #476385;
  background: white;
  cursor: pointer;
}
.signature-manage-btn:hover {
  background: #edf4ff;
  color: #1769e0;
}
.signature-preview {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #bccbdb;
  border-radius: 10px;
  background: #fff;
  margin: 20px 0;
}
.approval-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 22mm;
  height: 8mm;
  min-height: 0;
  max-height: 8mm;
  margin: 2px auto;
  overflow: hidden;
  box-sizing: border-box;
}
.approval-signature-image {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 8mm;
  object-fit: contain;
}
.approval-signature-name {
  display: block;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  text-align: center;
  font-family: 'Nanum Pen Script', 'Segoe Print', cursive !important;
  font-weight: 400 !important;
  font-size: 12px !important;
  line-height: 1.15 !important;
  color: #173957;
  white-space: normal !important;
  word-break: break-all;
}
.signature-preview .approval-signature-image {
  width: 240px;
  height: 100px;
}
.signature-preview .approval-signature-name {
  font-size: 46px !important;
}
.signature-upload-label {
  display: grid;
  gap: 10px;
  font-weight: 600;
  font-size: 14px;
}
.signature-help {
  color: #697a8e;
  font-size: 12px;
  line-height: 1.8;
}
#signatureError {
  color: #b52626;
  font-size: 13px;
}
.signature-manage-btn:focus-visible {
  outline: 2px solid #1769e0;
  outline-offset: 3px;
}
@media print {
  .approval-signature {
    height: 8mm !important;
    max-height: 8mm !important;
    max-width: 22mm !important;
    overflow: hidden !important;
  }
  .approval-signature-image {
    width: 100% !important;
    max-width: 100% !important;
    height: 8mm !important;
    max-height: 8mm !important;
  }
  .approval-signature-name {
    font-size: 8pt !important;
  }
  .signature-manage-btn {
    display: none;
  }
}
