﻿@import url("./drawer.css");
@import url("./widgetBtn.css");
@import url("./widgetBtnNewVersion.css");
@import url("./dxComponentsMod.css");
@import url("./selectorAppMenu.css");
@import url("./scroll.css");
@import url("./login.css");
@import url("./popup.css");
@import url("./toolbar.css");
@import url("./root.css");
@import url("./tai_icons.css");


* {
  user-select: none;
}

html,
body {
  height: 100vh;
}

#home {
  height: 100%;
}


.container-full {
  height: 100%;
  width: 100%;
  background-color: var(--white);
}

.container-full-mobile-app {
  width: 100%;
  max-width: 600px;
  height: 100%;
}

.rotate-logo-vertical {
  width: 5rem;
  padding: 0;
  transform: rotate(-90deg);
  background-color: var(--white);
  border-radius: 1rem;
  padding: 0.3rem;
  box-shadow: var(--box-shadow);
  margin-left: -1rem;
  margin-top: 2rem;
}

.rotate-logo-horizontal {
  /* margin: 0 auto; */
  transform: rotate(0deg);
  margin-left: 3.5rem;
  margin-bottom: 2rem;
}

.dx-drawer-content,
.dx-theme-background-color {
  background-color: var(--white) !important;
}

#taiapp_drawer {
  flex: 1;
  overflow-y: auto;
  /* height: calc(100vh - 48px) !important; */
}

#taiapp_container {
  height: calc(100vh - 48px);
}

#taiapp_content {
  height: 100%;
  background-color: var(--background-content);
}

.content-wrapper {
  padding: 0rem;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  background-color: var(--background-content);
  overflow: auto;
}

.full-size {
  height: 100% !important;
}



.SPA-page {
  display: none;
}

.SPA-active {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-items: center;
  height: 100%;
}


.container-box {
  padding: 0.5rem;
  width: 100%;
  height: 100%;
}

.container-box .dx-item-content {
  gap: 1rem;
}

#logo-enterprise-taiapp-menu {
  cursor: pointer;
  background-color: var(--background-logo-enterprise);
}


#logo-enterprise {
  width: 15%;
  min-width: 12rem;
  margin: 0 auto;
  background-color: var(--background-logo-enterprise);
  padding: 0 2rem;
  border-radius: 10rem 0 10rem 0;
}

.content-img-message {
  position: relative;
  height: calc(100vh - 48px);
  width: 100%;
}

.taiapp-home-image {
  position: absolute;
  top: 0;
  right: 0;
  height: 100vh;
  width: 100%;
  /* Asegura que la imagen ocupe todo el ancho del contenedor */
  object-fit: cover;
  /* Ajusta la imagen para cubrir todo el contenedor sin deformarla */
  opacity: 0.8;
  filter: brightness(60%) saturate(150%);
}

.taiapp-home-image::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.taiapp-home-image img {
  opacity: 0.7;
}

#home-message {
  font-size: 5.2vmax;
  letter-spacing: 0px;
  color: white;
  position: absolute;
  font-weight: 500;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  white-space: pre-wrap;
}



#taiapp_drawer {
  overflow: hidden;
}

.title-main-menu {
  font-size: 15px;
  text-align: center;
  justify-content: center;
  margin: 0 !important;
  color: var(--foreTitleMainMenu);
  background: var(--backTitleMainMenu);
  padding: 0.5rem;
  border-radius: 3px;
}

.title-main-menu div {
  margin: 0 !important;
}

.SPA-page-modal {
  height: 100% !important;
}

.SPA-page-modal .content-wrapper {
  height: 100% !important;
}

.SPA-page-modal .content-wrapper .content-layout {
  height: 100% !important;
  padding: 0;
}

.dx-card {
  margin: 0;
  width: 100%;
}

.container-box-inside {
  box-shadow: var(--box-shadow);
  background-color: var(--white);
  overflow: auto;
  padding: 1rem;
  width: 100%;
  height: 100%;
}

.container-column-between {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container-row-between {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

@media (max-width: 600px) {
  #taiapp_content .tai-function-container {
    overflow-y: scroll;
  }

  .SPA-page-modal .content-wrapper .content-layout {
    /* height: 100% !important; */
    flex-direction: row;
  }
}

.text-head {
  font-size: larger;
  font-weight: 700;
  color: var(--white);
  margin: 0;
  text-align: center;
}

.content-function-app {
  height: calc(100%);
}

.content-layout {
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  height: 100% !important;
}

/* padding: 0rem;
 display: flex;
 flex-direction: column;
 justify-content: center;
 align-items: center;
 width: 100%;
 height: 94vh !important; */

.container-app {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
  height: 94vh;
}

.container-app .dx-layout-manager .dx-field-item {
  padding: 0;
}

.container-app .dx-field-item:not(.dx-field-item-has-group):not(.dx-field-item-has-tabs):not(.dx-first-row):not(.dx-label-v-align) {
  padding: 0;
}

/* -------------------------- MEDIA QUERY -------------------------*/

@media (min-width: 340px) and (max-width: 768px) {
  .btnPopupVisible {
    display: flex;
  }

  .btnPopupNone {
    display: none;
  }

  .content-layout {
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 1rem;
    box-shadow: none;
    height: 94vh !important;
  }

  .container-app {
    margin: 0;
    flex-direction: column;
    height: 83vh;
    margin-top: 1rem;
    width: 100vw;
  }

  .container-box {
    border-left: none;
    padding: 0px;
    width: 100%;
  }

  .container-box-inside {
    background-color: var(--white);
    padding: 1rem;
    height: auto;
  }

  .title-change-view-mobile {
    font-size: larger;
    font-weight: 700;
    color: var(--black);
    text-align: center;
    width: 100%;
  }

  .title-function {
    color: var(--primary-color);
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 2.5rem;
    padding: 0;
    text-align: center;
  }

  .count {
    font-size: 1.2rem;
    margin: 0;
  }

  .title-function {
    padding: 0;
    margin: 0;
    font-size: 1.6rem;
  }
}








/* //CSS WARE HOUSE */


.btn_cancel {
  background-color: var(--error-color);
  color: var(--white);
  width: 100%;
  height: 3rem;
}

.btn_save {
  background-color: var(--success-color);
  color: var(--white);
  width: 100%;
  height: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  align-self: center;
}

.input_stock_wareHouse {
  width: 100%;
  height: 3rem;
  border-radius: 1rem;
}

.input_stock_wareHouse input {
  color: var(--color-gray-blue-dark) !important;
  font-size: 15px;
  font-weight: bold;
  text-align: center;
}


.container_form-wareHouse-info {
  height: 100%;
}

.container_form-wareHouse-info-chill,
.container_form-wareHouse-info-chill>div {
  height: 100%;
  width: 100%;
}

.info-request-wareHouse {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--color-gray-4);
  margin: 0.3rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 500;
  box-shadow: var(--box-shadow);
  position: relative;
}

.info-request-wareHouse>p {
  margin: 0rem;
  padding: 0rem;
  text-align: center;
  color: var(--color-gray-blue-dark);
}

.info-request-wareHouse>span {
  margin: 0rem;
  padding: 0rem;
  color: var(--primary-color);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
}

.container_info-request-wareHouse {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(50%, 1fr));
}

@media (max-width: 600px) {
  .container_info-request-wareHouse {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
  }
}

.minimizado {
  transition: transform 0.1s ease, opacity 0.5s ease;
  transform-origin: bottom right;
  /* transform: scaleY(0.2); */
  opacity: 0;
  pointer-events: none;

}