/* general styling */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f4f6f8;
    color: #333;
    margin: 0;
    padding: 0;
  }

h1 {
    text-align: center;
    color: #333;
    font-size: 28px;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h2, h3 {
    text-align: center;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

h4 {
    text-align: center;
    color: #333;
    /*border-bottom: 2px solid #007bff;*/
    padding-bottom: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 10px;
}

h5 {
    font-size: 17px;
    text-align: center;
    color: #333;
    padding-bottom: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn {
    padding: 12px 25px;
    font-size: 18px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    margin: 10px;
    margin-top: 20px;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-container {
    text-align: center;
    margin-top: 30px;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    form {
        padding: 20px;
    }
    h1 {
        font-size: 24px;
    }
    h2 {
        font-size: 24px;
    }
    h3 {
        font-size: 20px;
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}

.section-divider {
    border: none;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
  }

/*form styling*/
form {
    max-width: 1000px;
    margin: 40px auto;
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

.form-group select, .form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

.form-group textarea {
    height: 120px;
    resize: none;
}

button[type="submit"] {
    width: 100%;
    padding: 12px 20px;
    font-size: 18px;
    color: #fff;
    background-color: #007eff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0056b3;
}


.form-group input[type="checkbox"] {
    display: inline-block;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
}

input::placeholder, textarea::placeholder {
    color: #aaa;
}

.required {
    color: red;
    }

/* toggle fields */
.collapsible-content {
    list-style: none;
    padding-left: 20px;
    margin-top: 0;
    margin-bottom: 20px;
}

.toggle-icon {
    font-size: 10px;
    margin-left: 5px;
}

/*question and answer*/
#userQuery {
    font-family: 'Arial', sans-serif; /* Change to desired font */
    font-size: 16px; /* Adjust font size */
    color: #333; /* Adjust text color */
    white-space: pre-wrap; /* Preserve line breaks but allow wrapping */
    line-height: 1.6;
}

/* LLM Response */
#liveResponse {
    font-family: 'Arial', sans-serif; /* Change to desired font */
    font-size: 16px;
    color: #444; /* Slightly different color for emphasis */
    line-height: 1.8;
    white-space: pre-wrap; /* Preserve line breaks */
}

/*papers display */
p, li {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.paper-info {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.paper-info strong {
    color: #333;
}

.abstract {
    background-color: #f1f1f1;
    padding: 20px;
    border-radius: 10px;
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    white-space: pre-line;
}

.btn-secondary {
    background-color: #28a745;
}

.btn-secondary:hover {
    background-color: #218838;
}

/* Banner look */
.logo-banner {
    background:#f8f9fa;
    border-top:1px solid #e5e5e5;
    padding:24px 0;
  }

  .logo-banner .container-fluid {
    padding-left: 4rem;   /* ⬅️ larger left gutter  (32 px) */
    padding-right: 4rem;  /* ➡️ larger right gutter (32 px) */
  }
  
  /* Make each logo *flexible* so the row stretches edge-to-edge */
  .partner-logo {
    flex: 1 0 140px;   /* basis =140 px, can grow, wraps as needed   */
    max-width: 180px;  /* prevents a single huge logo on wide screens */
    max-height: 60px;
    width: 100%;       /* let flexbox control width, preserve aspect  */
    object-fit: contain;
    margin-bottom: 24px;   /* vertical gap between rows when wrapping */
  }
  
  /* Slightly smaller on phones */
  @media (max-width: 576px) {
    .partner-logo {
      flex-basis: 100px;
      max-height: 48px;
      margin-bottom: 16px;
    }
  }