@import url('https://fonts.googleapis.com/css2?family=Montserrat');

*{
  font-family: 'Montserrat';
}

a{
  align-self: center;
  text-align: center;
  color: inherit;
  text-decoration: inherit;
  -webkit-tap-highlight-color: transparent;
}

#a{
  align-self: center;
  text-align: center;
  color: blue;
  text-decoration: underline;
  margin: 0;
  padding: 0;
}

span {
  display: block;
  font-size: 18px;
  font-weight: 600;
}

body {
  background-color: #bfbfbf;
}

.container {
  align-items: center;
  background-color: #fff;
  border-radius: 40px;
  color: #000;
  display: block;
  font-size: 18px;
  justify-content: center;
  margin: 19vh auto 4vh auto;
  top: -10px;
  padding: 2vh 2vw;
  position: relative;
  text-align: center;
  box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.file-input-container {
  margin: 2000px auto;
}

#login-container {
  margin: auto;
  position: static;
}

#login-button {
  margin: 2vh auto 1vh auto;
  padding: 12px 24px;
  width: auto;
}

.header {
    align-items: center;
    background-color: #000;
    border-radius: 0 0 40px 40px;
    display: flex;
    justify-content: space-between;
    left: 0;
    margin: 0;
    padding: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 2;
    box-shadow: 0px 1px 1px 1px rgba(0, 0, 0, 0.1);
    transition: top 0.3s ease-in-out;
}

.sticky {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-left: auto;
  text-align: right;
}

label[for="patente"] {
  font-weight: 600;
  margin: 0.5vh;
}

label[for="marca"] {
  font-weight: 600;
  margin: 0.5vh;
}

label[for="medida"] {
  font-weight: 600;
  margin: 0.5vh;
}

label[for="vin"] {
  font-weight: 600;
  margin: 0.5vh;
}

label[for="password"] {
  font-weight: 600;
  margin: 0;
}

label[for="new_password"] {
  font-weight: 600;
  margin: 0;
}

label[for="confirm_password"] {
  font-weight: 600;
  margin: 0;
}

label[for="username"] {
  font-weight: 600;
  margin: 0;
}

label[for="file"] {
  font-weight: 600;
  margin: 0;
}

label[for="email"] {
  font-weight: 600;
  margin: 0;
}

label[for="puntos"] {
  align-self: center;
  margin-left: auto;
  text-align: right;
  font-size: 14px;
  font-weight: 600;
}

#puntos {
  align-self: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

#puntos-container {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 0 9vw 1vh 9vw;
  margin-right: 6px;
  position: relative;
}

.header-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border: none;
  background-color: transparent;
  height: 7vh;
  margin: 4vh;
  padding: 0;
  width: 7vh;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#header-button-image {
  margin: 1vh;
  height: 5vh;
  padding: 0;
  width: 5vh;
}

.header-button:active #header-button-image {
  filter: invert(50%);
}

#header-logo {
  height: 7vh;
  margin: 4vh;
}

h1 {
  margin: 0 auto 4vh auto;
}

h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin: 1vh 2vw 1vh 2vw;
}

h4, h5, h6 {
  font-size: 12px;
}

h2 {
  margin: 4vh auto 6vh auto;
}

h3 {
  font-size: 30px;
  margin: 4vh auto;
}

#button-image {
  margin: 0;
  margin-right: 8px;
}

.input {
  border: 2px solid #000;
  border-radius: 40px;
  display: block;
  font-size: 18px;
  margin: 2vh auto;
  padding: 6px;
  width: 70vw;
}

.label {
  display: block;
  font-size: 18px;
  font-weight: 500;
  margin: 2vh auto;
}

.filled-button,
.outlined-button,
.text-button {
  display: flex;
  border-radius: 40px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  margin: 0 auto 6vh auto;
  padding: 12px 6vw;
  text-decoration: none;
  text-align: center;
  justify-content: center;
  align-items: center;
  width: 69vw;
  -webkit-tap-highlight-color: transparent;
}

#button-image {
  display: inline-block;
  margin: auto 3vw auto -3vw;
  width: 18px;
  height: 18px;
  align-self: center;
  vertical-align: middle;
}

.filled-button {
  background-color: #000000;
  border: none;
  color: #ffffff;
}

.outlined-button {
  background-color: transparent;
  color: #000000;
  border: 2px solid #000000;
}

.text-button {
  background-color: transparent;
  color: #000000;
  border: none;
  text-decoration: underline;
}

.filled-button:active,
.outlined-button:active,
.text-button:active {
  background-color: #cccccc;
  border-color: transparent;
  color: #000000;
}

.filled-button:active #button-image {
  filter: invert(100%);
}

.outlined-button:active #button-image {
  filter: invert(100%);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: auto;
  left: 0;
}

.dropdown-content-button {
  font-size: 16px;
}
.dropdown-content-button:active{
  filter: invert(25%);
}

#dropdown-button-top::before {
  content: "";
  position: absolute;
  
  background-color: transparent;
  top: -80px;
  right: 0;
  height: 80px;
  width: 40px;
  border-bottom-right-radius: 40px;
  box-shadow: 0 40px 0 0 #fff;
  pointer-events: none;
  z-index: 0;
}

#dropdown-button-top {
  border: none;
  font-weight: 600;
  padding: 5vh 9vw;
  background-color: #fff;
  color: #000;
  cursor: pointer;
  height: 15vh;
  width: 40vw;
  display: flex;
  align-items: center;
  text-align: left;
}

#dropdown-button-bottom {
  padding: 5vh 9vw;
  padding-right: 8.8vw;
  background-color: #ff0000;
  border: none;
  border-radius: 0 0 0 40px;
  color: #fff;
  cursor: pointer;
  font-weight: 600;
  height: 15vh;
  width: 40vw;
  display: flex;
  align-items: center;
  text-align: left;
}

#menuButton, #printButton, #confirmButton, #cancelButton, #enviarButton, #imprimirButton {
  display: inline;
  width:auto;
  margin: 2vh 4vw;
}

.dropdown:hover .dropdown-content {
  display: block;
  border-radius: 0 0 0 40px;
  box-shadow: -1px 1px 1px 1px rgba(0, 0, 0, 0.1);
  left: auto;
  right: 0;
  z-index: 1;
}

table {
  width: 100%;
  font-weight: 600;
  border-collapse: collapse;
  text-align: center;
}

th, td {
  font-size: 16px;
  padding: 1vh 2vw;
  text-align: center;
}

th {
  background-color: #000;
  color: white;
}

td:empty::before {
  content: "——";
  color: #404040;
}

#timestamp {
  font-size: 12px;
}

@media (max-width: 768px) {
  table {
    font-size: 14px;
    margin: 0;
    margin-bottom: 40px;
  }
}


.canvas {
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 40px;
  margin: 2vh auto;
  width: 80vw;
}


.modal {
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  font-size: 18px;
  font-weight: 400;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1;
}

.modal-content {
  background-color: #cccccc;
  border-radius: 40px;
  color: #000000;
  left: 50%;
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 80vw;
}

.close {
  color: #000000;
  cursor: pointer;
  float: right;
  font-size: 18px;
  font-weight: 400;
}
