/* ZabSys Cloud — Business Email pages (/email/, /email/plans/, /email/order/). Loaded after vps.css. */

.em-logo { flex: none; width: 40px; height: 40px; object-fit: contain; }
.em-logo--mark { display: inline-grid; place-items: center; border-radius: 10px; background: var(--red); color: #fff; font-weight: 700; font-size: 18px; }
.em-chip { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 4px; background: var(--red-tint); color: var(--red); font-size: 12px; font-weight: 600; }

/* Provider cards */
.em-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.em-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s, transform .25s var(--ease); }
.em-card:hover { border-color: #D2D5DA; box-shadow: 0 18px 36px -22px rgba(22, 24, 29, .3); transform: translateY(-3px); }
.em-card__top { display: flex; align-items: center; gap: 14px; }
.em-card__top h3 { font-size: 18px; }
.em-card__text { margin-top: 14px; font-size: 15px; color: var(--text); }
.em-card__best { margin-top: 8px; font-size: 14px; color: var(--muted); }
.em-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; }
.em-card__price { margin: 0; font-variant-numeric: tabular-nums; }
.em-card__price strong { font-size: 22px; color: var(--ink); }
.em-card__price small { font-size: 13px; color: var(--muted); }

/* Comparison tables */
.em-compare { min-width: 860px; }
.em-compare th, .em-compare td { padding: 12px 14px; font-size: 14.5px; }
.em-compare thead th { vertical-align: bottom; }
.em-compare thead th:nth-child(3) { background: var(--gray); }
.em-compare tbody td:nth-child(3) { background: transparent; }
.em-compare tbody th { min-width: 170px; }
.em-compare thead th:first-child, .em-compare tbody th { position: sticky; left: 0; background: #fff; z-index: 1; }
.em-compare thead th:first-child { background: var(--gray); }
.em-th__name { display: block; margin-top: 6px; font-size: 14px; }
.em-compare .em-logo { margin: 0 auto; }
.em-best { display: block; margin-top: 2px; font-style: normal; font-size: 12px; font-weight: 600; color: #16794C; }
.em-sep > * { border-top: 2px solid var(--line); }
.em-yes { color: #16794C; font-weight: 700; }
.em-no { color: #B6BAC1; }
.em-dots { display: inline-flex; gap: 4px; }
.em-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.em-dots i.on { background: var(--red); }
.em-row-price td strong { font-size: 17px; color: var(--ink); }
.em-compare--plans { min-width: 520px; }
.btn--sm { padding: 7px 14px; font-size: 14px; }

/* Packages page */
.pv-head { display: flex; align-items: center; gap: 18px; margin-top: 8px; }
.pv-head h1 { margin-bottom: 4px; }
.pv-head .page-head__lead { margin: 0; }
.em-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-top: 20px; }
.em-pills__lab { font-size: 14px; color: var(--muted); }
.em-pills__row { display: flex; flex-wrap: wrap; gap: 8px; }
.em-pill { padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 500; color: var(--ink); transition: border-color .15s, background-color .15s; }
.em-pill:hover { border-color: #B6BAC1; }
.em-pill.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 24px; }
.pk { position: relative; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pk--pop { border-color: var(--red); box-shadow: 0 18px 36px -24px rgba(231, 25, 38, .45); }
.pk__tag { position: absolute; top: -12px; left: 22px; padding: 3px 10px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; }
.pk h3 { font-size: 20px; }
.pk__pitch { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.pk__price { margin: 16px 0 2px; font-variant-numeric: tabular-nums; }
.pk__price strong { font-size: 34px; letter-spacing: -.02em; color: var(--ink); }
.pk__price small { font-size: 14px; color: var(--muted); }
.pk__bill { font-size: 13.5px; color: var(--muted); }
.pk__list { display: grid; gap: 9px; margin: 18px 0 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; }
.pk__list li { position: relative; padding-left: 24px; }
.pk__list li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 5px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.pk .btn { margin-top: auto; }

/* Order page */
.em-pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.em-pv { position: relative; display: block; cursor: pointer; }
.em-pv input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.em-pv__body { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, background-color .15s, box-shadow .15s; }
.em-pv:hover .em-pv__body { border-color: #B6BAC1; }
.em-pv input:checked + .em-pv__body { border-color: var(--red); background: #FFFAFA; box-shadow: inset 0 0 0 1px var(--red); }
.em-pv input:focus-visible + .em-pv__body { outline: 2px solid var(--red); outline-offset: 2px; }
.em-pv__body strong { font-size: 14.5px; color: var(--ink); }
.em-pv__body .em-logo { width: 28px; height: 28px; }
/* Long product names (licenses, security, software ...) must not run into the details: name and price on one row, details underneath. */
.size-opt .em-plan { grid-template-columns: minmax(0, 1fr) auto; row-gap: 4px; }
.size-opt .em-plan .size__name { grid-column: 1; grid-row: 1; flex-wrap: wrap; min-width: 0; }
.size-opt .em-plan .size__name strong { overflow-wrap: anywhere; }
.size-opt .em-plan .opt__price { grid-column: 2; grid-row: 1 / 3; align-self: center; white-space: nowrap; }
.size-opt .em-plan .size__specs { grid-column: 1; grid-row: 2; min-width: 0; }
.em-users { margin-top: 20px; }
.em-step { display: inline-flex; align-items: stretch; }
.em-step button { width: 42px; border: 1px solid var(--line); background: var(--gray); font-size: 20px; color: var(--ink); cursor: pointer; }
.em-step button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.em-step button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.em-step .input { width: 90px; border-radius: 0; text-align: center; -moz-appearance: textfield; }
.em-step .input::-webkit-inner-spin-button, .em-step .input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.em-save { color: #16794C; }

@media (max-width: 960px) {
  .em-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .em-grid { grid-template-columns: 1fr; }
  .em-pv-grid { grid-template-columns: repeat(2, 1fr); }
  .pv-head { align-items: flex-start; }
}
.em-head-left { margin: 0; text-align: left; }
.em-gap { margin-top: 16px; }
.vps-glance--3 { grid-template-columns: repeat(3, 1fr); }
.vps-glance--2 { grid-template-columns: repeat(2, 1fr); }
.st-types { margin: 0 0 20px; }
.se-vendor { margin-bottom: 4px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.em-row-price td small { font-size: 12.5px; color: var(--muted); }
.ms-search { max-width: 360px; margin-bottom: 16px; }
