/*

Invaccredition design system
Copyright 2021 Varshith Thota
License: MIT

*/

@import url('https://fonts.googleapis.com/css2?family=Special+Elite&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  /* font-family: "Helvetica Neue", "Helvetica"; */
  font-family: 'Inter', sans-serif;
  color: gray;
}

.message_dev {
  text-align: center;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: 'Inter', sans-serif;
  font-size: 28px;
}

.container {
  max-width: 470px;
  margin: 30px auto;
}

h2 {
  font-family: 'Special Elite', cursive;
  color: black;
  font-size: 40px;
}

p {
  margin-top: 20px;
  color: #707070;
}

::placeholder {
  font-size: 16px;
}

label {
  margin-top: 25px;
  font-weight: bold;
  color: black;
  font-size: 16px;
}

label,
p {
  display: block;
}

input[type=text] {
  box-sizing: border-box;
  width: 100%;
  border: 1px solid;
  outline: 0;
  border-radius: 5px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, .2);
  height: 50px;
  margin-top: 15px;
  padding: 15px;
  font-size: 17px;
  border-color: #4a4946;
}

form {
  margin-top: 25px;
}

#street_address {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom: 0;
}

#city,
#zipcode,
#state,
#country {
  margin-top: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

#city,
#state {
  border-right: 0;
}

#country {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
  border-top: 0;
}

.grouped_address_inputs {
  display: flex;
}

.doc_button {
  position: relative;
  overflow: hidden;
  display: inline-block;
  cursor: pointer;
}

.process_block {
  margin-top: 20px;
}

.process {
  color: black;
  text-decoration: none;
}

.process:hover {
  text-decoration: underline;
}

.process_body {
  margin-top: 20px;
  color: black;
}

.invaccredition_flow {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
  height: auto;
}

.btn {
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 5px;
  font-size: 17px;
  margin-top: 25px;
  color: #777;
  cursor: pointer;
}

/* button {
  border: 1px solid #ccc;
  padding: 10px 15px;
  border-radius: 5px;
  margin-top: 25px;
  font-size: 17px;
  color: #777;
} */

.doc_button input[type=file] {
  display: none;
}

.doc_button label {
  cursor: pointer;
}

button:hover {
  cursor: pointer;
}

button:active {
  box-shadow: inset rgba(0, 0, 0, .2)
}

#checkout-button {
  width: 100%;
  background-image: linear-gradient(to bottom, #ff1764 0%, #f70052 100%);
  border: 0;
  margin-top: 25px;
  border-radius: 5px;
  color: white;
  padding: 15px;
  font-size: 17px;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.reason input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 25px;
  width: 25px;
  z-index: 2;
}

.doc_button {
  text-align: center;
}

.reason {
  display: block;
  position: relative;
  margin-top: 20px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
}

.reason input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: white;
  border-radius: 5px;
  /*border: .2px solid grey;*/
  box-shadow: 0px 1px 5px rgba(0, 0, 0, .2);
}

.reason input:checked ~ .checkmark {
  background-image: linear-gradient(to bottom, #ff1764 0%, #f70052 100%);
  border: 0;
  border-radius: 5px;
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.reason input:checked ~ .checkmark:after {
  content: '\2713';
  display: block;
  font-size: 14px;
  color: white;
  text-align: center;
  line-height: 20px;
}

.reason label {
  font-weight: normal;
  display: block;
  margin-left: 45px;
  cursor: pointer;
}

#stripe_tag {
  text-align: center;
  font-size: 14px;
}

.footer {
  margin-top: 30px;
  border-top: 1px solid;
  padding-top: 20px;
  text-align: center;
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  text-align: center;
  font-family: Arial, sans-serif;
}

.error-page h1 {
  font-size: 6rem;
  margin-bottom: 0.5rem;
}

.error-page p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
}

.error-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #296CED;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.error-btn:hover {
  background-color: #1E5AC9;
}

@media only screen and (max-width: 600px) {
  img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }

  .header {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }

  form {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }

  .footer {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
  }
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}

.file_upload_icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  background-image: url('../images/file_upload_icon.svg');
  background-size: contain;
  background-repeat: no-repeat;
}

.selected-files {
  margin-top: 15px;
}

.selected-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 8px 12px;
  background-color: #f0f0f0;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.file-info {
  display: flex;
  align-items: center;
  flex-grow: 1;
  margin-right: 10px;
}

.file-name {
  font-size: 14px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.cancel-icon {
  cursor: pointer;
  font-size: 18px;
  color: #777;
  transition: color 0.2s ease;
}

.cancel-icon:hover {
  color: #f00;
}

.doc_button {
  text-align: left;
}

.chatbot-container {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 350px;
  height: 500px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  transition: all 0.3s ease;
  z-index: 1000;
}

.chatbot-header {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #296CED;
  color: white;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chatbot-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.chatbot-header h3 {
  margin: 0;
  flex-grow: 1;
}

.chatbot-close {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.chatbot-messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.chatbot-message {
  max-width: 80%;
  margin-bottom: 15px;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  line-height: 1.4;
}

.chatbot-message.user {
  background-color: #E3F2FD;
  color: #1565C0;
  align-self: flex-end;
  margin-left: auto;
  border-bottom-right-radius: 0;
}

.chatbot-message.bot {
  background-color: #F5F5F5;
  color: #333;
  align-self: flex-start;
  margin-right: auto;
  border-bottom-left-radius: 0;
}

.chatbot-form {
  display: flex;
  padding: 15px;
  border-top: 1px solid #e0e0e0;
}

.chatbot-form input {
  flex-grow: 1;
  border: none;
  padding: 10px;
  font-size: 14px;
  border-radius: 20px;
  background-color: #f5f5f5;
  box-shadow: none;
  margin-top: auto;
}

.chatbot-form input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #296CED;
}

.chatbot-send {
  background: none;
  border: none;
  color: #296CED;
  cursor: pointer;
  padding: 0 10px;
}

.chatbot-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #296CED;
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-toggle:hover {
  transform: scale(1.1);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}

.chatbot-container.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.chatbot-container.hide {
  animation: fadeOut 0.3s ease;
}