

.web-sheet {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: rgb(115, 115, 115);
  width: 100%;
  padding: 1rem;
}

web-knot {
  color: black;
  transition: 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

web-knot[type="web_button"]{
  box-sizing: border-box;
}

web-button{
  height: 100%;
  width: 100%;
}

feedback-box {
  display: flex;
  position: absolute;
  z-index: 13;
  width: 100%;
}

bio-digital {
  width: 100%;
  height: 100%;
  border: none;
}

.web_button {
  background-color: var(--secondary) !important;
  color: white;
  padding: .5rem;
  border-radius: 1rem;
  transition: 0.3s ease;
  scale: 1;
  border-radius: .5rem;
  border: none;
}

.web_button.gold {
  background-color: var(--gold) !important;
  color: black;
}

.web_button.gold:hover {
  background-color: var(--dark-gold) !important;
  color: white;
}

.web_button.green {
  background-color: var(--green) !important;
}

.web_button.green:hover {
  background-color: var(--dark-green) !important;
}

.web_button:hover {
  background-color: var(--primary) !important;
  cursor: pointer;
  scale: 1.25;
}



twisty-tip {
  display: inline-flex;
  position: relative;
  padding: 0rem;
  margin: 0rem;
  font-weight: 400 !important;
  z-index: 12;
  width: 2.5rem;
}

/* Sunset, this is only needed for old assignments */
.web-sheet-table {
  border-collapse: collapse;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-image-slice: 100%;
  border-image-source: none;
  border-image-width: 1;
  border-left-color: 0px solid rgb(229, 231, 235);
  border-right-color: 0px solid rgb(229, 231, 235);
  border-top-color: 0px solid rgb(229, 231, 235);
  border-bottom-color: 0px solid rgb(229, 231, 235);
  display: table;
  font-family: "Calibri", sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1rem;
  position: relative;
  tab-size: 4;
  text-align: left;
  text-indent: 0px;
  margin-right: auto;
  width: auto;
}
/* Sunset, this is only needed for old assignments */
.web-sheet-table th {
  background-color: var(--primary);
  color: white;
  text-transform: none;
  text-align: center;
  vertical-align: middle !important;
}
/* Sunset, this is only needed for old assignments */
.web-sheet-table td {
  background-color: white;
  color: rgb(115, 115, 115);
  text-align: center;
  vertical-align: middle !important;
}
/* Sunset, this is only needed for old assignments */
.web-sheet-table th, td {
  padding: 1rem .5rem 1rem .5rem;
}
/* Sunset, this is only needed for old assignments */
:where(.web-sheet-table :first-child) :where(:first-child) :where(th, td):first-child {
  border-top-left-radius: 0.5rem;
}
/* Sunset, this is only needed for old assignments */
:where(.web-sheet-table :first-child) :where(:first-child) :where(th, td):last-child {
  border-top-right-radius: 0.5rem;
}
/* Sunset, this is only needed for old assignments */
.web-sheet-table>tbody>tr:not(:last-child) {
  border-bottom: 1px solid var(--light-grey);
}
/* Sunset, this is only needed for old assignments */
.web-sheet-table>tbody>tr>td:not(:first-child) {
  border-left: 1px solid var(--light-grey);
}

.web-sheet table {
  border-collapse: collapse;
  border-image-outset: 0;
  border-image-repeat: stretch;
  border-image-slice: 100%;
  border-image-source: none;
  border-image-width: 1;
  border-left-color: 0px solid rgb(229, 231, 235);
  border-right-color: 0px solid rgb(229, 231, 235);
  border-top-color: 0px solid rgb(229, 231, 235);
  border-bottom-color: 0px solid rgb(229, 231, 235);
  display: table;
  font-family: "Calibri", sans-serif;
  font-feature-settings: normal;
  font-variation-settings: normal;
  position: relative;
  tab-size: 4;
  text-align: left;
  text-indent: 0px;
  margin-right: auto;
  width: auto;
}
.web-sheet table th {
  background-color: var(--primary);
  color: white;
  text-transform: none;
  text-align: center;
  vertical-align: middle !important;
}
.web-sheet table th sub{
  color: white;
}
.web-sheet table th sup{
  color: white;
}
.web-sheet table td {
  background-color: white;
  color: rgb(115, 115, 115);
  text-align: center;
  vertical-align: middle !important;
}
.web-sheet table th, td {
  padding: 1rem .5rem 1rem .5rem;
}
:where(.web-sheet table :first-child) :where(:first-child) :where(th, td):first-child {
  border-top-left-radius: 0.5rem;
}
:where(.web-sheet table :first-child) :where(:first-child) :where(th, td):last-child {
  border-top-right-radius: 0.5rem;
}
.web-sheet table>tbody>tr:not(:last-child) {
  border-bottom: 1px solid var(--light-grey);
}
.web-sheet table>tbody>tr>td:not(:first-child) {
  border-left: 1px solid var(--light-grey);
}
.web-sheet h1 {
  font-weight: 700;
  line-height: 3rem;
  height: 3rem;
}
.web-sheet h2 {
  font-weight: 500;
  line-height: 2rem;
  height: 2rem;
}
.web-sheet p {
  line-height: 4rem;
  color: var(--dark-grey);
}
.web-sheet i {
  line-height: 4rem;
  color: var(--dark-grey);
}
.web-sheet .header, 
.web-sheet .footer, 
.web-sheet .footer p{
  color: var(--dark-grey);
  background-color: white;
}

.question-list {
  margin-right: auto;
}
.question-list li {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 0.1rem solid var(--light-grey);
  gap: 1rem;
}
.question-list li span {
  line-height: 4rem;
  color: var(--dark-grey);
}
.question-list li div {
  display: flex;
  align-items: end;
}
.question-list li:last-child {
  border-bottom: none;
}
.question-list p {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  line-height: 4rem;
}

.vertical-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: end;
}

