* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Times New Roman", Times, serif;
}
.logo img {
  max-width: 9%;
  /* background-color: white; */
}
body {
  background-color: #f8f9fa;
}
#calculus-hub {
  color: white; /* Makes text white */
  text-decoration: none; /* Removes underline */
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  color: white;
  border: 2px solid rgb(170, 168, 168);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
}

.title {
  font-size: 18px;
}

.buttons button {
  background-color: rgb(122, 169, 47);
  color: white;
  border: none;
  padding: 8px 12px;
  margin-left: 5px;
  cursor: pointer;
  margin-bottom: 5px;
  border-radius: 10px;
}

.container {
  display: flex;
  height: calc(100vh - 50px);
}

.left-panel {
  width: 30%;
  background: white;
  padding: 15px;
  border-right: 2px solid #ddd;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-bottom: 10px;
}

.toolbar button {
  border: 1px solid #ccc;
  background: white;
  padding: 5px 10px;
  cursor: pointer;
}

.input-section {
  border: 1px solid #ccc;
  padding: 10px;
  background: #f0f0f0;
  margin-top: 10px;
}

.tabs {
  display: flex;
  gap: 5px;
}

.tabs button {
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  background: #ddd;
}

.tabs .active {
  background-color: rgb(122, 169, 47);
  color: white;
}

input {
  width: calc(100% - 40px);
  padding: 5px;
  margin-top: 5px;
}

.check-btn {
  padding: 5px;
  background-color: rgb(122, 169, 47);
  color: white;
  border: none;
  cursor: pointer;
}

.go-btn {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: #ccc;
  border: none;
  cursor: pointer;
}

.right-panel {
  width: 70%;
  padding: 15px;
}

.top-controls {
  display: flex;
  gap: 5px;
}

.toolbox {
  display: flex;
  gap: 5px;
  margin-top: 10px;
}

.toolbox button {
  background: #e8e8e8;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.workspace {
  background: white;
  height: calc(100% - 50px);
  margin-top: 10px;
  border: 1px solid #ccc;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content1 {
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.modal-content1 h2,
p {
  color: black;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Modal Styling */

/* #examples-modal{
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(223, 140, 140, 0.5); 
    display: flex;
    align-items: center;
    justify-content: center;
} */

#examples-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: #fefefe;
  margin: 10% auto; /* Centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Adjust width as needed */
  max-width: 600px; /* Maximum width */
  position: relative;
}

.close-btn {
  position: absolute;
  right: 10px;
  top: 5px;
  cursor: pointer;
  font-size: 24px;
}

/* Adjust the list styling */
ul {
  list-style-type: none;
  padding-left: 10px;
  height: auto;
  max-height: 80vh; /* Limit height to 80% of the viewport */
  overflow-y: auto; /* Add scroll for overflowing content */
}
/* List Styling */

li {
  cursor: pointer;
  margin: 5px 0;
  color: #007bff;
}

li:hover {
  /* color: #007bff; */
  text-decoration: underline;
}

ul ul {
  margin-left: 20px;
  display: none;
}
