/* ══ RESET & BASE ═════════════════════════════════════════════ */
.g775df-fab, .g775df-fab *,
.g775df-overlay, .g775df-overlay * {
  box-sizing: border-box;
}

/* ══ FAB ══════════════════════════════════════════════════════ */
.g775df-fab {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 99990;
  display: flex;
  align-items: center;
  cursor: pointer;
}
.g775df-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
    background: linear-gradient(145deg, #dc3545 0%, #e00000 100%);
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(253,101,17,0.50), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.2s cubic-bezier(.34,1.56,.64,1), box-shadow 0.2s ease;
  position: relative;
  flex-shrink: 0;
}
.g775df-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 32px rgba(253,101,17,0.65), 0 2px 8px rgba(0,0,0,0.18);
}
.g775df-btn:focus-visible {
  outline: 3px solid rgba(253,101,17,0.6);
  outline-offset: 3px;
}
.g775df-btn svg {
  width: 26px; height: 26px;
  fill: none; stroke: #fff;
  stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
}
.g775df-btn::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2.5px solid rgba(253,101,17,0.38);
  animation: g775df-pulse 2.4s ease-out infinite;
  pointer-events: none;
}
@keyframes g775df-pulse {
  0%   { transform: scale(1); opacity: .9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── Tooltip ── */
.g775df-tooltip {
  position: absolute;
  left: 70px; top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: #0d1b2a; color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 500;
  white-space: nowrap;
  padding: 8px 15px;
  border-radius: 9px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
}
.g775df-tooltip::before {
  content: '';
  position: absolute;
  right: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right-color: #0d1b2a;
}
.g775df-fab:hover .g775df-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* ══ OVERLAY ══════════════════════════════════════════════════ */
.g775df-overlay {
  position: fixed;
  inset: 0;
  z-index: 99991;
  background: rgba(7,11,20,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s ease, visibility 0.26s ease;
  overscroll-behavior: contain;
}
.g775df-overlay.g775df-open {
  opacity: 1;
  visibility: visible;
}

/* ══ MODAL ════════════════════════════════════════════════════ */
.g775df-modal {
  width: 100%;
  max-width: 780px;
  max-height: 88vh;
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.30), 0 0 0 1px rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.32s cubic-bezier(.34,1.15,.64,1);
  font-family: 'Poppins', sans-serif;
}
.g775df-overlay.g775df-open .g775df-modal {
  transform: translateY(0) scale(1);
}

/* ── Header ── */
.g775df-header {
  background: linear-gradient(135deg, #080f1c 0%, #0d1f38 55%, #122440 100%);
  padding: 22px 26px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.g775df-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.g775df-header-icon {
  width: 44px; height: 44px;
  background: rgba(253,101,17,0.15);
  border: 1.5px solid rgba(253,101,17,0.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.g775df-header-icon svg {
  width: 22px; height: 22px;
  stroke: #fd6511; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.g775df-header-name {
  font-family: 'Poppins', sans-serif;
  font-size: 16px; font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.05em;
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.g775df-ai-badge {
  background: linear-gradient(135deg,#fd6511,#ff8c42);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 9px;
  border-radius: 20px;
}
.g775df-header-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; color: rgba(255,255,255,0.48);
  margin: 3px 0 0; font-weight: 400;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g775df-close {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
  margin-left: 12px;
}
.g775df-close:hover { background: rgba(255,255,255,0.14); }
.g775df-close:focus-visible {
  outline: 2px solid rgba(253,101,17,0.6);
  outline-offset: 2px;
}
.g775df-close svg {
  width: 16px; height: 16px;
  stroke: rgba(255,255,255,0.65);
  stroke-width: 2.2; stroke-linecap: round; fill: none;
}

/* ── Search Bar ── */
.g775df-search-zone {
  padding: 16px 22px 14px;
  background: #f5f7fa;
  border-bottom: 1px solid #eaeef3;
  flex-shrink: 0;
}
.g775df-search-box {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 2px solid #e4e9f0;
  border-radius: 14px;
  padding: 0 8px 0 16px;
  transition: border-color 0.18s, box-shadow 0.18s;
}
.g775df-search-box:focus-within {
  border-color: #fd6511;
  box-shadow: 0 0 0 4px rgba(253,101,17,0.10);
}
.g775df-search-ico {
  width: 18px; height: 18px;
  stroke: #aab4c0; stroke-width: 2;
  fill: none; flex-shrink: 0;
  stroke-linecap: round; stroke-linejoin: round;
}
.g775df-input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-family: 'Poppins', sans-serif;
  font-size: 13.5px; color: #1a2332;
  padding: 13px 0;
  resize: none;
  min-height: 44px; max-height: 96px;
  overflow-y: auto; line-height: 1.5; min-width: 0;
}
.g775df-input::placeholder { color: #a0aab5; font-family: 'Poppins', sans-serif; }
.g775df-find-btn {
  height: 38px;
  padding: 0 18px;
  background: linear-gradient(135deg,#fd6511 0%,#e04e00 100%);
  border: none; border-radius: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  display: flex; align-items: center; gap: 7px;
  transition: opacity 0.15s, transform 0.12s;
  flex-shrink: 0; white-space: nowrap;
}
.g775df-find-btn:hover { opacity: 0.88; transform: scale(0.98); }
.g775df-find-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.g775df-find-btn svg {
  width: 13px; height: 13px;
  stroke: #fff; stroke-width: 2.2;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ── Results body ── */
.g775df-body {
  overflow-y: auto; overflow-x: hidden;
  flex: 1; padding: 0;
  scrollbar-width: thin;
  scrollbar-color: #dde3eb transparent;
  -webkit-overflow-scrolling: touch;
}
.g775df-body::-webkit-scrollbar { width: 5px; }
.g775df-body::-webkit-scrollbar-thumb { background: #dde3eb; border-radius: 5px; }

/* ── Idle / Chips ── */
.g775df-idle { padding: 28px 28px 24px; text-align: center; }
.g775df-idle-title {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 600; color: #1e2d40; margin: 0 0 6px;
}
.g775df-idle-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; color: #7a8a9a; margin: 0 0 20px; line-height: 1.6;
}
.g775df-chips {
  display: flex; flex-wrap: wrap; gap: 9px; justify-content: center;
}
.g775df-chip {
  background: #f0f4f8;
  border: 1.5px solid #e2e8ef;
  color: #3d5166;
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px; font-weight: 500;
  padding: 7px 14px; border-radius: 22px;
  cursor: pointer; transition: all 0.15s; user-select: none;
}
.g775df-chip:hover { background: #fff3ec; border-color: #fd6511; color: #c44200; }

/* ── Loading ── */
.g775df-loading {
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 20px; gap: 16px;
}
.g775df-spinner {
  width: 40px; height: 40px;
  border: 3.5px solid #edf0f4;
  border-top-color: #fd6511;
  border-radius: 50%;
  animation: g775df-spin 0.7s linear infinite;
}
@keyframes g775df-spin { to { transform: rotate(360deg); } }
.g775df-loading p {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; color: #6b7a8d;
  margin: 0; text-align: center; line-height: 1.6;
}

/* ── Results header bar ── */
.g775df-res-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px 10px;
  border-bottom: 1px solid #edf0f4;
}
.g775df-res-count {
  font-family: 'Poppins', sans-serif;
  font-size: 12px; font-weight: 600; color: #5a6a7a;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.g775df-res-count span { color: #fd6511; font-size: 15px; font-weight: 800; }

/* ══ DESKTOP TABLE ════════════════════════════════════════════ */
.g775df-table-wrap { padding: 14px 22px 22px; overflow-x: auto; }
.g775df-table {
  width: 100%; border-collapse: collapse;
  font-family: 'Poppins', sans-serif; min-width: 480px;
}
.g775df-table thead tr { background: #f5f7fa; }
.g775df-table th {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px; font-weight: 700; color: #7a8a9a;
  letter-spacing: 0.09em; text-transform: uppercase;
  padding: 10px 14px; text-align: left;
  border-bottom: 2px solid #eaeef3; white-space: nowrap;
}
.g775df-table td { padding: 14px 14px; border-bottom: 1px solid #f0f3f7; vertical-align: middle; }
.g775df-table tbody tr { transition: background 0.12s; }
.g775df-table tbody tr:hover { background: #fdf5ef; }
.g775df-table tbody tr:last-child td { border-bottom: none; }
.g775df-tname {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700; color: #111b27; margin: 0 0 2px; line-height: 1.3;
}
.g775df-tname-sub { font-family: 'Poppins', sans-serif; font-size: 10.5px; color: #9aacbc; font-weight: 400; }
.g775df-tloc {
  display: inline-flex; align-items: center; gap: 5px;
  background: #f0f4f8; border-radius: 6px; padding: 4px 9px;
  font-family: 'Poppins', sans-serif; font-size: 11.5px; font-weight: 500; color: #3d5166;
}
.g775df-tloc svg { width: 11px; height: 11px; stroke: #fd6511; stroke-width: 2.2; fill: none; flex-shrink: 0; }
.g775df-tram { font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 600; color: #2d3e4f; }
.g775df-tprice-amt { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 800; color: #111b27; line-height: 1; white-space: nowrap; }
.g775df-tprice-sup { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 600; color: #fd6511; vertical-align: super; margin-right: 1px; }
.g775df-tprice-mo { font-family: 'Poppins', sans-serif; font-size: 10.5px; color: #9aacbc; display: block; margin-top: 1px; white-space: nowrap; }
.g775df-order-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: #111b27; color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11.5px; font-weight: 700;
  padding: 9px 16px; border-radius: 9px;
  text-decoration: none; letter-spacing: 0.03em; white-space: nowrap;
  transition: background 0.15s, transform 0.12s;
}
.g775df-order-link:hover { background: #fd6511; color: #fff; text-decoration: none; transform: scale(0.97); }
.g775df-order-link svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }

/* ══ MOBILE/TABLET — RICH SERVER CARD ════════════════════════ */
.g775df-cards-wrap {
  padding: 14px 16px 22px;
  display: flex; flex-direction: column; gap: 14px;
}

.g775df-card {
  background: #fff;
  border: 1.5px solid #eaeef3;
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}
.g775df-card:hover {
  border-color: #ffd0b5;
  box-shadow: 0 6px 28px rgba(253,101,17,0.12);
  transform: translateY(-1px);
}

/* Card top bar: name + price side by side */
.g775df-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0 16px;
}
.g775df-card-title-block { min-width: 0; flex: 1; }
.g775df-card-name {
  font-family: 'Poppins', sans-serif;
  font-size: 14px; font-weight: 700; color: #111b27;
  margin: 0; line-height: 1.3;
  word-break: break-word;
}
.g775df-card-type-badge {
  display: inline-block;
  margin-top: 5px;
  background: #f0f4f8;
  border-radius: 5px;
  padding: 2px 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 10px; font-weight: 600; color: #6a7e92;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.g775df-card-price-block {
  text-align: right;
  flex-shrink: 0;
}
.g775df-card-price-amt {
  font-family: 'Poppins', sans-serif;
  font-size: 22px; font-weight: 800; color: #111b27;
  line-height: 1; white-space: nowrap;
}
.g775df-card-price-sup {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; font-weight: 700; color: #fd6511;
  vertical-align: super; margin-right: 1px;
}
.g775df-card-price-mo {
  font-family: 'Poppins', sans-serif;
  font-size: 10px; color: #9aacbc;
  display: block; margin-top: 3px; text-align: right;
}

/* Divider */
.g775df-card-divider {
  height: 1px;
  background: #eaeef3;
  margin: 14px 16px 0;
}

/* Specs grid */
.g775df-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0 8px;
  margin: 4px 0 0;
}
.g775df-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 8px;
}
.g775df-spec-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.g775df-spec-icon svg {
  width: 14px; height: 14px;
  stroke-width: 2.2; fill: none; stroke-linecap: round; stroke-linejoin: round;
}
/* Icon color variants */
.g775df-spec-icon.loc  { background: #fff3ec; }
.g775df-spec-icon.loc  svg { stroke: #fd6511; }
.g775df-spec-icon.ram  { background: #eff6ff; }
.g775df-spec-icon.ram  svg { stroke: #2563eb; }
.g775df-spec-icon.cpu  { background: #f0fdf4; }
.g775df-spec-icon.cpu  svg { stroke: #16a34a; }
.g775df-spec-icon.disk { background: #faf5ff; }
.g775df-spec-icon.disk svg { stroke: #7c3aed; }
.g775df-spec-icon.bw   { background: #fff1f2; }
.g775df-spec-icon.bw   svg { stroke: #e11d48; }
.g775df-spec-icon.ip   { background: #f0fdfa; }
.g775df-spec-icon.ip   svg { stroke: #0d9488; }

.g775df-spec-text { min-width: 0; }
.g775df-spec-label {
  font-family: 'Poppins', sans-serif;
  font-size: 9.5px; font-weight: 600; color: #9aacbc;
  letter-spacing: 0.06em; text-transform: uppercase;
  display: block; margin-bottom: 1px;
}
.g775df-spec-value {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; font-weight: 700; color: #1e2d3f;
  display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Card footer: order button */
.g775df-card-footer {
  padding: 12px 16px 16px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.g775df-card-order {
  display: inline-flex; align-items: center; gap: 8px;
  width: 100%;
  justify-content: center;
  background: #111b27; color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; font-weight: 700;
  padding: 12px 20px;
  border-radius: 11px;
  text-decoration: none; letter-spacing: 0.04em; white-space: nowrap;
  transition: background 0.15s, transform 0.12s;
}
.g775df-card-order:hover { background: #fd6511; color: #fff; text-decoration: none; transform: scale(0.98); }
.g775df-card-order svg {
  width: 13px; height: 13px;
  stroke: currentColor; stroke-width: 2.5;
  fill: none; stroke-linecap: round; stroke-linejoin: round;
}

/* ── AI Message block ── */
.g775df-ai-msg {
  margin: 16px 22px 0;
  background: #090f1c;
  border-radius: 12px; padding: 16px 18px;
}
.g775df-ai-msg-head {
  display: flex; align-items: center; gap: 7px; margin-bottom: 8px;
}
.g775df-ai-msg-head svg {
  width: 14px; height: 14px; stroke: #fd6511;
  stroke-width: 2; fill: none; stroke-linecap: round; flex-shrink: 0;
}
.g775df-ai-msg-head span {
  font-family: 'Poppins', sans-serif;
  font-size: 10.5px; font-weight: 700; color: #fd6511;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.g775df-ai-msg p {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; color: rgba(255,255,255,0.78);
  margin: 0; line-height: 1.65;
}

/* ── Error / Empty ── */
.g775df-error {
  margin: 16px 22px;
  background: #fff2f2; border: 1.5px solid #fca5a5;
  border-radius: 10px; padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px; color: #b91c1c; line-height: 1.6;
}
.g775df-empty { text-align: center; padding: 36px 24px; }
.g775df-empty svg {
  width: 44px; height: 44px; stroke: #c8d3de;
  stroke-width: 1.4; fill: none; margin-bottom: 12px;
}
.g775df-empty p {
  font-family: 'Poppins', sans-serif;
  font-size: 13px; color: #6b7a8d; margin: 0; line-height: 1.6;
}

/* ══ RESPONSIVE ═══════════════════════════════════════════════ */
@media (max-width: 600px) {
  .g775df-fab { bottom: 20px; left: 20px; }
  .g775df-tooltip { display: none; }
  .g775df-overlay { padding: 0; align-items: flex-end; }
  .g775df-modal { max-height: 91vh; border-radius: 20px 20px 0 0; }
  .g775df-header { padding: 16px 18px 14px; }
  .g775df-header-sub { font-size: 11px; }
  .g775df-search-zone { padding: 12px 14px 10px; }
  .g775df-input { font-size: 13px; }
  .g775df-find-btn { padding: 0 14px; font-size: 11.5px; }
  .g775df-table-wrap { display: none !important; }
  .g775df-cards-wrap { display: flex !important; }
  .g775df-ai-msg { margin: 12px 14px 0; }
  .g775df-res-header { padding: 12px 16px 10px; }
  .g775df-idle { padding: 22px 20px 20px; }
  .g775df-card-specs { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .g775df-overlay { padding: 14px; }
  .g775df-modal { max-height: 90vh; }
  .g775df-table-wrap { display: none !important; }
  .g775df-cards-wrap { display: flex !important; }
  .g775df-card-specs { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 901px) {
  .g775df-table-wrap { display: block !important; }
  .g775df-cards-wrap { display: none !important; }
}