body {
  background-color: #f7f7f7;
}


.redirect-message {
  z-index: 99999;
  position: fixed;
  bottom: 0;
  left: 0;
  margin-left: 4rem;
  margin-bottom: 3rem;
  color: #fff;
  font-size: 11px;
  display: flex;
  align-items: center;
  transition: opacity 0.10s linear 0s;
  opacity: 0;
  box-shadow: 0px 8px 10px -5px rgb(0 0 0 / 20%), 0px 16px 24px 2px rgb(0 0 0 / 14%), 0px 6px 30px 5px rgb(0 0 0 / 12%);
}

.redirect-message-left {
  display: flex;
  align-items: center;
  background-color: #333333;
  padding: 0.8rem;
  gap: 3rem;
  padding-right: 3rem;
}

.message-icon {
  padding: 6px;
  border-radius: 50%;
}

.message-icon.success {
  background-color: #00bda3;
}

.message-icon.danger {
  background-color: #d53838;
}

.message-icon > svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}

.redirect-message .x-close {
  background-color: #444444;
  padding: 14.8;
}

.redirect-message .x-close > svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.message-content {
  text-transform: uppercase;
}

.loader {
  width: 24px;
  height: 24px;
  /* margin: 0 auto; */
  border-top: 2px solid #292929;
  border-right: 2px solid #efefef;
  border-bottom: 2px solid #efefef;
  border-left: 2px solid #efefef;
  border-radius: 100px;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  100% {
      transform: rotate(360deg);
  }
}

.error-field {
  color: #d53838;
}

.disabled {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.main > .container {
  margin: auto;
  padding-top: 102px;
}

@media screen and (min-width: 960px) {
  .container > .flex .flex-l {
    width: 60%;
  }

  .container > .flex .flex-r {
    width: 40%;
  }
}

.container > .flex .flex-r {
  height: calc(100vh - 100px);
  overflow-y: auto;
  overflow-x: hidden;
}

.container > .flex .flex-l {
  gap: 2rem;
  border-right: 1px solid rgb(227, 227, 227);
  padding-right: 3rem;
  justify-content: flex-start;
  height: calc(100vh - 100px);
  overflow-y: auto;
}

/* PHONE ELEMENT */
.phone-graphic {
  position: relative;
  width: 280px;
  margin: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}
/* .phone-case {
  box-shadow: inset 3px 3px 8px #82dcff, inset 0 0 3px #082049, inset -3px -3px 8px 0px #002094, 10px 10px 15px #b8b8b8;
  border-radius: 50px;
  background: #138ac9;
  width: 280px;
  padding: 10px;
} */
.phone-case:before {
  content: "";
  position: absolute;
  background: #353535;
  width: 5px;
  height: 30px;
  left: -5px;
  top: 140px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  box-shadow: inset 4px 0px 2px #000;
}
.phone-case:after {
  content: "";
  position: absolute;
  background: #353535;
  width: 5px;
  height: 70px;
  left: 280px;
  top: 150px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  box-shadow: inset 1px 1px 10px #353535, inset 1px 1px 3px #8f8f8f,
    0 0 6px #353535;
}
.phone-container-outer {
  position: relative;
  font-family: helvetica;
  font-size: 0.8rem;
  border: 1px solid #8f8f8f;
  border-radius: 40px;
  box-shadow: inset 1px 1px 10px #ddd, inset 1px 1px 3px #8f8f8f, 0 0 6px #000;
  background-color: #000;
}
.phone-container-inner {
  position: relative;
  background: #fff;
  margin: 13px;
  border-radius: 30px;
  overflow: hidden;
}
.phone-container-outer:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  /* height: 650px; */
  height: auto;
  background: linear-gradient(
    130deg,
    rgba(255, 255, 255, 0.35) 0%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0) 25%
  );
  z-index: 5;
  border-radius: 40px;
}
.phone-container-inner:before {
  content: "";
  position: absolute;
  top: 0;
  background-color: #000;
  width: 110px;
  height: 17px;
  left: calc(50% - 55px);
  border-radius: 0 0 20px 20px;
  z-index: 2;
}
.phone-header {
  position: absolute;
  width: 100%;
  height: 125px;
  top: 0;
}

/* HEADER ICONS AND TIME */
.phone-header-time {
  position: absolute;
  font-size: 0.8rem;
  top: 5px;
  left: 15px;
}
.phone-header-icons {
  position: absolute;
  top: 5px;
  right: 15px;
}
.phone-header-icons .material-icons {
  font-size: 0.9rem;
}
.phone-header-icons .material-icons.battery {
  transform: rotate(90deg);
}

