@font-face {
  font-family: "Montserrat";
  src: url("/dist/webfonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "Montserrat";
  src: url("/dist/webfonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

/* general */

* {
  font-family: "Montserrat", sans-serif;
}

h1 {
  font-size: 2em;
  font-weight: bold;
}

h2 {
  font-size: 1.5em;
  font-weight: bold;
}

h3 {
  font-size: 1em;
  font-weight: bold;
}

h4 {
  font-size: 1em;
}

.tooltip-inner {
  padding: 1em; /* Adjust this to your taste */
}

/* forgot password */

.align-end {
  justify-content: space-between;
}

/* header */

.profile-section,
.login-section {
  display: none;
}

.navbar-collapse {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.navbar-toggler {
  padding: 0.25em 0.75em !important;
}

.navbar-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(13,110,253, .75)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.header-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar {
  top: 0px;
  width: 100%;
  z-index: 1000;
  transition: padding 0.2s ease-in-out;
}

.shrink-navbar {
  padding-top: 0.2em !important;
  padding-bottom: 0.2em !important;
}

.header__border-bottom {
  border-bottom: 1px solid rgb(202, 202, 202);
}

@media (min-width: 768px) {
  #loginOrProfile {
    margin-right: 3em;
  }

  #charly-logo {
    width: 10em;
  }

  .navbar-brand {
    margin-left: 3em;
  }

  .navbar-toggler {
    margin-right: 3em;
  }

  .navbar-nav {
    margin-left: 5%;
  }
}

@media (max-width: 768px) {
  #loginOrProfile {
    margin-right: 3em;
  }

  #charly-logo {
    width: 8em;
  }

  .navbar-brand {
    margin-left: 1em;
  }

  .navbar-toggler {
    margin-right: 1em;
  }

  .profile-mobile-hide {
    display: none;
  }

  .navbar-nav {
    margin-left: 2em;
  }

  .navbar-nav .nav-link {
    text-align: left !important;
  }
}

/* footer */

.footer__border-top {
  border-top: 1px solid rgb(202, 202, 202);
}

@media (min-width: 768px) {
  #copyright {
    text-align: left !important;
  }
}

@media (max-width: 768px) {
  #copyright {
    padding-top: 1em;
    text-align: center !important;
  }
}

/* login */

.align-end {
  justify-content: space-between;
}

/* ocr */

#credit-bar {
  width: 100%;
  background-color: rgb(13, 110, 253);
  color: white;
  height: 3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ocr-text {
  transition: height 0.2s ease-in-out, opacity 0.2s ease-in-out;
  overflow: hidden;
  display: flex;
  align-items: center;
}

#ocr-result-container {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 500px;
  overflow: auto;
}

#ocr-text-container {
  width: 100%;
  min-height: 500px;
  max-height: 500px;
  overflow-y: auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  padding: 2em;
}

#ocr-text {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 5px;
}

#ocr-image-container {
  width: 100%;
  max-height: 500px;
  overflow: auto;
}

#ocr__uploaded-image {
  max-width: 100%;
  height: auto;
}

#upload-image-label {
  vertical-align: middle;
  display: inline-block;
  margin-bottom: 0;
}

#popup-clipboard,
#popup-pdf {
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 5px;
  z-index: 9999;
  transition: opacity 0.25s ease-in-out;
}

#credits-left a {
  color: white !important;
}

#ocr__toolbar {
  padding-top: 0.75em;
  border: 1px rgba(0, 0, 0, 0.25);
  border-style: solid none none none;
}

.nav-tabs .nav-link {
  color: #000000;
}

.nav-tabs .nav-link:hover {
  background-color: rgb(13, 110, 253, 0.25);
}

.nav-tabs .nav-link.active {
  background-color: rgb(13, 110, 253, 0.5);
  color: #000000;
}

