/**
 * Fme Common Styles CSS
 */
:root {
  --fame-primary-color: #3c0af0;
  --fame-primary-textcolor: #f3eff1;
  --fame-secondary-color: #dbd4d7;
  --fame-secondary-textcolor: #272727;
  --fame-green-color: #008b20;
  --fame-red-color: #d50015;
  --fame-orange-color: #cb9800;
  --fame-blue-color: #0061c9;
  --fame-lightgreen-color: #d8ffe1;
  --fame-lightred-color: #ffe4e7;
  --fame-lightorange-color: #fff4d5;
  --fame-lightblue-color: #d3e8ff;
}

/**
 * Global styles
 */
.fame-btn {
  background-color: var(--fame-primary-color);
  color: var(--fame-primary-textcolor);
  border-radius: 10px;
}
.fame-btn:hover {
  background-color: var(--fame-secondary-color);
  color: var(--fame-secondary-textcolor);
}

.fame-hide {
  display: none !important;
}

/**
 * Popup styles
 */
.fame-modal-popup {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 99999;
}

body.fame-popup-active {
  overflow: hidden;
}

.fame-modal-container {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.fame-modal-container .fame-modal-inner-area {
  display: flex;
  width: 450px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.fame-modal-container .fame-modal-content-area {
  display: inline-block;
  position: relative;
  width: 100%;
  max-height: 90%;
  border-radius: 10px;
  padding: 20px;
  background-color: #fff;
}
.fame-modal-container .fame-modal-content-area .fame-modalinit-con {
  display: inline-block;
  position: relative;
  width: 100%;
}
.fame-videocard-modal .fame-modalinit-con {
  min-height: 150px;
  display: flex;
  align-items: center;
}
.fame-videocard-modal .fame-modal-inner-area {
  width: 640px;
}

.fame-popup-hide {
  display: none;
}

.fame-popup-closebtn {
  position: absolute;
  top: -20px;
  right: -18px;
  color: #fff;
  padding: 0 6px;
  background-color: var(--fame-red-color);
  border-radius: 20px;
}
.fame-popup-closebtn:hover, .fame-popup-closebtn:focus, .fame-popup-closebtn:active {
  color: #fff;
}

/**
 * Loader styles
 */
.fame-loder-con {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.768627451);
  z-index: 9;
}
.fame-loder-con .fame-loder-iner {
  display: flex;
  width: 40px;
  height: 100%;
  margin: 0 auto;
  align-items: center;
}
.fame-loder-con .fame-loder-iner .fame-loader {
  border: 7px solid #f3f3f3;
  border-radius: 50%;
  border-top: 7px solid var(--fame-primary-color);
  width: 40px;
  height: 40px;
  box-sizing: border-box; /* Safari */
  animation: fame-spin 1s linear infinite;
}
@keyframes fame-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.fame-mockquests-main-holdr .fame-loder-con {
    position: fixed;
}

.loader-wrap {
  text-align: center;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-color: #ffffffa1;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
}
.fame-loader {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 24px;
}
.fame-loader .ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 5px solid #d9eef2;
  border-top: 5px solid #0f9d8a;
  animation: spin 1.2s linear infinite;
}
.fame-loader .cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  transform: translate(-50%, -50%);
}
.fame-loader .cross::before,
.fame-loader .cross::after {
  content: "";
  position: absolute;
  background: #e63946;
  border-radius: 3px;
}
.fame-loader .cross::before {
  width: 8px;
  height: 24px;
  left: 8px;
  top: 0;
}
.fame-loader .cross::after {
  width: 24px;
  height: 8px;
  left: 0;
  top: 8px;
}
@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

.fame-confirmsg-con {
  font-size: 15px;
}
/*
 * Confirm Popup Buttons
 */
.confirm-popup-btns {
  display: flex;
  padding: 20px 0 0;
  width: 100%;
  justify-content: center;
  -moz-column-gap: 10px;
       column-gap: 10px;
}
.confirm-popup-btns button {
  padding: 5px 20px;
  font-size: 80%;
  border: none;
  cursor: pointer;
}
.confirm-popup-btns .fame-cancel-act {
  background-color: #d2d2d2;
  color: #222;
  border-radius: 2px;
}
.confirm-popup-btns .fame-delitm-btn {
  background-color: var(--fame-red-color);
  color: #fff;
  border-radius: 2px;
}

/*
 * Action message
 */
.fame-alert-msg {
  position: fixed;
  top: 20px;
  right: 30px;
  width: 220px;
  padding: 10px 15px;
  font-size: 85%;
  border: 1px solid;
  border-radius: 4px;
  background-color: var(--fame-lightorange-color);
  border-color: var(--fame-orange-color);
  color: var(--fame-orange-color);
  z-index: 100;
}
.fame-alert-msg.fame-alert-success {
  background-color: var(--fame-lightgreen-color);
  border-color: var(--fame-green-color);
  color: var(--fame-green-color);
}
.fame-alert-msg.fame-alert-danger {
  background-color: var(--fame-lightred-color);
  border-color: var(--fame-red-color);
  color: var(--fame-red-color);
}

