/* CSS styles for page */
body {
    font-family: Arial, sans-serif;
  }
  .container {
    padding-top: 50px;
    width: 80%;
    margin: 0 auto;
  }

  .w3-top {
    z-index: 99;
  }
  
  /* Styles for code editor box */
  #editor {
    position: relative;
    width: 100%;
    height: 400px;
    font-size: 16px;
    z-index: 1;
  }
  
  /* Styles for code buttons */
  #code-buttons {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0;
  }
  
  #code-buttons button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    background-color: #4CAF50;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-right: 20px;
  }
  
  #code-buttons button:hover {
    background-color: #3e8e41;
  }
  
  #code-buttons button:active {
    background-color: #1f4421;
  }
  
  #code-buttons div {
    font-size: 16px;
    margin-right: 0;
  }
  
  /* Styles for output box */
  #output {
    width: 100%;
    height: 200px;
    background-color: #fff;
    padding: 10px;
    overflow-y: scroll;
  }
  

  /* CSS styles for page */
body {
  background-color: #ffffff;
  font-family: Arial, sans-serif;
}

.container {
  width: 80%;
  margin: 0 auto;
}

.center-button { 
  display: flex; 
  justify-content: center; 
  align-items: center; 
  height: 50px; 
  width: 200px; 
  margin: 50px auto; 
  background-color: blue; 
  color: white; 
  border-radius: 25px; 
  text-align: center; 
  cursor: pointer; 
} 

/* Styles for code editor box */
#editor {
  margin-bottom: 20px;
  width: 100%;
  height: 400px;
  font-size: 16px;
}

/* Styles for code buttons */
#code-buttons {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 20px 0;
}

#code-buttons button {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background-color: #4CAF50;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-right: 20px;
}

#code-buttons button:hover {
  background-color: #3e8e41;
}

#code-buttons button:active {
  background-color: #1f4421;
}

#code-buttons div {
  font-size: 16px;
  margin-right: 0;
}

/* Styles for output box */
#output {
  width: 100%;
  height: 200px;
  background-color: #dddddd;
  padding: 10px;
  overflow-y: scroll;
  margin-bottom: 50px;
}

/* Styles for active tab */
.tab.active {
  background-color: #4CAF50;
  color: #fff;
}

/* Styles for tab content */
.tabcontent {
  display: none;
}

.tabcontent.active {
  display: block;
}

#example-selector {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  font-size: 16px;
  border: 2px solid #4CAF50;
  border-radius: 5px;
  background-color: white;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
}

#example-selector:hover {
  border-color: #45a049; /* Darker green on hover */
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

#example-selector:focus {
  outline: none;
  border-color: #45a049;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.7);
}

/* Style for dropdown options */
#example-selector option {
  padding: 10px;
  background-color: white;
  color: #333;
}

/* Custom arrow for the dropdown */
#example-selector {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%234CAF50' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px top 50%;
  padding-right: 30px;
}

/* Responsive adjustments */
@media screen and (max-width: 600px) {
  #example-selector {
      font-size: 14px;
      padding: 8px;
  }
}