@font-face {
  font-family: 'Sans Regular';
  src: url(Optician-Sans.otf);
  font-weight: 400;
}

* {
  font-size: 100%;
  font-family: 'Sans Regular', sans-serif;
}

p {
  margin: 0;
}

span {
  margin: 0;
  font-size: 32px;
}

.root {
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header {
  position: relative;
}

.header img {
  position: absolute;
  width: 150px;
}

.root .content-wrapper {
  padding: 0 5%;
}

.line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.line span {
  width: 40px;
}

.geometry-line-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.img-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
}

.img-wrapper img {
  width: 60%;
}

.control-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.control-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  margin: 6px;
  border: none;
  border-radius: 8px;
  padding: 8px 10px;
  width: 80px;
  text-align: center;
  cursor: pointer;
  color: white;
  background: #d2691ecf;
  font-family: Arial, Helvetica, sans-serif;
}

#prev-btn, #next-btn {
  width: 40px;
}

.btn:hover {
  background: #a34c0fcf;
}

input[type=number] {
  border-radius: 5px;
  border: 1px solid gray;
  padding: 8px 10px;
  width: 50px;
  font-family: Arial, Helvetica, sans-serif;
}

input[type=text] {
  border-radius: 5px;
  border: 1px solid gray;
  padding: 8px 10px;
  width: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

.label {
  font-family: Arial, Helvetica, sans-serif;
}

.form-control-item {
  gap: 6px;
  display: flex;
  align-items: center;
}

.text {
  overflow-x: hidden;
  width: 100%;
  text-align: center;
  white-space: nowrap;
}

.footer-controller {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.mode-wrapper {
  display: flex;
  gap: 6px;
  align-items: center;
}


/* ======== SWITCH ==========*/
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #d2691ecf;
}

input:focus + .slider {
  box-shadow: 0 0 1px #d2691ecf;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.hide {
  display: none;
}