/* User transfer pages share the domain centre's Bootstrap, main.css and common.css. */
.transfer-site {
  background: #fff;
  color: #292b2c;
}
.transfer-site .transfer-page-title {
  text-align: center;
  font-size: 2em;
  margin: 50px;
}
.transfer-site .transfer-main {
  margin: 20px;
  min-height: calc(100vh - 330px);
}
.transfer-navbar .navbar-brand {
  border: 0;
}
.transfer-navbar .transfer-account {
  font-size: 14px;
  color: #61756a;
}
.transfer-navbar .navbar-toggler {
  box-shadow: none;
}
.transfer-main .transfer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 13px;
}
.transfer-main .transfer-toolbar > div {
  display: flex;
  gap: 20px;
}
.transfer-main a {
  color: #27834e;
  text-decoration: none;
  border: 0;
}
.transfer-main a:hover {
  text-decoration: underline;
}
.transfer-main .card {
  border: 0;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  margin: 0 0 24px;
  overflow: hidden;
}
.transfer-main .card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8f9fa;
  border-bottom: 1px solid #eee;
  padding: 15px 20px;
}
.transfer-main .card-header h2 {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
}
.transfer-main .card-header h2 .fa {
  color: #28a745;
  margin-right: 10px;
}
.transfer-main .card-header > .muted {
  font-size: 12px;
}
.transfer-main .card-body {
  padding: 22px 20px;
}
.transfer-main .muted,
.transfer-main .security {
  color: #7a8680;
  font-size: 13px;
}
.transfer-main p {
  margin: 0 0 12px;
  line-height: 1.65;
}
.transfer-main p:last-child {
  margin-bottom: 0;
}
.transfer-main button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  min-height: 34px;
  margin: 0;
  padding: 6px 13px;
  background: #27834e;
  color: #fff !important;
  border: 1px solid #27834e;
  border-radius: 5px;
  box-shadow: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}
.transfer-main button:hover {
  background: #206b41;
}
.transfer-main button.secondary {
  color: #27834e !important;
  background: #fff;
  border-color: #c9dcd0;
}
.transfer-main button.secondary:hover {
  background: #f1f7f3;
  border-color: #27834e;
}
.transfer-main button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.transfer-main label {
  display: block;
  margin: 0 0 8px;
  color: #66766c;
  font-size: 12px;
  font-weight: 400;
}
.transfer-main input,
.transfer-main select,
.transfer-main textarea {
  display: block;
  width: 100%;
  height: auto;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #d5dfd8;
  border-radius: 5px;
  background: #fff;
  color: #33483a;
  box-shadow: none;
  font: inherit;
}
.transfer-main select {
  appearance: auto;
  padding-right: 28px;
  background-image: none;
}
.transfer-main textarea {
  min-height: 150px;
  resize: vertical;
  font-size: 13px;
  line-height: 1.7;
}
.transfer-main input:focus,
.transfer-main select:focus,
.transfer-main textarea:focus {
  outline: 0;
  border-color: #27834e;
  box-shadow: 0 0 0 3px #27834e12;
}
.transfer-main fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.transfer-main [hidden] {
  display: none !important;
}
.transfer-main .transfer-domain-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 32px;
}
.transfer-main .transfer-domain-select {
  width: 240px;
  max-width: 100%;
}
.transfer-main #domain-info {
  flex: 1;
  min-width: 180px;
}
.transfer-main #domain-info .facts {
  display: block;
  margin: 0 0 6px;
}
.transfer-main #domain-info .facts > div {
  display: flex;
  align-items: center;
  gap: 12px;
}
.transfer-main #domain-info .facts dd {
  margin: 0;
  font-size: 13px;
}
.transfer-main #domain-info p {
  font-size: 12px;
}
.transfer-main #application-entry {
  font-size: 12px;
  text-align: right;
}
.transfer-main #application-entry p {
  margin-bottom: 8px;
  color: #7a8680;
}
.transfer-main .facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 0 20px;
}
.transfer-main .facts dt {
  color: #7a8680;
  font-weight: 400;
  font-size: 12px;
}
.transfer-main .facts dd {
  margin: 6px 0 0;
  color: #33483a;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.transfer-main .table-wrap {
  overflow: auto;
}
.transfer-main table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 14px;
  margin: 0;
}
.transfer-main th,
.transfer-main td {
  text-align: left;
  padding: 12px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}
