	#card-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Alternativa moderna a margin-bottom */
}

.entity-card {
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 5px;
    background: #fff;
}

.card-actions {
	display: flex;
	gap: 15px; 
	align-items: center;
	justify-content: flex-end;
}

.card-actions img {
	cursor: pointer;
}

.entity-actions-wrapper {
		display: flex;
		justify-content: flex-end;
		align-items: center;
		gap: 2px;
	}
	
	.entity-action input[type="button"] {
	width: 160px; /* mismo ancho fijo para ambos */
}

@media (max-width: 768px) {
	.entity-actions-wrapper {
		display: flex;
		justify-content: center; /* centra horizontalmente */
		align-items: center;
		gap: 2px; /* espacio entre botones */
		width: 100%;
		max-width: 600px; /* opcional: ancho máximo para contenedor */
		margin: 0 auto; /* centra el contenedor si tiene ancho máximo */
	}
	
	.entity-action {
		flex: 1; /* hace que ambos divs crezcan igual */
	}
	
	.entity-action input[type="button"] {
		width: 100%; /* expande el botón dentro del div */
	}
}





@media (max-width: 825px) {
	.navbar-top-links a.btn {
		padding: 4px 8px;
		font-size: 12px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-decoration: none;
		color: #333;
		background-color: #f5f5f5;
		border: 1px solid #ccc;
		border-radius: 4px;
		height: 50px;
		transition: background-color 0.2s ease;
		display: block;
		padding-right: 0px;
	}
	.navbar-top-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    height: 100%;
}
}


@media (max-width: 768px) {
	
	.navbar-fixed-bottom .navbar-collapse, .navbar-fixed-top .navbar-collapse {
		max-height: 600px;
	}
    .navbar-custom-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        padding: 6px 10px;
    }
    .menu-left,
    .menu-right {
        display: flex;
        align-items: center;
    }
    .menu-left li,
    .menu-right a {
        margin: 0 4px;
        white-space: nowrap;
    }
    .navbar-custom-container > ul {
        flex-shrink: 1;
        overflow: hidden;
        min-width: 0;
    }
    .menu-left img.profile-image {
        width: 22px !important;
        height: 22px !important;
    }
    .menu-right a.btn {
        padding: 2px 4px;
        font-size: 11px;
        line-height: 1.1;
    }
    .menu-right i.fa {
        font-size: 16px;
    }
    .navbar-header {
        position: relative;
        height: 60px;
    }
    .navbar-header .navbar-toggle {
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
    }
    .navbar-header .navbar-brand {
        position: absolute;
        left: 55%;
        top: 65%;
        transform: translate(-50%, -50%);
        height: 60px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }
    
	
    .funkyradio {
        margin-top: 10px !important;
        padding-left: 10px;
        padding-right: 10px;
    }
    .funkyradio .funkyradio-default {
        font-size: 12px;
        padding: 6px 8px;
        display: flex;
        align-items: center;
    }
    .funkyradio .funkyradio-default input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-right: 8px;
        flex-shrink: 0;
    }
    .funkyradio .funkyradio-default label {
        flex-grow: 1;
        margin: 0;
        line-height: 1.2;
        vertical-align: middle;
    }
}
@media (max-width: 767px) {
    .navbar-default.sidebar {
        position: fixed;
        top: 50px;
        left: -250px;
        width: 250px;
        height: 100%;
        background-color: #F8F8F8;
        transition: left 0.3s ease;
        z-index: 1050;
        overflow-y: auto;
    }
    .navbar-default.sidebar.open {
        left: 0;
    }
    .sidebar-toggle-btn {
        display: inline-block;
        cursor: pointer;
    }
    .sidebar-nav .funkyradio {
        padding-left: 15px;
        padding-right: 15px;
    }
	
	
	
	
	.navbar-custom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 62px;
    padding: 0 15px;
    white-space: nowrap;
	margin-top:10px;
	margin-bottom:10px;
}

.navbar-custom-container ul.navbar-left {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}

.navbar-custom-container ul.navbar-left li {
    display: flex;
    align-items: center;
}

.navbar-custom-container ul.navbar-left a {
    display: flex;
    align-items: center;
    font-size: 14px;
    padding: 0 10px;
    color: #333;
    text-decoration: none;
}

