/* classes para el header */

.user-letter-initial {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #ddc9a3;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #bc955c;
}

/* Headers */
.app-main-title {
    font-size: 36px;
    font-weight: 500;
}

.app-main-subtitle {
    font-size: 20px;
    font-weight: 500;
}

.app-header-1 {
    font-size: 28px;
    font-weight: 500;
}

/* classes para el button volver */
.btn-go-back {
    text-decoration: none;
    color: #fff;
    padding: 0.2rem 1.4rem 0.2rem 1.4rem !important;
    --bs-btn-border-radius: 0.8rem;
    --bs-btn-font-size: 1rem;
    --bs-btn-bg: var(--bs-secondary);
    --bs-btn-border-color: var(--bs-secondary);
    --bs-btn-hover-bg: var(--bs-secondary);
    --bs-btn-active-bg: var(--bs-secondary-active);
    --bs-btn-active-color: #fff;
    --bs-btn-hover-color: #fff;
}

.btn-go-back i {
    color: #fff;
    margin: -0.1rem 0.4rem 0 0;
}

/* classes para botones de acción */
.btn.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    width: 35px;
    height: 35px;
    line-height: 1;
    border-radius: 50%;
}

.btn.btn-action i {
    padding: 0;
}

.btn-action-primary {
    border: 0.2rem solid #235b4e !important;
    background-color: transparent;
    --bs-btn-focus-shadow-rgb: 53, 128, 217;
    transition: all 0.2s ease-in-out;
}

.btn-action-primary i {
    color: #235b4e;
    transition: color 0.2s ease-in-out;
}

.btn-action-primary:hover {
    color: #ddc9a3;
    background-color: #235b4e;
    transition: all 0.2s ease-in-out;
}

.btn-action-primary:hover i {
    color: #ddc9a3;
    transition: color 0.2s ease-in-out;
}

.btn-action-primary:active {
    border: 0.2rem solid #10312b;
    background-color: #10312b;
    color: #ddc9a3;
}

.btn-action-primary:active i {
    color: #ddc9a3;
}

.btn-action-primary:disabled {
    border: 0.2rem solid #dadada !important;
    background-color: #d9e2df;
    opacity: 0.8;
    cursor: not-allowed;
}

.btn-action-primary:disabled i {
    color: #dadada;
}

/* Estilos generales para las tablas */
.table-red-custom {
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.table-red-custom thead {
    background: var(--bs-danger);
    font-size: 14px !important;
    font-weight: bold !important;
    color: white !important;
}

.table-red-custom thead tr th:first-child {
    border-radius: 15px 0px 0px 0px;
}

.table-red-custom thead tr th:last-child {
    border-radius: 0px 15px 0px 0px;
}

/* Estilo para formularios */

.asteriskField {
    color: var(--bs-danger);
    font-size: 1.4rem;
    margin-left: 0.3rem;
}

/* Estilo para sticky table */
.sticky-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: auto;
    max-height: 500px;
    --bs-scrollbar-color: var(--bs-danger);
}

.sticky-table tr> :first-child {
    position: sticky;
    left: 0;
    z-index: 1;
}

.sticky-table thead {
    position: sticky;
    top: 0;
    z-index: 2;
}

.sticky-table th {
    background-color: var(--bs-danger);
    color: #fff;
}

.sticky-table td {
    background-color: white;
    color: black;
}

/* estilos para el file item */
.archivo {
    display: inline-block;
    background-color: #ededee;
    border-radius: 10px;
    font-size: 10px;
    text-align: center;
    margin-right: 10px;
    width: 120px;
    height: 120px;
}

.archivo p {
    margin: 0 10%;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 80%;
    font-weight: normal;
}

.archivo .cont {
    display: block;
    height: auto;
    text-align: center;
}

.archivo .threedots {
    margin: 0;
    margin-right: 5%;
}

.archivo .opc {
    display: block;
    height: auto;
    text-align: right !important;
}

/* contenedores del footer */

#footer-decoration-top {
    background: url(/static/img/decoracion.png) repeat-x;
    height: 32px;
    width: 100%;
    background-color: var(--footer-decoration-top-bg-color);
}

#footer-decoration-bottom {
    background-color: #cfb088;
    height: 24px;
    width: 100%;
}

/* estilos para paginación */

.custom-alert {
    border-radius: 8px;
    /* Borde redondeado */
    width: 300px;
    /* Ancho personalizado */
    padding: 10px;
    /* Espaciado interno */
    display: flex;
    /* Flexbox para organizar el contenido */
    align-items: center;
    /* Centrar verticalmente */
}

#tags-input {
    display: flex;
    flex-wrap: wrap;
    /* Permitir que los tags se ajusten */
    overflow-x: auto;
    /* Habilitar el scroll horizontal */
    border: 1px solid #ccc;
    /* Borde del contenedor */
    padding: 5px;
    /* Espaciado interno */
    border-radius: 5px;
    /* Bordes redondeados */
    flex: 1;
    /* Para que ocupe el espacio restante */
}

.tags-input {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
    max-height: 43.5px;
    align-items: center;
}

.tag {
    display: inline-block;
    background-color: #FAF6EF;
    color: black;
    padding: 5px 10px;
    margin: 5px;
    border: 2px solid #DDC9A3;
    border-radius: 0px;
}

.tag .remove {
    margin-left: 8px;
    cursor: pointer;
    color: red;
}

#tag-input {
    border: none;
    outline: none;
    flex: 1;
    min-width: 100px;
    /* Asegurar que el input tenga un ancho mínimo */
    margin: 5px 0;
    /* Espaciado superior e inferior */
}

/* Hover de los elementos de la toolbar */
.menu-item.tool-element:hover .menu-link,
.menu-item.tool-element:hover .menu-link .text-white {
    color: #cfb088 !important;
    transition: color 0.3s ease;
}
.menu-item.tool-element.active {
    pointer-events: none; /* desactiva clics */
    cursor: default !important; /* cursor normal */
    color: #cfb088 !important; /* tu color activo */
}

.menu-item.tool-element.active .menu-link,
.menu-item.tool-element.active .menu-link .text-white {
    color: #cfb088 !important;
    transition: color 0.3s ease;
}
.comunicado-card:hover,
.comunicado-card:hover span {
    color: #235b4e !important;
    border-color: #235b4e !important;
    cursor: pointer;
}

.comunicado-card:hover h2 {
    color: #235b4e;
    font-weight: 700;
}
.badge-anam-success {
  color: #235B4E !important;              /* Verde oscuro */
  background-color: #E7FAF5 !important;   /* Verde claro */
  border: 1px solid #10312B !important;   /* Borde verde */
}

.badge-anam-danger {
  color: #691C32 !important;              /* Rojo oscuro */
  background-color: #FFFFFF !important;   /* Rojo claro */
  border: 1px solid #9F2241 !important;   /* Borde rojo */
}

.badge-outline {
  background-color: transparent;
  border-width: 1px !important;
  border-style: solid;
}

.badge-lg {
  font-size: 0.875rem;
  padding: 0.35em 0.75em;
  font-weight: 600;
}

.text-title-detalles{
    font-size: 15px;
    color: var(--bs-dark);
}