/* Include the Roboto font */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

/* Reset some default styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Apply the Roboto font to all text */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  font-size: 16px;
  background: #f4f4f4;
  color: #333;
}

/* Header styles */
.header {
  text-align: center;
  color: #333;
  white-space: nowrap;
}

.hcontent {
  background: #fafafa;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 98%;
  margin-top: 0px;
}

/* Logo styles */
.header-logo {
  max-height: 30px;
  /* Adjust as necessary for your design */
  width: auto;
  /* Ensures the width is auto-scaled with the height */
  display: inline-block;
  vertical-align: middle;
  /* Aligns the logo vertically with the text */
  /* margin-right: 10px; Adds some space between the logo and the title */
}

/* Title styles */
.header h1 {
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  /* Removes default margin from h1 for better control */
}

/* Wrapper styles */
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Content styles */
.content {
  background: #fafafa;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  /* Increased from 600px to 800px */
  width: 98%;
  /* Adjusted to take more width on larger screens */
  margin-top: 10px;
  /* Space between header and content */
}

/* Content styles for paragraph */
.content p {
  margin-bottom: 10px;
  /* Increase the bottom margin of the paragraph */
}

/* Form styles */
.login-form {
  display: flex;
  flex-direction: column;
}

.busy-glyph {
  position: fixed;
  /* Changed to fixed to cover the whole viewport */
  /* top: 0;
  left: 0; */
  width: 100vw;
  /* Cover the full viewport width */
  height: 100vh;
  /* Cover the full viewport height */
  background-color: rgba(211, 211, 211, 0.5);
  /* Light gray background with transparency */
  z-index: 1000;
  /* High z-index to stay on top */
  display: flex;
  /* To center the SVG within the overlay */
  justify-content: center;
  /* Center horizontally */
  align-items: center;
  /* Center vertically */
}

.input-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  /* Add some space between the input group and the checkbox */
}

.login-form input[type="email"] {
  flex-grow: 1;
  margin-right: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.login-form button {
  padding: 10px 20px;
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.emsg {
  color: red;
}

/* Checkbox container styles */
.checkbox-container {
  display: flex;
  align-items: center;
}

.checkbox-container input[type="checkbox"] {
  margin-right: 10px;
}

.checkbox-container label {
  display: block;
  font-size: 0.8em;
}

/* Responsive design */
@media (max-width: 768px) {
  .login-form {
    flex-wrap: nowrap;
  }
}

/* API section styles */
.api-section {
  background: #f9f9f9;
  border-radius: 5px;
  padding: 20px;
  margin-top: 40px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.api-section h3 {
  margin-bottom: 20px;
}

.endpoint {
  padding: 10px 0;
  border-bottom: 1px solid #eaeaea;
}

.endpoint:last-child {
  border-bottom: none;
}

.api-endpoint-url {
  font-weight: bold;
  color: #0056b3;
}

.description {
  font-style: italic;
  color: #666;
}

/* Footer styles */
.footer {
  text-align: center;
  padding: 10px;
  background: #fff;
  /* White background */
  color: #bbb;
  /* Faded text color */
  font-size: 0.8em;
  margin-top: 20px;
  border-top: 1px solid #eaeaea;
  /* Light border at the top */
}

.dn {
  display: none;
}

.error-input {
  border: 1px solid red;
  box-shadow: 0 0 5px red;
}

/* Admin Table styles */
.adm-table {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-bottom: 20px;
  /* Space before the paragraph */
}

.adm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f9f9f9;
  /* Light background for each row */
  border-bottom: 1px solid #eaeaea;
  /* Separator for rows */
  padding: 10px;
}

.adm-cell,
.adm-cell-content,
.button-cell {
  padding: 5px;
  flex: 1; /* Adjust this for different column widths */
}

.button-cell {
  flex: 0 0 auto; /* Do not grow, do not shrink, auto basis */
  width: 20px; /* Adjust as needed */
}

/* Style for the copy button */
.copy-btn {
  cursor: pointer;
  background-color: transparent;
  /* width: 20px; 
  height: 20px;
  vertical-align: middle;*/
  border: none;
  outline: none;
  margin-left: 0px; 
}

/* Admin Cell Content styles */
.adm-cell-content {
  overflow: hidden;
  /* Prevent overflow */
  white-space: nowrap;
  /* Prevent text from wrapping to the next line */
  text-overflow: ellipsis;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .adm-cell-content {
    text-align: left;
    padding-top: 0;
  }
}