/* Root Variables */
:root {
  --background: #1e1e1e;
  --text: #eee;
  --link-default: #bbb;
  --link-highlight: rgb(255, 235, 59);
  --highlight-bg: #4a4a4a;
  --primary-color: rgb(255, 235, 59);
  --button-bg: transparent;
  --button-hover-bg: rgba(255, 235, 59, 0.6);
  --disabled-bg: rgba(51, 51, 51, 0.5);
  --disabled-text: #777;
  --panel-bg: rgba(43, 43, 43, 0.7);
  --panel-border: rgba(255, 255, 255, 0.08);
  --node-regular: #4a4a4a;
  --node-creator: rgb(255, 235, 59);
  --node-bundler: #ff6b6b;
  --node-contract: #ffffff;
  --node-proxy: #ff6b6b;
  --node-supernode: #aaaaaa;
}

/* Base Styles */
body {
  margin: 0;
  background-color: var(--background);
  font-family: 'Inter', Arial, sans-serif;
  color: var(--text);
  height: 100vh;
  overflow: hidden;
  position: relative;
}

::selection {
  background: rgba(255, 235, 59, 0.25);
}

svg {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% - 350px);
  height: 100%;
}

/* Graph Elements */
line {
  stroke: var(--link-default);
}

g .node {
  stroke: #fff;
  stroke-width: 0.3;
  cursor: pointer;
}

g .node.hovered {
  transform: scale(1.2);
  transform-origin: center;
}

g .node.creator-node {
  fill: var(--node-creator);
  stroke: #ffffff;
  stroke-width: 0.5;
}

g .node.contract-node {
  fill: var(--node-contract);
  stroke: #cccccc;
  stroke-width: 1;
}

g .node.proxy-node {
  fill: var(--node-proxy);
  stroke: #ffffff;
  stroke-width: 0.5;
  stroke-dasharray: 1 1;
}

g .node.bundler-node {
  fill: var(--node-bundler);
  stroke: #ffffff;
  stroke-width: 0.5;
}

g .node.regular-node {
  fill: var(--node-regular);
  stroke: #6e6e6e;
}

g .node.regular-node.selected {
  stroke: #ffffff;
  stroke-width: 1.5;
}

g .node.creator-node.selected,
g .node.contract-node.selected {
  stroke-width: 1;
}

/* Sidebar */
.sidebar {
  width: 350px;
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(180deg, #2b2b2b, #333);
  padding: 20px;
  border-left: 1px solid #444;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 20;
  box-sizing: border-box;
  box-shadow: -3px 0 8px rgba(0, 0, 0, 0.4);
  border-radius: 8px 0 0 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 235, 59, 0.5) #2b2b2b;
}

.sidebar::-webkit-scrollbar {
  width: 8px;
}

.sidebar::-webkit-scrollbar-track {
  background: #2b2b2b;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 235, 59, 0.45);
  border-radius: 8px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 235, 59, 0.65);
}

