.texto-rojo {
    color: red;
}

.texto-azul {
    color: #007bff;
}

.colores-thead,
.btn-primary {
    color: white !important;
    background: #38B6FF !important;
}

.estatus-activo {
    background: #3bffb788;
}

.estatus-inactivo {
    background: #ff3b3b7d;
}

.estatus-vendido {
    background: #9faab3;
}

.btn_imagenes {
    position: relative !important;
}

.btn_imagenes .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    border-radius: 50%;
}

.btn-imagen {
    border: none;
    background: transparent;
}

.separacion-derecha {
    margin-right: 10px;
    margin-bottom: 5px;
}

.active-aside {
    background: #38B6FF !important;
    color: white !important;
}

.bg-info-azul {
    background: #38B6FF;
    color: white;

}

.bg-amarilla {
    color: white;
    background: #ffc107;
}

.estatus-cerrado {
    background: #28a745;
    color: white;
}

.estatus-resuelto {
    background: #007bff;
    color: white;
}

.estatus-rechazado {
    background: #dc3545;
    color: white;
}

.estatus-en-espera {
    background: #17a2b8;
    color: white;
}

.estatus-en-progreso {
    background: #ffc107;
    color: white;
}

.estatus-asignado {
    background: #38B6FF;
    color: white;
}

.btn_icon_cabecera_tickets {
    border-radius: 20px;
    background: transparent;
    color: white;
    border: transparent;
    transition: all 0.3s ease;
}

.btn_icon_cabecera_tickets:hover {
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.imagen-chat {
    max-width: 550px;
    max-height: 350px;
    border-radius: .3rem;
}

.mt-10 {
    margin-top: 10px;
}

.fz-xxxl {
    font-size: xxx-large;
}

.card-azul {
    border-top: #38B6FF 3px solid;
}

.altura-textarea {
    height: 38px !important;
}

.imagen-login {
    width: 100%;
}

.mb-15 {
    margin-bottom: 15px;
}

.full-screen-modal {
    width: 90vw !important;
    height: 80vh;
    max-width: 95vw;
    max-height: 85vh;
    padding: 0;
    margin: 0;
    border-radius: 0;
}

.full-screen-modal .swal2-title,
.full-screen-modal .swal2-content,
.full-screen-modal .swal2-footer {
    text-align: center;
}

.card-redondeada {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 4px 4px 20px rgba(0, 0, 0.4, 0.2);
}

.card-flip {
    transition: transform 1.0s;
    transform-style: preserve-3d;
    height: 100%;
    width: 100%;
    position: relative;
}

.card:hover .card-flip {
    transform: rotateY(180deg);
}

.card-front,
.card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;

}

.card-front {
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;
}

.card-back {
    color: white;
    transform: rotateY(180deg);
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #ccc;

}

.p-cards {
    margin: 20px;
    padding: 10px;
    font-size: small;
}

.card-1 {
    background-color: #03a1fd;
}

.card-back-1 {
    background-color: #0849ac;
}


.card-back-2 {
    background-color: #dd9700;
}

.card-2 {
    background-color: #ffc107;
}


.card-3 {
    background-color: #17a2b8;
}

.card-back-3 {
    background-color: #236670;
}


.card-4 {
    background-color: #f7071f;

}

.card-back-4 {
    background-color: #a50010;
}

.card-5 {
    background-color: #0d6efd;

}

.card-back-5 {
    background-color: #0b2c5e;

}

.card-6 {
    background-color: #198754;

}

.card-back-6 {
    background-color: #094629;
}

.p-user-name {
    color: gainsboro;
}


.icon {
    font-size: 25px;
}

.icons i {
    margin: 10px;

}

.imagen {
    height: 25px;
}


#botonFlotante {
    position: fixed;
    bottom: 150px;
    right: 50px;
    display: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.input-group {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

#botonFlotante:hover {
    background-color: #0056b3;
}

.cerrar_sesion_aside {
    background: #3f3f3f;
}

.loader_inicio {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/sin_areas.gif) 50% 50% no-repeat white;
    opacity: 1;
}

