@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600&display=swap');

body {
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  font-weight: 400;
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  background-color: #ffffff; /* Set your preferred background color */
}

h1, h2, h3, h4, h5, h6, b, strong { font-weight: 500; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px;
}

h1 {
  color: #333;
  text-align: center;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  margin-left: auto;
  gap: 30px;
}

.button-container button {
  line-height: 12px;
  padding: 10px 10px;
  font-size: 40px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  width: 250px;
  height: 150px;
}

/* Simulation app buttons */
.button-00 {
  background-color: #85b7be;
  color: #fff;
}
.button-01 {
  background-color: #5d8085;
  color: #fff;
}
.button-02 {
  background-color: #c2dbdf;
  color: #000000;
}
.button-03 {
  background-color: #85bdbe;
  color: #fff;
}

/* QM app buttons */
.button-10 {
  background-color: #b0a9d2;
  color: #fff;
}
.button-11 {
  background-color: #d2a9c3;
  color: #fff;
}
.button-12 {
  background-color: #69657d;
  color: #fff;
}
.button-13 {
  background-color: #8d87a8;
  color: #fff;
}

/* AIDD app buttons */
.button-20 {
  background-color: #8fa4fa;
  color: #fff;
}
.button-21 {
  background-color: #5e6ca5;
  color: #fff;
}
.button-22 {
  background-color: #8faffa;
  color: #fff;
}
.button-23 {
  background-color: #7283c8;
  color: #fff;
}

/* Cheminfo app buttons */
.button-30 {
  background-color: #fcc479;
  color: #000000;
}
.button-31 {
  background-color: #fcb779;
  color: #000000;
}
.button-32 {
  background-color: #a78250;
  color: #fff;
}
.button-33 {
  background-color: #fddcaf;
  color: #000000;
}

.button-container button:hover {
  background-color: #5c6f7b;
  color: #fff;
}

.image-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.image-container img {
  background-color: #ffffff; /* Set the background color to white */
  width: 180px; /* Set the desired width */
  height: auto; /* Maintain aspect ratio */
}

/* Smaller heading message on the landing / register pages (the h1 that follows
   the logo). Scoped via the adjacent sibling so other pages are unaffected. */
.image-container + h1 {
  font-size: 1.4rem;
  margin-top: 12px;
}

#login-dialog {
    width: 320px;
    max-width: 90%;
    padding: 28px 26px;
    background-color: #ffffff;
    border: 1px solid #e6e8eb;
    border-radius: 12px;
    margin: 24px auto;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    display: none; /* Hide the login dialog initially */
}

#login-dialog h2 {
    text-align: center;
    margin: 0 0 18px;
    font-size: 1.3rem;
    font-weight: 500;
    color: #1f2937;
}

#login-dialog form {
    display: flex;
    flex-direction: column;
}

#login-dialog label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #6b7280;
    margin-bottom: 4px;
}

#login-dialog input[type="text"],
#login-dialog input[type="email"],
#login-dialog input[type="password"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-bottom: 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#login-dialog input[type="text"]:focus,
#login-dialog input[type="email"]:focus,
#login-dialog input[type="password"]:focus {
    outline: none;
    border-color: #003372;
    box-shadow: 0 0 0 3px rgba(0, 51, 114, 0.12);
}

#login-dialog input[type="submit"] {
    width: 100%;
    background-color: #003372;
    color: #fff;
    border: none;
    padding: 11px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 4px;
    transition: background-color 0.15s ease;
}

#login-dialog input[type="submit"]:hover {
    background-color: #0a4a9c;
}

#login-dialog .helptext {
    display: block;
    font-size: 0.72rem;
    color: #9ca3af;
}

#login-dialog .helptext ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

#login-dialog a {
    color: #003372;
    text-decoration: none;
}

#login-dialog a:hover {
    text-decoration: underline;
}

header {
  background-color: white;
  color: #333;
  height: 60px;
  display: flex;
  align-items: center;
  padding: 0px 20px;
}

.logo img {
  height: 40px;
  background-color: white;
}


/* Push the nav (Dashboard / Logout) to the top-right corner of the header. */
nav {
  margin-left: auto;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: #333;
  text-decoration: none;
}
/* Dropdowns — match the sleek style in app.css. */
select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 11px;
  border: 1px solid #d1d5db;
  padding: 10px 34px 10px 12px;
  font-size: 0.95rem;
  width: 100%;
  border-radius: 8px;
}

select:focus {
  outline: none;
  border-color: #003372;
  box-shadow: 0 0 0 3px rgba(0, 51, 114, 0.12);
}

/* Custom styles for the dropdown arrow */
#select::-ms-expand {
#  display: none;
#}

select::after {
  content: '\25BC';
  color: #666;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Custom styles for the dropdown options */
select option {
  background-color: #fff;
  color: #333;
}

/* Custom hover effect for the dropdown options */
select option:hover {
  background-color: #f2f2f2;
}

.section-content {
  display: none; /* Hide the section content by default */
}

.custom-hr {
    border: none;
    border-top: 3px solid #000; /* Change the color and thickness as desired */
    margin: 0;
    /* Additional styles for the horizontal line */
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 0px;
}

.btn-primary {
    background: #003372;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}
.btn-primary:hover {
  background-color: #0a4a9c;
  color: #fff;
}
.inline-image {
  display: inline-block;
  width: 50px; /* Adjust the width as needed */
  height: auto; /* Maintain aspect ratio */
  margin-right: 10px; /* Add spacing between the image and text */
  margin-left: 10px; /* Add spacing between the image and text */
  vertical-align: middle;
}
.banner-logo {
  display: flex;
  justify-content: center;
}

.banner-logo img {
  width: 100px;
  height: auto; /* Maintain aspect ratio */
}