.sidebar-header {
  background: linear-gradient(135deg, #333, #3a3a3a);
  padding: 12px;
  border-bottom: 1px solid #555;
  border-radius: 8px 8px 0 0;
  margin: -20px -20px 20px -20px;
  text-align: center;
}

.sidebar h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.sidebar p {
  text-align: center;
  margin: 12px 0;
  font-size: 14px;
  color: #ccc;
  font-weight: 500;
}

.sidebar input {
  margin: 12px 0;
  padding: 12px;
  width: 100%;
  box-sizing: border-box;
  border: 2px solid #555;
  border-radius: 8px;
  background: #333;
  color: var(--text);
  font-size: 14px;
  text-align: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sidebar input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 6px rgba(255, 235, 59, 0.5);
  outline: none;
}

.sidebar input::placeholder {
  color: #999;
}

/* Account Items */
.account {
  padding: 10px;
  margin: 6px 0;
  border-bottom: 1px solid #555;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease, outline 0.2s ease;
}

.account.creator {
  background-color: rgba(255, 235, 59, 0.25);
}

.account.bundler {
  background-color: rgba(255, 107, 107, 0.25);
  color: var(--node-bundler);
  font-weight: 600;
}

.account.contract {
  background-color: rgba(255, 255, 255, 0.15);
}

.account.regular {
  background-color: rgba(74, 74, 74, 0.15);
}

.account.zero-balance {
  background-color: rgba(170, 170, 170, 0.15);
}

.account:hover,
.account.highlighted {
  background-color: var(--highlight-bg);
  transform: translateX(5px);
  outline: 1px solid var(--primary-color);
}

.account.creator.highlighted {
  background-color: rgba(255, 235, 59, 0.25);
}

.account .rank {
  min-width: 30px;
  text-align: left;
  font-weight: 500;
}

.account .id {
  flex: 1;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account .percent {
  min-width: 55px;
  text-align: right;
  font-weight: 500;
}

.account.contract .id::after,
.account.creator .id::after {
  content: attr(data-suffix);
  color: #bbb;
  margin-left: 6px;
}

/* Panels */
.map-key,
.controls-panel,
.action-buttons-panel,
.social-text-button-panel,
.search-box,
.error-modal-content,
.beta-notice,
.account-details,
.what-is-clustora {
  padding: 12px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(5px);
  color: var(--text);
  font-family: 'Inter', Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
}

/* Map Key */
.map-key {
  position: fixed;
  bottom: 20px;
  left: 20px;
  min-width: 200px;
  z-index: 9;
}

.map-key ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-key li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  font-size: 12px;
}

.map-key li::before {
  content: "•";
  margin-right: 8px;
  font-size: 14px;
}

.map-key li.yellow::before {
  color: var(--node-creator);
}

.map-key li.red::before {
  color: var(--node-bundler);
}

.map-key li.red.proxy::before {
  color: var(--node-proxy);
}

.map-key li.grey::before {
  color: var(--node-regular);
}

.map-key li.white::before {
  color: var(--node-contract);
}

/* Account Details */
.account-details {
  position: fixed;
  top: 20px;
  right: calc(350px + 20px);
  width: clamp(200px, 25vw, 300px);
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px;
  z-index: 30;
  font-size: 14px;
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 235, 59, 0.5) #2b2b2b;
}

.account-details::-webkit-scrollbar {
  width: 8px;
}

.account-details::-webkit-scrollbar-track {
  background: #2b2b2b;
}

.account-details::-webkit-scrollbar-thumb {
  background: rgba(255, 235, 59, 0.45);
  border-radius: 8px;
}

.account-details::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 235, 59, 0.65);
}

.account-details h3 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 600;
}

.account-details p {
  margin: 6px 0;
}

.account-details details {
  margin: 12px 0;
}

.account-details summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px;
  background: #2a2a2a;
  border-radius: 4px;
}

.account-details details[open] summary {
  background: #3a3a3a;
}

.account-details ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  background: #1e1e1e;
  border: 1px solid #444;
  border-radius: 4px;
}

.account-details li {
  margin: 4px 0;
  padding-left: 12px;
  position: relative;
}

.account-details li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

.account-details .showContractTransfers {
  margin-left: 10px;
  cursor: pointer;
  accent-color: var(--primary-color);
}

.account-details .showContractTransfers+label {
  font-size: 14px;
  margin-left: 5px;
}

.account-details .btn {
  margin-top: 12px;
}

/* Slideshow */
.slideshow-container {
  width: 360px;
  height: 100px;
  overflow: hidden;
  margin: 10px 0;
  position: relative;
  z-index: 10;
  visibility: visible; /* Ensure slideshow is not hidden */
}

.search-box .slideshow-container {
  width: 100%;
  max-width: 360px;
}

.slideshow-container.map-promo {
  position: fixed;
  bottom: 170px;
  left: 20px;
  width: 225px;
  height: 100px;
  max-width: 225px;
  z-index: 11; /* Increased to prevent overlap with map elements */
}

.slideshow-inner {
  display: flex;
  width: 400%; /* 4 slides at 25% each */
  height: 100%;
  animation: slideshow 20s infinite;
  transition: transform 1s ease-in-out; /* Smooth transitions for JavaScript resets */
}

.slide {
  width: 25%; /* 4 slides in 400% width */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--text);
  text-align: center;
  padding: 0;
  box-sizing: border-box;
  background: var(--panel-bg);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.search-box .slide {
  font-size: 14px;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: var(--primary-color);
}

.slide a:hover {
  color: var(--link-highlight);
}

.slide:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes slideshow {
  0%, 20% {
    transform: translateX(0); /* First slide (Orbit Referral Promo) */
  }
  25%, 45% {
    transform: translateX(-25%); /* Second slide (Promote) */
  }
  50%, 70% {
    transform: translateX(-50%); /* Third slide (Orbit) */
  }
  75%, 95% {
    transform: translateX(-75%); /* Fourth slide (Promote) */
  }
  100% {
    transform: translateX(-75%); /* Hold fourth slide until reset */
  }
}

/* Controls Panel */
.controls-panel {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 20;
}

