:root {
  --text-color: #4d4d4d;
  --title-color: #79b44a;
  --main-color: ##ABA793;
  --secondary-color: #4A5D41;
  --gray: #606060;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-color);
}

body {
  overflow-x: hidden;
  background-color: #ffffff;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--title-color);
}

h1 {
  margin-bottom: 2rem;
  font-family: "Open Sans", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  text-align: center;
  color: var(--title-color);
}

h3 {
  display: block;
  color: #4A5D41;
  margin-bottom: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400 !important;
  font-size: 1.2rem;
}

a {
  color: #ffffff;
  text-decoration: none;
}

a, a:before, a:after {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

a:hover {
  padding: 0 4px;
  background-color: #517d2c;
}


span.block {
  display: block;
}

.login {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  margin: 20vh auto;
}

.login__container {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  padding: 1rem;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
}

.login__container-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.login__container-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 90%;
}

.login__container-form button {
  padding: .5rem;
  font-size: 1.1rem;
  width: 100%;
  margin-top: 0 !important;
  border: 1px solid var(--secondary-color);
  border-radius: 5px;
  background-color: var(--secondary-color);
  color: #ffffff;
  cursor: pointer;
}

.form__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.form__group label {
  display: block;
  margin-bottom: .5rem;
  font-size: .9rem;
  font-weight: 300;
}

.form__group input {
  margin: .75rem 0 0;
  padding: .5rem;
  font-size: 1.1rem;
  width: 100%;
  border: 1px solid var(--gray);
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 100vh;
}

.main__container {
  max-width: 1200px;
  width: 100%;
  margin: 2rem auto;
  padding: 0 1rem;
}

.main__container-data-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 1rem
}

.main__container-selector {
  min-width: 300px;
}

.main__container-selector select {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  padding: .5rem;
  margin-top: 1rem;
  font-size: 1.1rem;
  width: 100%;
}

.main__container-selector ul li:hover,
.is-selected {
  background: var(--secondary-color);
  color: #ffffff;
}

.main__container-selector ul li {
  padding: .5rem 1rem;
  border: 1px solid #000000;
}

.main__container-selector ul li:not(:last-child) {
  border-bottom: 0;
}


.main__container-table--title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: .25rem;
}

.main__container-table--title svg {
  margin-left: 1rem;
  fill: var(--title-color);
}

.main__container-table--refresh-icon {
  cursor: pointer;
  stroke: var(--secondary-color);
}

.rotate {
  animation-name: spin;
  animation-duration: 500ms;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-180deg);
    -webkit-transform: rotate(-180deg);
    -moz-transform: rotate(-180deg);
    -ms-transform: rotate(-180deg);
    -o-transform: rotate(-180deg);
  }
}

.result__list {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  display: flex;
  flex-direction: column;
  min-width: 450px;
  max-width: 600px;
  width: 100%;
  padding-inline-start: 0;
  margin-top: 0;
  list-style-type: none;
}

.result__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: .5rem 1rem;
  border: 1px solid #AEAA95;
}

.result__item.is-confimed {
  background-color: var(--secondary-color);
  color: #ffffff;
}

.result__list-upper-row,
.result__list-lower-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.result__list-lower-row {
  margin-bottom: 0.3rem;
}


.result__list-upper-row span {
  font-size: .7rem;
}

.result__list-lower-row small {
  font-size: .85rem;
  line-height: 110%;
  font-weight: 300;
  margin-bottom: .25rem;
}

.position {
  font-size: .65rem
}

.result__list-lower-row .remove-confirmed {
  background: #fff;
  border: 1px solid #d63220;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  opacity: .5;
  margin-bottom: .5rem;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.result__list-lower-row .add-confirmed {
  background: #fff;
  border: 1px solid #148712;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  opacity: .5;
  margin-bottom: .5rem;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.result__list-lower-row .remove-confirmed:hover,
.result__list-lower-row .add-confirmed:hover {
  cursor: pointer;
  opacity: 1;
}

.result__item.is-confimed .result__list-upper-row::after {
  content: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='1.35rem' height='1.35rem' viewBox='0 0 23 23'%3E%3Cpath fill='%23ffffff' d='M.41 13.41L6 19l1.41-1.42L1.83 12m20.41-6.42L11.66 16.17L7.5 12l-1.43 1.41L11.66 19l12-12M18 7l-1.41-1.42l-6.35 6.35l1.42 1.41L18 7Z'%3E%3C/path%3E%3C/svg%3E");
  font-weight: 400;
  line-height: 24px;
  color: #ffffff;
  padding: 0 10px;
  margin-left: .5rem;
}

.result__item:not(:last-child) {
  border-bottom: 0;
}

.timestamp {
  margin-left: auto;
  font-size: .65rem;
  text-align: right;
}

.resume__header {
  margin-top: 1.5rem;

}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5rem;
}

.condiciones {
  margin-top: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.condiciones label {
  line-height: 1.5rem;
  color: #4A5D41;
  font-weight: 400;
  margin-right: .65rem;
}

.main__container-resume {
  position: sticky;
  top: 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: .75rem;
}

.resume__header h3 {
  display: block;
  background-color: #4A5D41;
  padding: .5rem 1rem;
  margin-bottom: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-weight: 400 !important;
  font-size: 1.2rem;
  color: #ffffff;
}

.resume__body {
  padding: .5rem 1rem;
  border: 1px solid #AEAA95;
}

.footer {
  padding: 2rem 0;
  background-color: var(--secondary-color);
  color: #ffffff;
  width: 100%;
  font-size: .75rem;
  line-height: 130%;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
}

.footer__container {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

.btn {
  border: 0;
  margin-top: 2rem;
  padding: .3rem 1.5rem;
  display: inline-block;
  background-color: #AEAA95;
  font-size: 12px;
  font-weight: 400;
  line-height: 35px;
  color: #fff;
}

.btn:hover {
  cursor: pointer;
  padding: .3rem 2rem;
  background-color: #6BAA36;
}

.footer__links {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  height: 100%;
  list-style-type: none;
}


.fade-enter-active {
  transition: opacity .5s;
  -webkit-transition: opacity .5s;
  -moz-transition: opacity .5s;
  -ms-transition: opacity .5s;
  -o-transition: opacity .5s;
}

.fade-leave-active {
  transition: opacity .05s;
  -webkit-transition: opacity .05s;
  -moz-transition: opacity .05s;
  -ms-transition: opacity .05s;
  -o-transition: opacity .05s;
}

.fade-enter,
.fade-leave-to {
  opacity: 0
}

@media screen and (min-width: 2150px) {
  .main__container-title {
    margin-top: 6vw;
  }
}

/* Sweet alert overrides */
.swal2-title {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.swal2-styled.swal2-confirm {
  border: 0;
  background: initial;
  background-color: #44a611;
}

.swal2-styled.swal2-confirm:focus {
  box-shadow: 0 0 0 3px rgba(68, 166, 17, .3);
}