@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #ececec;
  transition: background-color 0.2s, color 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}
body.dark-mode {
  background-color: #242124;
}

#iconoToggler {
  font-size: 30px;
  margin-right: 10px;
  cursor: pointer;
}

#contenedorMain {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-inline: 24px;
}

.cajaLogin {
  border-radius: 20px;
  padding: 20px;
  background-color: #dad2bc;
  width: 800px;
  border: 5px solid #242124;
}
body.dark-mode .cajaLogin {
  background-color: #70798c;
  border: 5px solid white;
}

.form-control {
  background-color: #ececec;
}
.form-control:focus {
  border-color: #242124;
  box-shadow: 0 0 5px #242124;
  outline: none;
}

body.dark-mode .form-control {
  background-color: #242124;
}
body.dark-mode .form-control:focus {
  border-color: #ececec;
  box-shadow: 0 0 5px #ececec;
  outline: none;
}

.izquierda {
  border-radius: 10px;
  background-color: #a99985;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.dark-mode .izquierda {
  background-color: #242124;
}

.imagen img {
  height: 220px;
  width: 220px;
  border-radius: 10px;
}

.derecha h2 {
  text-align: center;
  color: #242124;
  font-weight: 500;
}
.derecha .titulo {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
body.dark-mode .derecha h2 {
  color: #ececec;
  font-weight: 500;
}

.form-label {
  color: #242124;
  font-weight: 400;
}
body.dark-mode .form-label {
  color: #ececec;
  font-weight: 400;
}

.botones {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.botonVolver {
  display: flex;
  justify-content: flex-start;
  margin-top: 15px;
}

.botonVolver i {
  margin-right: 5px;
  vertical-align: middle;
}

.btn-primary {
  --bs-btn-color: white;
  --bs-btn-border-color: #2c262c;
  --bs-btn-bg: #2c262c;
  --bs-btn-hover-bg: #393139;
  --bs-btn-hover-border-color: #2c262c;
  --bs-btn-active-bg: #393139;
  --bs-btn-active-border-color: #2c262c;
  font-weight: 400;
}
body.dark-mode .btn-primary {
  --bs-btn-color: black;
  --bs-btn-border-color: #dad2bc;
  --bs-btn-bg: #dad2bc;
  --bs-btn-hover-bg: #dad2bcc6;
  --bs-btn-hover-border-color: #dad2bcc6;
  --bs-btn-active-bg: #dad2bcc6;
  --bs-btn-active-border-color: #dad2bcc6;
}

footer {
  text-align: center;
  bottom: 0;
  margin-top: auto;
}

body.dark-mode .popup {
  background-color: #a99985;
}

body.dark-mode .confirmButton {
  background-color: #dad2bc;
  color: black;
}

body.dark-mode .confirmButton:hover {
  background-color: #dad2bc;
  color: black;
}

.confirmButton {
  background-color: #2c262c;
  color: white;
}

.confirmButton:hover {
  background-color: #393139;
  color: white;
}

@media (max-width: 550px) {
  .titulo {
    margin-top: 15px;
  }
  .titulo #iconoToggler {
    display: flex;
  }
}