.controls-panel:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.controls-panel label {
  margin: 0 5px;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
}

.controls-panel input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  accent-color: var(--primary-color);
}

.controls-panel input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#node-limit-info {
  position: fixed;
  bottom: 75px;
  left: 50%;
  transform: translateX(-50%);
  background: transparent;
  border: none;
  font-size: 12px;
  text-align: center;
  z-index: 20;
}

/* Action Buttons Panel */
.action-buttons-panel {
  position: fixed;
  bottom: 20px;
  left: calc(20px + 200px + 50px);
  display: flex;
  gap: 10px;
  align-items: center;
  z-index: 15;
}

/* Social Text Button Panel */
.social-text-button-panel {
  position: fixed;
  bottom: 20px;
  right: calc(315px + 50px);
  display: flex;
  align-items: center;
  z-index: 15;
}

/* Buttons */
.btn {
  background: var(--button-bg);
  color: var(--text);
  border: 1px solid var(--panel-border);
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  min-width: 100px;
  transition: background 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(5px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}

.btn:disabled {
  background: var(--disabled-bg);
  color: var(--disabled-text);
  cursor: not-allowed;
  opacity: 0.5;
}

.btn:hover:not(:disabled) {
  background: var(--button-hover-bg);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 235, 59, 0.4);
}

.btn:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(255, 235, 59, 0.25), 0 0 0 4px rgba(255, 235, 59, 0.15);
}

/* Tooltip */
.tooltip {
  position: fixed;
  background: linear-gradient(135deg, #333, #3a3a3a);
  padding: 10px;
  border-radius: 6px;
  font-size: 12px;
  pointer-events: none;
  z-index: 100;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  opacity: 0;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.2s ease;
  border: 1px solid var(--panel-border);
}

/* Overlay and Search Box */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.overlay.visible {
  opacity: 1;
}

.search-box {
  width: 400px;
  max-width: 90%;
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.search-box h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.search-box p.rate-limit-message {
  color: var(--node-bundler);
  font-size: 14px;
  margin: 0;
  display: none;
}

.search-box form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.search-box input {
  padding: 12px;
  font-size: 16px;
  border: 2px solid #555;
  border-radius: 8px;
  background: #333;
  color: var(--text);
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.search-box input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(255, 235, 59, 0.5);
  outline: none;
}

.search-box .button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.search-box button {
  flex: 1;
  padding: 12px;
  font-size: 16px;
}

/* Beta Notice Overlay */
.beta-notice-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1500;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.beta-notice-overlay.visible {
  opacity: 1;
}

.beta-notice {
  width: 400px;
  max-width: 90%;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.beta-notice h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.beta-notice p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
}

.beta-notice a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.beta-notice a:hover {
  color: var(--link-highlight);
}

.beta-notice button {
  padding: 12px;
  font-size: 16px;
  width: 120px;
}

/* What is Clustora Overlay */
.what-is-clustora-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 1500;
  display: none;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.what-is-clustora-overlay.visible {
  opacity: 1;
}

.what-is-clustora {
  width: 400px;
  max-width: 90%;
  padding: 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.what-is-clustora h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-align: center;
}

.what-is-clustora p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
}

.what-is-clustora ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
  width: 100%;
}

.what-is-clustora li {
  margin: 8px 0;
  padding-left: 20px;
  position: relative;
}

.what-is-clustora li::before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 14px;
}

.what-is-clustora button {
  padding: 12px;
  font-size: 16px;
  width: 160px;
}

.what-is-clustora-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
  font-size: 14px;
}

.what-is-clustora-link:hover {
  color: var(--link-highlight);
}

.search-box .what-is-clustora-link {
  margin-top: 15px;
  font-size: 14px;
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

/* Loading Spinners */
.search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
  margin: 10px 0;
}

.search-loading:not(.hidden) {
  opacity: 1;
}

.search-loading .spinner {
  border: 3px solid #555;
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  animation: spin 1s linear infinite;
  margin-bottom: 8px;
}

.loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  z-index: 1001;
}

.loading.hidden {
  display: none;
}

.spinner {
  border: 4px solid #555;
  border-top: 4px solid var(--primary-color);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

#refresh-loading,
#export-loading,
#filter-loading {
  position: fixed;
  top: 50%;
  left: calc((100% - 350px) / 2);
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
  border-radius: 10px;
}

#refresh-loading-text,
#export-loading-text,
#filter-loading-text {
  margin-top: 10px;
  text-align: center;
}