.ocr__text-container__empty {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tab-content {
  display: flex;
  justify-content: center;
  border: 1px solid #007bff98;
  padding: 1rem;
  border-radius: 0.25rem;
}

.tab-pane {
  display: flex;
  justify-content: center;
  width: 800px;
  overflow: auto;
}

.ocr-text-hidden {
  height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ocr-text-visible {
  height: auto;
  opacity: 1;
  overflow: visible;
  display: flex;
  align-items: center;
}

.choose-file-button {
  flex-shrink: 0;
  background-color: rgba(13, 110, 253, 0.9);
  border: 1px solid rgba(13, 110, 253, 0.5);
  border-radius: 3px;
  padding: 8px 15px;
  margin-right: 10px;
  font-size: 12px;
  text-transform: uppercase;
}

.mt-100 {
  margin-top: 100px;
}

.dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999999999;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition: visibility 175ms, opacity 175ms;
}

.dropzone__text {
  color: white;
  font-size: 3em;
}

@media (min-width: 768px) {
  #ocr__main-div {
    margin-top: 5em;
    margin-bottom: 5em;
  }
}
@media (max-width: 768px) {
  #ocr__main-div {
    margin-top: 4em;
    margin-bottom: 4em;
  }

  #ocr-text {
    padding: 20px;
  }
}

/* purchase completed */

.align-end {
  justify-content: space-between;
}

/* checkout */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  font-family: "Montserrat", sans-serif;
}

p {
  margin: 0%;
}

.container {
  justify-content: center;
  align-items: center;
  margin: 20px auto;
  overflow: hidden;
}

.box-1 {
  padding: 10px 40px;
  user-select: none;
}

