@use "../../../assets/scss/customVariables.scss" as *;

.container {
  width: 100%;
  max-width: 48.5%;
  gap: 7px;
  display: flex;
  flex-direction: column;

  @media screen and (max-width: 920px) {
    max-width: 45.5%;
  }
  @media screen and (max-width: 750px) {
    max-width: 100%;
  }
  
}

.container30percent {
  width: 30%;
  max-width: 30%;
  gap: 7px;
  display: flex;
  flex-direction: column;

  @media screen and (max-width: 600px) {
    width: 100%;
    max-width: 100%;
  }
  
}

.mapContainer {
  width: 100%;
  height: 406px;
  background-color: #e7e7e7;
  border-radius: 13px;
  overflow: hidden;
}

.previewFilesContainer {
  border-radius: 7px;
  text-align: center;
  color: #333;
  box-shadow: 0 0 19px #2177f026;
  transition: background-color 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  padding: 27px 40px;
  position: relative;

  .closeButton{
    position: absolute;
    top: 5px;
    right: 5px;
    cursor: pointer;
  }

  .previews {
    min-width: 30%;
    max-width: 30%;
    height: 148px;
    border-radius: 7px;
    background: #7a7a7a;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;

    img {
      width: 100%;
      height: auto;
    }
  }
}

.openGalleryHeader {
  width: 100%;
  height: 50px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
}

.openGalleryHeaderText {
  font-weight: 600;
  color: #101010;
  font-size: 23px;
}

.backButton {
  position: absolute;
  left: 0;
  top: 0;
}

.textInputContainer {
  width: 100%;
  height: 47px;
  border-radius: 7px;
  border: 1px solid #DDDDDD;
  padding-left: 27px;
  padding-right: 27px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  gap: 30px;
}

.textInputContainerSimple  {
  width: 100%;
  height: 40px;
  border-bottom: 1.5px solid #363636;
  padding-left: 10px;
  padding-right: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  gap: 30px;
}

.codeInputContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.selectInputContainer {
  width: 100%;
  height: 43px;
  border-radius: 7px;
  border: 1px solid #A4A8BB;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.selectInputSelectPart {
  width: 20%;
  height: 100%;
  background-color: #F7F7F7;
  border-right: 1px solid #A4A8BB;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 20px;
  padding-right: 5px;
  justify-content: space-between;
}

.selectInputSelectPartText {
  font-weight: 400;
  line-height: 25.5px;
  color: #7E7E7E;
  white-space: nowrap;
  max-width: 70px;
  overflow: hidden;
}

.selectInputInputPart {
  width: 80%;
  height: 100%;
  padding-left: 14px;
  padding-right: 14px;
  font-family: "Raleway";
}

.textInput {
  width: 100%;
  height: 100%;
}

.requiredMark {
  color: red;
}

.label {
  font-weight: 600;
  font-size: 18px;
  line-height: 22.66px;
  color: #000000;
  width: fit-content;
  gap: 7px;
  display: flex;
  flex-direction: row; 
  align-items: center;
}

.helperText {
  font-size: 18px;
  font-weight: 500;
  color: #5E5E5E;
}

.radiosContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;

  .keyboardArrowDown {
    width: 36px;
    height: 100%;
    border-left: 1px solid #DDDDDD;
    background-color: #ededed;
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    right: 0;
  }
}

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

.radioContainerText {
  font-size: 17px;
  font-weight: 400;
  line-height: 25.5px;
  color: #7E7E7E;
}

.selectInnerTab {
  font-size: 17px;
  line-height: 25.5px;
  font-weight: 400;
  color: #7E7E7E;
  white-space: nowrap;
}

.filesContainer {
  width: 100%;
  gap: 30px;
  display: flex;
  flex-direction: column;
  
  .filelistContainer {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
  }
}

.dropzone{
  width: 100%;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  position: relative;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  background-color: #6C6C6C;
  padding: 50px 22px;
  gap: 30px;

  .text {
    font-size: 30px;
    font-weight: 600;
    color: #fff;
  }
}

