.submit-section {
  max-width: 700px;
  margin: 0 auto;
  background-color: #222;
  color: #fff;
}


.submission-container {
  display: grid;
  grid-template-columns: 1fr 1fr; /* Creates two equal columns */
  gap: 20px; /* Adds spacing between grid items */
  margin: 0 auto;
  width: 100%; /* Ensures the container scales to the full width */
  max-width: 1200px; /* Optional: set a maximum width for larger screens */
}

/* Sidebar Styling */
.submit-examples {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #222;
  height: 100%;
}

.btn-secondary {
    padding: 10px;
    background-color: #555;
    border: none;
    font-size: 600;
    color: #fff;
    cursor: pointer;
    border-radius: 0px;
  }


  /* Content Section */
  .content {
    padding: 30px;
    overflow-y: auto;
  }

  .submit-container {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Creates two equal columns */
    gap: 20px; /* Adds spacing between grid items */
    margin: 0 auto;
    width: 100%; /* Ensures the container scales to the full width */
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 500;
  }
  
  .modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    text-align: left;
    min-width: 400px;
    
  }
  
  .modal input {
    margin: 10px 0;
    padding: 10px;
    width: 80%;
  }

  /* Form container */
.mb-3 {
  margin-bottom: 1rem;
}

/* Labels */
.form-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Inputs */
.form-control {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Input focus */
.form-control:focus {
  color: #212529;
  background-color: #fff;
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Small helper text */
.form-text {
  margin-top: 0.25rem;
  font-size: 0.875em;
  color: #6c757d;
}


/* Styled Select */
.form-select {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-width='.6' d='M2 0L0 2h4zm0 5L0 3h4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 8px 10px;
  border: 1px solid #ced4da;
  border-radius: 0.375rem;
  appearance: none;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Focus State */
.form-select:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.controls {
  justify-content: center;
  margin: 10px 0;
  padding: 10px 0px;
  background-color: rgb(33, 33, 33);
}

.color-palette {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  justify-content: center;
  margin-top: 0px;
  flex-wrap: wrap; 
  gap: 5px;
}

.color-button {
  margin: 0 5px;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  aspect-ratio: 1;
  width: 15px;
  height: 15px;
  padding: 0px;
}

.color-button.active {
  border: 2px solid white;
}