.loader {
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: url(../img/loader_transparent.gif) 50% 50% no-repeat transparent;
    opacity: 1;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mg-10 {
    margin: 10px;
}

.justificar-texto {
    text-align: justify;
}


.prospecto-nuevo {
    background-color: #6c757d !important;
    color: white !important;

}

.prospecto-contactado {
    background-color: #0d6efd !important;
    color: white !important;

}

.prospecto-interesado {
    background-color: #17a2b8 !important;
    color: #000 !important;

}

.prospecto-calificado {
    background-color: #f4b400 !important;
    color: #000 !important;


}

.prospecto-propuesta {
    background-color: #6f42c1 !important;
    color: white !important;

}

.prospecto-negociacion {
    background-color: #495057 !important;
    color: white !important;

}

.prospecto-cliente {
    background-color: #198754 !important;
    color: white !important;

}

.prospecto-perdido {
    background-color: #dc3545 !important;
    color: white !important;

}

.prospecto-descartado {
    background-color: #a94442 !important;
    color: white !important;

}


.timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.step {
    padding: 12px 15px;
    border-radius: 8px;
    color: white;
    font-size: 14px;
}

.table-origen-prospecto {
    font-size: 14px;
    border-collapse: collapse;
}

.table-origen-prospecto thead {
    background-color: #38B6FF;
    color: #fff;
}

.table-origen-prospecto thead th {
    border: none;
    text-align: center;
    font-weight: 600;
}

.table-origen-prospecto td {
    vertical-align: middle;
}


.table-origen-prospecto .group-row td {
    background: #f2f2f2;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 1px;
    border-top: 2px solid #ddd;
}


.btn-instrucciones {
    background-color: #38B6FF;
    color: #fff;
    border: none;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-radius: 6px;
}

.btn-instrucciones:hover {
    background-color: #2aa3e6;
    color: #fff;
    transform: translateY(-1px);
}

.btn-instrucciones i {
    font-size: 14px;
}


.prospecto-nuevo-td {
    border-bottom: 2px solid #6c757d !important;
}

.prospecto-nuevo-td-iz {
    border-left: 2px solid #6c757d !important;
    border-bottom: 2px solid #6c757d !important;
}

.prospecto-contactado-td {
    border-bottom: 2px solid #0d6efd !important;
}

.prospecto-contactado-td-iz {
    border-bottom: 2px solid #0d6efd !important;
    border-left: 2px solid #0d6efd !important;
}

.prospecto-interesado-td {
    border-bottom: 2px solid #17a2b8 !important;
}

.prospecto-interesado-td-iz {
    border-bottom: 2px solid #17a2b8 !important;
    border-left: 2px solid #17a2b8 !important;
}

.prospecto-calificado-td {
    border-bottom: 2px solid #f4b400 !important;
}

.prospecto-calificado-td-iz {
    border-bottom: 2px solid #f4b400 !important;
    border-left: 2px solid #f4b400 !important;
}

.prospecto-propuesta-td {
    border-bottom: 2px solid #6f42c1 !important;
}

.prospecto-propuesta-td-iz {
    border-bottom: 2px solid #6f42c1 !important;
    border-left: 2px solid #6f42c1 !important;
}

.prospecto-negociacion-td {
    border-bottom: 2px solid #495057 !important;
}

.prospecto-negociacion-td-iz {
    border-bottom: 2px solid #495057 !important;
    border-left: 2px solid #495057 !important;
}

.prospecto-cliente-td {
    border-bottom: 2px solid #198754 !important;
}

.prospecto-cliente-td-iz {
    border-bottom: 2px solid #198754 !important;
    border-left: 2px solid #198754 !important;
}

.prospecto-perdido-td {
    border-bottom: 2px solid #dc3545 !important;
}

.prospecto-perdido-td-iz {
    border-bottom: 2px solid #dc3545 !important;
    border-left: 2px solid #dc3545 !important;
}

.prospecto-descartado-td {
    border-bottom: 2px solid #a94442 !important;
}

.prospecto-descartado-td-iz {
    border-bottom: 2px solid #a94442 !important;
    border-left: 2px solid #a94442 !important;
}

.interaction-card {
    background: #ffffff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease-in-out;
}

.interaction-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}