.box-1 img.pic {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.box-1 img.mobile-pic {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.box-1 .name {
  font-size: 11px;
  font-weight: 600;
}

.dis {
  font-size: 12px;
  font-weight: 500;
}

.box-2 {
  max-width: 650px;
  padding: 10px 40px;
}

.box-2 .box-inner-2 input.form-control {
  font-size: 12px;
  font-weight: 600;
}

.box-2 .box-inner-2 .inputWithIcon {
  position: relative;
}

.box-2 .box-inner-2 .inputWithIcon span {
  position: absolute;
  left: 15px;
  top: 8px;
}

.box-2 .box-inner-2 .inputWithcheck {
  position: relative;
}

.box-2 .box-inner-2 .inputWithcheck span {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: green;
  font-size: 12px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  right: 15px;
  top: 6px;
}

.form-control {
  border: 1px solid #d1d1d1;
}

.form-select {
  border: 1px solid #d1d1d1;
}

.form-control:focus,
.form-select:focus {
  box-shadow: none;
  outline: none;
  border: 1px solid #0d6efd;
}

.border:focus-within {
  border: 1px solid #0d6efd !important;
}

.box-2 .card-atm .form-control {
  border: none;
  box-shadow: none;
}

.box-2 .box-inner-2 .btn.btn-primary .fas {
  font-size: 13px !important;
  color: whitesmoke;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.carousel-inner {
  width: 100%;
  height: 200px;
}

.carousel-item img {
  object-fit: cover;
  height: 100%;
}

.fas.fa-arrow-left,
.fas.fa-arrow-right {
  font-size: 0.8em;
  transition: all 0.2s ease;
}

.icon {
  width: 30px;
  height: 30px;
  background-color: #f8f9fa;
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform-origin: center;
  opacity: 1;
}

.fas.fa-times {
  color: red;
}

.fas,
.fab {
  color: #6d6c6d;
}

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

.couponCode {
  text-transform: uppercase;
  font-size: 0.7em;
}

.close {
  cursor: pointer;
}

@media (max-width: 768px) {
  .container {
    max-width: 700px;
    margin: 10px auto;
  }

  .box-1,
  .box-2 {
    max-width: 600px;
    padding: 20px 90px;
    margin: 20px auto;
  }
}

@media (max-width: 426px) {
  .box-1,
  .box-2 {
    max-width: 400px;
    padding: 20px 10px;
  }

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

/* index */

.feedback-ul {
  text-align: left;
  margin-bottom: 0 !important;
  padding: 1em;
}

.feedback-ul li:not(:last-child) {
  margin-bottom: 1.15em;
}

.feedback-card {
  background-color: #dadada;
  border-width: 0px;
  border-color: rgb(0, 0, 0, 0.35);
  transition: background-color 0.4s ease-in-out;
}

.feedback-card:hover {
  background-color: #4d4d4d;
}

.feedback-card:hover li {
  color: #e7e7e7;
}

.showcase__text-area {
  font-size: 1.1em;
  text-align: left;
  padding: 1em;
  resize: none;
}

.index__main-bullets li {
  list-style-type: disc;
  font-size: 1.1em;
}

.coloured-slider {
  --divider-color: rgba(0, 0, 0);
  --divider-width: 2px;
}

.index__icon {
  font-size: 2.5em;
}

@media (min-width: 768px) {
  .index__main-div {
    margin-top: 4em;
    margin-bottom: 4em;
  }

  .index__secondary-div {
    margin-top: 10em;
  }
}

@media (max-width: 768px) {
  .index__main-div {
    margin-top: 2em;
    margin-bottom: 2em;
  }

  .index__secondary-div {
    margin-top: 8em;
  }

  .carousel-inner {
    height: auto;
    padding-left: 1.5em;
    padding-right: 1.5em;
  }
}

/* faq */

h2.faq-question {
  font-size: 1.5em;
  color: black;
  font-weight: bold;
}

i.faq-icon {
  margin-right: 0.5em;
}

.faq-container {
  margin-left: 15%;
  margin-right: 15%;
}

@media (min-width: 768px) {
  p.faq-answer {
    margin-left: 2em;
  }
}

/* blog */

.blog-container {
  margin-top: 3em;
  margin-bottom: 3em;
  max-width: 900px;
  margin: 0 auto;
}

.blog-card {
  border: 1px solid #ccc;
  border-radius: 1em;
  padding: 2em;
  margin-top: 2.5em;
  margin-bottom: 2.5em;
}

.blog-card h3 {
  font-size: 1.3em;
  margin-bottom: 1em;
  font-weight: bold;
}

.blog-card .date {
  font-size: 0.9em;
  color: #777;
  margin-top: 1em;
}

.blog-card .continue-reading {
  font-size: 0.9em;
  margin-top: 1em;
}

#blog-content {
  white-space: pre-wrap;
}

#blog-text {
  margin-bottom: 1em;
}

@media (max-width: 768px) {
  .blog-card {
    border: 1px solid #ccc;
    border-radius: 1em;
    margin-bottom: 2.5em;
    margin-left: 0.8em;
    margin-right: 0.8em;
  }
}

/* privacy and tos */

#legal-contents div {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

#legal-contents div p:not(:first-of-type) {
  margin-top: 1em;
}

/* pricing */

#pricing__features {
  display: inline-block;
  text-align: left;
}

#pricing__features p {
  margin-top: 1em;
}

@media (max-width: 768px) {
  #pricing__main {
    margin-left: 1em;
    margin-right: 1em;
  }

  #pricing__features {
    margin-left: 2em;
    margin-right: 2em;
  }
}

/* bank transfer (temporary!) */

#pricing__features p span {
  font-weight: 900;
}

/* discount */

#discount-banner {
  text-align: center;
  background-color: #ff5722;
  border: none;
  padding: 5px;
  display: none;
}

#discount-banner .alert {
  background-color: #ff5722;
  border: none;
  padding: 5px;
}

#discount-banner span {
  font-size: 1em;
  color: #fff;
}

#discount-banner i {
  padding: 0.5em;
}

#discount-banner b {
  font-weight: bold;
  font-size: 0.9em;
}

#discount-banner a {
  color: #fff;
  text-decoration: underline;
}

#discount-banner button {
  color: #ffffff;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.halloween-coupon {
  background-color: #ff5722;
  color: #fff;
  padding: 2px 6px;
  border-radius: 5px;
}
