:root {
  --text: #111111;
  --muted: #5e5e5e;
  --line: #cfd8df;
  --field: #7a7a7a;
  --panel: #ffffff;
  --notice: #f2f4f5;
  --brand: #00a4a6;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: gdsherpa, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.5;
  border-top: 1px solid #d9d9d9;
}

a {
  color: #222222;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page {
  min-height: calc(100vh - 1px);
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 20px 20px 10px;
}

.signin-card {
  width: min(100%, 544px);
  align-self: center;
  justify-self: center;
  padding: 38px 40px 34px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.brand {
  margin-bottom: 10px;
}

.brand img {
  width: 116px;
  height: auto;
  display: block;
  filter: brightness(0);
}

h1 {
  margin: 0 0 20px;
  font-size: 24px;
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: 0;
}

.intro {
  margin: 0 0 16px;
  font-size: 15px;
}

.notice {
  margin-bottom: 20px;
  padding: 18px 16px;
  background: var(--notice);
  border-radius: 5px;
  font-size: 14px;
  line-height: 1.55;
}

.switch-link {
  display: block;
  margin: 0 0 -1px;
  text-align: right;
  font-size: 14px;
}

.field {
  position: relative;
  margin-bottom: 16px;
}

.field input {
  width: 100%;
  height: 56px;
  padding: 19px 90px 13px 16px;
  border: 1px solid var(--field);
  border-radius: 5px;
  background: #ffffff;
  color: var(--text);
  font: inherit;
  outline: none;
}

.field input::placeholder {
  color: transparent;
}

.field label {
  position: absolute;
  left: 16px;
  top: 16px;
  color: #111111;
  font-size: 15px;
  pointer-events: none;
}

.required {
  color: #c92f2f;
}

.show-password {
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  background: transparent;
  color: #666666;
  font: inherit;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.remember {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 2px 0 18px;
  font-size: 14px;
}

.remember input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox {
  position: relative;
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--brand);
  flex: 0 0 auto;
}

.checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 11px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.primary-btn {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 5px;
  background: #111111;
  color: #ffffff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.divider {
  margin: 18px 0 16px;
  text-align: center;
  font-size: 14px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 26px;
}

.social-btn {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #818181;
  border-radius: 6px;
  background: #ffffff;
  color: #111111;
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  transition: border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.social-btn svg {
  width: 24px;
  height: 24px;
  display: block;
  fill: currentColor;
}

.social-btn:hover,
.social-btn:focus-visible {
  border-color: #008c8e;
  color: #008c8e;
  box-shadow: 0 0 0 1px #008c8e inset;
  outline: none;
}

.help {
  margin: 0;
  font-size: 15px;
}

.footer {
  justify-self: center;
  padding-top: 32px;
  font-size: 13px;
  text-align: center;
}

.site-header {
  width: 100%;
  padding: 16px 20px;
  border-bottom: 1px solid #dedede;
  background: #ffffff;
  color: #111111;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.dashboard {
  min-height: calc(100vh - 112px);
  padding: 14px 0 24px;
  color: #5f5f5f;
  background: #ffffff;
}

.dashboard + .footer {
  padding: 12px 20px 14px;
}

.domain-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 20px 10px;
  color: #767676;
  font-size: 16px;
}

.domain-title {
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.domain-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.domain-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid #dedede;
}

.domain-table {
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
}

.domain-table th,
.domain-table td {
  height: 56px;
  padding: 10px 16px;
  border-bottom: 1px solid #e2e2e2;
  text-align: left;
  vertical-align: middle;
}

.domain-table th {
  color: #5d5d5d;
  font-size: 16px;
  font-weight: 700;
  background: #ffffff;
}

.domain-table a {
  color: #606060;
  font-weight: 700;
}

.select-col {
  width: 64px;
  padding-left: 22px !important;
  padding-right: 0 !important;
}

.domain-col {
  width: 38%;
}

.menu-col {
  width: 64px;
  text-align: center !important;
}

.date-col {
  width: 12%;
}

.status-col {
  width: 9%;
  color: #5c5c5c;
}

.renew-col {
  width: 170px;
  text-align: center !important;
}

.renew-btn {
  min-width: 132px;
  min-height: 32px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #111111;
  color: #ffffff !important;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.renew-btn:hover,
.renew-btn:focus-visible {
  background: #008c8e;
  box-shadow: 0 4px 10px rgba(0, 140, 142, 0.2);
  outline: none;
  transform: translateY(-1px);
}

.renew-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(17, 17, 17, 0.18);
}

.renew-body {
  height: 100vh;
  overflow: hidden;
  border-top: 0;
  background: #f6f7f7;
}

.renew-page {
  height: 100vh;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  align-content: stretch;
  justify-items: center;
  gap: 10px;
  padding: 0 24px 10px;
  overflow: hidden;
  background: #f6f7f7;
}

.renew-page .site-header {
  width: calc(100% + 48px);
  margin: 0 -24px;
}

.renew-panel {
  align-self: center;
  width: min(100%, 560px);
  padding: 20px 32px;
  border: 1px solid #d7dede;
  border-radius: 8px;
  background: #ffffff;
}

.renew-page .footer {
  align-self: end;
  padding-top: 0;
}

.renew-panel .back-btn {
  display: inline-block;
  margin-bottom: 10px;
  text-decoration: none;
}

.renew-panel h1 {
  margin-bottom: 14px;
}

.renew-panel .primary-btn {
  height: 48px;
}

.renew-summary {
  display: grid;
  gap: 0;
  margin: 0 0 14px;
}

.renew-summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 0;
  border-bottom: 1px solid #e2e2e2;
}

