.buzon_banner {
  width: 100%;
  height: 210px;
  overflow: hidden;
}

.buzon_banner picture {
  width: 100%;
  height: 100%;
  display: block;
}

.buzon_banner picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.buzon_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-block: 70px 30px;
}

.buzon_info h1 {
  font-size: 1.3rem;
}

.buzon_info p {
  font-size: 14px;
  text-align: justify;
  color: #000;
}

.buzon_tabs {
  display: flex;
  gap: 50px;
}

.buzon_tabs button {
  outline: none;
  border: none;
  padding: 15px 20px 10px 20px;
  position: relative;
  z-index: 2;
  background: #f0f0f0;
  cursor: pointer;
}

.buzon_tabs button span {
  position: relative;
  z-index: 4;
  font-family: var(--enka-f-bold);
  font-size: 1.1rem;
  color: var(--enka-t-disable);
}

.buzon_tabs button.active {
  background: #fafafa;
  z-index: 3;
}

.buzon_tabs button.active span {
  color: var(--enka-blue);
}

.buzon_tabs button.active::after {
  content: "";
  background: #fafafa;
  z-index: 3;
}

.buzon_tabs button:first-child {
  border-radius: 10px 0 0 0;
  padding: 15px 10px 10px 40px;
}

.buzon_tabs button::after {
  content: "";
  position: absolute;
  right: -10%;
  top: 0;
  width: 20%;
  background: #f0f0f0;
  height: calc(100% - 0px);
  border-radius: 0 5px 0 0;
  -webkit-transform: skew(20deg, 0deg);
  -moz-transform: skew(20deg, 0deg);
  -ms-transform: skew(20deg, 0deg);
  -o-transform: skew(20deg, 0deg);
  transform: skew(20deg, 0deg);
  z-index: 1;
}

.buzon_tabs button:nth-child(2):before {
  content: "";
  position: absolute;
  left: -10%;
  top: 0;
  width: 20%;
  background: #f0f0f0;
  height: calc(100% - 0px);
  border-radius: 5px 0 0 0;
  -webkit-transform: skew(-20deg, 0deg);
  -moz-transform: skew(-20deg, 0deg);
  -ms-transform: skew(-20deg, 0deg);
  -o-transform: skew(-20deg, 0deg);
  transform: skew(-20deg, 0deg);
  z-index: 1;
}

.buzon_tabs button.active::before {
  content: "";
  background: #fafafa;
  z-index: 3;
}

[data-tab-content] {
  display: none;
}

[data-tab-content].active {
  display: flex;
}

.buzon_tabs_content {
  padding: 50px 30px 30px 40px;
  background-color: #fafafa;
  border-radius: 0 20px 20px 20px;
}

#mailbox_send_request {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  width: 100%;
}

#mailbox_send_request > div > p {
  font-size: 12px;
}

#mailbox_send_request label span {
  font-size: 12px;
}

.form-control-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.form-control-single,
.form-control-single label,
.form-control-single input {
  width: 100%;
}

.form-control-single input,
.form-control-single select {
  max-width: 100%;
}

.tab-active {
  animation: fade-in 0.3s ease-in-out;
}

.upload-box {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 5px;
  border: 2px dashed #ccc;
  border-radius: 8px;
  padding: 20px 30px;
  width: 100%;
  position: relative;
  transition: border-color 0.3s;
}

.upload-box.dragover {
  border-color: var(--enka-blue);
  background: #f0fbff;
}

.upload-icon {
  background-image: url("../images/buzon_upload.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 44px;
  height: 44px;
}

.upload-text {
  font-family: var(--enka-f-bold);
  font-size: 12px;
  color: #000;
}

.upload-subtext {
  font-size: 12px;
}

.upload-btn {
  color: var(--enka-blue);
  border: 1px solid var(--enka-blue);
  font-size: 10px;
  border-radius: 10px;
  padding: 10px;
  width: max-content;
  margin-bottom: 0;
  font-family: var(--enka-fh);
  cursor: pointer;
}

#fileInput {
  display: none;
}

.policy_field {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.policy_field p {
  margin: 0;
  font-size: 15px;
  color: #000;
}

.policy_field p a {
  color: var(--enka-blue);
}

#mailbox_send_request input,
#mailbox_send_request textarea,
#mailbox_send_request select,
#mailbox_check_request input {
  background-color: transparent;
  border-bottom: 2px solid var(--enka-light-gray);
  font-size: 14px;
  padding-inline: 0px;
}

#mailbox_send_request select {
  appearance: none;
  background-image: url("../images/dropdown.svg");
}

#mailbox_send_request textarea {
  appearance: none;
}

#mailbox_send_request button,
#mailbox_check_request button {
  padding: 10px;
  border-radius: 5px;
  background: var(--enka-blue);
  width: 100%;
  border: none;
  outline: none;
  color: white;
  font-size: 15px;
  font-family: var(--enka-f-bold);
  cursor: pointer;
  transition: background ease-in-out 0.3s;
}

#mailbox_send_request button:hover,
#mailbox_check_request button:hover {
  background-color: #2ec4ff;
}

.check_icon {
  background-image: url("../images/buzon_send.svg");
  background-size: contain;
  background-repeat: no-repeat;
  width: 50px;
  height: 50px;
}

#alert_dialog {
  border: none;
  border-radius: 10px;
  box-shadow: 4px 4px 10.7px 0px #00000030;
  padding: 25px 50px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.text_black{
  color: #000;
}

