
button {
  padding: 10px 15px;
  background-color: #007bff;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

th, td {
  padding: 10px;
  border: 1px solid #f2f2f2;
}

th {
  background-color: #f2f2f2;
  text-align: left;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #f2f2f2;
}


/* Style the activity table */
#activityTable {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

#activityTable th, #activityTable td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

/* Set the width for the "activity" column */
#activityTable th:first-child, #activityTable td:first-child {
  width: 40%;
}

/* Set the width for the "Day" columns */
#activityTable th:nth-child(n+2), #activityTable td:nth-child(n+2) {
  width: 40px; /* You can adjust the width as needed */
}

#activityTable input[type="text"] {
  width: 100%;
}

#activityTable button {
  padding: 5px 10px;
  cursor: pointer;
}

/* Add CSS for horizontal scrolling */
#taskTableWrapper {
  overflow-x: auto;
}

/* Translate Section Styles */
.translate-section {
  padding: 20px;
}

/* Translate button styling (input button) */
#section-5 select,
#section-5 textarea {
  width: 100%;
  font-size: 16px;
  padding: 10px 15px;
  background-color: #ffffff;
  color: black;
  border: 4px double #22A699;
  border-radius: 4px;
  margin: 10px 0; /* Add margin to create space between elements */
}

#section-5 .container {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: stretch; /* s the elements */
  gap: 10px;
}

#section-5 .option-container {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  align-items: stretch;
  gap: 10px; /* Adjust the gap between buttons as needed */
}

#section-5 .button-container {
  display: flex;
  gap: 10px; /* Adjust the gap between buttons as needed */
}

/* Adjusted responsive styles */
@media (max-width: 600px) {
  #section-5 .container {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  #section-5 select,
  #section-5 textarea {
    width: 80%; /* Full width on smaller screens */
  }

  #section-5 .button-container {
    flex-direction: column; /* Stack buttons vertically on smaller screens */
  }
}

/* Dictionary Section Styles */
.dictionary-section {
  padding: 20px;
}

.input-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.input-container input {
  flex: 1;
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.button-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.dict-button {
  background-color: #22A699;
  color: white;
  border: none;
  padding: 10px 15px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dict-button:nth-child(2) {
  background-color: #28B5A0;
}

.dict-button:nth-child(3) {
  background-color: #33C3AB;
}

.dict-button:nth-child(4) {
  background-color: #3AA6B9;
}

.dict-button:hover {
  background-color: #1e8e6a;
}

#output-container {
  max-height: 600px; /* Adjust this value as needed */
  overflow-y: auto;
  margin-top: 20px;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 4px;
  width: 80%
}

#output-container div {
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .input-container, .button-container {
    flex-direction: column;
    width: 80%;
    align-items: stretch;
  }

  .dict-button {
    width: 100%;
  }

  #output-container {
    max-height: auto;
  }
}
