.headerRegister, .header-primary{
	background: #066cf3;
	color: #FFF;
}

.headerUpdate{
	background: #13b649;
	color: #FFF;
}

.headerView{
	background: #6b7a8a;
	color: #FFF;
}


/*estilo para los inputs required*/
.required{
	color: red;
	font-size: 13pt;
	font-weight: bold;
}


/*Estilos de login y loading de formularios*/
#divLoading{
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	background: rgba(254,254,255, .65);
	z-index: 9999;
	display: none;
}

#divLoading img{
	width: 50px;
	height: 50px;
}

/* Aplica estilos CSS para alinear la barra de búsqueda a la derecha */
.dataTables_filter {
	text-align: right;
}

 /* Centra la paginación en la tabla */
.dataTables_info{
	text-align: center;
}

.dataTables_paginate {
	text-align: center;
}

.notblock{
	display: none;
}



/*IMAGEN DE PERFIL*/
.thumbnail {
    width: 150px;
    margin: 0 auto;
    margin-bottom: 10px;
}

#preview {
    position: relative;
}

#preview a {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    display: none;
}

/*nombre de la imagen subida*/
#file-info {
    text-align: center;
    display: block;
}

/*para ocultar el input de la imagen de portada*/
#imagen input[type=file] {
    position: absolute;
    visibility: hidden;
    width: 0;
    z-index: -9999;
}

/* IMÁGENES DE PERFIL (Logo y Favicon) */

/* Tarjetas */
.card {
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

/* Imágenes redondeadas y estéticas */
#preview1 img, #preview2 img {
    width: 100%;
    max-width: 150px; /* Limita el tamaño máximo */
    height: 150px;
    object-fit: cover;
    border-radius: 50%; /* Redondeo completo */
}

/* Espaciado uniforme */
/* Estilos Generales */
.card {
    border: 1px solid #eaeaea;
    border-radius: 10px;
}

.card-body {
    padding: 20px;
}

/* Estilos para Imágenes */
#preview1 img, #preview2 img {
    width: 100%;
    max-width: 150px; /* Limita el tamaño máximo */
    height: 150px;
    object-fit: cover; /* Mantiene proporciones */
    border-radius: 50%; /* Redondeo completo */
}

#preview1, #preview2 {
    position: relative;
}

#preview1 a, #preview2 a {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    display: none;
}

/* Estilos para los Nombres de Imagen */
#file-info1, #file-info2 {
    text-align: center;
    display: block;
}

/* Ocultamiento de Inputs de Archivo */
#imagen1[type=file],
#imagen2[type=file] {
    position: absolute;
    visibility: hidden;
    width: 0;
    z-index: -9999;
}


#preview-img img {
    width: 100%;
    max-width: 150px; /* Limita el tamaño máximo */
    height: 150px;
    object-fit: cover; /* Mantiene proporciones */
    /*border-radius: 50%;  Redondeo completo */
}

#preview-img{
    position: relative;
}

#preview-img a {
    position: absolute;
    bottom: 5px;
    left: 5px;
    right: 5px;
    display: none;
}

/* Estilos para los Nombres de Imagen */
#file-info-img{
    text-align: center;
    display: block;
}

/* Ocultamiento de Inputs de Archivo */
#imagen_img[type=file]{
    position: absolute;
    visibility: hidden;
    width: 0;
    z-index: -9999;
}


/* Footer */
footer.main-footer {
    background-color: #939aa1; /* Gris oscuro */
    color: #f8f9fa; /* Blanco suave */
    padding: 20px 0;
}

footer .btn-link {
    color: #f8f9fa;
    font-weight: bold;
    text-decoration: none;
    margin-right: 15px;
}

footer .btn-link:hover {
    color: #ffc107; /* Amarillo para resaltar */
    text-decoration: none;
}

footer .footer-center {
    display: flex;
    gap: 15px;
}

footer .footer-right img {
    max-width: 150px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

footer .footer-right img:hover {
    opacity: 1;
}


.modal-footer .btn-secondary {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 20px;
    color: #ffffff;
    background-color: #6c757d;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.modal-footer .btn-secondary:hover {
    background-color: #5a6268;
    color: #ffffff;
    transform: scale(1.05);
}

ul.list-unstyled i {
    margin-right: 8px; /* Ajusta según sea necesario */
}



.card-header .card-title,
.card-header .card-title i,
.card-header .card-tools .btn-tool i {
    color: #fff !important;
}







/* Ocultar input[type="file"] */

/* Botón personalizado */
#custom-upload-btn {
    background-color: #6c757d;
    color: #fff;
    border-radius: 20px;
    padding: 6px 12px;
    transition: all 0.3s;
}

#custom-upload-btn:hover {
    background-color: #5a6268;
}

/* Contador */
#image-counter {
    font-weight: bold;
    color: #007bff;
    margin-left: 10px;
}

/* Previsualización */
.preview-container {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.preview-box {
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f9f9;
    position: relative;
    text-align: center;
    padding: 10px;
}

.preview-box img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
}

.preview-box input {
    width: calc(100% - 20px);
    margin: 5px 10px;
}

.preview-box .delete-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.preview-box .delete-btn:hover {
    background-color: #bd2130;
}

/* Imágenes subidas */
#uploaded-images-section .uploaded-image {
    position: relative;
    text-align: center;
    margin-bottom: 15px;
}

#uploaded-images-section img {
    width: 200px;
    height: 150px;
    object-fit: cover;
}

#uploaded-images-section .edit-btn,
#uploaded-images-section .delete-btn {
    margin-top: 5px;
    display: block;
}