.display-none {
  display: none !important;
}

.progress-bar {
  width: 50%;
  background-color: #ddd;
  border-radius: 15px;
  margin-top: 3.5rem;
}

.progress {
  height: 35px !important;
  background-color: var(--primary);
  text-align: center;
  line-height: 32px;
  color: black;
}

.progress-width {
  width: 0% !important;
}

#backdrop {
  display: flex;
  position: absolute;
  justify-content: center;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff62;
  margin: none;
  padding: none;
  z-index: 20;
}

#alert-box {
  display: inline-flex;
  position: absolute;
  justify-content: center;
  margin-top: 5em;
  padding: 2em;
  background-color: white;
  border: 0.2em solid var(--primary);
  border-radius: 0.2em;
  user-select: none;
  text-align: center;
  color: black;
}

/* Loading circle of death */
#loader {
  position: absolute;
  top: 1em;
  right: 1em;
  border: 0.2em solid var(--third);
  border-top: 4px solid var(--secondary);
  border-radius: 50%;
  width: 2em;
  height: 2em;
  animation: spin 2s linear infinite;
  z-index: 21;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

mi {
  padding: 1rem;
}

mo {
  padding: 1rem;
}

.grey-cell {
  background-color: #D0D0D0 !important;
  height: 3rem;
  padding: 3rem;
}

.grey-cell-medium {
  background-color: #D0D0D0 !important;
  height: 10rem;
  width: auto;
}

hr {
  border-bottom: 1px solid var(--third);
  background-color: var(--third);
}

.web_sheet h1 {
  font-size: 2.5rem;
}

.web_sheet h2 {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.75rem;
}

/* Testing a collapsible div */
.collapsible {
  background-color: var(--light-grey) !important;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
}

.active,
.collapsible:hover {
  background-color: #ccc;
}

.collapsible-content {
  padding: 0 0 18px 18px;
  background-color: white;
  border-left: 3px solid var(--light-grey);
  border-right: 3px solid var(--light-grey);
  border-bottom: 3px solid var(--light-grey);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.collapsible:after {
  content: "\2796";
  /* Unicode character for "plus" sign (+) */
  color: white;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: '\02795';
  /* Unicode character for "minus" sign (-) */
}

progress-bar {
  width: 100%;
}

web-knot[type="progress_bar"],
web-knot[type="ketcher_tool"] {
  width: 100%;
}

dash-board {
  width: 100%;
}

ketcher-tool {
  width: 100%;
  height: 600px;
}

/* -------- end of test code ---------- */

#right_pane {
  display: flex;
  flex-direction: column;
  gap: 1em;
  border-left: 3px solid #0798be;
  padding: 1em;
  position: sticky;
  top: 0;
  height: 100vh;
  padding-left: 2rem;
}