.interaction-header {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.interaction-type {
    font-weight: 600;
    color: #212529;
}

.interaction-type i {
    margin-right: 6px;
    color: #28a745;

}

.interaction-date {
    font-size: 13px;
    color: #6c757d;
    white-space: nowrap;
}


.interaction-body {
    padding: 15px;
    flex: 1;
}

.interaction-result {
    font-size: 14px;
    color: #212529;
    margin-bottom: 10px;
    line-height: 1.4;
}

.interaction-observation {
    font-size: 13px;
    color: #495057;
    margin-bottom: 0;
}

.interaction-footer {
    padding: 12px 15px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    background-color: #f8f9fa;
}

.interaction-user {
    color: #212529;
}

.interaction-user i {
    margin-right: 6px;
    color: #6c757d;
}

.interaction-footer button,
.interaction-footer a {
    font-size: 13px;
    padding: 4px 10px;
}

@media (max-width: 576px) {
    .interaction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .interaction-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
}

.card-pendiente {
    border-left: 6px solid #dee2e6;
    background-color: #ffffff;
    color: #495057;
}

.card-completado {
    border-left: 6px solid #28a745;
    background-color: #eaf7ee;
    color: #155724;
}


.card-retraso {
    border-left: 6px solid #dc3545;
    background-color: #fdecea;
    color: #721c24;
}

.card-cancelado {
    border-left: 6px solid #ffc107;
    background-color: #fff8e1;
    color: #856404;
}

.resaltado {
    background-color: #fff59d !important;
    padding: 2px 4px;
}



.contact-card {
    border: 1px solid #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    transition: all .25s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
}


.contact-card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #ececec;
    font-size: 14px;
    font-weight: 600;
}

.contact-puesto {
    color: #495057;
}

.contact-badge {
    font-size: 11px;
    padding: 6px 10px;
    border-radius: 30px;
}


.contact-avatar {
    width: 90px;
    height: 90px;
    margin: auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 34px;
    box-shadow: 0 5px 15px rgba(13, 110, 253, .25);
}


.contact-name {
    text-align: center;
    font-weight: 700;
    margin-bottom: 5px;
    color: #212529;
}


.contact-area {
    text-align: center;
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 20px;
}


.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    margin-bottom: 12px;
    color: #495057;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #0d6efd;
    width: 18px;
    text-align: center;
}


.contact-footer {
    border-top: 1px solid #ececec;
}


.contact-footer .btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .2s;
}

.contact-footer .btn:hover {
    transform: scale(1.05);
}

.contact-btn-edit {
    box-shadow: 0 4px 10px rgba(13, 110, 253, .25);
}

.contact-btn-toggle {
    box-shadow: 0 4px 10px rgba(220, 53, 69, .20);
}


.contact-empty-card {
    border: 2px dashed #dce3ea;
    border-radius: 18px;
    background: #fbfcfe;
    box-shadow: none;
}

.contact-empty-card .card-body {
    padding: 50px 20px;
    text-align: center;
}



.contact-empty-icon {
    width: 110px;
    height: 110px;
    margin: auto;
    margin-bottom: 25px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eef4ff, #dbe8ff);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0d6efd;
    font-size: 45px;
}



.contact-empty-title {
    font-weight: 700;
    color: #212529;
    margin-bottom: 10px;
}



.contact-empty-text {
    color: #6c757d;
    font-size: 15px;
    max-width: 450px;
    margin: auto;
    margin-bottom: 25px;
}


.contact-empty-btn {
    border-radius: 12px;
    padding: 10px 20px;
    font-weight: 600;
    box-shadow: 0 6px 15px rgba(13, 110, 253, .20);
    transition: .2s;
}

.contact-empty-btn:hover {
    transform: translateY(-2px);
}

.filtro-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #f9fafc;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin: 0 auto 10px auto;
}

.cw {
    color: white !important;
}



.filtro-item {
    display: flex;
    flex-direction: column;
    min-width: 180px;
}


.filtro-item label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}


.filtro-select {
    padding: 8px 10px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    background-color: white;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.filtro-select:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}


.btn-filtrar {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
    margin-top: 22px;
}

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

.archivos_tabla {
    height: 150px;
}