/* Error Modal */
.error-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.error-modal.visible {
  opacity: 1;
}

.error-modal-content {
  max-width: 400px;
  width: 90%;
  padding: 20px;
  text-align: center;
}

/* Token Metrics */
.token-metrics details {
  margin: 10px 0;
  font-size: 14px;
}

.token-metrics summary {
  cursor: pointer;
  font-weight: 600;
  padding: 8px;
  background: #2a2a2a;
  border-radius: 4px;
}

.token-metrics details[open] summary {
  background: #3a3a3a;
}

.token-metrics ul {
  list-style: none;
  padding: 10px;
  margin: 0;
  background: #1e1e1e;
  border: 1px solid #444;
  border-radius: 4px;
}

.token-metrics li {
  margin: 5px 0;
}

.gini-green {
  color: green;
}

.gini-orange {
  color: orange;
}

.gini-red {
  color: red;
}

/* Info Tooltip */
.info-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #666;
  color: var(--text);
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  cursor: help;
  margin-left: 5px;
  position: relative;
}

.info-tooltip {
  visibility: hidden;
  width: 220px;
  background: #333;
  color: var(--text);
  text-align: left;
  border-radius: 4px;
  padding: 10px;
  position: absolute;
  z-index: 1000;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  line-height: 1.4;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.info-icon:hover .info-tooltip {
  visibility: visible;
}

/* Token Symbol */
.token-symbol {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 0 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Search Message */
.search-message {
  margin: 5px 0 10px;
  font-size: 14px;
  color: var(--node-bundler);
  text-align: center;
}

/* Copy Button and Tooltip */
.copy-btn {
  margin: 0 auto 12px;
  width: 100%;
  max-width: 310px;
  text-align: center;
  font-size: 14px;
}

.copy-tooltip {
  background: linear-gradient(135deg, #333, #3a3a3a);
  color: var(--text);
  border: 1px solid var(--panel-border);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  position: absolute;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 768px) {
  .sidebar {
    width: 100%;
    height: 30vh;
    position: fixed;
    bottom: 0;
    top: auto;
    border-left: none;
    border-top: 1px solid #444;
    border-radius: 0;
    z-index: 999;
  }

  svg {
    width: 100%;
    height: 70vh;
  }

  .map-key {
    bottom: 35vh;
    left: 10px;
  }

  .slideshow-container.map-promo {
    bottom: 40vh;
    left: 10px;
    width: 225px;
    max-width: 225px;
    height: 100px;
    z-index: 11;
  }

  .controls-panel {
    bottom: 35vh;
    left: 10px;
    transform: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .action-buttons-panel {
    left: auto;
    right: 10px;
    bottom: 35vh;
  }

  .social-text-button-panel {
    left: auto;
    right: 65px;
    bottom: 35vh;
  }

  .copy-btn {
    max-width: calc(100% - 40px);
  }

  .account-details {
    top: 10px;
    right: 10px;
    width: clamp(200px, 80vw, 300px);
  }

  .slideshow-container {
    width: 100%;
    max-width: 360px;
    height: 50px;
  }

  .search-box .slide {
    font-size: 13px;
  }

  .beta-notice,
  .what-is-clustora {
    width: 350px;
    max-width: 90%;
  }
}

@media (max-width: 480px) {
  .search-box {
    padding: 20px;
  }

  .search-box h2 {
    font-size: 20px;
  }

  .search-box input,
  .search-box button {
    padding: 10px;
    font-size: 14px;
  }

  .slideshow-container {
    width: 100%;
    max-width: 360px;
    height: 40px;
  }

  .slideshow-container.map-promo {
    width: 150px;
    max-width: 150px;
    height: 80px;
    z-index: 11;
  }

  .search-box .slide {
    font-size: 12px;
  }

  .account-details {
    width: clamp(180px, 90vw, 280px);
    padding: 15px;
  }

  .account-details h3 {
    font-size: 16px;
  }

  .beta-notice,
  .what-is-clustora {
    width: 300px;
    max-width: 90%;
  }

  .beta-notice h2,
  .what-is-clustora h2 {
    font-size: 20px;
  }

  .beta-notice p,
  .what-is-clustora p {
    font-size: 13px;
  }

  .beta-notice button,
  .what-is-clustora button {
    width: 100px;
    font-size: 14px;
  }

  .copy-btn {
    max-width: calc(100% - 40px);
  }

  .social-text-button-panel {
    left: auto;
    right: 60px;
    bottom: 35vh;
  }

  .what-is-clustora-link {
    font-size: 13px;
  }
}