.btn {
  border: 1px solid black !important;
}

.li-padding > li {
  display: block;
  padding: .5rem;
}

input.web_button{
  height: 3rem;
  line-height: 2rem;
  margin-bottom: .5rem;
}

.inspector_only{
  display: none;
}

.gradebook_only{
  display: none;
}

.flex{
  display: flex;
}

.group{
  display: inline-flex; 
  align-items: center; 
  gap: .5rem;  
  padding: 1rem;
  border-radius: 1rem;
  background-color: var(--third);
  margin-left: 4rem;
  font-size: 1.5rem;
}

.orange, .orange sup, .orange sub{
  color: var(--orange) !important;
}

summary{
  vertical-align: middle;
  border-radius: 2rem;
  padding: 1rem;
  background-color: var(--light-grey);
}

summary:hover{
  cursor: pointer;
}
.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 1rem;
}
.card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  text-align: center;
  transition: transform 0.2s;
}
.card:hover {
  transform: scale(1.05);
}
.card button {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  background-color: #007acc;
  color: white;
  border-radius: 4px;
  cursor: pointer;
}
.card button:hover {
  background-color: #005f99;
}
.email-console {
  display: block;
  position: relative;
  border: 3px solid #007acc;
  color: black;
  padding: 2rem;
  text-align: center;
  border-radius: 8px;
  margin: 1rem;
}
.file-list {
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}
.file-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.file-list-item button {
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
}
.file-list-item button:hover {
  background-color: #005f99;
}
.file-input {
  display: none;
}
.upload-label {
  background-color: #007acc;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.2s;
  border: none;
}
.upload-label:hover {
  background-color: #005f99;
}
.upload-failed {
  color: red;
  font-weight: bold;
}
.file-query-item {
  margin: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.delete-button {
  margin-left: 10px;
  background-color: red;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}
.delete-button:hover {
  background-color: darkred;
}
.copy-link-button:hover {
  background-color: #0056b3;
}
.button_row{
  display:flex; 
  gap: 1rem; 
  justify-content: center;
  padding: 1rem;
}
.show_password_container{
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  white-space: nowrap;
  vertical-align: middle;
}
.reveal{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

/* Launch date styling */
.launch-date-item {
  display: inline-block;
  padding: .75rem 1rem;
  margin: .25rem;
  border-radius: .5rem;
  background-color: var(--light-grey);
}
.launch-date-today {
  background-color: var(--green);
  color: white;
}
.launch-date-future {
  background-color: var(--third);
  color: black;
}
.launch-date-past {
  background-color: #e5e7eb; /* light gray */
  color: #374151;
}
.launch-date-next-week {
  background-color: #fde68a !important; /* yellow-ish */
  color: #7c2d12;
  box-shadow: 0 0 0 2px #f59e0b inset;
}

/* Responsive layout for dashboard sections */
@media (max-width: 90rem) {
  .dashboard-sections {
    flex-direction: column !important;
  }
}

.quick-links-bar{
  display: flex;
  gap: 3rem;
  font-size: 2rem;
  flex-wrap: wrap;
  align-items: center;
}

.quick-links-bar a{
  text-wrap: nowrap;
}

.quick-navigation-bar{
  display: flex; 
  gap: 3rem;
  font-size: 2rem; 
}

@media (max-width: 40rem) {
  .quick-navigation-bar{
    flex-direction: column !important;
  }
}

.settings-textarea{
  width: 40rem;
  height: fit-content;
  padding: 1rem;
}

.emulation-history {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 8px;
  overflow-x: auto;
  max-width: 80rem;
}

.emulation-history-item{
  display: inline-block;
  padding: .75rem 1rem;
  margin: .25rem;
  border-radius: .5rem;
  background-color: var(--third);
  color: black;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-size: 1.5rem;
}

.emulation-history-item:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  border-color: var(--primary);
}

.emulation-history-item strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.emulation-history-time {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  font-style: italic;
}

.emulation-history-item:hover .emulation-history-time {
  opacity: 0.9;
}