/* Global styles */
body {
  color: #1B1B1B;
  font-weight: lighter;
  line-height: 1.5em;
  font-family: sans-serif;
  background-color: #F3F3FE;
}

a {
  text-decoration: none;
  color: #616161;
}

a:hover {
  text-decoration: none;
  color: #9878F7;
}

hr {
  color: #c1c7cc;
  margin: 5px 0;
}

.big-hr {
  margin: 20px 0;
}

.main-page {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
}

.main-page-block {
  margin-top: 100px;
  margin-bottom: 100px;
}

.text-center {
  text-align: center;
}

/* Buttons */

.long-btn {
  width: 100%;
  min-width: 100% !important;
  max-width: 100% !important;
}

.dark-btn {
  border: none;
  padding: 8px 24px;
  font-weight: normal;
  border-radius: 12px;
  background-color: #9878F7;
  color: white;
  text-align: center;
}

.dark-btn:hover {
  background-color: #5F4C9A;
  color: white;
}

.grey-btn {
  border: none;
  padding: 10px 20px;
  font-weight: normal;
  border-radius: 10px;
  background-color: #f3f3fe;
  color: white;
  text-align: center;
}


.light-btn {  
  padding: 8px 24px;
  font-weight: normal;
  border-radius: 12px;
  background-color: white;
  color: #9878F7;
  border: 1px solid #9878F7;
  text-align: center;
}

.light-btn:hover {
  color: #5F4C9A;
  border: 1px solid #5F4C9A;
  text-decoration: none;
}

.light-tiny-btn {  
  font-size: 12px;
  border: none;
  padding: 5px 10px;
  font-weight: normal;
  border-radius: 12px;
  background-color: white;
  color: #9878F7;
  border: 1px solid #9878F7;
  text-align: center;
  margin-right: 5px;
  margin-bottom: 5px;
}

.explanations {
  font-size: 14px;
  opacity: 0.5;
}

.light-tiny-btn:hover {
  color: #5F4C9A;
  border: 1px solid #5F4C9A;
  text-decoration: none;
}

.button-container {
  display: inline;
  text-align: center;
  margin-top: 1rem;
}

.left-button {
  margin-right: 0.5%;
  width: 49% !important;
}

.right-button {
  width: 49% !important;
  display: inline-block;
  cursor: pointer;
}

.right-button a {
  color: white;
}

.right-button a:hover {
  text-decoration: none;
}

/* Style the email and password labels */
.form-label-small {
  font-size: 14px;
  color: #7f8c8d;
}

/* Style the email and password labels */
.form-label-input {
  font-weight: lighter;
  color: #7f8c8d;
}

.form-group {
  padding-bottom: 12px;
}

select,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="color"],
input[type="email"],
textarea {
  color: #616161;
  font-weight: lighter;
  line-height: 1.2em;
  font-family: sans-serif;
  border-radius: 12px;
  width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border: 1px solid #BFBFBF4D;
}

/* Default border style for the input fields */
input.form-label-input {
  border: 1px solid #BFBFBF4D; /* Default border color */
  outline: none; /* Removes the default browser outline */
  transition: border-color 0.3s ease; /* Smooth transition for the border color */
}

/* When the input is focused (user types or clicks into it) */
input.form-label-input:focus {
  border: 2px solid #9878F780;
}

#chatbot_intro,
#project_description,
#contact_details {
  height: 100px;
}

#knowledge_base {
  height: 250px;
}

h1 {
  font-size: 32px;
  margin: 20px 0 10px 0;
}

.central-block {
  transform: translate(-50%, -50%); position: absolute;
  top: 50%;
  left: 50%;
}

.main-title {
  font-size: 70px !important;
  text-align: center;
}

h2 {
  font-size: 20px;
  margin: 25px 0 12px 0px;
  font-weight: normal;
}

p {
  font-size: 14px;
  color: #1B1B1B;
  
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
  background-color: white;
}

.navbar-nav {
  margin-left: auto;
}

.nav-login-btn {
  color: #fff;
}

.nav-item {
  margin-left: 8px;
}


.highlighted-links {
  color: #9878F7;
}

.highlighted-links:hover {
  color: #5F4C9A;
}

/* Toggle styling */
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: #9878F7;
  border-color: #9878F7;
}


.alert-info {
  color: #9878F7;
  background-color: #ffffff;
  border-color: #9878F7;
  border-radius: 12px;
}

.alert-danger {
  background-color: #FF636333;
  color: #FF3E3E;
  font-size: 12px;
  font-weight: 400;
  border: none;
  border-radius: 12px;
}

.alert {
  padding: 12px;
}


.info-icon {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.info-icon img {
  width: 16px; /* Adjust size as needed */
  height: 16px;
  vertical-align: middle;
}

.tooltip-text {
  font-weight: normal;
  font-size: 16px;
  visibility: hidden;
  width: 400px; /* Adjust width as needed */
  background-color: #555;
  color: #fff;
  text-align: left;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%; /* Position the tooltip above the icon */
  left: 50%;
  margin-left: -100px; /* Center the tooltip */
  opacity: 0;
  transition: opacity 0.3s;
}

.info-icon:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Email suggestions styling */
.emails-suggestions-wrap {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.emails-suggestions-wrap input[type="email"] {
  flex: 1;
}

.emails-suggestions-wrap button {
  white-space: nowrap;
}

#emailsList {
  margin-top: 20px;
}