/* Cytophenix build mar051715502024 */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

.content-wrapper {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.panel {
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 20px;
}

#upload-panel {
    margin-top: 20px;
}

#batch-history-panel {
    height: 75vh; /* Adjust as per requirement */
    overflow-y: auto;
}

h2, h3, h4 {
    color: #333;
}

input[type="file"], textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50; /* Green */
    color: white;
    padding: 14px 20px;
    margin: 10px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #45a049;
}

#console {
    background-color: #eaeaea;
    border: 1px solid #ddd;
    padding: 10px;
    height: 150px; /* Adjust as per requirement */
    overflow-y: auto;
    white-space: pre-wrap; /* Ensures text wraps */
}

table {
    width: 100%;
    border-collapse: collapse;
}

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

th {
    background-color: #f2f2f2;
}

.popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  background: #f1f1f1;
  padding: 20px;
  border: 1px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.popup input {
  display: block;
  margin-bottom: 10px;
}

.popup button {
  display: block;
  margin-top: 10px;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-top: 80px; /* Adjust this value to add more margin */
}

.logo {
  width: 400px; /* Adjust this value to change the size of the logo */
  height: auto;
}

.user-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}

.user-icon img, .user-icon span {
  display: block; /* Make both the image and span block elements */
  margin-left: auto;
  margin-right: auto;
  text-align: center; /* Center-align the text within the span */
}

.user-icon img {
  width: 30px;
  height: 30px;
}

.user-icon span {
  font-size: 0.9em; /* Adjust the font size as needed */
  /* The line-height is removed since the span will be block level and centered using margins */
}

.user-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.user-menu a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: center; /* Center the text inside the links */
}

#customModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
    z-index: 2; /* Sit on top */
    padding-top: 100px; /* Location of the box */
}

/* Modal Content */
#modalContent {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* The Yes/No Buttons */
.modal-button {
    margin: 10px;
    padding: 10px;
}

/* Style the progress bar */
#progressBar {
    width: 100%; /* Make it the same width as its container */
    height: 20px; /* Set a fixed height */
    background-color: #ddd; /* Light grey background */
    border-radius: 5px; /* Rounded corners */
    overflow: hidden; /* Ensure the inner bar stays within the border radius */
}

/* Style the progress bar's value (the filled portion) */
#progressBar::-webkit-progress-bar {
    background-color: #ddd; /* Light grey background */
    border-radius: 5px; /* Rounded corners */
}

#progressBar::-webkit-progress-value {
    background-color: #4CAF50; /* Green, to match the button color */
    border-radius: 5px 0 0 5px; /* Rounded corners on the left side */
}

#progressBar::-moz-progress-bar {
    background-color: #4CAF50; /* Green, to match the button color */
    border-radius: 5px; /* Rounded corners */
}
button:disabled {
    background-color: #cccccc; /* Light grey background to indicate disabled state */
    color: #666666; /* Darker grey text color for better contrast */
    cursor: not-allowed; /* Change cursor to indicate the button is not clickable */
    border: 1px solid #999999; /* Optional: style the border to match the disabled theme */
}