.transfer-main th {
  font-size: 13px;
  font-weight: 400;
  color: #7a8680;
  background: #fff;
  white-space: nowrap;
}
.transfer-main td {
  color: #405348;
}
.transfer-main tr:last-child td {
  border-bottom: 0;
}
.transfer-main tr:hover td {
  background: #fafcfb;
}
.transfer-main th:last-child,
.transfer-main td:last-child {
  text-align: right;
}
.transfer-main .transfer-status {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 4px;
  color: #39724e;
  background: #edf5ef;
  font-size: 12px;
  line-height: 1.5;
}
.transfer-main .transfer-empty {
  padding: 36px 20px;
  text-align: center;
  color: #95a099;
  font-size: 14px;
}
.transfer-main .transfer-resources {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}
.transfer-main details.card > summary {
  cursor: pointer;
  padding: 18px 20px;
  font-size: 14px;
  color: #405348;
  list-style: disclosure-closed inside;
}
.transfer-main details.card[open] > summary {
  list-style: disclosure-open inside;
  border-bottom: 1px solid #eee;
}
.transfer-main details.card > summary span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  color: #8b968f;
}
.transfer-main .registrars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.transfer-main .registrars a {
  padding: 10px;
  border: 1px solid #e2eae5;
  border-radius: 5px;
  font-size: 13px;
  background: #fafcfb;
}
.transfer-main .copy-field {
  margin: 16px 0;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
.transfer-main .copy-field > div {
  flex: 1;
  min-width: 0;
}
.transfer-main .copy-field button {
  flex-shrink: 0;
  min-height: 40px;
}
.transfer-main .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}
.transfer-main .transfer-activity {
  border-top: 1px solid #edf0ee;
  padding-top: 16px;
}
.transfer-main .transfer-activity summary {
  cursor: pointer;
  color: #6b7b70;
  font-size: 13px;
}
.transfer-main .timeline {
  padding: 16px 0 0 20px;
  margin: 0;
  font-size: 13px;
  color: #7a8680;
}
.transfer-main .timeline li {
  padding: 0 0 10px;
}
.transfer-main h3 {
  font-size: 14px;
  margin: 16px 0 10px;
}
.transfer-main .notice {
  padding: 12px 16px;
  margin: 0 0 20px;
  color: #476955;
  background: #f0f7f2;
  border: 1px solid #dcece1;
  border-radius: 5px;
  font-size: 13px;
}
.transfer-main .notice.error {
  color: #a13a2e;
  background: #fff6f3;
  border-color: #f0d9d3;
}
.transfer-main #message:empty {
  display: none;
}
.transfer-main :focus-visible {
  outline: 2px solid #27834e;
  outline-offset: 3px;
}
.transfer-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid #eee;
  padding: 20px;
  margin: 50px 20px 20px;
  font-size: 12px;
  color: #8cd1a8;
}
.transfer-footer a {
  color: #78a78b;
  border: 0;
}
.transfer-footer a::before {
  content: "|";
  color: #ddd;
  margin-right: 12px;
}
.transfer-site .confirm-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 24px;
  border: 0;
  border-radius: 12px;
  background: white;
  color: #33483a;
  box-shadow: 0 20px 80px #122a2540;
}
.transfer-site .confirm-dialog::backdrop {
  background: #172b265c;
}
.transfer-site .confirm-dialog h2 {
  font-size: 19px;
  margin-bottom: 16px;
}
.transfer-site .confirm-dialog p {
  font-size: 14px;
  line-height: 1.7;
}
.transfer-site .confirm-dialog .actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}
.transfer-site .confirm-dialog button {
  height: auto;
  padding: 8px 16px;
  background: #27834e;
  color: white !important;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
}
.transfer-site .confirm-dialog button.secondary {
  background: #f2f5f3;
  color: #53655b !important;
}
@media (max-width: 900px) {
  .transfer-main .transfer-domain-select {
    width: 200px;
  }
  .transfer-main #application-entry {
    width: 100%;
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: center;
  }
  .transfer-main #application-entry p {
    margin: 0;
  }
  .transfer-main .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .transfer-site .transfer-page-title {
    margin: 30px 16px;
    font-size: 26px;
  }
  .transfer-site .transfer-main {
    margin: 16px;
  }
  .transfer-main .card-header {
    padding: 14px 16px;
  }
  .transfer-main .card-header > .muted {
    display: none;
  }
  .transfer-main .card-body {
    padding: 18px 16px;
  }
  .transfer-main .transfer-resources {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .transfer-main .transfer-toolbar {
    align-items: flex-start;
  }
  .transfer-main .transfer-toolbar > div {
    gap: 12px;
  }
  .transfer-main .transfer-domain-select {
    width: 100%;
  }
  .transfer-main .registrars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .transfer-main th,
  .transfer-main td {
    padding: 12px 16px;
  }
}
/* Use CSS strokes instead of Bootstrap's data-URL icon under this page's CSP. */
.transfer-navbar .navbar-toggler-icon {
  width: 24px;
  height: 18px;
  position: relative;
  background: none;
  border-top: 2px solid #87928b;
  border-bottom: 2px solid #87928b;
}
.transfer-navbar .navbar-toggler-icon::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  right: 0;
  border-top: 2px solid #87928b;
}
.transfer-main .transfer-resources {
  grid-template-columns: 1fr;
}

/* Current request stays in place; completed requests expand within their own rows. */
.transfer-main .transfer-past-request + .transfer-past-request {
  border-top: 1px solid #edf0ee;
}
.transfer-main .transfer-past-request > summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
  color: #405348;
  font-size: 14px;
}
.transfer-main .transfer-past-request > summary::-webkit-details-marker {
  display: none;
}
.transfer-main .transfer-past-request > summary::before {
  content: "";
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 1.5px solid #7a8680;
  border-bottom: 1.5px solid #7a8680;
  transform: rotate(-45deg);
}
.transfer-main .transfer-past-request[open] > summary::before {
  transform: rotate(45deg);
}
.transfer-main .transfer-past-name {
  flex: 1;
}
.transfer-main .transfer-past-name small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}
.transfer-main .transfer-past-request[open] > summary {
  background: #fafcfb;
  border-bottom: 1px solid #edf0ee;
}
.transfer-main #application-entry:empty {
  display: none;
}
