.cart-summary table.table tbody tr,
.cart-summary table.table tbody td
{
  white-space: normal;
}

.table-curved tbody>tr>td.price-col {
  vertical-align: bottom;
  text-align: right;
}

.totals-box {
  margin-top: 20px;
}

.totals-box table {
  margin-bottom: 20px;
  text-align: right;
  border: none;
}

.totals-box table>tbody>tr>td {
  border: none;
}

.whois {
    background: rgba(0, 0, 0, 0.05);
    background-repeat: no-repeat;
    background-position: 110% -70px;
    background-image: url(../images/globe.svg);
    padding: 25px;
}

.whois div.checkbox label {
  padding-right: 5px;
}

.whois div.tlds, div.search {
  margin: 0 auto;
  text-align: center;
  display: block;
}

.whois div.tlds {
  margin-bottom: 0;
}

.whois .show_more {
	margin-left: 5px;
}

/* Begin for order pages */

.card-steps {
    padding: 10px;
	background: var(--light);
}

.card-steps i {
	opacity: 0.3;
}

.card-steps p {
	opacity: 0.7;
}

.card-steps a.active:before {
    content: "\f138";
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    margin-right: 5px;
    color: var(--success);
}

.table>tbody>tr.sub-item>td {
  border-top: none;
}

#login_box #login_message .alert {
	margin-top: 10px;
}
.pass-reset {
    padding-top: 5px;
    font-size: 12px;
    font-style: italic;
}

/* End for order pages */
/* ==========================================================================
   Hetzner Cloud template pack
   The look of the Hetzner Cloud Console "Create a server" page: a light grey
   page, white cards with an 8 px radius and a 1 px border, dark text, and red
   for the selected card, the badges and the primary button. This file loads
   only on the pages of an order form that uses this template pack.
   ========================================================================== */
:root {
    --hc-red: #d50c2d;
    --hc-red-dark: #b10a25;
    --hc-red-soft: #fdecef;
    --hc-page: #f4f5f7;
    --hc-card: #ffffff;
    --hc-border: #e1e4e8;
    --hc-border-strong: #c9ced6;
    --hc-text: #1b1f24;
    --hc-muted: #646b75;
    --hc-soft: #f7f8fa;
    --hc-green: #15803d;
    --hc-radius: 8px;
}

/* The client theme sets a white page on order pages with body[class^="plugin-order"] */
html body,
html body[class^="plugin-order"] { background-color: var(--hc-page); }

/* Stock cards of the order pages (cart, checkout, signup, summary) */
.card.card-blesta {
    background: var(--hc-card);
    border: 1px solid var(--hc-border) !important;
    border-radius: var(--hc-radius) !important;
    box-shadow: none;
}
.card.card-blesta > .card-header {
    background: var(--hc-card);
    border-bottom: 1px solid var(--hc-border);
    border-radius: var(--hc-radius) var(--hc-radius) 0 0;
    margin: 0;
    font-weight: 600;
    color: var(--hc-text);
}
.card.card-blesta .btn-success,
.card.card-blesta .btn-primary,
/* The client theme sets its button colours with !important */
.hc-btn-primary {
    background-color: var(--hc-red) !important;
    border-color: var(--hc-red) !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 6px;
}
.card.card-blesta .btn-success:hover,
.card.card-blesta .btn-success:focus,
.card.card-blesta .btn-primary:hover,
.card.card-blesta .btn-primary:focus,
.hc-btn-primary:hover,
.hc-btn-primary:focus {
    background-color: var(--hc-red-dark) !important;
    border-color: var(--hc-red-dark) !important;
    color: #fff !important;
}
.hc-btn-primary:focus,
.hc-choice:focus-visible,
.hc-tab:focus-visible,
.hc-step:focus-visible { outline: 0; box-shadow: 0 0 0 3px rgba(213, 12, 45, .3); }
.hc-order .form-control:focus { border-color: var(--hc-red); box-shadow: 0 0 0 3px rgba(213, 12, 45, .15); }