.renew-label {
  color: #6b6b6b;
}

.table-check {
  width: 27px;
  height: 27px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #8d8d8d;
  border-radius: 7px;
  background: #ffffff;
  color: transparent;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.table-check.checked {
  border-color: #008c8e;
  background: #00a4a6;
  color: #ffffff;
}

.table-check:focus-visible {
  outline: 2px solid #008c8e;
  outline-offset: 2px;
}

.domain-table th .table-check.checked {
  border-color: #8d8d8d;
  background: #ffffff;
  color: #565656;
}

.row-menu {
  color: #6f6f6f;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 2px;
}

.sort {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.sort-icon {
  color: #8a8a8a;
  font-size: 22px;
  line-height: 1;
}

.promo-row td {
  height: 54px;
  color: #757575;
  background: #fafafa;
  font-size: 15px;
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.promo-dot {
  width: 11px;
  height: 11px;
  border: 1px solid #a5a5a5;
  border-radius: 50%;
  flex: 0 0 auto;
}

.promo-domain,
.price,
.cart-link {
  color: #5e5e5e;
  font-weight: 700;
}

.old-price {
  color: #8a8a8a;
  text-decoration: line-through;
}

.close-promo {
  padding: 0;
  border: 0;
  background: transparent;
  color: #737373;
  font-size: 24px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.dns-open-btn {
  margin-left: 14px;
  padding: 6px 13px;
  border: 1px solid #008c8e;
  border-radius: 4px;
  background: #ffffff;
  color: #007c80;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.dns-open-btn:hover,
.dns-open-btn:focus-visible {
  background: #e9fbfb;
  outline: none;
}

.dns-view {
  min-height: 100vh;
  padding: 8px 0 24px;
  color: #6b6b6b;
  background: #ffffff;
}

.dns-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px 10px;
}

.back-btn,
.dns-actions button {
  border: 0;
  background: transparent;
  color: #555555;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dns-actions {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}

.dns-actions button:first-child::before {
  content: "≡";
  margin-right: 7px;
}

.dns-actions button:last-child::before {
  content: "...";
  margin-right: 7px;
}

.dns-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-top: 1px solid #dddddd;
}

.dns-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  table-layout: fixed;
  color: #707070;
  font-size: 15px;
}

.dns-table th,
.dns-table td {
  height: 125px;
  padding: 18px 22px;
  border-bottom: 1px solid #dedede;
  text-align: left;
  vertical-align: middle;
}

.dns-table th {
  height: 84px;
  color: #676767;
  font-size: 14px;
  font-weight: 700;
}

.dns-table th:nth-child(1),
.dns-table td:nth-child(1) {
  width: 86px;
}

.dns-table th:nth-child(2),
.dns-table td:nth-child(2) {
  width: 120px;
}

.dns-table th:nth-child(3),
.dns-table td:nth-child(3) {
  width: 150px;
}

.dns-table th:nth-child(4),
.dns-table td:nth-child(4) {
  width: 26%;
}

.dns-table th:nth-child(5),
.dns-table td:nth-child(5) {
  width: 130px;
}

.help-icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  border: 1px solid #888888;
  border-radius: 50%;
  color: #777777;
  font-size: 13px;
  line-height: 1;
}

@media (max-width: 1180px) {
  .domain-table {
    min-width: 980px;
    font-size: 14px;
  }

  .domain-table th,
  .domain-table td {
    padding-left: 12px;
    padding-right: 12px;
  }

  .domain-col {
    width: 37%;
  }

  .renew-col {
    width: 150px;
  }

  .renew-btn {
    min-width: 126px;
    min-height: 30px;
    padding: 0 12px;
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  body {
    border-top: 0;
  }

  .page {
    min-height: 100vh;
    display: block;
    padding: 25px 16px 14px;
  }

  .signin-card {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  h1 {
    font-size: 23px;
    margin-bottom: 22px;
  }

  .notice {
    padding: 17px 16px;
  }

  .field input,
  .primary-btn {
    height: 57px;
  }

  .footer {
    padding: 54px 0 0;
    line-height: 1.6;
  }

  .dashboard {
    padding-top: 10px;
  }

  .domain-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 0 14px 10px;
  }

  .domain-table {
    min-width: 980px;
    font-size: 14px;
  }

  .domain-table th,
  .domain-table td {
    height: 54px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .dns-toolbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 0 14px 10px;
  }

  .dns-actions {
    gap: 18px;
  }

  .dns-table {
    min-width: 900px;
    font-size: 14px;
  }

  .dns-table th,
  .dns-table td {
    height: 96px;
    padding: 14px 16px;
  }

  .dns-table th {
    height: 68px;
  }
}

@media (max-width: 380px) {
  .page {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 22px;
  }

  .remember {
    gap: 12px;
  }

  .socials {
    gap: 12px;
  }
}
