:root {
  --bs-danger-text: red;
  --bs-danger: red;
}

* {
  font-family: "Inter", sans-serif !important;
  font-style: normal;
  color: #6F787F;
}

.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background: rgb(224 241 255 / 60%) url("../img/qr/Fansipan2-01.png") no-repeat bottom;
  min-height: calc(100vh - 90px - 51px);
}

.nav {
  width: 100%;
  display: flex;
  border: none !important;
}

.nav .nav-item {
  flex: 1 0 auto;
}

.nav .nav-link {
  background-color: #f4f9fd;
  text-transform: uppercase;
  text-align: center;
  color: #979ca0;
  border: none;
  width: 100%;
  min-width: max-content;
}

.nav .nav-link.active {
  background-color: white;
  border-bottom: 3px #7FCA27 solid;
  color: #7FCA27;
  font-weight: 700;
}

.qr-tabs {
  margin-top: 20px;
  background-color: #ffffffd9;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.qr-tabs .tab-title {
  text-transform: uppercase;
  font-size: 18px;
  color: #7FCA27;
  border-bottom: 1px solid #eee;
  font-weight: 700;
}

.left-side {
  border-right: 1px solid #eee;
}

.qr-tabs .selected-img {
    position: relative;
  height: 100px;
  width: 100px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #ccc;
  border-radius: 5px;
  padding: 15px;
}

.selected-img span {
    cursor: pointer;
    position: absolute;
    top: -11px;
    right: -11px;
}

.qr-tabs .logo-list {
  flex: 1;
}

.qr-tabs .logo-list .img-item {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  border: 3px solid transparent;
  background: #fff;
  border-radius: 0.25rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  height: 70px;
}

.qr-tabs .logo-list .img-item img {
  object-fit: contain;
  height: 100%;
  width: 100%;
}

.qr-tabs .logo-list .img-item:hover,
.qr-tabs .logo-list .img-item.active,
.qr-option-item.active,
.qr-option-item:hover {
  border: 1px solid #7FCA27;
}

.qr-tabs form label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #6f787f;
}

.preview-note {
  color: #004085;
  background-color: #f1f8ff;
  border: 1px solid rgb(102 175 233 / 60%);
  padding: 15px;
  border-radius: 5px;
  line-height: 1.5;
  font-size: 14px;
  text-align: justify;
}

.nav-item {
  border-radius: 0 !important;
}

.qr-editor .slider {
  -webkit-appearance: none;
  width: 100%;
  height: 5px;
  background: #d3d3d3;
  outline: none;
  opacity: 0.7;
  -webkit-transition: 0.2s;
  transition: opacity 0.2s;
}

.qr-editor .slider:hover {
  opacity: 1;
}

.qr-editor .slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #ef7b7c;
  cursor: pointer;
  border-radius: 50%;
}

.qr-editor .slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #ef7b7c;
  cursor: pointer;
  border-radius: 50%;
}

.preview-ranger-text {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: gray;
  padding-top: 10px;
}

img[src=""] {
  display: none;
}

.qr-option-item {
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  cursor: pointer;
  border: 3px solid transparent;
  padding: 6px;
  margin: 0 8px 8px 0;
  background: #fff;
  border-radius: 0.25rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0 8px 24px;
  height: 70px;
  width: 70px;
}

.qr-option-item .color {
    border-radius: 0.25rem;
}

.btn {
    font-size: 16px;
    border: unset;
    border-radius: 6px;
}

.btn-primary {
    background-color: #7FCA27;
    color: white;
}

.text-success {
    color: #7FCA27 !important;
}

#btn-create-qr {
    background-color: #7FCA27;
    color: white;
}

#btn-create-qr svg {
    fill: white;
}

#btn-create-qr:disabled {
    background-color: #F5F5F5;
    color: #8C8C8C;
    cursor: not-allowed;
}

#btn-create-qr:disabled svg {
    fill: #8C8C8C;
}

#btn-download {
    background-color: #EBF6EA;
    color: #7FCA27;
}

#btn-download svg path {
    stroke: #7FCA27;
}

#btn-download:disabled {
    background-color: #F5F5F5;
    color: #8C8C8C;
    cursor: not-allowed;
}

#btn-download:disabled svg path {
    stroke: #8C8C8C;
}

::-webkit-input-placeholder { /* WebKit, Blink, Edge */
  color: rgba(111, 120, 127, 0.60) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: rgba(111, 120, 127, 0.60) !important;
  opacity: 1;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: rgba(111, 120, 127, 0.60) !important;
  opacity: 1;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: rgba(111, 120, 127, 0.60) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: rgba(111, 120, 127, 0.60) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}

::placeholder { /* Most modern browsers support this now. */
  color: rgba(111, 120, 127, 0.60) !important;
  font-size: 12px;
  font-weight: 500;
  line-height: 20px;
}
