*,
*:before,
*:after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-size: 62.5%;
  height: 100%;
  overflow: hidden;
}

@media (max-width: 768px) {

  html,
  body {
    font-size: 50%;
  }
}

svg {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  overflow: visible;
}

.svg-icon {
  cursor: pointer;
}

.svg-icon path {
  stroke: #40916c;
  fill: none;
  stroke-width: 1.5;
}

p {
  font-size: 12px;
}

input,
button {
  outline: none;
  border: none;
}

.cont {
  position: relative;
  height: 100%;
  background-image: url('../images/login_bg_drone.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: auto;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
}

.demo {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -15rem;
  margin-top: -26.5rem;
  width: 32rem;
  height: 48rem;
  /* Aumentamos la altura de 44 a 48rem para que quepa todo */
  overflow: hidden;
  border-radius: 10px;
}

.login {
  position: relative;
  height: 100%;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(27, 67, 50, 0.35), 0 0 30px rgba(64, 145, 108, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  transition: all 0.3s;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.login.inactive {
  opacity: 0;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.login__check {
  position: absolute;
  width: 100%;
  top: 4rem;
  text-align: center;
}

.login__form {
  position: absolute;
  top: 36%;
  /* Un pelín más arriba del 38% para optimizar espacio */
  left: 0;
  width: 100%;
  padding: 1.5rem 2.5rem;
  text-align: center;
}

.login__row {
  position: relative;
  height: 5rem;
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(64, 145, 108, 0.18);
  margin-bottom: 1.5rem;
}

.password-row {
  display: flex;
  align-items: center;
}

.password-toggle {
  position: absolute;
  right: 0;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
  display: flex;
  align-items: center;
}

.password-toggle:hover {
  opacity: 1;
}

.login__row__error {
  min-height: 2rem;
  margin-bottom: 0.5rem;
}

.login__icon {
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.login__icon.name path {
  stroke-dasharray: 73.50196075439453;
  stroke-dashoffset: 73.50196075439453;
  -webkit-animation: animatePath 2s 0.5s forwards;
  animation: animatePath 2s 0.5s forwards;
}

.login__icon.pass path {
  stroke-dasharray: 92.10662841796875;
  stroke-dashoffset: 92.10662841796875;
  -webkit-animation: animatePath 2s 0.5s forwards;
  animation: animatePath 2s 0.5s forwards;
}

.login__input {
  display: inline-block;
  width: 22rem;
  height: 100%;
  padding-left: 1.5rem;
  font-size: 1.5rem;
  background: transparent;
  color: #333;
  border: none;
}

input::placeholder {
  color: rgba(45, 90, 65, 0.45);
}

.btnRecover {
  color: #40916c;
  background: none !important;
  border: none;
  padding: 0 !important;
  text-decoration: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.btnRecover:hover {
  color: #2d6a4f;
  text-decoration: underline;
}

.login__submit {
  position: relative;
  width: 100%;
  height: 4rem;
  margin: 2.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, #40916c 0%, #2d6a4f 100%);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 2rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35);
}

.login__submit:hover {
  background: linear-gradient(135deg, #2d6a4f 0%, #1b4332 100%);
  box-shadow: 0 6px 18px rgba(27, 67, 50, 0.45);
  transform: translateY(-1px);
}

.login__submit__recover {
  position: relative;
  width: 100%;
  height: 4rem;
  margin: 5rem 0 2rem;
  color: rgba(255, 255, 255, 0.95);
  background: linear-gradient(135deg, #52b788 0%, #40916c 100%);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-radius: 2rem;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 14px rgba(64, 145, 108, 0.35);
}

.login__submit__recover:hover {
  background: linear-gradient(135deg, #40916c 0%, #2d6a4f 100%);
  box-shadow: 0 6px 18px rgba(45, 106, 79, 0.45);
  transform: translateY(-1px);
}

.login__submit:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -1.5rem;
  margin-top: -1.5rem;
  width: 3rem;
  height: 3rem;
  border: 2px dotted #fff;
  border-radius: 50%;
  border-left: none;
  border-bottom: none;
  -webkit-transition: opacity 0.1s 0.4s;
  transition: opacity 0.1s 0.4s;
  opacity: 0;
}

.login__submit.processing {
  width: 4rem;
  font-size: 0;
}

.login__submit.processing:after {
  opacity: 1;
  -webkit-animation: rotate 0.5s 0.4s infinite linear;
  animation: rotate 0.5s 0.4s infinite linear;
}

.login__submit.success {
  -webkit-transition: opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
  transition: opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
  transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s;
  transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
  -webkit-transform: scale(30);
  transform: scale(30);
  opacity: 0.9;
}

.login__submit.success:after {
  -webkit-transition: opacity 0.1s 0s;
  transition: opacity 0.1s 0s;
  opacity: 0;
  -webkit-animation: none;
  animation: none;
}

.login__submit__recover.processing {
  width: 4rem;
  font-size: 0;
}

.login__submit__recover.processing:after {
  opacity: 1;
  -webkit-animation: rotate 0.5s 0.4s infinite linear;
  animation: rotate 0.5s 0.4s infinite linear;
}

.login__signup {
  font-size: 13px;
  color: #4a6357;
  margin-top: 1.5rem;
}

.login__signup__welcome {
  font-size: 16px;
  font-weight: 700;
  color: #1b4332;
  margin: 1rem auto 2rem;
  text-align: center;
  letter-spacing: 0.2px;
}

.login__signup__recover {
  font-size: 16px;
  font-weight: 700;
  color: #1b4332;
  margin: 1rem auto 2rem;
  text-align: center;
  letter-spacing: 0.2px;
}

.login__submit__recover.success {
  -webkit-transition: opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
  transition: opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
  transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s;
  transition: transform 0.3s 0.1s ease-out, opacity 0.1s 0.3s, background-color 0.1s 0.3s, -webkit-transform 0.3s 0.1s ease-out;
  -webkit-transform: scale(30);
  transform: scale(30);
  opacity: 0.9;
}

.login__submit__recover.success:after {
  -webkit-transition: opacity 0.1s 0s;
  transition: opacity 0.1s 0s;
  opacity: 0;
  -webkit-animation: none;
  animation: none;
}

.app {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  display: none;
  -webkit-transition: opacity 0.1s, -webkit-transform 0.3s cubic-bezier(0.68, -0.45, 0.465, 1.25);
  transition: opacity 0.1s, -webkit-transform 0.3s cubic-bezier(0.68, -0.45, 0.465, 1.25);
  transition: opacity 0.1s, transform 0.3s cubic-bezier(0.68, -0.45, 0.465, 1.25);
  transition: opacity 0.1s, transform 0.3s cubic-bezier(0.68, -0.45, 0.465, 1.25), -webkit-transform 0.3s cubic-bezier(0.68, -0.45, 0.465, 1.25);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

.app.active {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}

.app.active .app__user-photo {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.app.active .app__meeting {
  -webkit-transform: translateY(0);
  transform: translateY(0);
  opacity: 1;
}

.app.active .app__logout {
  -webkit-transform: scale(1);
  transform: scale(1);
}

.app__top {
  position: relative;
  height: 28rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 6rem 1.5rem 2rem;
  text-align: center;
}

.app__bot {
  position: relative;
  height: 25rem;
  background: #fff;
}

.app__menu-btn {
  position: absolute;
  top: 2rem;
  left: 1.5rem;
  width: 1.8rem;
  height: 1.7rem;
  cursor: pointer;
}

.app__menu-btn span,
.app__menu-btn:before,
.app__menu-btn:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.app__menu-btn span {
  top: 0.8rem;
}

.app__menu-btn:before {
  content: "";
  top: 0;
}

.app__menu-btn:after {
  content: "";
  bottom: 0;
}

.app__icon {
  position: absolute;
  top: 2rem;
}

.app__icon.search {
  right: 1.5rem;
  stroke-dasharray: 61.847137451171875;
  stroke-dashoffset: 61.847137451171875;
  -webkit-animation: animatePath 0.5s 0.5s forwards;
  animation: animatePath 0.5s 0.5s forwards;
}

.app__hello {
  font-size: 2.2rem;
  color: #fff;
  font-weight: normal;
  margin-bottom: 3rem;
}

.app__user {
  position: relative;
  display: inline-block;
  width: 9rem;
  height: 9rem;
  margin-bottom: 3rem;
}

.app__user-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -webkit-transition: -webkit-transform 0.3s 0.2s cubic-bezier(0.62, 0.35, 0.56, 1.55);
  transition: -webkit-transform 0.3s 0.2s cubic-bezier(0.62, 0.35, 0.56, 1.55);
  transition: transform 0.3s 0.2s cubic-bezier(0.62, 0.35, 0.56, 1.55);
  transition: transform 0.3s 0.2s cubic-bezier(0.62, 0.35, 0.56, 1.55), -webkit-transform 0.3s 0.2s cubic-bezier(0.62, 0.35, 0.56, 1.55);
  -webkit-transform: scale(0);
  transform: scale(0);
}

.app__user-notif {
  position: absolute;
  top: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  line-height: 3rem;
  text-align: center;
  background: #50D2C2;
  color: #fff;
  font-size: 1.5rem;
}

.app__month:after {
  content: "";
  display: table;
  clear: both;
}

.app__month-name {
  display: inline-block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  text-transform: uppercase;
}

.app__month-btn {
  display: inline-block;
  width: 1.2rem;
  height: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-left: none;
  border-bottom: none;
  cursor: pointer;
}

.app__month-btn.left {
  float: left;
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}

.app__month-btn.right {
  float: right;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

.app__days {
  height: 7rem;
  padding: 1.5rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.app__day {
  width: 14%;
  text-align: center;
  font-size: 1.2rem;
}

.app__day.weekday {
  color: #919197;
  text-transform: uppercase;
}

.app__day.date {
  font-size: 1.2rem;
  font-weight: bold;
  color: #3C3C43;
}

.app__meeting {
  position: relative;
  height: 6rem;
  border-top: 1px solid #EEEEEF;
  padding: 1rem 2rem 1rem 7.5rem;
  -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: opacity 0.3s, -webkit-transform 0.3s;
  transition: transform 0.3s, opacity 0.3s;
  transition: transform 0.3s, opacity 0.3s, -webkit-transform 0.3s;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  opacity: 0;
}

.app__meeting:nth-child(1) {
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
}

.app__meeting:nth-child(2) {
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

.app__meeting:nth-child(3) {
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
}

.app__meeting:nth-child(4) {
  -webkit-transition-delay: 0.5s;
  transition-delay: 0.5s;
}

.app__meeting:nth-child(5) {
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
}

.app__meeting-photo {
  position: absolute;
  left: 2rem;
  top: 1rem;
  width: 4rem;
  height: 4rem;
}

.app__meeting-name {
  color: #000;
  font-size: 1.3rem;
}

.app__meeting-info {
  color: #949498;
  font-size: 1.1rem;
}

.app__logout {
  position: absolute;
  bottom: 3.3rem;
  right: 3.3rem;
  width: 4.6rem;
  height: 4.6rem;
  margin-right: -2.3rem;
  margin-bottom: -2.3rem;
  background: #08ABD5;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  cursor: pointer;
  -webkit-transition: bottom 0.4s 0.1s, right 0.4s 0.1s, opacity 0.1s 0.7s, background-color 0.1s 0.7s, -webkit-transform 0.4s 0.4s;
  transition: bottom 0.4s 0.1s, right 0.4s 0.1s, opacity 0.1s 0.7s, background-color 0.1s 0.7s, -webkit-transform 0.4s 0.4s;
  transition: bottom 0.4s 0.1s, right 0.4s 0.1s, transform 0.4s 0.4s, opacity 0.1s 0.7s, background-color 0.1s 0.7s;
  transition: bottom 0.4s 0.1s, right 0.4s 0.1s, transform 0.4s 0.4s, opacity 0.1s 0.7s, background-color 0.1s 0.7s, -webkit-transform 0.4s 0.4s;
  -webkit-transform: scale(0);
  transform: scale(0);
}

.app__logout.clicked {
  bottom: 50%;
  right: 50%;
  -webkit-transform: scale(30) !important;
  transform: scale(30) !important;
  opacity: 0.9;
}

.app__logout.clicked svg {
  opacity: 0;
}

.app__logout-icon {
  position: absolute;
  width: 3rem;
  height: 3rem;
  top: 50%;
  left: 50%;
  margin-left: -1.5rem;
  margin-top: -1.5rem;
  -webkit-transition: opacity 0.1s;
  transition: opacity 0.1s;
}

.app__logout-icon path {
  stroke-width: 4px;
  stroke-dasharray: 64.36235046386719;
  stroke-dashoffset: 64.36235046386719;
  -webkit-animation: animatePath 0.5s 0.5s forwards;
  animation: animatePath 0.5s 0.5s forwards;
}

.ripple {
  position: absolute;
  width: 15rem;
  height: 15rem;
  margin-left: -7.5rem;
  margin-top: -7.5rem;
  background: rgba(0, 0, 0, 0.4);
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-animation: animRipple 0.4s;
  animation: animRipple 0.4s;
  border-radius: 50%;
}

@-webkit-keyframes animRipple {
  to {
    -webkit-transform: scale(3.5);
    transform: scale(3.5);
    opacity: 0;
  }
}

@keyframes animRipple {
  to {
    -webkit-transform: scale(3.5);
    transform: scale(3.5);
    opacity: 0;
  }
}

@-webkit-keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes rotate {
  to {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@-webkit-keyframes animatePath {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes animatePath {
  to {
    stroke-dashoffset: 0;
  }
}