@font-face {
	font-family: "Righteous";
	font-style: normal;
	font-weight: 400;
	src: url("https://fonts.gstatic.com/s/righteous/v17/1cXxaUPXBpj2rGoU7C9WhnGFucE.woff2") format("woff2");
	unicode-range: U+100-2ba, U+2bd-2c5, U+2c7-2cc, U+2ce-2d7, U+2dd-2ff, U+304, U+308, U+329, U+1d00-1dbf, U+1e00-1e9f, U+1ef2-1eff, U+2020, U+20a0-20ab, U+20ad-20c0, U+2113, U+2c60-2c7f, U+a720-a7ff;
}

@font-face {
	font-family: "Righteous";
	font-style: normal;
	font-weight: 400;
	src: url("https://fonts.gstatic.com/s/righteous/v17/1cXxaUPXBpj2rGoU7C9WiHGF.woff2") format("woff2");
	unicode-range: U+0??, U+131, U+152-153, U+2bb-2bc, U+2c6, U+2da, U+2dc, U+304, U+308, U+329, U+2000-206f, U+20ac, U+2122, U+2191, U+2193, U+2212, U+2215, U+feff, U+fffd;
}


/* === DESKTOP === */
.grid-container {
  display: grid;
  grid-template-columns: 320px 1fr;
  grid-template-rows: 54px 1fr 45px;
  grid-template-areas:
    "header  header"
    "sidenav main"
    "footer  footer";
  height: 100vh;
}

.header {
  grid-area: header;
  background-color: #fff;
  padding: 6px 0 6px 10px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1100;
}

.sidenav {
  grid-area: sidenav;
  background-color: #fff;
  padding: 25px;
  overflow-y: auto;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.main {
  grid-area: main;
  background-color: #faf9f8;
  padding: 0 32px 0 40px;
  max-height: calc(100vh - 54px - 45px);
  overflow: auto;
}

.footer {
  grid-area: footer;
  background-color: #f3f2f1;
  padding: 12px 20px;
}

/* El botón solo en mobile */
#hamburger_button {
  display: none;
  background: none;
  border: none;
  font-size: 1.8em;
  margin-right: 10px;
  cursor: pointer;
  color: rgb(28, 31, 43);
  position: relative;
  z-index: 1200;
}

.root-109{
  color: rgb(28, 31, 43);
}

.root-109:hover{
  color: rgb(28, 31, 43);
  background-color: rgba(225, 223, 221, 0.4);
}

#app-title {
  color: #1c1f2b;
  font-weight:bold;
  font-size:16px;
  font-family: Righteous;
}

body {
  background-color: rgba(225, 223, 221, 0.2);
  min-height: 611px;
  margin: 0;
}

.page-title {
  padding: 38px 0px;
}

.card {
  background: #fff;
  padding: 28px;
  margin-bottom: 28px;
  border-radius: 2px;
  background-clip: padding-box;
}
.shiny-notification {
  position:fixed;
  width: 20%;
  # opacity: 0.6;
  top: 60px;
  right: 0;
  background-color: #02EADA;
}
.shiny-notification-close {
  color: #da251d;
  font-size: 20px;
}
.tbody tr:nth-child(even) {
  background-color: #e8f0fc !important;
}
.tbody tr:nth-child(odd) {
  background-color: #fff !important;
}
.fixed-action-btn{
  position: fixed;
  height: 10%;
  top: 60px;
}
.ms-Button-icon.icon-78{
  color: rgb(28, 31, 43);
}
.root-129{
  background-color: #1c50d4;
}
.root-129:hover{
  background-color: #0b45a1;
  font-weight: bold;
}
/*.root-128{
  background-color: #1c50d4;
}
.root-128:hover{
  background-color: #0b45a1;
  font-weight: bold;
}
.root-128:active{
  background-color: #5184db;
  font-weight: bold;
}
*/
/* Desde aqui cambia */
[class*="labelInput"]{
  font-size: 14px;
  font-weight: 600;
  color: rgb(50, 49, 48);
}
.root-137{
  display: flex;
  justify-content: space-between;
}

.lang-dropdown{
  display: flex;
  justify-content: space-between;
  /*width:120px;*/
}
#selected_language[class*="dropdown"]{
  width: 55px;
}
#selected_language-label {
  /*width:63px;*/
  margin-right: 5px;
}

[class*="ms-ColorPicker-colorRect"] {  /* caja colores*/
  position: relative;
  margin-bottom: 8px;
  border: 1px solid rgb(243, 242, 241);
  border-radius: 2px;
  min-width: 120px;
  min-height: 150px;
  outline: none;
}

.ms-Dropdown-container{
  display: flex;
  justify-content: space-between;
}
.ms-TextField-wrapper{
  display: flex;
  justify-content: space-between;
}
.signatureInput [class*="fieldGroup"]{
  width: 35%;
}