/* Steps */
.card-steps { background: var(--hc-card); padding: 4px 6px; }
.card-steps a { color: var(--hc-text); }
.card-steps a.active { color: var(--hc-red); }
.card-steps a.active:before { color: var(--hc-red); }
.card-steps p { margin-bottom: 0; font-size: 13px; }

/* Cards of the template pack */
.hc-card {
    background: var(--hc-card);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    padding: 20px 22px;
    margin-bottom: 16px;
    color: var(--hc-text);
}
.hc-card[hidden] { display: none; }
.hc-card-head { margin-bottom: 14px; }
.hc-card-title { font-size: 18px; font-weight: 700; margin: 0 0 4px; color: var(--hc-text); }
.hc-card-help { font-size: 14px; color: var(--hc-muted); margin: 0; }
.hc-card-body { font-size: 14px; }
.hc-muted { color: var(--hc-muted); font-size: 12px; display: block; font-weight: 400; }
.hc-hint { color: var(--hc-muted); font-size: 13px; margin: 6px 0 0; }
.hc-config .form-group:last-child { margin-bottom: 0; }

/* Badges */
.hc-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
    border-radius: 4px;
    margin-left: 6px;
    vertical-align: middle;
    letter-spacing: .02em;
    background: var(--hc-soft);
    color: var(--hc-muted);
    border: 1px solid var(--hc-border);
}
.hc-badge-arm,
.hc-badge-soft { background: var(--hc-red-soft); color: var(--hc-red); border-color: #f6c3cc; }
.hc-badge-soft { margin-left: 8px; }

/* Server type tabs and table (step "Type") */
.hc-tabs { display: inline-flex; flex-wrap: wrap; background: var(--hc-soft); border: 1px solid var(--hc-border); border-radius: var(--hc-radius); padding: 3px; margin-bottom: 14px; }
.hc-tabs[hidden] { display: none; }
.hc-tab { border: 0; background: transparent; color: var(--hc-muted); font-weight: 600; font-size: 14px; padding: 7px 16px; border-radius: 6px; cursor: pointer; }
.hc-tab.is-active { background: var(--hc-card); color: var(--hc-text); box-shadow: 0 1px 2px rgba(16, 24, 40, .12); }
.hc-table-wrap { border: 1px solid var(--hc-border); border-radius: var(--hc-radius); overflow: hidden; }
.hc-type-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.hc-type-table th { background: var(--hc-soft); color: var(--hc-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; border-bottom: 1px solid var(--hc-border); text-align: left; white-space: nowrap; }
.hc-type-table td { padding: 14px; border-top: 1px solid var(--hc-border); vertical-align: middle; }
.hc-type-table tbody tr:first-child td { border-top: 0; }
.hc-type-table tbody tr:hover td { background: #fbfbfc; }
.hc-type-table tr.is-preselected td { background: var(--hc-red-soft); }
.hc-type-table .hc-col-price { text-align: right; white-space: nowrap; }
.hc-type-table .hc-cell-action { text-align: right; width: 1%; white-space: nowrap; }
.hc-type-table .hc-cell-action form { margin: 0; }
.hc-type-table .btn-sm { padding: 6px 16px; }
.hc-btn-disabled { background: var(--hc-soft); color: var(--hc-muted); border: 1px solid var(--hc-border); cursor: not-allowed; }
.hc-order .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }

/* Configure step: choice cards (location, image) */
.hc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.hc-choice {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    text-align: left;
    background: var(--hc-card);
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    padding: 12px 14px;
    color: var(--hc-text);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.hc-choice:hover { border-color: var(--hc-border-strong); }
.hc-choice.is-selected { border-color: var(--hc-red); box-shadow: inset 0 0 0 1px var(--hc-red); }
.hc-choice.is-selected::after {
    content: "\2713";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 18px;
    height: 18px;
    line-height: 18px;
    border-radius: 50%;
    background: var(--hc-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}
.hc-choice-icon { display: flex; align-items: center; height: 26px; font-size: 24px; line-height: 1; color: var(--hc-muted); }
.hc-choice-main { display: flex; flex-direction: column; }
.hc-choice-title { font-weight: 700; font-size: 15px; }
.hc-choice-sub { font-size: 13px; color: var(--hc-muted); min-height: 18px; }
.hc-choice-price { font-size: 13px; color: var(--hc-text); font-weight: 600; margin-top: auto; }
.hc-choice-price.is-included { color: var(--hc-green); }
.hc-flag { width: 32px; height: 24px; border-radius: 3px; border: 1px solid var(--hc-border); object-fit: cover; background: #fff; }
.hc-chip { display: inline-block; padding: 3px 8px; border-radius: 4px; background: var(--hc-soft); border: 1px solid var(--hc-border); font-size: 12px; font-weight: 700; color: var(--hc-text); }
.hc-os-ubuntu { color: #e95420; }
.hc-os-debian { color: #a80030; }
.hc-os-fedora { color: #51a2da; }
.hc-os-centos { color: #932279; }
.hc-os-rocky { color: #10b981; }
.hc-os-alma { color: #0f4266; }
.hc-os-windows { color: #0078d6; }
.hc-os-other { color: var(--hc-muted); }

/* Configure step: switch rows (networking, backups) */
.hc-switch-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--hc-border);
    border-radius: var(--hc-radius);
    padding: 12px 14px;
    margin: 0 0 10px;
    cursor: pointer;
    font-weight: 400;
}
.hc-switch-row:last-child { margin-bottom: 0; }
.hc-switch-row.is-static { cursor: default; background: var(--hc-soft); }
.hc-switch-input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.hc-switch { flex: 0 0 auto; position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--hc-border-strong); transition: background .15s; }
.hc-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.hc-switch-input:checked + .hc-switch { background: var(--hc-red); }
.hc-switch-input:checked + .hc-switch::after { transform: translateX(16px); }
.hc-switch-input:focus-visible + .hc-switch { box-shadow: 0 0 0 3px rgba(213, 12, 45, .3); }
.hc-static-dot { flex: 0 0 auto; position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--hc-green); opacity: .85; }
.hc-static-dot::after { content: ""; position: absolute; top: 3px; left: 19px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.hc-switch-text { flex: 1 1 auto; display: flex; align-items: center; flex-wrap: wrap; }
.hc-switch-title { font-weight: 600; font-size: 15px; }
.hc-switch-price { flex: 0 0 auto; font-size: 13px; font-weight: 600; white-space: nowrap; }
.hc-switch-price.is-included { color: var(--hc-green); }

/* Configure step: quantity (volumes, extra traffic) */
.hc-qty-line { display: flex; align-items: center; gap: 12px; }
.hc-range { flex: 1 1 auto; min-width: 0; accent-color: var(--hc-red); }
.hc-qty-box { display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.hc-qty-number.form-control { width: 90px; text-align: right; }
.hc-qty-unit { color: var(--hc-muted); font-weight: 600; }
.hc-step { width: 36px; height: 36px; border: 1px solid var(--hc-border-strong); background: var(--hc-card); border-radius: 6px; font-size: 18px; line-height: 1; color: var(--hc-text); cursor: pointer; }
.hc-step:hover { border-color: var(--hc-red); color: var(--hc-red); }
.hc-qty-meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 13px; }
.hc-qty-unitprice { color: var(--hc-muted); }
.hc-qty-cost { font-weight: 600; }

/* Configure step: native fields of the core that the cards replace (they stay in the form) */
.hc-native { display: none !important; }
.hc-sec-body .form-group.hc-moved > label:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.hc-sec-body .form-group.hc-moved { margin-bottom: 0; }
.hc-sec-body textarea.form-control { min-height: 96px; font-family: SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.hc-single-term { display: none; }
#hc_sec_other .pad { padding: 0; }

/* "Your total" */
.hc-total .hc-card-head { margin-bottom: 8px; }
.hc-total-rows { list-style: none; padding: 0; margin: 0 0 12px; }
.hc-total-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hc-border); font-size: 14px; }
.hc-total-row:first-child { border-top: 0; }
.hc-total-item { display: flex; flex-direction: column; min-width: 0; }
.hc-total-key { font-size: 12px; color: var(--hc-muted); }
.hc-total-key:only-child { font-size: 14px; color: var(--hc-text); font-weight: 600; }
.hc-total-value { font-weight: 600; overflow-wrap: anywhere; }
.hc-total-price { align-self: flex-end; white-space: nowrap; font-weight: 600; }
.hc-total-sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 2px solid var(--hc-text); padding-top: 12px; }
.hc-total-label { font-weight: 700; }
.hc-total-amount { font-size: 22px; font-weight: 800; white-space: nowrap; }
.hc-total-term { display: flex; justify-content: space-between; gap: 12px; margin-top: 4px; color: var(--hc-muted); font-size: 13px; }
.hc-total-term[hidden] { display: none; }
.hc-total-note { font-size: 12px; color: var(--hc-muted); margin: 10px 0 14px; }
.hc-total .btn-block { padding: 10px 14px; font-size: 15px; }
.hc-side #summary_section .card { margin-top: 0; }

@media (min-width: 992px) {
    .hc-sticky { position: sticky; top: 16px; }
}
@media (max-width: 767.98px) {
    .hc-card { padding: 16px; }
    .hc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .hc-choice { padding: 10px 12px; }
    .hc-type-table thead { display: none; }
    .hc-type-table,
    .hc-type-table tbody,
    .hc-type-table td { display: block; width: 100%; }
    .hc-type-table tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 12px; border-top: 1px solid var(--hc-border); padding: 10px 14px; }
    .hc-type-table tr[hidden] { display: none; }
    .hc-type-table tbody tr:first-child { border-top: 0; }
    .hc-type-table td { border: 0; padding: 2px 0; text-align: left; }
    .hc-type-table td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; color: var(--hc-muted); text-transform: uppercase; letter-spacing: .04em; }
    .hc-type-table .hc-cell-name { grid-column: 1 / -1; }
    .hc-type-table .hc-cell-name::before { display: none !important; }
    .hc-type-table .hc-col-price { text-align: left; }
    .hc-type-table .hc-cell-action { grid-column: 1 / -1; width: 100%; margin-top: 6px; text-align: left; }
    .hc-type-table .hc-cell-action .btn { width: 100%; }
    .hc-qty-line { flex-wrap: wrap; }
    .hc-range { flex-basis: 100%; }
}

/* A quantity row with its own title (the floating addresses of the Networking card) */
.hc-qty-block { margin-top: 14px; }
.hc-qty-block:first-child { margin-top: 0; }
.hc-qty-title { font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.hc-qty-block.is-disabled .hc-qty-line,
.hc-qty-block.is-disabled .hc-qty-meta { opacity: .45; }
.hc-qty-note { font-size: 13px; color: #6b7280; margin: 6px 0 0; }

/* The total bar on small screens: the total panel sits under all cards there */
.hc-total-bar { display: none; }
@media (max-width: 767.98px) {
    .hc-js .hc-total-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: 10px 16px; background: var(--hc-card); border-top: 1px solid var(--hc-border); box-shadow: 0 -4px 16px rgba(0, 0, 0, .08); }
    .hc-js .hc-total-bar[hidden] { display: none; }
    .hc-total-bar-label { font-size: 13px; color: #6b7280; }
    .hc-total-bar-amount { font-size: 18px; font-weight: 700; }
    .hc-js body, .hc-js .hc-order { padding-bottom: 72px; }
}
