/* Container styling */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Headings */
.container h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.container h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

/* Form styling */
.container form {
  margin-top: 1rem;
  text-align: left;
}

.container label {
  display: block;
  margin: 0.5rem 0 0.2rem;
}

.container input[type="email"],
.container input[type="password"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  box-sizing: border-box;
}

.container button[type="submit"] {
  width: 100%;
  padding: 0.6rem;
  background-color: #007bff;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.container button[type="submit"]:hover {
  background-color: #0056b3;
}

/* Pricing Plans */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.plan {
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  background-color: #f9f9f9;
  transition: transform 0.2s ease-in-out;
}

.plan:hover {
  transform: scale(1.05);
}

.plan h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.plan p {
  margin: 0.3rem 0;
  font-size: 0.95rem;
}

/* Scrollable wrapper for mobile */
.pricing-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
}

/* Table formatting */
.pricing-table {
    min-width: 750px; /* ensures scroll triggers on smaller screens */
    border-collapse: collapse;
    width: 100%;
}

.pricing-table th,
.pricing-table td {
    border: 1px solid #f0f0f0;
    padding: 12px 10px;
    text-align: center;
    vertical-align: middle;
}

.pricing-table tbody td:first-child {
    text-align: left;
    font-weight: 500;
    background-color: #fafafa;
}

.pricing-table th {
    background-color: #f9f9f9;
}

.pricing-table th a {
    text-decoration: none;
    color: #007bff;
    display: block;
}

.pricing-table .highlight {
    font-weight: bold;
    color: #ffffff;
    background-color: #28a745;
    padding: 8px;
    border-radius: 5px;
}

/* Optional: add swipe hint for mobile users */
.pricing-table-wrapper::after {
    content: '← Swipe →';
    display: block;
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}