.navbar-custom-container ul.navbar-left img.profile-image {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-right: 8px;
}

.navbar-top-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    height: 100%;
}

.navbar-top-links a.btn {
    padding: 4px 8px;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #333;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 50px;
    transition: background-color 0.2s ease;
	display: block;
}

.navbar-top-links a.btn i {
    font-size: 16px;
    margin-bottom: 2px;
}

.navbar-top-links a.btn:hover {
    background-color: #e0e0e0;
}









.navbar-custom-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0px;
}
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.panel-body h4 {
    font-size: 14px;
}
.scale_graf,
.contenedor-tabla {
    max-width: 100%;
    height: auto;
    padding: 0;
    margin: 0 auto;
}
.informe-question-leyenda-txt {
    font-size: 11px !important;
    line-height: 1.2;
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    display: block;
    word-wrap: break-word;
    max-width: 80vw;
    max-height: 30vh;
}

.informe-question-leyenda-txt::after {
    content: none !important;
}
	
}


















@media (max-width: 768px) {
    
    #page-wrapper .col-sm-2,
    #page-wrapper .col-sm-9 {
        width: 100%;
        margin-bottom: 10px;
    }
   
   
    .panel-heading h4 {
        font-size: 16px;
    }

    
    .btn {
        font-size: 14px;
        padding: 6px 10px;
    }

    
    input.form-control {
        font-size: 14px;
        /*height: 34px;*/
    }

    
    .dataTables_filter {
        text-align: left;
    }
	.filter-donacion label {
        display: flex;
        gap: 8px;
        width: 100%;
        align-items: center;
    }

    .filter-donacion input[type="search"] {
        flex: 1 1 auto;
        min-width: 0;
        height: 34px;
        padding-top: 2px;
    }

    .filter-donacion input[type="button"] {
        white-space: nowrap;
    }
}
 
 
@media (max-width: 768px) {
  #datal {
    table-layout: auto;
  }

  #datal th,
  #datal td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 4px 6px;
    font-size: 12px;
  }

  /* Aplica truncado más fuerte solo a la primera columna */
  #datal td:first-child,
  #datal th:first-child {
    max-width: 40px; /* Ajusta este valor según lo que quieras mostrar */
  }
  
   /* Segunda columna: truncado moderado */
  #datal th:nth-child(2),
  #datal td:nth-child(2) {
    max-width: 90px;
  }

  #buttonShow.btn.btn-primary,
#buttonShow.btn.btn-default {
  font-size: 11px;
  padding: 3px 6px;
}

/* Si está dentro de #datal (opcional si aplicaba antes) */
#datal #buttonShow.btn.btn-primary,
#datal #buttonShow.btn.btn-default {
  display: inline-block;
  max-width: 45px; 
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11px;
  padding: 3px 6px;
  vertical-align: middle;
}
   
}
  
  
  
  
  
  
  .card-wrap {
    display: flex;
    align-items: center;
    gap: 16px; /* separación entre imagen y contenido */
    margin-bottom: 20px;
    flex-wrap: wrap; /* para que en móvil se acomode */
}

.card-header-body-wrap {
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
}
.card-header-body-wrap {
        flex-direction: column;
    }

/* Responsive: ocultar imagen en móviles */
@media (max-width: 768px) {
    .hide-on-mobile {
        display: none !important;
    }

    .card-header-body-wrap {
        flex-direction: column;
    }
}









#main-content {
    padding: 20px;
    box-sizing: border-box;
    max-width: 100%;
}

.Table {
    display: table;
    width: 100%;
}

.Row {
    display: table-row;
}

.Cells {
    display: table-cell;
    padding: 8px;
    vertical-align: middle;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .Table, .Row, .Cells {
        display: block;
        width: 100%;
    }

    .Cells {
        padding: 10px 0;
        border-bottom: 1px solid #ccc;
    }

    .form-group {
        width: 100%;
    }

    input[type="text"],
    textarea,
    #button_sendemail_all {
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
    }

    .dcb-tit-r {
        font-size: 18px;
        text-align: center;
    }

    h3 {
        font-size: 16px;
        text-align: center;
    }

    #maintable {
        overflow-x: auto;
    }
}
