body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: #f7f7f7;
    color: #333;
}

h1 {
    color: #333;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 26px;
}

input, select {
    margin: 10px 0;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    color: #333;
    font-size: 16px;
}

button {
    margin: 20px 0;
    padding: 10px 20px;
    background-color: #ff9f43;
    color: #fff;
    border: none;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    border-radius: 5px;
    transition-duration: 0.3s;
}

button:hover {
    background-color: #ff7f50;
}

.container {
    max-width: 400px;
    width: 90%; /* Adjusted width for mobile devices */
    padding: 30px;
    background-color: #fff;
    margin: 10px;
    border-radius: 8px;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.1);
    height: auto; /* Updated height property for responsive display */
    overflow: auto; /* Added overflow property to enable scrolling within the container if needed */
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }

    h1 {
        font-size: 22px;
    }
}

/* Gold Price Table Styling */
.gold-price-table {
  background-color: #fff;
  color: #000;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 8px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.gold-price-table table {
  width: 100%;
  border-collapse: collapse;
}

.gold-price-table th {
  background-color: #f2f2f2;
  font-weight: bold;
  padding: 8px;
  font-size: 16px;
}

.gold-price-table td {
  padding: 6px;
  border-bottom: 1px solid #ddd;
  font-size: 15px;
}

#submissionSection { display: none; }

/* Collapsible unlock section (signup form) */
#signupSection {
  overflow: hidden;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

#signupSection.collapsed {
  max-height: 0 !important;
  opacity: 0;
  pointer-events: none;
}