.dallePrompt [class*="fieldGroup"]{
  width: 100%;
}
/*  Inputs numericos  */
.root-228{
  display: flex;
  justify-content: space-between;
}
/* Input dropdown */
.root-229{
  display: flex;
  justify-content: space-between;
}
/*.root-160{
  display: flex;
  justify-content: space-between;
}*/
/*Toggle Inputs*/
.root-221{
  display: flex;
  justify-content: space-between;
}
/*Toggles*/
[class*="pill-"][aria-checked="true"] {
  background: #00635e;
}
[class*="pill-"][aria-checked="true"]:hover{
  background: #024f4b;
}

/*.root-153{
  display: flex;
  justify-content: space-between;
}*/

/*Color firma*/
.ms-FocusZone.css-84.ms-swatchColorPickerBodyContainer.focusedContainer-154{
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

/* Cuadro*/
.shiny-plot-output.shiny-bound-output img {
  object-fit: contain;
  width: 100%;
  height: auto;
  max-height: 720px;
}
/*.ms-swatchColorPickerBodyContainer [class*="colorCell"]{
  border-width: 1px;
  outline: #011842;
}
*/
/*Login*/
.login-title{
  color:#1c1f2b;
  font-size: 24px;
}
/*Icons*/
.ms-Nav-navItem [class*="icon-"]{
  color: rgb(28, 31, 43);
}

.ms-Nav-navItem [class*="icon-"]:hover{
  color: #00635e;
}
.link-145:hover .ms-Button-icon{
  color: #00635e;
}
.link-162:hover .ms-Button-icon{
  color: #00635e;
}
.link-170:hover .ms-Button-icon{
  color: #00635e;
}

/*Nav text*/
.ms-Nav-navItem [class*="linkText-145"]{
  color: rgb(28, 31, 43);
  font-family: Righteous;
}

/*Buttons*/
[class*="ms-Button--primary"]{
  background: #00635e;
  border:##024f4b;
}
[class*="ms-Button--primary"]:hover{
  background: #024f4b;
  border:##00635e;
}

.form-control.shinyjs-resettable.shiny-bound-input{
  width:100%;
}

[class*="spinButtonWrapper"]{
  /*max-width: 150px;*/
  width: 35%;
}
.ms-Callout-main{
  min-width: 150px;
}
.ms-Stack [class*="dropdown"]{
  width: 35%;
}
/*
[class*="dropdownItem"]{
  width: 150px;
}
[class*="dropdownItemsWrapper"]{
  width: 150px;
}
*/
[class*="ms-Callout ms-Dropdown-callout callout-"]{
  /*max-width: 150px;*/
  width: 225px;
}

.download-artplot-container{
  display: flex;
  justify-content: space-between;
  /*width: 95%;*/
  flex-direction: column;
}

.download-artplot-container .ms-Dropdown-label{
  min-width: 180px;
}

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
  justify-content: center;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.slideshow-text {
  color: #f2f2f2;
  background: rgb(0, 0, 0, 0.5);
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 10%;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

.artwork-params {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.artwork-params-right {
  width:45%;
  display:flex;
  justify-content: space-between;
  flex-direction: column;
  gap: 1px;
}

.artwork-params-left {
  width:45%;
  display:flex;
  flex-direction: column;
}

.color-firma {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

a:-webkit-any-link {
  color: #01a862;
}

.images-slider {
  display:flex;
  justify-content: space-between;
  margin-top: 2%;
  flex-direction: row;
}

.menu-overlay {
  display: none !important;
}

/* media query for mobile*/
@media (max-width: 680px) {
  #login-side-img{
    display: none;
  }
}
/* === MOBILE === */
@media (max-width: 932px) {
  .menu-overlay.active {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999; /* asegúrate que esté sobre el contenido */
  }

  /* 1) colapsa la columna del sidenav */
  .grid-container {
    grid-template-columns: 0 1fr !important;
    grid-template-rows: 54px 1fr 45px !important;
    grid-template-areas:
      "header  header"
      "main    main"
      "footer  footer" !important;
  }

  /* 2) posiciona el sidenav fuera de la pantalla */
  .sidenav {
    position: fixed;
    top: 54px;                     /* coincide con row-header */
    left: -260px;
    width: 260px;
    height: calc(100% - 54px);
    transition: left 0.3s ease;
  }
  .sidenav.open {
    left: 0;
  }

  /* 3) muestra el botón */
  #hamburger_button {
    display: block;
  }

  #app-title {
    width: 60%;
    font-size: 14px;
  }

  .artwork-params {
    flex-direction: column;
  }

  .artwork-params-right {
  width:100%;
  }

  .artwork-params-left {
    width:100%;
  }

  .color-firma {
    display: block;
  }
  /* color firma*/
  .focusedContainer-216 {
    min-width: 10px;
  }

  .images-slider {
    flex-direction: column;
  }


  /* 4) quita márgenes al main para que ocupe todo */
  .main {
    margin: 0;
    padding: 0 16px;
  }
}

