/* Responsive design for mobile devices */
body {
  margin: 0;
  padding: 0;
  font-family: "JetBrains Mono", "Courier New", monospace;
  font-size: 16px;
  background-color: #0f111a;
  color: #e8fef8;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px;
  }

  h1,
  h2,
  h3 {
    font-size: 1.25rem;
  }

  .banner-title,
  .vps-title,
  .vertical-title {
    writing-mode: horizontal-tb !important;
    font-size: 1.5rem;
    text-align: center;
    line-height: 2.2rem;
    margin: 1rem 0;
  }

  .banner {
    flex-direction: column;
    align-items: center;
  }

  .banner-stats,
  .banner-subinfo {
    text-align: center;
    font-size: 0.875rem;
  }

  .card-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
    width: 100%;
  }

  .vps-card {
    margin: 0 auto;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    box-shadow: 0 0 12px rgba(0, 255, 128, 0.1);
    width: 100%;
    max-width: 100%;
  }

  .card-status-tag {
    position: static;
    display: inline-block;
    margin: 0 auto 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 5px;
  }

  .vps-row {
    display: flex;
    justify-content: space-between;
    margin: 0.3rem 0;
    border-bottom: 1px dotted #333;
    padding-bottom: 0.2rem;
  }

  .vps-row span {
    font-size: 0.9rem;
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    font-size: 0.75rem;
    color: #888;
    flex-wrap: wrap;
  }

  .container {
    padding-left: 0;
    padding-right: 0;
  }

  form p {
    margin-bottom: 1rem;
  }

  input,
  select,
  button {
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
}
