/* Style the tab */
.tab {
  overflow: hidden;
  border: 1px solid #ccc;
  background-color: #f1f1f1;
}

/* Style the buttons that are used to open the tab content */
.tab button {
  background-color: inherit;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  transition: 0.3s;
}

/* Change background color of buttons on hover */
.tab button:hover {
  background-color: #ddd;
}

/* Create an active/current tablink class */
.tab button.active {
  background-color: #ccc;
}

/* Style the tab content */
.tabcontent {
  display: none;
  padding: 6px 12px;
  border: 1px solid #ccc;
  border-top: none;
}

/* Styling for the tab container */
.tab-container {
  width: 100%;
  /* margin: 10px; */
  padding-top: 5px;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

/* Styling for the tab buttons */
.tab {
  display: flex;
  background-color: #f1f1f1;
}

.tab button {
  background-color: inherit;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 16px;
  font-size: 16px;
  position: relative;
  transition: background-color 0.3s ease;
  flex-grow: 1;
}

/* Styling for the active tab button */
.tab button.active {
  background-color: #ccc;
  font-weight: bold;
}

.tab button.active::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: #c8102e;
}

.tab button:hover {
  background-color: #ddd;
}

/* Styling for the tab content sections */
.tab-content {
  display: none;
  padding: 20px;
  border: 1px solid #ccc;
  min-height: 164px;
}

.tab-content.active {
  display: block;
}

/* Styling for the dropdown */
.dropdown {
  position: relative;
  display: inline-block;
  margin-right: 5px;
}

/* Styling for the dropdown container */
.dropdown-container {
  /* position: absolute; */
  /* top: 20px;
  right: 0; */
  min-width: 381px;

  .dropdown {
    display: flex;
    flex-direction: row;
    gap: 5px;
  }

}

/* Styling for the dropdown content */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  right: 0;
  margin-top: 40px;
}

/* Styling for dropdown links */
.dropdown-content a {
  color: black;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
  text-align: right;
}

/* Styling for dropdown options */
.dropdown-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

/* Show the dropdown content when active */
.dropdown.active .dropdown-content {
  display: block;
}

/* Styling for the tab content section */
.tab-content {
  position: relative;
}

/* Styling for the dropdown button */
.dropbtn {
  background-color: #c8102e;
  color: white;
  border: none;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 4px;
}

.dropbtn-import-from-last-year {
  background-color: #4CAF50;
}

/* Style for the disabled dropdown button */
.dropbtn:disabled {
  background-color: #a0a0a0; /* Grey background */
  color: #d3d3d3; /* Light grey text */
  cursor: not-allowed; /* Disabled cursor style */
  opacity: 0.7; /* Slight transparency */
}

.primarybtn{
  background-color: #c8102e;
  color: white;
  border: none;
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 4px;
}

.primarybtn:hover{
  /* Change the color on hover */
  background-color: #a80f2b;
}


/* Styling for the report item buttons */
.report-item-btn,
.college-dean-email-report-item-btn,
.college-mission-stmt-report-item-btn,
.college-strategic-objective-report-item-btn,
.college-url-report-item-btn,
.dept-awards-report-item-btn,
.dept-chair-email-report-item-btn,
.dept-mission-stmt-report-item-btn,
.dept-50in50-report-item-btn,
.dept-strategic-goals-report-item-btn,
.dept-success-story-report-item-btn,
.dept-url-report-item-btn,
.program-action-plan-report-item-btn,
.program-director-email-report-item-btn,
.program-mission-stmt-report-item-btn,
.program-outcome-report-item-btn,
.program-student-learning-outcome-report-item-btn,
.program-url-report-item-btn
{
  background-color: #f9f9f9;
  border: none;
  padding: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  width: 66%;
  text-align: left;
  position: relative;
  transition: background-color 0.3s ease;
}

.report-item-btn:hover,
.college-dean-email-report-item-btn:hover,
.college-mission-stmt-report-item-btn:hover,
.college-strategic-objective-report-item-btn:hover,
.college-url-report-item-btn:hover,
.dept-awards-report-item-btn:hover,
.dept-chair-email-report-item-btn:hover,
.dept-mission-stmt-report-item-btn:hover,
.dept-50in50-report-item-btn:hover,
.dept-strategic-goals-report-item-btn:hover,
.dept-success-story-report-item-btn:hover,
.dept-url-report-item-btn:hover,
.program-action-plan-report-item-btn:hover,
.program-director-email-report-item-btn:hover,
.program-mission-stmt-report-item-btn:hover,
.program-outcome-report-item-btn:hover,
.program-student-learning-outcome-report-item-btn:hover,
.program-url-report-item-btn:hover
{
  background-color: #ccc;
}

/* Styling for the remove button */
.remove-button {
  background-color: #c8102e;
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  position: absolute;
  top: 8px;
  right: 8px;
  transition: background-color 0.3s ease;
}

.remove-button:hover {
  background-color: darkred;
}

hr{
  color: lightgray;
}

.collegeLevel,
.departmentLevel,
.programLevel {
  display: none;
}

.history-item{
  background-color: #f9f9f9;
  border: none;
  padding: 10px;
  margin-bottom: 4px;
  cursor: pointer;
  text-align: left;
  position: relative;
  transition: background-color 0.3s ease;
}

.history-item:hover{
  background-color: #ccc;
}

.history-content{
  transition: opacity 0.2s ease;
}


/* Styling for the header with the button and arrow */
.history-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 12px 2px 4px;
  cursor: pointer;
  background-color: #fafafa;
}

/* Arrow styling */
.arrow {
  transition: transform 0.3s ease;
  transform: rotate(180deg);
}

/* Rotate the arrow when container is expanded */
.expanded .arrow {
  transform: rotate(0deg);
}

/* Content to be shown/hidden */
.history-content {
  opacity: 0;
  pointer-events: none;
}

/* Show content when container is expanded */
.expanded .history-content {
  opacity: 1;
  pointer-events: auto;  
}

