.ads-wait .main-content,
.ads-wait .sidenav {
  visibility: hidden;
}

html.ads-steps {
  overflow-x: hidden;
}

.ads-noscript,
.ads-plain {
  padding: 60px 20px;
  text-align: center;
  font-size: 15px;
}

[hidden] {
  display: none !important;
}

.navbar-vertical .navbar-nav .nav-link .icon i.ni {
  font-size: 0.75rem;
  color: #3a416f;
  top: 0;
}

.navbar-vertical .navbar-nav .nav-link.active .icon i.ni {
  color: #fff;
}

#nav-count {
  white-space: nowrap;
}

.um_request_name {
  display: none !important;
}

.doc-file {
  min-width: 190px;
}

.ads-table thead th {
  font-size: 0.75rem;
  font-weight: 700;
  color: #8392ab;
  padding: 0.75rem 1.25rem;
  white-space: nowrap;
  text-transform: none;
}

.ads-table tbody td {
  font-size: 0.875rem;
  padding: 0.75rem 1.25rem;
  vertical-align: middle;
  white-space: nowrap;
  color: #344767;
}

.ads-table tbody td.wrap {
  white-space: normal;
  min-width: 180px;
  max-width: 360px;
  word-break: break-all;
}

.ads-table tbody tr.ads-empty td {
  text-align: center;
  color: #8392ab;
  padding: 2rem 1rem;
  white-space: normal;
}

.ads-table .btn {
  margin-bottom: 0;
}

.ads-table .btn + .btn {
  margin-left: 4px;
}

.ads-filter {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-wrap: wrap;
  align-items: center;
}

.ads-filter .form-control {
  width: auto;
  max-width: 170px;
}

.ads-pager {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.ads-toast-box {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3000;
  width: calc(100% - 32px);
  max-width: 460px;
  pointer-events: none;
}

.ads-toast {
  margin: 0 0 8px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  background: #2dce89;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.ads-toast.error {
  background: #f5365c;
}

.ads-notice {
  border: 1px solid #ffd59e;
  background: #fff8ec;
  color: #7a4b00;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  margin-bottom: 16px;
}

.ads-notice.danger {
  border-color: #f7b5c0;
  background: #fff0f3;
  color: #a1122f;
}

.ads-help {
  font-size: 12px;
  color: #8392ab;
  margin: 4px 0 0;
}

.ads-kv {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f2f5;
  font-size: 14px;
}

.ads-kv:last-child {
  border-bottom: 0;
}

.ads-kv span:first-child {
  color: #8392ab;
}

.ads-key-once {
  font-family: Consolas, Menlo, monospace;
  font-size: 13px;
}

.overlay-request {
  left: 0;
  max-width: 100% !important;
  z-index: 2000;
  overflow-y: auto;
}

.request-balance-form {
  max-width: calc(100% - 24px);
}

#success-overlay-RequestBalance h1 {
  font-size: 24px;
}

.overlay {
  left: 0;
  z-index: 2000;
}

