.user-panel {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}


.user-info {
    position: absolute;
    bottom: 0px;
    height: 20%;
    background: rgba(255, 255, 255, 0);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(9.5px);
    -webkit-backdrop-filter: blur(9.5px);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Textos */
.user-info h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Icono */
.user-info a {
    color: #fff;
    text-decoration: none;
    font-size: 2.2rem;
    transition: color 0.3s;
}

.user-info a:hover {
    color: #ccc;
}

.primera-grafica {
    width: 100%;
    height: 500px;
    background-color: #f3f3f3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
    /* justify-content: space-between; */
    justify-content: flex-start;
    /* Oculta la barra de scroll */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
}

/* Chrome/Safari/Webkit */
.primera-grafica::-webkit-scrollbar {
    display: none;
    width: 0 !important;
}



.area-list {
    font-size: 14px;
    /* margin-top: 10px; */
    text-align: left;
    font-weight: bold;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.area-item i {
    font-size: 12px;
    width: 12px;
    height: 12px;
}

.area-name {
    flex-grow: 1;
}

.area-count {
    color: #555;
    font-weight: 600;
}

.highcharts-figure,
.highcharts-data-table table {
    min-width: 320px;
    max-width: 660px;
    margin: 1em auto;
}

.highcharts-data-table {
    font-size: 0.7rem !important;
}

.highcharts-data-table table {
    font-family: Verdana, sans-serif;
    border-collapse: collapse;
    border: 1px solid #ebebeb;
    margin: 10px auto;
    text-align: center;
    width: 100%;
    max-width: 500px;
}

.highcharts-data-table caption {
    padding: 1em 0;
    font-size: 1.2em;
    color: #555;
}

.highcharts-data-table th {
    font-weight: 600;
    padding: 0.5em;
}

.highcharts-data-table td,
.highcharts-data-table th,
.highcharts-data-table caption {
    padding: 0.5em;
}

.highcharts-data-table thead tr,
.highcharts-data-table tbody tr:nth-child(even) {
    background: #f8f8f8;
}

.highcharts-data-table tr:hover {
    background: #f1f7ff;
}

.highcharts-description {
    margin: 0.3rem 10px;
}

.area-item {
    font-size: 14px !important;
    color: #333;
}

.area-name {
    margin-right: 4px;
}

.area-count {
    color: #555555;
    text-decoration: none;
}

.area-count-link {
    color: dodgerblue !important;
}

.table-home {
    margin-top: 20px;
    background-color: #f3f3f3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    width: 100%;
    height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.table-home::-webkit-scrollbar {
    display: none;
    width: 0 !important;
}

.table-home table {
    font-size: 14px;
}

table.dataTable tbody tr {
    background-color: #ffffff00;
}

.table-home thead {
    background-color: #ffffff00;
    font-weight: bold;
    color: #333;
}

.table-home tbody tr:hover {
    cursor: pointer;
    background-color: #C8D2D1;
    transition: 0.2s;
}

.table-home .dataTables_paginate .paginate_button {
    border-radius: 6px;
    background-color: #ddd !important;
    margin: 2px;
}

.table-home .dataTables_paginate .paginate_button.current {
    background-color: #bbb !important;
    color: white !important;
}

.header-panel {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.stat-panel {
    height: 60px;
    color: #333333;
    background: #f3f3f3;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    padding: 20px;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.no-hover {
    min-height: 60px;
    height: auto;
    color: #333333;
    background: #f3f3f3;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    padding: 20px;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 12px;
    font-size: 13px;
    cursor: pointer;
}

.stat-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.stat-panel .label {
    font-weight: bold;
    margin-right: 6px;
}

.stat-panel a {
    font-weight: bold;
    text-decoration: none;
}

.stat-panel a:hover {
    text-decoration: none !important;
}

.stat-link {
    justify-content: center;
    width: 45%;
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.stat-link:hover,
.stat-link:focus,
.stat-link:active {
    text-decoration: none;
    color: inherit;
}

table,
table tbody,
table thead,
table td,
table th,
table tr,
table tr.odd>.sorting_1,
table tr.even>.sorting_1 {
    background-color: transparent !important;
}

.responder {
    color: #ff0000 !important;
}

.chart-panel {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    height: 265px;
    background-color: #f3f3f3;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    border-radius: 20px;
    padding: 20px;
}

.chart-title {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #333;
    text-align: center;
}

.chart-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.chart-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chart-label {
    font-weight: bold;
    font-size: 1rem;
    color: #444;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.chart-label i {
    color: #888;
    font-size: 1rem;
}

.chart-value {
    font-size: 1.1rem;
    color: #666;
}

.chart-panel-info {
    padding: 20px;
}

.separator {
    display: flex;
    justify-content: center;
    font-weight: bold;
    color: #666;
    font-size: 2.1rem;
    margin-top: 20px;
    margin-bottom: 20px;
}

.primera-grafica.izquierda {
    height: 850px !important;
}

.primera-grafica.derecha {
    margin-top: 0px !important;
    height: 273px !important;
}

#primera-grafica {
    width: 100%;
    height: 200px;
    margin: 0 auto;
}

.panel-derecho {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.btn-custom-ver {
    padding: 2px;
    background-color: #50ba24;
    color: white;
    font-weight: bold;
    width: 100%;
    border: none;
    border-radius: 5px;
}

@media (max-width: 768px) {

    .mensaje-area {
        padding: 1rem !important;
        max-width: 100% !important;
        margin-left: 0px !important;
        margin-right: 0px !important;
    }

    .ticket-body {
        margin: 0px !important;
    }

    #feedback-bg-info {
        padding: 0px !important;
    }

    .stat-panel {
        height: auto;
        min-height: 60px !important;
    }

    .no-hover {
        height: auto !important;
    }

    .primera-grafica.izquierda {
        height: 450px !important;
    }

    .primera-grafica.derecha {
        margin-top: 20px !important;
        /* height: 200px !important; */
    }

    .sticky-fecha {
        position: sticky;
        top: 10px;
        z-index: 1000;
    }

}

.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    justify-content: center;
    align-items: center;
}

.custom-modal-content {
    padding: 30px;
    border-radius: 15px;
    width: 320px;
    text-align: center;
    position: relative;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.custom-icon {
    font-size: 48px;
    color: #f59e0b;
    margin-bottom: 10px;
}

.custom-title {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.custom-subtitle {
    font-size: 14px;
    color: #666;
}

.custom-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

.custom-close:hover {
    color: #000;
}

.no-scroll {
    overflow: hidden;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#user-registrados tbody tr {
    cursor: pointer;
}

.mensaje-vacio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
    font-size: 14px;
    text-align: center;
    pointer-events: none;
    z-index: 10;
}


.fecha-inferior {
    padding: 13px 20px;
    background-color: #f5f5f5;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;

}

/* Inputs de fecha */
.input-fecha {
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-fecha:focus {
    border-color: #66afe9 !important;
    outline: none;
    box-shadow: 0 0 5px rgba(102, 175, 233, 0.6) !important;
}

.fecha-inferior label {
    margin: 0;
    font-size: 14px;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Estilo general del contenedor responsive */
.dtr-details {
    padding: 15px;
    background-color: #f9f9f9;
    /* border-left: 4px solid #007bff; */
    border-radius: 10px;
    margin-top: 10px;
    list-style: none;
    font-family: "Segoe UI", sans-serif;
    width: 100% !important;
}

/* Cada fila (li) */
.dtr-details li {
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Última fila sin borde */
.dtr-details li:last-child {
    border-bottom: none;
}

/* Títulos de campo */
.dtr-title {
    font-weight: 600;
    color: #444;
    min-width: 80px;
}

/* Contenido de campo */
.dtr-data {
    color: #333;
    text-align: right;
    flex: 1;
    padding-left: 10px;
}

/* Botón personalizado */
.btn-custom-ver {
    background-color: #007bff;
    color: #fff;
    padding: 6px 14px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    transition: background-color 0.3s ease;
}

.btn-custom-ver:hover {
    background-color: #0056b3;
}

/* .modal-custom-fondo {
    background-color: transparent;
}

.modal-custom {
    background: rgb(255 255 255 / 20%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgb(255 255 255 / 10%);
} */

.ticket-header {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

.ticket-header .tema {
    font-weight: 500;
    color: #444;
}

.ticket-header .cliente {
    color: #555;
}

.ticket-header .creado {
    font-size: 13px;
    color: #777;
}

#titulo-principal {
    background-color: #f9f9f9;
    border-left: 4px solid #007bff;
}

.modal-body p {
    margin-bottom: 0.25rem;
}

h3.name {
    font-size: 1.5rem !important;
}


/* SECCION DE ESTILOS PARA EL TICKET */

.ticket-header {
    background-color: rgb(255 255 255);
}

.ticket-body {
    overflow: hidden;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.10);
    padding: 24px 18px;
    margin-bottom: 18px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 15px;
    color: #222;
    transition: box-shadow 0.2s;
}

.section-title {
    font-size: 1.1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #444;
    background-color: transparent;
    border-bottom: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    text-align: center;
}

.ticket-waiting-alert {
    background-color: #fffbe6;
    border-left: 4px solid #f1c40f;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1rem;
    color: #7a6600;
    margin-bottom: 1rem;
    font-weight: 500;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-prioridad-min {
    font-size: 0.9rem;
    color: #555;
    text-decoration: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.15rem 0;
    transition: color 0.2s ease;
}

.btn-prioridad-min:hover {
    color: #000;
    text-decoration: underline;
}

.respuesta {
    margin-bottom: 10px;
    border-radius: 25px;
    padding: 10px 15px;
    max-width: 80%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    position: relative;
}

.respuesta-propia {
    background-color: #f0f0f0;
    margin-left: auto;
    text-align: right;
}

.respuesta-otro {
    background-color: #ffffff;
    margin-right: auto;
    text-align: left;
}

.respuesta-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.respuesta-contenido {
    flex: 1 1 auto;
    word-wrap: break-word;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mensaje-texto {
    margin: 0 0 5px 0;
    font-size: 1rem;
    line-height: 1.4;
}

.mensaje-archivo {
    margin: 0 0 8px 0;
    font-weight: 600;
}

.archivo-link {
    color: #1a73e8;
    text-decoration: none;
    font-size: 0.9rem;
}

.archivo-link:hover {
    text-decoration: underline;
}

.mensaje-fecha {
    font-size: 0.75rem;
    color: #999;
    margin-top: 5px;
}

.fecha-derecha {
    position: relative;
    right: 0;
}

.fecha-izquierda {
    position: relative;
    left: 0;
}

.respuesta-avatar h5 {
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.85rem;
    color: #333;
    text-align: center;
}

.respuesta-avatar b {
    display: block;
    margin-bottom: 5px;
}

.avatar-img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.mensaje-propio {
    background-color: #f4f4f4;
    margin-bottom: 15px;
    border-radius: 16px;
    padding: 14px 18px;
    margin-left: auto;
    position: relative;
    box-shadow: 0px 8px 9px rgba(0, 0, 0, 0.372) !important;
    border-right: 4px solid #3b82f6;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    max-width: 70% !important;
}

.mensaje-otro {
    background-color: #f4f4f4;
    margin-bottom: 15px;
    border-radius: 16px;
    padding: 14px 18px;
    margin-right: auto;
    position: relative;
    box-shadow: 0px 8px 9px rgba(0, 0, 0, 0.372) !important;
    border-left: 4px solid #f63b3b;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    max-width: 70% !important;

}

.mensaje-propio p,
.mensaje-otro p {
    margin: 0;
    font-size: 0.95rem;
    color: #2b2b2b;
    line-height: 1.5;
}

.mensaje-propio .fecha,
.mensaje-otro .fecha {
    font-size: 0.75rem;
    color: #888888;
    display: block;
}

.mensaje-propio .fecha {
    text-align: right;
}

.mensaje-otro .fecha {
    text-align: left;
}


.mensaje-area {
    height: auto;
    max-height: 700px;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.mensaje-area::-webkit-scrollbar {
    display: none;
}


.prueba-user {
    background-color: rgb(98, 255, 0);
}

.prueba-otro {
    background-color: blue;
    width: 50% !important;
}

.chat-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

.chat-textarea {
    width: 100%;
    background-color: #f0f2f5;
    /* fondo estilo Messenger */
    border: none;
    border-radius: 24px;
    padding: 0.85rem 1.2rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1f2937;
    /* gris oscuro */
    resize: none;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.chat-textarea:focus {
    outline: none;
    background-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
    /* azul tenue */
}

.char-count {
    font-size: 0.75rem;
    color: #6b7280;
    text-align: right;
    padding-right: 0.3rem;
    margin-top: -0.2rem;
}

.chat-label {
    font-size: 1.02rem;
    font-weight: 500;
    color: #6b7280;
    /* gris medio */
    margin-bottom: 0.3rem;
}

.modal-actualizar-usuario-content {
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.modal-actualizar-usuario .modal-header {
    border-bottom: none;
    padding: 1rem 1.5rem;
}

.modal-actualizar-usuario .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    color: #333;
}

.modal-actualizar-usuario .form-group label {
    font-weight: 500;
    color: #555;
}

.modal-actualizar-usuario .form-control {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 0.5rem 0.75rem;
    font-size: 0.95rem;
}

.modal-actualizar-usuario .modal-footer {
    border-top: none;
    padding: 1rem 1.5rem;
}

.modal-actualizar-usuario .btn {
    border-radius: 8px;
}

/* .modal-actualizar-usuario-content {
    background: rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
} */
/* .navbar-nav .nav-item.dropdown .nav-link {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: inline-block;
    vertical-align: middle;
} */
/* FIN DE ESTILOS PARA EL TICKET */

.correos-gerentes-group {
    padding: 10px 0;
}

.correos-gerentes-label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.correos-gerentes-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.correo-checkbox-item {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.correo-checkbox-item input[type="checkbox"] {
    margin-right: 6px;
    transform: scale(1.1);
    cursor: pointer;
}

.modal-header {
    letter-spacing: 2px;
    position: relative;
    justify-content: center;
    text-align: center;
}

.modal-header .close {
    position: absolute;
    right: 0px;
    top: 0px;
    margin: 0;
    z-index: 2;
}




.btn-cancelar-editar-usuario,
.btn-guardar-editar-usuario {
    border: none;
    padding: 6px 16px;
    font-size: 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Cancelar - estilo neutro */
.btn-cancelar-editar-usuario {
    background-color: #e4e6eb;
    color: #666;
}

.btn-cancelar-editar-usuario:hover {
    background-color: #f0f0f0;
}

/* Guardar - estilo primario */
.btn-guardar-editar-usuario {
    background-color: #2459ba;
    color: white;
}

.btn-guardar-editar-usuario:hover {
    background-color: #1e4ca0;
}



/* ESTILOS PARA SECCION COMUNICADOS */

.feed-item {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.feed-item:hover {
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #777;
}

.feed-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.feed-content {
    font-size: 1rem;
    color: #444;
    margin-bottom: 10px;
}

.feed-file {
    margin-bottom: 10px;
}

.feed-btn {
    margin-top: 10px;
}

.feed-comments-toggle {
    cursor: pointer;
    color: #389af2;
    font-weight: 600;
    margin-bottom: 10px;
    user-select: none;
}

.feed-comments {
    margin-top: 10px;
    padding-bottom: 10px;
    padding-left: 15px;
    border-left: 3px solid #eee;
    max-height: 400px;
    overflow-y: auto;
}

.feed-comment {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #333;
}

.feed-comment-user {
    font-weight: bold;
    color: #555;
}

.feed-comment-text {
    margin-top: 2px;
}

.feed-comment-date {
    font-size: 0.8rem;
    color: #999;
}

.feed-response-form {
    display: flex;
    align-items: flex-start;
    margin-top: 15px;
    gap: 8px;
}

.feed-response-form textarea {
    resize: vertical;
    flex-grow: 1;
    min-height: 50px;
    max-height: 100px;
    font-size: 1rem;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
}

.feed-response-form input[type="file"] {
    display: none;
}

.feed-response-form .btn-upload {
    border: none;
    background: transparent;
    color: #007bff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0 8px;
    user-select: none;
    display: flex;
    align-items: center;
}

.feed-response-form .btn-upload:hover {
    color: #0056b3;
}

.feed-response-form button.btn-send-response {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 6px 14px;
    font-size: 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.feed-response-form button.btn-send-response:disabled {
    background-color: #6c757d;
    cursor: not-allowed;
}

.feed-response-form button.btn-send-response i {
    margin-left: 6px;
}

.file-name-display {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
    padding-left: 2px;
    word-break: break-word;
}

.btn-ticket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px;
    padding: 5px 9px;
    background: linear-gradient(135deg, #4a90e2, #357ABD);
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(53, 122, 189, 0.4);
}

.btn-ticket:hover,
.btn-ticket:focus {
    background: linear-gradient(135deg, #357ABD, #2a5f94);
    box-shadow: 0 6px 16px rgba(40, 92, 144, 0.6);
    outline: none;
}

.btn-ticket i {
    font-size: 20px;
}

.blink {
    color: red;
}

.blink--alt {
    color: #ff000021;
}

.blink,
.blink--alt {
    transition: color .25s linear;
}

/* FIN ESTILOS PARA SECCION COMUNICADOS */




.ticket-modal-rounded {
    /* border-radius: 1rem; */
    border-radius: 10px;
    overflow: hidden;
}

.ticket-modal-shadow {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.ticket-modal-header {
    background: #f3f3f3;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    border-bottom: 1px solid #ddd;
}

.ticket-modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.ticket-modal-sub {
    font-size: 13px;
    color: #555;
    margin: 2px 0;
}

.ticket-modal-btn-normal {
    background: #3b82f6;
    color: white;
    padding: 6px 16px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.ticket-modal-btn-normal:hover {
    background: #2563eb;
}

.ticket-modal-body {
    background: white;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow-y: auto;
}

.ticket-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.ticket-modal-label {
    font-weight: 600;
    font-size: 13px;
    color: #444;
    margin: 0px;
}

.subtitulo-ticket-modal,
.contenido-ticket-modal,
.contacto-ticket-modal,
.telefono-ticket-modal,
.correo-ticket-modal {
    margin-bottom: 0.1rem;
}

.ticket-modal-chat {
    height: 300px !important;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 16px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ticket-modal-msg-other,
.ticket-modal-msg-own {
    max-width: 80%;
    padding: 12px;
    border-radius: 8px;
}

.ticket-msg-text {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}


.ticket-modal-msg-other {
    background: #e0e0e0;
}

.ticket-modal-msg-own {
    background: #dbeafe;
    margin-left: auto;
}

.ticket-modal-time {
    font-size: 11px;
    color: #666;
    text-align: right;
    margin-top: 4px;
}

.ticket-modal-section {
    display: flex;
    flex-direction: column;
    /* gap: 16px; */
}

.ticket-modal-input {
    display: block;
    width: 100%;
    border: 1px solid #ccc;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
    margin-top: 6px;
}

.ticket-modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.ticket-modal-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-top: 8px;
}

.ticket-modal-time-inputs {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

.ticket-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ticket-modal-btn-red {
    background: #ef4444;
    color: white;
    padding: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.ticket-modal-btn-red:hover {
    background: #dc2626;
}

.ticket-modal-btn-green {
    background: #22c55e;
    color: white;
    padding: 8px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
}

.ticket-modal-btn-green:hover {
    background: #16a34a;
}

.ticket-modal-footer {
    background: #f9f9f9;
    padding: 12px;
}



.spinner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: sans-serif;
    font-size: 14px;
    color: #555;
}

.spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #ddd;
    border-top: 3px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.cupertino-btn {
    display: inline-block;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #007aff;
    background-color: #f9f9f9;
    /* Fondo muy claro */
    border: 1px solid #ccc;
    /* Borde sutil */
    border-radius: 12px;
    /* Bordes redondeados tipo Apple */
    text-decoration: none !important;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.cupertino-btn:hover {
    background-color: #e5e5e5;
    color: #0051a8;
}

.contenido-respuesta {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
}

.btn-custom-efectividad {
    background-color: #007aff;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 12px;
    /* redondeado suave */
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-custom-efectividad:hover {
    background-color: #005ecb;
}

.btn-custom-efectividad:active {
    transform: scale(0.97);
}