body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Roboto', sans-serif;
  background-image: url('../start.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.main-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.white-box {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  height: 90%; /* Increased height to cover more vertical space */
  width: 450px; /* Fixed width for a column-like appearance */
  display: flex;
  flex-direction: column; /* Arrange content vertically */
  justify-content: space-between; /* Distribute space between elements */
}

.logo-container {
  text-align: center;
  margin-bottom: 10px;
}

.logo-container img {
  width: 150px; /* Slightly smaller to fit in column */
  height: auto;
}

.sym-logo {
  text-align: center;
  margin: 5px 0;
}

.sym-logo img {
  max-width: 100px;
  height: auto;
}

.footer-image {
  margin-top: 20px;
  text-align: center;
}

.footer-image img {
  max-width: 250px;
  height: auto;
  margin: 0 auto;
}

h1 {
  color: var(--primary);
  font-weight: bold;
  text-align: center;
  margin: 10px 0;
}

h1 i {
  font-size: 0.7em;
  color: var(--primary);
  vertical-align: middle;
  margin: 0 2px;
}

/* Changed to vertical layout */
.button-container {
  display: flex;
  flex-direction: column; /* Vertical arrangement */
  gap: 15px;
  align-items: center;
  margin: 15px 0;
  flex-grow: 1; /* Allow buttons to take available space */
  overflow-y: auto; /* Add scrolling if too many buttons */
}

/* Remove the column structure since all buttons are in one column now */
.button-column {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  align-items: center;
}

.start-button {
  padding: 15px 20px;
  font-size: 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--white);
  background-color: var(--primary);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background 0.3s, filter 0.3s;
  width: 250px; /* Wider buttons for better visibility */
  height: 20px;
  justify-content: center;
}

.start-button:hover {
  background: var(--secondary-2);
  filter: brightness(1.2);
}

.start-button.outlined {
  background-color: var(--primary);
}

.start-button.outlined:hover {
  background: var(--secondary-2);
  filter: brightness(1.2);
}

.start-button i {
  font-size: 20px;
  color: var(--white);
  transition: color 0.3s;
}

.start-button:hover i {
  color: var(--primary-900);
}

.start-button.survey-button {
  background-color: var(--primary);
}

.start-button.survey-button:hover {
  background: var(--secondary-2);
  filter: brightness(1.2);
}

.start-button.link-button {
  background-color: var(--primary);
}

.start-button.link-button:hover {
  background: var(--secondary-2);
  filter: brightness(1.2);
}

.bottom-button-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 15px;
}

.start-button.agents-button {
  background-color: var(--primary);
  margin: 0 auto;
}

.start-button.agents-button:hover {
  background: var(--secondary-2);
  filter: brightness(1.2);
}

/* Popup styles */
.disclaimer-popup {
  max-width: 1000px;
  max-height: 80vh;
  overflow-y: auto;
}

.disclaimer-content {
  margin: 20px 0;
  text-align: justify;
}

.disclaimer-content h3 {
  color: var(--primary);
  margin: 15px 0 10px 0;
}

.disclaimer-content p {
  margin-bottom: 10px;
}

.disclaimer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.decline-button {
  background-color: var(--gray);  /* Using a primary shade for decline */
  color: var(--white);
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: filter 0.3s;
}

.decline-button:hover {
  filter: brightness(1.2);
}

.accept-button {
  background-color: var(--secondary-1);
  color: var(--primary);
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  transition: filter 0.3s;
}

.accept-button:hover {
  filter: brightness(1.2);
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 11, 50, 0.5); /* Using a dark color based on primary-900 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  margin: 20px;
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
  transition: color 0.3s;
}

.popup-close:hover {
  color: var(--secondary-2);
}

.popup h2 {
  color: var(--primary);
  margin-bottom: 20px;
  text-align: center;
}

.popup p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.button-description {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.button-description i {
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--secondary-2);
}

@media (max-width: 1200px) {
  .button-container {
      flex-direction: column;
  }
  
  .bottom-button-container {
      margin-top: 20px;
  }

  .footer-image {
      margin-top: 30px;
  }

  .white-box {
      width: 90%;
      height: auto;
      padding: 20px;
  }
  
  .button-column {
      width: 100%;
  }

  .popup {
    width: 90%;
    margin: 20px;
    padding: 20px;
}

}