.um.um-register.um-3956 {
  opacity: 1 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.um .um-field-error {
  margin-bottom: 16px;
}

.um-field-checkbox {
  cursor: pointer;
}

.signup-summary {
  max-width: 420px;
  margin: 0 auto 30px;
}

.ads-pv-cap {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 18px;
  color: #8392ab;
  text-align: center;
}

.ads-pv-card {
  border: 1px solid #dfe5ef;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 26px rgba(20, 26, 43, 0.08);
}

.ads-pv-cover {
  position: relative;
  height: 150px;
  background-color: #e9eef5;
  background-image: linear-gradient(118deg, transparent 44%, #fff 44%, #fff 52%, transparent 52%), linear-gradient(90deg, rgba(255, 255, 255, 0.9) 2px, transparent 2px), linear-gradient(rgba(255, 255, 255, 0.9) 2px, transparent 2px);
  background-size: 100% 100%, 58px 58px, 58px 58px;
}

.ads-pv-pin {
  position: absolute;
  left: 50%;
  top: 30px;
  width: 30px;
  height: 30px;
  margin-left: -15px;
  border-radius: 50% 50% 50% 0;
  background: #448aff;
  box-shadow: 0 4px 10px rgba(68, 138, 255, 0.35);
  transform: rotate(-45deg);
}

.ads-pv-pin::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.ads-pv-place {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  line-height: 18px;
  color: #353535;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ads-pv-place.empty {
  color: #8392ab;
}

.ads-pv-body {
  padding: 18px 20px 16px;
}

.ads-pv-name {
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  color: #252f40;
  word-break: break-all;
}

.ads-pv-cat {
  margin: 2px 0 12px;
  font-size: 14px;
  line-height: 20px;
  color: #67748e;
  word-break: break-all;
}

.ads-pv-name.empty,
.ads-pv-cat.empty,
.ads-pv-value.empty {
  color: #b5bdcb;
}

.ads-pv-actions {
  display: flex;
  gap: 8px;
  margin: 0 0 12px;
  padding: 0 0 14px;
  border-bottom: 1px solid #edf0f5;
}

.ads-pv-actions span {
  padding: 4px 14px;
  border: 1px solid #d6dbe4;
  border-radius: 16px;
  background: #f8f9fb;
  font-size: 13px;
  line-height: 20px;
  color: #56627a;
}

.ads-pv-row {
  display: flex;
  gap: 10px;
  padding: 4px 0;
  font-size: 15px;
  line-height: 22px;
}

.ads-pv-label {
  flex: none;
  width: 64px;
  font-weight: 700;
  color: #252f40;
}

.ads-pv-value {
  color: #353535;
  word-break: break-all;
}

.ads-pv-note {
  margin: 12px 0 0 !important;
  font-size: 12px !important;
  line-height: 18px !important;
  color: #8392ab !important;
  text-align: center;
}

body.ads-gate > .container {
  visibility: hidden;
}

.custom-header .container {
  position: relative;
}

.ads-step-user {
  position: absolute;
  right: 15px;
  top: 50%;
  width: auto;
  transform: translateY(-50%);
  font-size: 14px;
  color: #595959;
  white-space: nowrap;
}

.ads-step-user a {
  margin-left: 12px;
  color: #448aff;
  text-decoration: underline;
}

.ads-google-box {
  margin: 0 0 30px;
}

ul.step-manual a {
  color: #448aff;
  text-decoration: underline;
}

.um .ads-google-box {
  margin: 24px 0 0;
}

.ads-or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  color: #8392ab;
  font-size: 13px;
}

.ads-or::before,
.ads-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #dfe5ef;
}

.ads-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #747775;
  border-radius: 4px;
  background: #fff;
  color: #1f1f1f !important;
  font-family: Roboto, "Noto Sans KR", "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  text-decoration: none !important;
  box-sizing: border-box;
}

.um .ads-google {
  display: flex;
  width: 100%;
}

.ads-google:hover,
.ads-google:focus {
  background: #f8faff;
  border-color: #1f1f1f;
}

.ads-google-g {
  flex: none;
}

.ads-google-note {
  margin: 10px 0 0 !important;
  font-size: 12px !important;
  line-height: 18px !important;
  color: #8392ab !important;
  text-align: center;
}

.signup-skip {
  display: inline-block;
  margin-left: 12px;
  font-size: 14px;
  color: #6d6d6d;
  text-decoration: underline;
  line-height: 44px;
  vertical-align: top;
}

.signup-closed {
  border: 1px solid #f7b5c0;
  background: #fff0f3;
  color: #a1122f;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 15px;
  margin: 20px 0;
}

@media screen and (max-width: 640px) {
  .um .um-col-121,
  .um .um-col-122 {
    float: none;
    width: 100%;
  }

  .ads-filter {
    justify-content: flex-start;
    margin-top: 8px;
  }

  .ads-table thead th,
  .ads-table tbody td {
    padding: 0.6rem 0.75rem;
  }

  .signup-summary {
    margin-top: 24px;
  }

  .ads-step-user {
    position: static;
    transform: none;
    text-align: center;
    padding: 8px 0 0;
  }

  .ads-google {
    display: flex;
    width: 100%;
  }

  .step2_image {
    position: relative;
    container-type: inline-size;
    min-height: 0 !important;
    aspect-ratio: 456 / 742;
    background-size: 100% auto !important;
  }

  .step2_image .field-wrap {
    position: absolute;
    top: 0;
    left: 0;
  }

  .step2_image .field {
    width: auto !important;
    max-width: 88cqw;
  }

  #field2_span {
    top: 14.25cqw !important;
    left: 5.5cqw !important;
    font-size: 4.4cqw !important;
    max-width: 68cqw;
  }

  #field2_span2 {
    top: 58.3cqw !important;
    left: 4.2cqw !important;
    font-size: 4.4cqw !important;
  }

  #field3_span {
    top: 87.1cqw !important;
    left: 10.8cqw !important;
    font-size: 2.85cqw !important;
  }

  #field4_span {
    top: 78.7cqw !important;
    left: 3.7cqw !important;
    font-size: 2.65cqw !important;
  }

  #field5-6_span {
    top: 91.7cqw !important;
    left: 16.7cqw !important;
    font-size: 2.85cqw !important;
  }

  #field7_span {
    top: 101.5cqw !important;
    left: 13.6cqw !important;
    font-size: 2.85cqw !important;
  }
}
