@charset "UTF-8";
.form-control.is-invalid,
.was-validated .form-control:invalid,
.form-control.is-valid,
.was-validated .form-control:valid {
  background-image: none;
  padding-right: inherit;
}

.custom-control-input:checked ~ .custom-control-label::before {
  color: #fff;
  border-color: #709b13;
  background-color: #709b13;
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
  background-color: rgba(112, 155, 19, 0.5);
}

.custom-control-input.is-valid ~ .custom-control-label, .was-validated .custom-control-input:valid ~ .custom-control-label {
  color: inherit;
}

.form-control.is-valid, .was-validated .form-control:valid {
  border-color: inherit;
}

[id^=bankbook-step] {
  text-align: left;
}
[id^=bankbook-step] .custom-checkbox {
  padding: 0;
  padding-left: 1.5em;
  margin-top: 0;
  position: relative;
  right: 0;
}
[id^=bankbook-step] .custom-control {
  min-height: unset;
}
[id^=bankbook-step] div {
  line-height: 1.5;
}
[id^=bankbook-step] .custom-control-label::before, [id^=bankbook-step] .custom-control-label::after {
  top: 0.25rem;
  left: -1.5rem;
  width: 1rem;
  height: 1rem;
}
[id^=bankbook-step] .form-row > .col, [id^=bankbook-step] .form-row > [class*=col-] {
  padding-right: 5px;
  padding-left: 5px;
}
[id^=bankbook-step] ul,
[id^=bankbook-step] ol {
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}
[id^=bankbook-step] ol li {
  list-style: decimal;
}
[id^=bankbook-step] h6 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
}

.bankbook-upload-area {
  border: 2px dashed #CCC;
  border-radius: 8px;
  padding: 40px;
  text-align: center;
  color: #888;
  transition: border-color 0.2s;
}
.bankbook-upload-area p {
  text-align: center;
}

.bankbook-upload-area.dragover {
  border-color: #3b82f6;
  color: #3b82f6;
}

#bankbookFileInput {
  display: none;
}

.bankbook-btn {
  border: none;
  padding: 12px 24px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 12px;
}

.bankbook-file-info {
  margin-top: 12px;
  margin-bottom: 12px;
  color: #222;
}

.account-select {
  position: relative;
  width: 100%;
  /* .options-list { } */
}
.account-select .select-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.account-select .dropdown-arrow {
  width: 16px;
  height: 16px;
  margin-left: 8px;
  display: inline-flex;
  align-items: center;
  pointer-events: none;
}
.account-select .dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  border: 1px solid #ccc;
  border-radius: 0 0 4px 4px;
  background: #fff;
  z-index: 10;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  display: none;
}
.account-select .dropdown.open {
  display: block;
}
.account-select .dropdown input {
  width: 95%;
  margin: 8px auto;
  display: block;
  padding: 4px 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
.account-select .option {
  padding: 8px 12px;
  cursor: pointer;
}
.account-select .option.selected {
  background: #e6f7ff;
}
.account-select .option:hover {
  background: #f5f5f5;
}
.account-select .new-client-option {
  border-top: 1px solid #eee;
  background: #fafcff;
  font-weight: bold;
  position: sticky;
  bottom: 0;
  z-index: 1;
}
.account-select .hidden {
  display: none;
}
.account-select .new-client-input {
  margin-top: 4px;
}

[id^=bankbook-step] .insured-card {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
}
[id^=bankbook-step] .insured-card .check-insured-name {
  font-size: 1.125rem;
  font-weight: bold;
  background-color: #fff;
}
[id^=bankbook-step] .insured-card .check-insured-name .custom-checkbox {
  padding-left: 1.5em;
}
[id^=bankbook-step] .insured-card .check-insured-name .custom-control-label::before, [id^=bankbook-step] .insured-card .check-insured-name .custom-control-label::after {
  width: 1.2em;
  height: 1.2em;
  left: -1.5em;
}

.system-insured {
  border: 1px solid #cce499;
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
  margin: 0.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* 小於360 特別處理被保人字條寬度 */
}
.system-insured .material-icons {
  color: #BCE0FD;
  margin-right: 4px;
}
.system-insured > div:nth-child(1) {
  width: 15%;
  min-width: 40px;
  max-width: 60px;
  color: lightslategrey;
  border: 1px solid lightslategrey;
  text-align: center;
  font-size: 0.875rem;
  padding: 4px 0;
  margin-right: 8px;
}
.system-insured > div:nth-child(2) {
  display: flex;
  align-items: center;
  width: 45%;
  margin-right: 8px;
}
.system-insured > div:nth-child(3) {
  width: 40%;
  min-width: 140px;
}
@media (max-width: 360px) {
  .system-insured {
    font-size: 0.875rem;
  }
  .system-insured > div:nth-child(3) {
    width: 40%;
    min-width: 115px;
  }
}

[id^=bankbook-step] .insured-preview {
  padding-bottom: 1rem;
  margin-top: 1rem;
}
[id^=bankbook-step] .insured-preview:not(:last-child) {
  border-bottom: 1px solid #dee2e6;
}
[id^=bankbook-step] .insured-preview .custom-checkbox:has(+ .btn-expand) {
  float: left;
}
[id^=bankbook-step] .insured-preview .btn-expand {
  cursor: pointer;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: #4F7500;
}
[id^=bankbook-step] .insured-preview > table {
  width: 100%;
  line-height: 1.5;
}
[id^=bankbook-step] .insured-preview > table thead {
  background-color: #cce499;
}
[id^=bankbook-step] .insured-preview > table th, [id^=bankbook-step] .insured-preview > table td {
  padding: 4px;
  border: 1px solid #dee2e6;
}
[id^=bankbook-step] .insured-preview > table tr > td:last-child {
  width: 6.5em;
  text-align: right;
}/*# sourceMappingURL=modal-import-bankbook.css.map */