.fame-danger-msg {
  display: inline-block;
  width: 100%;
  padding: 10px 15px;
  border: 1px solid;
  border-radius: 5px;
  font-size: 80%;
  background-color: var(--fame-lightred-color);
  border-color: var(--fame-red-color);
  color: var(--fame-red-color);
}

/*
 * Advance Form Fields
 */
.fame-form-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 30px;
}
.fame-form-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.fame-btn-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 30px;
  transition: 0.4s;
}
.fame-btn-slider::before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 4px;
  bottom: 4px;
  background-color: #fff;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .fame-btn-slider {
  background-color: var(--fame-blue-color);
}
input:checked + .fame-btn-slider::before {
  transform: translateX(26px);
}

.fame-form-imgfield {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.fame-form-imgfield .fame-field-imgcon img {
  max-width: 100%;
  max-height: 250px;
}
.fame-form-imgfield .fame-field-inputcon input {
  margin: 0;
  min-width: 350px;
}
.fame-form-imgfield .fame-field-btnscon {
  display: flex;
  gap: 10px;
}

.fame-formfields-con {
  position: relative;
}
.fame-formfields-con .fame-formseting-field {
  display: inline-block;
  position: relative;
  width: 100%;
  margin: 0 0 15px;
}
.fame-formfields-con .fame-formseting-field > label {
  display: inline-block;
  width: 100%;
  margin: 0 0 5px;
}
.fame-formfields-con .fame-formseting-field input[type="text"],
.fame-formfields-con .fame-formseting-field input[type="password"],
.fame-formfields-con .fame-formseting-field input[type="number"],
.fame-formfields-con .fame-formseting-field input[type="email"],
.fame-formfields-con .fame-formseting-field input[type="tel"] {
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 5px 10px;
  height: 42px;
}
.fame-formfields-con .fame-formseting-field input[type="text"]:focus,
.fame-formfields-con .fame-formseting-field input[type="password"]:focus,
.fame-formfields-con .fame-formseting-field input[type="number"]:focus,
.fame-formfields-con .fame-formseting-field input[type="email"]:focus,
.fame-formfields-con .fame-formseting-field input[type="tel"]:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.fame-formfields-con .fame-select-field select {
  background: none;
  padding: 5px 7px;
  width: 100%;
}
.fame-formfields-con .fame-formseting-field textarea {
  display: inline-block;
  width: 100%;
  height: 130px;
  margin: 0;
  padding: 5px 10px;
}
.fame-formfields-con .fame-formseting-field textarea:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.fame-formfields-con .fame-formseting-field label small {
  margin: 0 2px;
  font-size: 16px;
  color: var(--fame-red-color);
}
.fame-formfields-con .fame-formseting-field.fame-itmprice-field input {
  padding-left: 46px;
  font-size: 15px;
}
.fame-formseting-field.fame-itmprice-field .fame-curency-con {
  position: absolute;
  width: 50px;
  height: 42px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fame-formseting-field.fame-itmprice-field .fame-curency-con span {
  line-height: 0;
  font-size: 15px;
}
.fame-formfields-con .fame-formseting-field .select2-container .select2-selection--single {
  height: 40px;
  border: 2px solid #dddddd;
  border-radius: 3px;
}
.fame-formfields-con .fame-formseting-field .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
}
.fame-formfields-con .fame-formseting-field .select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 6px;
}
.select2-container--default .select2-selection--single {
  border-color: #e1e1e1;
}
.fame-passfield-holdr {
  display: inline-block;
  width: 100%;
  position: relative;
}
.fame-formfields-con .fame-passfield-holdr input {
  width: 100%;
  margin: 0;
  padding: 5px 40px 5px 10px;
}
.fame-formfields-con .fame-passfield-holdr input:focus {
  box-shadow: 0 0 3px 0 #e1e1e1;
  --formfieldbordercolor: #e1e1e1;
}
.fame-formfields-con .fame-passfield-holdr > span {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.fame-formfields-con .fame-passfield-holdr > span i {
  font-size: 22px;
  color: #949494;
}
.fame-formfields-con .select2-container--default .select2-search--inline .select2-search__field {
  width: auto !important;
}
.fame-quiz-questions-holder {
  position: relative;
  width: 100%;
}
.fame-dshbrd-chngepass-formholdr {
  position: relative;
}

/* Systems listing styles moved into views/systems-list.blade.php (`.fame-systems-*` classes). */
