/* Container Styles */
.aig-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}
.aig-form-row {
  display: flex;
  gap: 15px;
  width: 100%;
  max-width: 600px;
}

.aig-form-row .aig-form-group {
  flex: 1;
}

.full-width {
  width: 100%;
}

.aig-input {
  width: 100%;
  box-sizing: border-box;
}

.aig-content {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.aig-heading {
  text-align: center;
  margin-top: 20px !important;
  margin-bottom: 30px;
  font-size: 36px;
  color: #eb9925 !important;
}

/* Form Styles */
#aig-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center; /* Center the form elements */
  max-width: 800px;
}

.aig-form-group {
  margin-bottom: 20px;
  width: 100%;
  /*     text-align: center; */
}

.aig-label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.aig-input {
  width: 100%;
  padding: 10px 15px;
  font-size: 1em;
  color: #96818d !important;
  border: 1px solid #db4242 !important;
  border-radius: 5px;
  text-align: left; /* Center the text inside the input */
  box-sizing: border-box;
  background: #fff !important;
}

.aig-input:focus {
  border-color: #db4242 !important;
  background: #fff !important;
  color: #111 !important;
  outline: none;
}

/* Button Styles */
#actionButtons {
  margin-top: 0px !important;
  width: 100%;
}
.aig-button-submit {
  width: 100%;
  max-width: 800px; /* aligns with input width */
}
.aig-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center the buttons */
  gap: 10px;
  margin-top: 10px;
}

.aig-button {
  padding: 12px 20px;
  font-size: 1em;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  width: 200px !important;
  margin-top: 10px;
}

.aig-button-download {
  background-color: #4f810c !important;
  color: #fff;
  border: none !important;
}

.aig-button-download:hover {
  background-color: #385b08 !important;
  color: #fff;
  border: none !important;
}

.aig-button-retake {
  background-color: #96818d !important;
  color: #dc3545 !important;
  color: #fff !important;
  border: none !important;
  border: 1px solid !important;
}

.aig-button-retake:hover {
  background-color: #fff !important;
  color: #96818d !important;
}

.aig-button:disabled {
  background-color: #ccc;
  cursor: not-allowed;
}

.aig-button-download,
.aig-button-retake,
.aig-button {
  flex: 1 1 calc(50% - 10px);
  max-width: 300px;
}

#loadingIndicator {
  text-align: center;
  font-size: 1.2em;
  color: #0073aa;
  margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .aig-form-row {
    flex-direction: column;
    margin-bottom: 15px;
  }
  .aig-content {
    padding: 20px;
  }

  .aig-heading {
    font-size: 1.5em;
  }

  .aig-input {
    font-size: 0.9em;
  }

  .aig-button {
    font-size: 0.9em;
  }

  .aig-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0px;
  }
  .aig-form-row {
    max-width: 600px;
  }
  #aig-form {
    max-width: 600px;
  }
  .aig-form-group {
    margin-bottom: 0px;
  }
}