.profile-image {
  bottom: 0;
  position: absolute;
  right: 0;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.profile-image > svg,
.profile-image > img {
  width: 80px;
  border-radius: 50%;
  height: 80px;
  object-fit: cover;
  fill: rgb(126, 112, 112);
}

.phone-content {
  margin-top: 120px;
  padding: 20px;
  height: 400px;
}
.message {
  padding: 5px 10px;
  margin-bottom: 10px;
  border-radius: 10px;
}
.message p {
  position: relative;
  z-index: 5;
  margin: 0;
}
.message-contact {
  position: relative;
  background-color: #f1f1f1;
  text-align: left;
  margin-right: 20%;
}
.message-you {
  position: relative;
  background-color: #3bbe41;
  color: #fff;
  text-align: right;
  margin-left: 20%;
}
.message-contact:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: -10px;
  height: 20px;
  width: 20px;
  background: #f1f1f1;
  border-bottom-right-radius: 15px;
}
.message-contact:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: -15px;
  width: 15px;
  height: 20px;
  background: white;
  border-bottom-right-radius: 20px;
}
.message-you:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: -10px;
  height: 20px;
  width: 20px;
  background: #3bbe41;
  border-bottom-left-radius: 15px;
}
.message-you:after {
  content: "";
  position: absolute;
  z-index: 1;
  bottom: 0;
  right: -15px;
  width: 15px;
  height: 20px;
  background: white;
  border-bottom-left-radius: 20px;
}

/* PHONE FOOTER */
.phone-footer {
  position: absolute;
  height: 40px;
  bottom: 0;
  width: 100%;
  /* background-color: #efefef; */
}

.accordion-item {
  height: 75px;
  transition: height 0.5s ease;
}

.accordion-item.open {
  height: 100%;
  max-height: 100%;
}

.accordion-item.open .rotate-svg {
  transform: rotate(90deg);
}

.accordion-item .rotate-svg {
  width: 1em; 
  height: 1em;
  transition: transform 150ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
  transform: rotate(0deg);
}

.accordion-content {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
}

.accordion-content.active {
  opacity: 1;
  visibility: visible;
}

.qr-preview {
  height: 400px;
  display: flex;
  align-items: center;
  border-radius: 8px;
  flex-direction: row;
  justify-content: center;
  margin-top: 10px;
}

.qr-preview img {
  height: 100%;
  padding: 0 30px;
  border-radius: 10px;
  object-fit: contain;
}

.qr-code-preview {
  margin: 0 60px 0 60px;
  border: 2px solid #EAEAEC;
  border-radius: 10px;
  margin-bottom: 30px;
  visibility: hidden;
  opacity: 0;
  display: none;
}

@media screen and (max-width: 1040px) {
  .main > .container > .flex {
    display: block;
  }

  .container > .flex .flex-l {
    width: 100%;
    padding: 2rem;
  }

  .container > .flex .flex-r {
    display: none;
  }

  nav > .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media screen and (max-width: 370px) {
  #welcome-text {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 680px) {
  #current-domain {
    display: none;
  }

  input[name="username"] {
    border-radius: .5rem !important;
  }
}

@media screen and (max-width: 580px) {
  .accordion-content .flex-row {
    flex-direction: column !important;
  }
}

.project-cards {
  width: 100%;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.project-card {
  border-radius: 17px;
  border: 1px solid rgb(173 173 173 / 10%);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0px 1px 3px 0 rgb(0 0 0 / 10%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
  min-height: 233px;
  min-width: 303px;
}

.project-date {
  font-size: 11px;
  padding-top: 2px;
  color: #4c4c4c;
}

.add-card {
  align-items: center;
  justify-content: center;
}

.project-card .bi-plus-lg {
  font-size: 25px;
  color: #6b6b6b;
}

.card-title {
  font-size: 18px;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
}

.card-title > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 85%;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-title > div {
  cursor: pointer;
}

.card-description {
  color: rgb(86 85 85);
  font-size: 15px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  max-width: 32rem;
  background-color: #fefefe;
  margin: 6% auto;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.close {
  color: #4e4d4d;
  float: right;
  font-size: 28px;
  font-weight: normal;
  cursor: pointer;
  line-height: 14px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.form-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
}

textarea,
input {
  transition: 0.3s;
}

.btn {
  display: inline-block;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background-color: #007bff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}