:root {
      /* Colores IDHAC */
      --idhac-dorado: #a99563;
      --idhac-dorado-oscuro2: #857c53;
}

.app-sidebar__user-avatar {
      width: 48px;
      background: gray;
      padding: 6px;
}
.app-sidebar__toggle {
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 15pt;
}
.app-sidebar__toggle::before {
      display: none;
}
.headerRegister,
.header-primary {
      background: var(--idhac-dorado);
      color: #fff;
}
.headerUpdate {
      background: var(--idhac-dorado);
      color: #fff;
}
.textcenter {
      text-align: center !important;
}
.textright {
      text-align: right;
}
.textleft {
      text-align: left;
}
.bootstrap-select > .dropdown-toggle {
      border: 1px solid #ccc;
}
/*Estilos login*/
#divLoading {
      position: fixed;
      top: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(254, 254, 255, 0.65);
      z-index: 9999;
      display: none;
}
#divLoading img {
      width: 50px;
      height: 50px;
}
.required {
      color: red;
      font-size: 13pt;
      font-weight: bold;
}
/* style portada categoría */
.prevPhoto {
      display: flex;
      justify-content: space-between;
      width: 300px;
      height: 200px;
      border: 1px solid #ccc;
      position: relative;
      cursor: pointer;
      background: url(../images/uploads/portada_categoria.png);
      background-repeat: no-repeat;
      background-size: cover;
      background-position: center center;
      margin: auto;
}
.prevPortada {
      width: 100%;
      min-width: 200px;
      background: none;
}
.prevPhoto label {
      cursor: pointer;
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 2;
}
.prevPhoto img {
      width: 100%;
      height: 100%;
}
.upimg,
.notblock {
      display: none !important;
}
.errorArchivo {
      font-size: 16px;
      font-family: arial;
      color: #cc0000;
      text-align: center;
      font-weight: bold;
      margin-top: 10px;
}
.delPhoto {
      color: #fff;
      display: -webkit-flex;
      display: -moz-flex;
      display: -ms-flex;
      display: -o-flex;
      display: flex;
      justify-content: center;
      align-items: center;
      border-radius: 50%;
      width: 25px;
      height: 25px;
      background: red;
      position: absolute;
      right: -10px;
      top: -10px;
      z-index: 10;
}
#tbl_list_productos img {
      width: 50px;
}
.imgProductoDelete {
      width: 175px;
}

#imgCategoria {
      text-align: center;
}
#imgCategoria img {
      width: 200px;
      margin: auto;
}

/* Upload fotos*/
#containerImages {
      display: flex;
      justify-content: flex-start;
      align-items: center;
      flex-wrap: wrap;
}
#containerImages > div {
      margin-right: 10px;
      margin-bottom: 8px;
}
.prevImage {
      border: 1px solid #ccc;
      width: 120px;
      height: 148px;
      display: flex;
      justify-content: center;
      align-items: center;
}
.prevImage img {
      width: 100%;
}
.inputUploadfile {
      display: none;
}
.btnUploadfile,
.btnDeleteImage {
      border: 0;
      background-color: #009688;
      text-align: center;
      padding: 2px 3px;
      color: #fff;
      font-size: 9pt;
      cursor: pointer;
      width: 100%;
}
.btnDeleteImage {
      background-color: #dc3545;
}
.prevImage .loading {
      width: 30px;
      height: 30px;
}
#celFotos img {
      width: 150px;
      margin: 10px;
}

.btn-outline-primary {
      color: var(--idhac-dorado) !important;
      border-color: var(--idhac-dorado) !important;
}

.btn-outline-primary:hover {
      color: #fff !important;
      background-color: var(--idhac-dorado) !important;
      border-color: var(--idhac-dorado) !important;
}

/* TIENDA VIRTUAL */
.divmetodpago label,
#divCondiciones {
      width: 100%;
      display: flex;
}
.divmetodpago label input,
#divCondiciones input {
      margin-right: 15px;
}
#divCondiciones a {
      margin-left: 5px;
}

#divCondiciones label {
      margin-bottom: 0;
}
.linkw:hover {
      text-decoration: none;
}
.container-title {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
}
.container-title input {
      border: 1px solid #ccc;
      padding: 4px;
      border-radius: 5px;
      margin-right: 5px;
}
.dflex {
      display: flex;
      justify-content: space-around;
      align-items: center;
}
.ui-datepicker-calendar {
      display: none;
}

.page-content ul li {
      list-style-type: disc;
      margin-left: 15px;
      margin-bottom: 10px;
}
.page-content ol li {
      list-style-type: decimal;
      margin-left: 15px;
      margin-bottom: 10px;
}
.page-content ul li ul li,
.page-content ol li ul li {
      list-style-type: circle;
      list-style-position: inside;
      margin-left: 15px;
}
.page-content ol li ol li,
.page-content ul li ol li {
      list-style-type: lower-latin;
      list-style-position: inside;
      margin-left: 15px;
}

.page-error {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
      -ms-flex-align: center;
      align-items: center;
      -webkit-box-pack: center;
      -ms-flex-pack: center;
      justify-content: center;
      -webkit-box-orient: vertical;
      -webkit-box-direction: normal;
      -ms-flex-direction: column;
      flex-direction: column;
      min-height: calc(100vh - 110px);
      margin-bottom: 0;
}

.page-error h1 {
      margin: 10px;
      color: #dc3545;
      font-size: 42px;
}

.btn-success {
      color: #fff;
      background-color: #102f5d;
      border-color: #102f5d;
}

.btn-success:hover {
      color: #fff;
      background-color: #4375aa;
      border-color: #4375aa;
}

.custom-file-upload {
      display: inline-block;
      padding: 10px 20px;
      cursor: pointer;
      background-color: #102f5d;
      color: white;
      border-radius: 5px;
      font-family: sans-serif;
      font-size: 14px;
      transition: background-color 0.3s ease;
}

.custom-file-upload:hover {
      background-color: #4375aa;
}

input[type="file"] {
      display: none;
}

#file-name {
      margin-left: 10px;
      font-family: sans-serif;
      font-size: 14px;
      color: #333;
}

.warning-message {
      background-color: #fdecea;
      color: #b71c1c;
      border: 1px solid #f5c6cb;
      padding: 15px;
      border-radius: 5px;
      font-family: sans-serif;
      font-size: 14px;
      margin-top: 10px;
}

.warning-message strong {
      display: block;
      margin-bottom: 5px;
}

.warning-message a {
      color: #b71c1c;
      text-decoration: underline;
      font-weight: bold;
}


/* ✅ Textos en blanco en componentes DataTables */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate,
.dataTables_wrapper .dataTables_processing {
      color: white !important;
}

.boton-descarga-documento {
      /* background-color: #003366; */
      background-color: #0d6efd;
      color: white;
      font-weight: bold;
      padding: 5px 10px;
      border: none;
      border-radius: 5px;
}

.boton-descarga-documento:focus,
.boton-descarga-documento:active {
      outline: none !important;
      box-shadow: none !important;
      background-color: #0d6efd; /* Reemplaza con tu color normal */
      color: white;
}

.boton-descarga-documento[disabled],
.btn-disabled {
      pointer-events: none;
      opacity: 0.6;
      background-color: #aaa;
      color: #444;
}

@media (max-width: 768px) {
      td.celda-password[data-tipo]:not([data-tipo="Video"])::before,
      td.celda-password[data-tipo]:not([data-tipo="Video"]) {
            display: none !important;
      }
}