.bottomText{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 65px;
  border-radius: 13.42px;
  box-shadow: 0 0 10px #e7e7e7;
  font-size: 22px;
  font-weight: 600;
  line-height: 34.52px;
  color: #5E5E5E;
}

.fileItemContainer {
  min-width: 152.24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fileItem {
  padding: 5px 22px;
  background: #D9D9D9;
  border-radius: 6px;
  flex: 1;
  min-width: 152.24px;
  min-height: 152.24px;
  max-width: 152.24px;
  max-height: 152.24px;
  border-radius: 13.04px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  .deleteFileButton {
    cursor: pointer;
    position: absolute;
    right: -10px;
    top: 5px;
    width: 15px;
    background-color: #EF1414;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
    border-radius: 50%;
    height: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
  }
}

.fileNumber {
  font-size: 27px;
  color: #000;
  font-weight: 600;
}

.fileItemText {
  font-weight: 400;
  font-size: 13px;
  color: #FFF;
  white-space: nowrap;
  
}

.formInputCards {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  box-sizing: border-box;
  padding: 25px;

  @media screen and (max-width: 622px) {
    padding: 25px 10px; 
  }

  @media screen and (max-width: 540px) {
    padding: 0;
  }
}
.buttons {
  width: 247px;
  height: 247px;
  background-color: #00000080;
  border-radius: 6.67px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 7px;
  position: relative;
  overflow: hidden;

  @media screen and (max-width: 662px) {
    width: 207px;
    height: 207px;
  }

  @media screen and (max-width: 500px) {
    width: 180px;
    height: 180px;
  }

  .deleteIconButton {
    position: absolute;
    top: 5px;
    right: 5px;
  }
}

.buttonsGalleryOpen {
  width: 247px;
  height: 300px;
  background-color: #00000080;
  border-radius: 6.67px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;

  @media screen and (max-width: 662px) {
    width: 207px;
    height: 267px;
  }

  @media screen and (max-width: 500px) {
    width: 180px;
    height: 220px;
  }
}

.buttonText {
  font-weight: 700;
  font-size: 14.68px;
  line-height: 13.79px;
  color: #fff;
  z-index: 10;
}

.galleryPreviewImage {
  width: 100%;
  height: auto;
  position: absolute;
}

.galleryImage {
  width: 100%;
  height: auto;
  position: absolute;

}
.galleryImageIcon {
  position: absolute;
  top: 5px;
  left: 5px;
  color: rgb(40, 238, 40);
}

.imageShadow {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  background-color: #00000032;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all ease 250ms;

  &:hover {
    background-color: #00000080;
  }
}

.deleteIconButton {
  border: 2px solid #FF3030;
}

.switchButton {
  border: 0;
}

.messageInCard {
  width: 100%;
  padding: 17px 26px;
  background-color: #fff;
  border-radius: 7px;
  gap: 15px;
  box-sizing: border-box;
  /* Aproximación a la sombra */
}

.messageInCardTitle {
  font-weight: 700;
  font-size: 19px;
  line-height: 25.16px;
}

.messageInCardText {
  font-weight: 400;
  font-size: 17px;
  line-height: 20px;
  color: #565656;
}

.buttonsCards {
  width: 220px;
  height: 150px;
  background-color: #00000080;
  border-radius: 6.67px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  overflow: hidden;
}

.containerIdentification {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 350px;
  justify-content: center;
}

.noIdentification {
  font-weight: 600;
  font-size: 21px;
  line-height: 27.16px;
  text-align: center;
  color: #A1AED4;
}

.dividerContainer {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.divider {
  width: 75px;
  height: 4px;
  margin-bottom: 10px;
  border-radius: 100px;
  background-color: $primary-color;
}

.acceptCancelContainer {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}

.acceptCancelButton {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.root {
  flex: 1;
  padding: 20px;
}

.title {
  text-align: center;
  font-size: 30px;
}

.codeFieldRoot {
  margin-top: 20px;
}

.cell {
  width: 40px;
  height: 40px;
  line-height: 38px;
  font-size: 24px;
  border: 2px solid #00000030;
  text-align: center;
}

.focusCell {
  border-color: #000;
}