#user_message::placeholder{
  color: #00000050;
}

#alert_dialog::backdrop {
  background-color: #ffffff80;
}

#alert_dialog:open {
  display: flex;
  animation: scale_up ease-in-out 0.5s;
}

@keyframes scale_up {
  0% {
    scale: 1;
  }
  50% {
    scale: 1.05;
  }
  100% {
    scale: 1;
  }
}

#alert_dialog h4 {
  color: var(--enka-green);
  font-family: var(--enka-f-semibold);
  font-size: 16px;
}

#alert_dialog p {
  color: var(--enka-gray);
  text-align: center;
  font-size: 14px;
}

#alert_dialog p span {
  color: #000;
  font-weight: bold;
}

.dialog_btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
}

.copy_modal {
  padding: 10px 10px;
  color: #fff;
  background-color: var(--enka-blue);
  border-radius: 5px;
  border: none;
  font-family: var(--enka-f-bold);
  outline: none;
  font-size: 14px;
  cursor: pointer;
}

.close_modal {
  padding: 10px 10px;
  color: #fff;
  background-color: #979797;
  border-radius: 5px;
  font-family: var(--enka-f-bold);
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
}

button:focus {
  outline: none;
}

#mailbox_check_request {
  display: flex;
  flex-direction: row;
  gap: 20px;
  max-width: 450px;
  align-items: baseline;
}

#mailbox_check_request label span {
  font-size: 12px;
}

#mailbox_check_request button {
  max-height: fit-content;
  width: auto;
  padding-inline: 30px;
}

.request_info {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-block: 60px;
  align-items: center;
}

.buzon_status {
  display: flex;
  gap: 0px;
  margin: 0;
  padding: 0;
  padding-inline: 40px;
  width: 100%;
  max-width: 650px;
  visibility: hidden;
}

.buzon_status.show {
  visibility: visible !important;
}

.check-request {
  flex-direction: column;
}

.buzon_status li {
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: 5px;
  flex: 1;
  position: relative;
}

.buzon_status li span::before {
  content: "";
  width: 40px;
  height: 40px;
  background-image: url("../images/buzon_step_undone.svg");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.buzon_status li.done span::before {
  content: "";
  background-image: url("../images/buzon_step.svg");
}

.buzon_status li span {
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 12px;
  color: var(--enka-status-off);
  font-family: var(--enka-f-semibold);
  min-width: fit-content;
}

.buzon_status li.done span {
  color: var(--enka-blue);
  font-family: var(--enka-f-bold);
}

.buzon_status li::after {
  content: " ";
  height: 2px;
  width: 100%;
  display: block;
  /* position: absolute; */
  margin-top: 20px;
  background-color: var(--enka-status-off);
}


.hide_message{
  display: none;
}

.error_message{
  color: red;
  font-size: 14px;
}

.buzon_status li:last-child {
  flex: none;
}

.buzon_status li:last-child:after {
  content: "";
  display: none;
}

.request_response {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: center;
  margin-top: 20px;
  min-height: 120px;
  width: 100%;
  visibility: hidden;
}

.request_response.show {
  visibility: visible !important;
}

.response_message {
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--enka-light-gray);
  padding-right: 30px;
  justify-content: center;
  height: 100%;
}

.response_message span {
  font-size: 12px;
}

.response_message p {
  color: #000;
  font-size: 14px;
}

.response_documents {
  margin: 0;
  list-style: none;
  font-size: 14px;
  padding-inline: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.response_documents li {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.buzon_download_btn {
  font-size: 12px;
  font-family: var(--enka-f-semibold);
  background-color: #f0f0f0;
  border-radius: 5px;
  display: flex;
  gap: 10px;
  color: #484848;
  height: fit-content;
  padding: 5px 15px;
  transition: background-color ease-in-out 0.2s;
  flex: 1;
}

.buzon_filename {
  display: flex;
  flex: 2;
  gap: 10px;
  align-items: center;
  color: #484848;
  margin-bottom: 0;
}

.pdf_file:before {
  width: 28px;
  height: 28px;
  content: "";
  background-image: url("../images/buzon_pdf.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.doc_file:before {
  width: 28px;
  height: 28px;
  content: "";
  background-image: url("../images/buzon_docs.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.png_file:before, .jpg_file:before {
  width: 28px;
  height: 28px;
  content: "";
  background-image: url("../images/icon-descarga.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
}

.txt_limit {
  display: inline-block;
  max-width: 200px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.buzon_download_btn:hover {
  color: #484848;
  background-color: var(--enka-light-gray);
}

.buzon_download_btn::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url("../images/buzon_download.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}


@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media  only screen and (max-width: 480px) {
  #mailbox_send_request {
    grid-template-columns: 1fr;
  }

  .form-control-group{
    grid-template-columns: 1fr;
  }

  .buzon_tabs{
    gap: 10px;
  }

  .buzon_info{
    padding: 0 30px;
  }

  .upload-box{
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .policy_field p{
    font-size: 12px;
  }
}

:root {
  --enka-blue: #10abe9;
  --enka-light-gray: #d9d9d9;
  --enka-gray: #7d7d7d;
  --enka-green: #27ae60;
  --enka-t-disable: #a2a2a2;
  --enka-status-off: #979797;
  --enka-f-bold: "Montserrat-Bold";
  --enka-f-l: "Montserrat-Light";
  --enka-f-semibold: "Montserrat-SemiBold";
  --enka-fh: "Helvetica";
}
