/* Dolphin Hosting · Configurar servidor (/orderbutton?order=ID) · prefijo gm-cfg */
.gm-cfg { color: #f5f5f7; padding: 24px 0 64px; }
.gm-cfg p, .gm-cfg h1, .gm-cfg h2 { margin: 0; }
.gm-cfg-grow { flex: 1; min-width: 0; }
.gm-cfg-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: #8e8e93; }
.gm-cfg-crumbs a { color: #a1a1aa; text-decoration: none; }
.gm-cfg-crumbs .is-current { color: #f5f5f7; }
.gm-cfg-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 14px; }
.gm-cfg .gm-cfg-h1 { font-size: 44px; line-height: 48px; font-weight: 700; letter-spacing: -.03em; color: #f5f5f7; }
.gm-cfg .gm-cfg-lead { margin-top: 10px; font-size: 17px; line-height: 24px; color: #a1a1aa; }
.gm-cfg-cart { height: 48px; padding: 0 18px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: inline-flex; align-items: center; gap: 10px; color: #f5f5f7 !important; font-size: 15px; font-weight: 600; text-decoration: none; flex: none; }
.gm-cfg-cart:hover { background: rgba(255,255,255,.09); }
.gm-cfg-cart__count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.1); font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }

.gm-cfg-cols { display: flex; gap: 32px; align-items: flex-start; margin-top: 32px; }
.gm-cfg-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gm-cfg-card { padding: 28px; border-radius: 28px; background: linear-gradient(180deg,#15151c,#111117); border: 1px solid rgba(255,255,255,.08); }
.gm-cfg-title { display: flex; align-items: center; gap: 14px; }
.gm-cfg-title h2 { font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.02em; color: #f5f5f7; }
.gm-cfg-num { width: 32px; height: 32px; flex: none; border-radius: 10px; background: rgba(124,58,237,.22); color: #c4a5ff; font-size: 15px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.gm-cfg .gm-cfg-sub { margin: 8px 0 0 46px; font-size: 15px; color: #a1a1aa; }

.gm-cfg-trial { display: flex; gap: 12px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(124,58,237,.15); border: 1px solid rgba(124,58,237,.4); }
.gm-cfg-trial i { color: #c4a5ff; font-size: 20px; }
.gm-cfg-trial strong, .gm-cfg-trial span { display: block; }
.gm-cfg-trial span { font-size: 13px; color: #d1d1d6; }

/* Selección (radios reales, ocultos pero accesibles) */
.gm-cfg-opt { position: relative; min-width: 0; display: flex; }
.gm-cfg-radio { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.gm-cfg-tile { position: relative; width: 100%; margin: 0; cursor: pointer; border-radius: 18px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.025); transition: border-color .15s, background .15s, box-shadow .15s; }
.gm-cfg-tile:hover { border-color: rgba(159,103,255,.5); }
.gm-cfg-radio:checked + .gm-cfg-tile { border-color: #9f67ff; background: rgba(124,58,237,.16); box-shadow: 0 0 0 4px rgba(124,58,237,.14); }
.gm-cfg-radio:focus-visible + .gm-cfg-tile { outline: 2px solid #c4a5ff; outline-offset: 2px; }
.gm-cfg-ring { width: 22px; height: 22px; flex: none; border-radius: 50%; border: 2px solid rgba(255,255,255,.25); }
.gm-cfg-radio:checked + .gm-cfg-tile .gm-cfg-ring { border: 7px solid #7c3aed; background: #fff; }

.gm-cfg-cycles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 20px; }
.gm-cfg-cycle { display: flex; flex-direction: column; gap: 4px; padding: 18px; min-height: 112px; }
.gm-cfg-cycle .gm-cfg-ring { position: absolute; top: 18px; right: 18px; }
.gm-cfg-cycle__name { font-size: 15px; font-weight: 600; color: #d1d1d6; padding-right: 30px; line-height: 22px; }
.gm-cfg-cycle__price { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.02em; }
.gm-cfg-cycle__note { font-size: 13px; color: #8e8e93; }
.gm-cfg-save { position: absolute; top: -11px; right: 16px; padding: 3px 10px; border-radius: 999px; background: #30d158; color: #04210d; font-size: 11px; line-height: 15px; font-weight: 700; white-space: nowrap; }

/* Nombre del servidor */
.gm-cfg-field { margin-top: 20px; }
.gm-cfg-field label { margin-bottom: 8px; font-size: 13px; font-weight: 600; color: #d1d1d6; }
.gm-cfg-inputwrap { display: flex; align-items: center; height: 52px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: #1b1b23; overflow: hidden; }
.gm-cfg-inputwrap:focus-within { border-color: #9f67ff; box-shadow: 0 0 0 4px rgba(124,58,237,.22); }
.gm-cfg-inputwrap input { flex: 1; min-width: 0; height: 100%; padding: 0 16px; border: 0; outline: none; background: transparent; color: #f5f5f7; font-size: 16px; font-weight: 500; }
.gm-cfg-inputwrap input::placeholder { color: #6b6b73; }
.gm-cfg-suffix { height: 100%; padding: 0 16px; display: flex; align-items: center; border-left: 1px solid rgba(255,255,255,.08); background: #20202a; font-size: 15px; color: #a1a1aa; }
.gm-cfg .gm-cfg-hint { margin-top: 8px; font-size: 13px; color: #8e8e93; }

/* Opciones */
.gm-cfg-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 20px; }
.gm-cfg-choice { display: flex; align-items: center; gap: 14px; }
.gm-cfg-choice__text { display: block; flex: 1; min-width: 0; }
.gm-cfg-choice__name { display: block; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.gm-cfg-choice__note { font-size: 13px; line-height: 18px; color: #a1a1aa; }
span.gm-cfg-choice__note:not(.d-none) { display: block; }
.gm-cfg-choice__img { width: 40px; height: 40px; flex: none; border-radius: 10px; object-fit: contain; background: #0f1017; padding: 3px; }
.gm-cfg-choice__emoji { display: flex; align-items: center; justify-content: center; font-size: 22px; }
.gm-cfg-choice__price { font-size: 13px; font-weight: 600; color: #c4a5ff; white-space: nowrap; }
.gm-cfg-choice__price:empty { display: none; }

.gm-cfg-choices--location { grid-template-columns: minmax(0, 1fr); }
.gm-cfg-choices--location .gm-cfg-choice { padding: 16px 18px; }
.gm-cfg-choices--location .gm-cfg-choice__img { width: 36px; height: 24px; border-radius: 4px; padding: 0; object-fit: cover; }
.gm-cfg-choices--location .gm-cfg-choice__price { font-size: 14px; color: #5fe07f; }

.gm-cfg-choices--software .gm-cfg-choice, .gm-cfg-choices--generic .gm-cfg-choice { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto 1fr; align-content: start; row-gap: 12px; padding: 18px; }
.gm-cfg-choices--software .gm-cfg-choice__img, .gm-cfg-choices--generic .gm-cfg-choice__img { grid-column: 1; grid-row: 1; }
.gm-cfg-choice .gm-cfg-ring { grid-column: 2; grid-row: 1; align-self: center; }
.gm-cfg-choices--software .gm-cfg-choice__text, .gm-cfg-choices--generic .gm-cfg-choice__text { grid-column: 1 / -1; grid-row: 2; }
.gm-cfg-choices--software .gm-cfg-choice__price, .gm-cfg-choices--generic .gm-cfg-choice__price { grid-column: 1 / -1; grid-row: 3; }
.gm-cfg-choices--software .gm-cfg-choice__name { font-size: 17px; font-weight: 700; margin-bottom: 6px; }

.gm-cfg-choices--ip { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: #0d0d12; border: 1px solid rgba(255,255,255,.08); }
.gm-cfg-choices--ip .gm-cfg-choice { min-height: 60px; flex-direction: column; justify-content: center; gap: 2px; padding: 6px; border: 0; border-radius: 12px; background: transparent; text-align: center; }
.gm-cfg-choices--ip .gm-cfg-choice:hover { background: rgba(255,255,255,.05); }
.gm-cfg-choices--ip .gm-cfg-radio:checked + .gm-cfg-tile { background: linear-gradient(135deg,#9f67ff,#7c3aed); box-shadow: none; }
.gm-cfg-choices--ip .gm-cfg-choice__text { flex: none; }
.gm-cfg-choices--ip .gm-cfg-choice__name { font-size: 15px; }
.gm-cfg-choices--ip .gm-cfg-choice__price { font-size: 12px; font-weight: 500; }
.gm-cfg-choices--ip .gm-cfg-radio:checked + .gm-cfg-tile .gm-cfg-choice__price { color: #ede4ff; }

/* Cuenta Pterodactyl vinculada */
.gm-cfg-linked { display: flex; align-items: flex-start; gap: 16px; padding: 20px 22px; border-radius: 22px; background: rgba(48,209,88,.08); border: 1px solid rgba(48,209,88,.25); }
.gm-cfg-linked__icon { width: 44px; height: 44px; flex: none; border-radius: 14px; background: rgba(48,209,88,.16); color: #5fe07f; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.gm-cfg .gm-cfg-linked__title { font-size: 16px; font-weight: 600; }
.gm-cfg .gm-cfg-linked__text { margin-top: 4px; font-size: 14px; line-height: 20px; color: #a1a1aa; overflow-wrap: anywhere; }
.gm-cfg-linked__text strong { color: #f5f5f7; }
.gm-cfg-linked__text a { color: #c4a5ff; }
.gm-cfg-service:empty, .gm-cfg-service .pterodactyl-order-config:empty { display: none; }
.gm-cfg .ptero-credentials-step { padding: 24px; margin-bottom: 0 !important; border-radius: 24px; background: linear-gradient(180deg,#15151c,#111117); border: 1px solid rgba(255,255,255,.08); }

/* Panel lateral */
.gm-cfg-side { width: 400px; flex: none; position: sticky; top: 24px; }
.gm-cfg-panel { border-radius: 28px; background: linear-gradient(180deg,#191922,#121218); border: 1px solid rgba(159,103,255,.28); box-shadow: 0 30px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06); overflow: hidden; }
.gm-cfg-plan { display: flex; gap: 16px; align-items: center; padding: 24px; background: radial-gradient(300px 160px at 0% 0%, rgba(124,58,237,.3), transparent 70%); }
.gm-cfg-plan img, .gm-cfg-plan .gm-cfg-noimg { width: 72px; height: 72px; flex: none; border-radius: 18px; object-fit: contain; padding: 6px; background: #0f1017; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.gm-cfg-noimg { display: flex; align-items: center; justify-content: center; color: #c4a5ff; font-size: 26px; background: #0f1017; }
.gm-cfg .gm-cfg-plan__eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #c4a5ff; }
.gm-cfg .gm-cfg-plan__name { margin-top: 2px; font-size: 22px; line-height: 26px; font-weight: 700; letter-spacing: -.02em; }
.gm-cfg .gm-cfg-plan__sub { margin-top: 2px; font-size: 14px; color: #a1a1aa; }
.gm-cfg-plan__sub a { color: #c4a5ff; text-decoration: none; font-weight: 600; }
.gm-cfg-specs { list-style: none; margin: 0; padding: 4px 24px 20px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; font-size: 13px; line-height: 18px; color: #d1d1d6; }
.gm-cfg-specs li { display: flex; gap: 8px; align-items: flex-start; overflow-wrap: anywhere; }
.gm-cfg-specs li.is-wide { grid-column: 1 / -1; }
.gm-cfg-specs i { color: #c4a5ff; font-size: 15px; }

.gm-cfg-lines--box { margin: 0 16px; padding: 6px 16px; border-radius: 18px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.gm-cfg-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.06); }
.gm-cfg-line > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.gm-cfg-line__stack > span { display: block; }
.gm-cfg-line__stack .gm-cfg-line__k { font-size: 12px; color: #8e8e93; }
.gm-cfg-line__stack .gm-cfg-line__v { font-size: 15px; font-weight: 600; }
.gm-cfg-line__inline { font-size: 15px; }
.gm-cfg-line__inline .gm-cfg-line__k { color: #a1a1aa; }
.gm-cfg-line__inline .gm-cfg-line__v { font-weight: 600; }
.gm-cfg-line__p { font-size: 14px; font-weight: 600; white-space: nowrap; }
.gm-cfg-line__p.is-free { color: #5fe07f; }
.gm-cfg-renew { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0 8px; font-size: 13px; color: #a1a1aa; }
.gm-cfg-renew strong { color: #f5f5f7; font-weight: 600; }

.gm-cfg-pay { padding: 24px; }
.gm-cfg-total { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; }
.gm-cfg-total > span:first-child { font-size: 15px; color: #a1a1aa; }
.gm-cfg-total strong { font-size: 36px; line-height: 42px; font-weight: 700; letter-spacing: -.03em; }
.gm-cfg-total small { font-size: 14px; color: #a1a1aa; }
.gm-cfg-go { width: 100%; height: 56px; margin-top: 18px; border: 0; border-radius: 16px; background: linear-gradient(135deg,#9f67ff,#7c3aed); color: #fff; font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 30px rgba(124,58,237,.45); }
.gm-cfg-go:hover { filter: brightness(1.1); }
.gm-cfg-go:disabled { opacity: .6; }
.gm-cfg-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; font-size: 13px; color: #a1a1aa; }
.gm-cfg-trust span { display: flex; gap: 8px; align-items: center; }
.gm-cfg-trust i { color: #c4a5ff; }

/* En pantallas bajas el panel no se queda fijo: así el botón siempre es alcanzable */
@media (min-width: 992px) and (max-height: 900px) { .gm-cfg-side { position: static; } }
@media (min-width: 992px) and (max-width: 1199px) { .gm-cfg-side { width: 340px; } .gm-cfg-card { padding: 22px; } .gm-cfg-cycles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }

/* ---------- Móvil y tablet ---------- */
@media (max-width: 991.98px) {
  .gm-cfg { padding: 8px 0 24px; }
  body:has(.gm-cfg-mbar) { padding-bottom: calc(var(--gm-bottombar-h) + var(--gm-safe-bottom) + 77px); }
  .gm-cfg-crumbs { font-size: 13px; gap: 6px; }
  .gm-cfg-head { align-items: center; margin-top: 12px; gap: 12px; }
  .gm-cfg .gm-cfg-h1 { font-size: 28px; line-height: 34px; }
  .gm-cfg-cart { width: 44px; height: 44px; padding: 0; justify-content: center; border-radius: 50%; position: relative; }
  .gm-cfg-cart__text { display: none; }
  .gm-cfg-cart__count { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; font-size: 11px; background: #7c3aed; }
  .gm-cfg-mplan { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px; border-radius: 20px; background: radial-gradient(240px 120px at 0% 0%, rgba(124,58,237,.3), transparent 70%), #15151c; border: 1px solid rgba(159,103,255,.28); }
  .gm-cfg-mplan img, .gm-cfg-mplan .gm-cfg-noimg { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: contain; padding: 4px; background: #0f1017; }
  .gm-cfg .gm-cfg-mplan__name { font-size: 17px; font-weight: 700; }
  .gm-cfg .gm-cfg-mplan__sub { margin-top: 2px; font-size: 13px; color: #a1a1aa; }
  .gm-cfg-mplan a { height: 44px; flex: none; padding: 0 14px; border-radius: 12px; background: rgba(255,255,255,.06); display: flex; align-items: center; font-size: 14px; font-weight: 600; color: #c4a5ff; text-decoration: none; }
  .gm-cfg-cols { margin-top: 14px; display: block; }
  .gm-cfg-main { gap: 14px; }
  .gm-cfg-card { padding: 18px 14px; border-radius: 24px; background: #13131a; }
  .gm-cfg-title { gap: 10px; }
  .gm-cfg-title h2 { font-size: 19px; line-height: 24px; }
  .gm-cfg-num { width: 26px; height: 26px; border-radius: 8px; font-size: 13px; }
  .gm-cfg-field { margin-top: 14px; }
  .gm-cfg-inputwrap input { padding: 0 14px; }
  .gm-cfg-suffix { padding: 0 12px; font-size: 14px; }

  .gm-cfg-cycles { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
  .gm-cfg-cycle { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; column-gap: 14px; row-gap: 0; align-items: center; min-height: 64px; padding: 12px 16px; border-radius: 16px; }
  .gm-cfg-cycle .gm-cfg-ring { position: static; grid-column: 1; grid-row: 1 / 3; }
  .gm-cfg-cycle__name { grid-column: 2; grid-row: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 0; font-size: 16px; color: #f5f5f7; }
  .gm-cfg-cycle__note { grid-column: 2; grid-row: 2; }
  .gm-cfg-cycle__price { grid-column: 3; grid-row: 1 / 3; font-size: 16px; white-space: nowrap; }
  .gm-cfg-save { position: static; padding: 1px 8px; }

  .gm-cfg-choices { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 14px; }
  .gm-cfg-choices--location .gm-cfg-choice { padding: 14px 16px; border-radius: 16px; }
  .gm-cfg-choices--software .gm-cfg-choice, .gm-cfg-choices--generic .gm-cfg-choice { display: flex; padding: 12px 16px; border-radius: 16px; min-height: 64px; }
  .gm-cfg-choices--software .gm-cfg-choice__name { font-size: 16px; margin: 0; }
  .gm-cfg-choice__note { color: #8e8e93; }
  .gm-cfg-choices--ip { gap: 4px; border-radius: 14px; }
  .gm-cfg-choices--ip .gm-cfg-choice { min-height: 56px; }

  .gm-cfg-linked { gap: 12px; padding: 16px; border-radius: 20px; }
  .gm-cfg-linked__icon { width: 36px; height: 36px; border-radius: 12px; font-size: 19px; }
  .gm-cfg .gm-cfg-linked__title { font-size: 14px; }

  .gm-cfg-msum h2 { font-size: 17px; font-weight: 700; color: #f5f5f7; padding: 0 4px; }
  .gm-cfg-msum .gm-cfg-lines { padding: 0 4px; }

  .gm-cfg-mbar { position: fixed; left: 0; right: 0; bottom: calc(var(--gm-bottombar-h) + var(--gm-safe-bottom)); z-index: 1020; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: rgba(12,12,18,.94); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); border-top: 1px solid rgba(255,255,255,.08); }
  .gm-cfg-mbar__total { min-width: 0; }
  .gm-cfg-mbar__total > span { display: block; font-size: 12px; color: #a1a1aa; }
  .gm-cfg-mbar__total strong { font-size: 21px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
  .gm-cfg-mbar__total small { font-size: 12px; color: #a1a1aa; white-space: nowrap; }
  .gm-cfg-mbar .gm-cfg-go { flex: 1; width: auto; min-width: 0; height: 52px; margin: 0; border-radius: 14px; font-size: 16px; }
}
