/* Tipografía global */
.encuesta2-container {
	width: 100%;
    min-width: 1000px;
    font-family: 'Poppins' !important;
    display: flex;
    border: 1px solid #e5e7eb;
    min-height: 700px;
    background: #ffffff;
	flex-direction: column;
    /*border-radius: 12px;*/
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
}

.encuesta2-container-principal {
    display: flex;
    justify-content: center;
    /*padding: 30px 15px;*/
    background: #f9f9f9;
}

/* Sidebar */
.encuesta2-sidebar {
    background: #f8f9fc;
    padding: 20px;
    border-right: 1px solid #e5e7eb;
}


/* Content */
.encuesta2-content {
    flex: 1;
    padding: 30px;
    background: #fff;
}

/* Formulario */
.encuesta2-form label {
    display: block;
    margin: 12px 0 6px;
    font-weight: 500;
    color: #333;
}
.encuesta2-form input[type="text"],
.encuesta2-form input[type="email"],
input.text-form-global {
	background-color: #673de617 !important;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 16px !important;
    transition: border 0.2s ease;
}
.encuesta2-form input:focus {
    border-color: #673de6;
    outline: none;
}
.encuesta2-form input[type="submit"] {
	text-transform: none;
	font-size: 17px;
    margin-top: 20px;
    padding: 12px 16px;
    background: #673de6;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}
.encuesta2-form input[type="submit"]:hover {
    background: #5229c7;
}

/*linea en h2*/
.encuesta2-content h2 {
    font-family: 'Poppins';
    font-weight: 600;
    text-transform: none;
    font-size: 28px;
    color: #673de6;
    padding-bottom: 8px;
    margin-bottom: 40px;
    border-bottom: 1px solid #cccccc;
}

/* Tabla */
.encuesta2-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}
.encuesta2-table th, .encuesta2-table td {
    border: 1px solid #e5e7eb;
    padding: 10px 12px;
    text-align: left;
}
.encuesta2-table th {
    background: #f1f3f9;
    font-weight: 600;
}
.encuesta2-table tr:nth-child(even) {
    background: #fafafa;
}
.encuesta2-table tr:hover {
    background: #f9f9ff;
}


/*preguntas*/
.preguntas-form {
    margin-top: 20px;
	width: 50%;
}

.pregunta {
    margin-bottom: 60px;
}

.pregunta .numero {
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    color: #673de6; /* color destacado */
}

.pregunta .texto {
    margin: 0 0 6px 0;
    font-weight: 500;
    color: #333;
}

div#criterio-box {
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e2e2;
    margin-bottom: 50px;
    margin-top: 20px;
}

.pregunta input,
.pregunta select,
.infocliente-flex select,
.infocliente-flex input[type="number"],
.promotores-info select,
div#conyuge-fields input[type="number"] {
    width: 100%;
	background-color: #673de617 !important;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 16px !important;
    transition: border 0.2s ease;
}

div#empresa-fields {
    margin-bottom: 50px;
    padding: 25px;
    border: 1px solid #d9d9d9;
    border-radius: 16px;
    margin-top: 10px;
}

.infocliente-edocivil,
.infocliente-edad,
.infocliente-profesion {
	width: 30%;
}

.pregunta input:focus,
.pregunta select:focus {
    border-color: #673de6;
    outline: none;
}

.form-container {
    gap: 60px;
    display: flex;
    flex-direction: row;
}

.infocliente-form {
    width: 50%;
}


/*header*/
.encuesta2-header {
	font-size: 15px;
	height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 33px;
    background-color: #673de6;
    /*border-radius: 8px 8px 0 0;*/
}

.e2-profile {
    color: white;
}

span#encuesta2-total {
    font-size: 18px;
    border-radius: 16px;
    padding: 3px 25px;
    background-color: #673de60f;
    margin-left: 15px;
    font-weight: 600;
}

.encuesta2-header .logo img {
    height: 40px; /* Ajusta según tu gusto */
    display: block;
}

.encuesta2-header .header-buttons button {
    text-transform: none;
    margin-left: 10px;
    padding: 8px 14px;
    background: transparent;
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.encuesta2-header .header-buttons button:hover {
    background: #5229c7;
    color: #fff;
}

input.text-form-global {
    width: 100px;
}

.client-info {
    margin-bottom: 70px;
}

.promotores-info {
	gap: 20px;
    display: flex;
    flex-direction: row;
}

label.labels-form {
    font-weight: 700;
}

/*nombre y foto de user*/
.e2-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.e2-profile-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
}

.e2-profile-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.e2-username {
    font-weight: 600;
}

.e2-usertype {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.73);
}

span.dashicons.dashicons-admin-users {
    width: 22px;
    height: 22px;
    font-size: 22px;
}


/*codigo para lista de encuentas*/

/* ====== Filtros ====== */
.encuesta2-filtros {
    display: flex;
    gap: 10px;
    margin-bottom: 35px;
    padding: 10px;
    border-radius: 8px;
    flex-direction: row;
}

.encuesta2-filtros input,
.encuesta2-filtros button {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.encuesta2-filtros input:focus {
    outline: none;
    border-color: #673de6;
    box-shadow: 0 0 0 2px rgba(103, 61, 230, 0.2);
}

.encuesta2-filtros button {
    background: #2f1c6a;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.encuesta2-filtros button:hover {
    background: #673de6;
}

/* ====== Tabla ====== */
.encuesta2-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.encuesta2-table thead {
    color: #673de6;
}

.encuesta2-table th,
.encuesta2-table td {
    padding: 10px 12px;
    text-align: left;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}

.encuesta2-table tbody tr:hover {
    background: #f9f9fc;
}

/* ====== Paginación ====== */
#encuesta2-paginacion {
    margin-top: 15px;
    text-align: center;
}

#encuesta2-paginacion button {
    margin: 0 3px;
    padding: 6px 12px;
    border: 1px solid #2f1c6a;
    background: #fff;
    color: #2f1c6a;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

#encuesta2-paginacion button:hover {
    background: #673de6;
    color: #fff;
}

#encuesta2-paginacion button.active {
    background: #2f1c6a;
    color: #fff;
}

button.ver-respuestas, button.ver-notas {
    text-transform: none;
	font-weight: 600;
	letter-spacing: normal;
    background: #673de626;
    border: none;
    color: #673de6;
    cursor: pointer;
    font-size: 12px;
    padding: 10px;
    transition: color 0.2s;
}

.botones-card-accion {
    gap: 10px;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 10px;
}

button.ver-respuestas:hover {
    color: #532dc1; /* Cambio de color al pasar el mouse */
}

.btn-modal-resp {
    text-align: right;
}

/* select list status */
/* select list status */
select.encuesta2-status {
    width: auto;
    border-radius: 16px;
	font-size: 12px;
    font-weight: 600;
    padding: 5px 10px;
    color: #673de6;
    border: none;
    background: #e7e7e759;
}

.select-mas-fecha p {
    margin-bottom: 10px;
}

.status-info-card {
    text-align: center;
    border-radius: 16px;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 10px;
    color: #673de6;
    border: none;
    background: #e7e7e759;
}


/* ============================================================
   MODAL DE notas
============================================================ */

/* Modal overlay */
#encuesta2-notas-modal {
    text-transform: none;
    display: none; /* Se mantiene oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* Fondo semi-transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Siempre encima de todo */
    /*transition: opacity 0.3s ease;*/
    overflow: auto;
}

/* Modal dialog */
.encuesta2-notas-dialog {
    background: #ffffff;
    border-radius: 10px;
    padding: 25px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3);
    position: relative;
    animation: fadeIn 0.3s ease-out;
}

/* Título */
.encuesta2-notas-dialog h3 {
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: #333;
}

/* Textarea */
#encuesta2-notas-text {
    width: 100%;
    min-height: 120px;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    resize: vertical;
    font-size: 13px;
    margin-bottom: 15px;
}

/* Botones */
.encuesta2-notas-actions {
    text-align: right;
}

.encuesta2-notas-actions .h-btn {
    text-transform: none;
    padding: 8px 16px;
    font-size: 0.95rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.encuesta2-notas-actions .h-btn:hover {
    opacity: 0.9;
}

.encuesta2-notas-actions .h-btn--primary {
    background-color: #007bff;
    color: #fff;
}

.encuesta2-notas-actions .h-btn--primary:hover {
    background-color: #0056b3;
}


/* ============================================================
   MODAL DE RESPUESTAS
============================================================ */
/* Fondo semi-transparente que cubre toda la pantalla */
#encuesta2-respuestas-modal {
    display: none; /* oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* fondo oscuro semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px; /* evita que el modal toque los bordes en pantallas pequeñas */
    box-sizing: border-box;
}

/* Caja del modal */
.modal-box {
    background: #fff;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    padding: 25px 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease-out;
}

/* Título */
.modal-box h3 {
    font-weight: 600;
    text-transform: none;
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 35px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contenido de respuestas */
#encuesta2-respuestas-content p {
    padding-bottom: 20px;
    border-bottom: 1px solid #e4e4e4;
    margin: 15px 0;
    line-height: 1.5;
    color: #555;
}

div#encuesta2-respuestas-content {
    font-size: 15px;
}

#encuesta2-respuestas-content strong {
    text-transform: none;
    font-weight: 500;
}

/* Botón cerrar */
#encuesta2-close-respuestas {
    text-transform: none;
    margin-top: 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

#encuesta2-close-respuestas:hover {
    background-color: #0056b3;
}

button#encuesta2-close-respuestas {
    text-transform: none;
    border-radius: 16px;
    background: #673de6;
}

/* Animación suave al aparecer */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(-20px);}
    to {opacity: 1; transform: translateY(0);}
}



/* ====== Mensajes ====== */
.encuesta2-msg {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 6px;
    font-weight: bold;
}

.encuesta2-msg.success {
    background: #e5f6f0;
    color: #2e7d32;
    border: 1px solid #81c784;
}

.encuesta2-msg.error {
    background: #fdecea;
    color: #c62828;
    border: 1px solid #e57373;
}

input.inputs-text-filtro, select#encuesta2-criterio, select#encuesta2-status,
select#encuesta2-tipo {
	font-size: 14px;
	color: #666;
	background-color: white !important;
	border-radius: 16px !important;
	border: 1px solid #e1e1e1 !important;
}

button#encuesta2-filtrar {
    text-transform: none;
    border-radius: 16px !important;
}


/*pantalla inicio*/

h2.titulo-inicio {
	margin-bottom: 0px;
    text-align: center;
    font-size: 40px;
    border-bottom: 0;
}

.container-inicio {
    display: flex;
    align-items: center;
    flex-direction: column;
}

h6.text-corto {
    font-weight: 500;
	margin-bottom: 14px;
}

.cont-central {
    display: flex;
    min-height: 300px;
    justify-content: space-around;
    flex-direction: column;
}

.cont-dashboard-info {
    margin-top: 50px;
}

button.btn-iniciar-enc {
    font-size: 15px;
    font-weight: 600;
    text-transform: none;
    background-color: #673de6;
}

/*diseño de card lista encuentas*/

.encuesta2-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
}

.encuesta2-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 15px 20px;
    width: 440px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.encuesta2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.15);
}

.encuesta2-card-header {
	padding-bottom: 13px;
    border-bottom: 1px solid #e3e3e3;
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    margin-bottom: 28px;
}

.encuesta2-card-body p {
    margin: 5px 0;
    font-size: 13px;
}

span.encuesta2-card-id {
    color: #673de6;
}

/* Botón hamburguesa */
.menu-toggle {
    padding: 0px;
    background: transparent !important;
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.menu-toggle.active {
    background: #ededed14 !important;
}

p.card-hour-info {
    margin-top: 7px;
    font-weight: 500;
    font-size: 10px;
}


/* ================== MÓVIL ================== */
@media screen and (max-width: 768px) {

	.menu-toggle {
        display: block;
    }
	
	.header-buttons {
        display: block;
        position: absolute;
        top: 60px;
        right: 20px;
        background: #004080;
        border-radius: 8px;
        width: 200px;
        overflow: hidden;

        /* Animación */
        max-height: 0;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .header-buttons.show {
		box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
        padding: 14px;
		margin-right: 10px;
        margin-top: 10px;
		background: #4f2abf;
        max-height: 400px; /* Ajusta según cantidad de botones */
        opacity: 1;
    }

    .header-buttons button {
        display: block;
        width: 100%;
        text-align: left;
        padding: 12px;
        border-radius: 0;
    }
	
	.e2-profile {
    display: none;
	}

    .menu-toggle {
        display: block;
    }
	
    /* Contenedor principal */
    .encuesta2-container {	
		border-radius: 0px;
        min-width: auto;
        border: none;
        box-shadow: none;
    }
	
	div#conyuge-fields {
      width: 100% !important;
	}
	
	.promotores-info {
    gap: 10px;
    display: flex;
    flex-direction: column;
	}

    .encuesta2-container-principal {
        padding: 0px;
        flex-direction: column;
    }
	
	span#encuesta2-total {
    padding: 3px 10px;
	}
	

	/* DASHBOARDS*/
	.dashboard-status {
		width: auto;
		gap: 30px !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: flex-start !important;
	}
	
	.encuesta2-dashboard {
		width: auto !important;
		display: flex !important;
		gap: 20px !important;
		flex-direction: column !important;
	}
	
	.status-list {
		border-right: 0px !important;
    	padding-right: 0px !important;
		border-bottom: 2px solid #eee !important;
		padding-bottom: 36px !important;
		list-style: none !important;
		margin: 0px;
	}
	
	.cont-dashboard-info {
    width: 100% !important;
	}	


	.encuesta2-content h2 {
    font-size: 24px;
	}
	
    /* Sidebar pasa debajo del contenido */
    .encuesta2-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 15px 10px;
        margin-bottom: 20px;
    }

    /* Content */
    .encuesta2-content {
        padding: 15px 24px;
    }

    /* Formulario */
    .preguntas-form,
    .infocliente-form,
    .form-container {
        width: 100%;
        flex-direction: column;
        gap: 20px;
    }

    .pregunta {
        margin-bottom: 30px;
    }

    /* Inputs más grandes y adaptados */
    .pregunta input,
    .pregunta select,
    .encuesta2-form input[type="text"],
    .encuesta2-form input[type="email"],
    input.text-form-global {
        font-size: 14px;
        padding: 12px 10px;
    }

    /* Header */
    .encuesta2-header {
		border-radius: 0;
        padding-top: 20px;
        padding-bottom: 20px;
       	flex-direction: row;
        height: auto;
        gap: 10px;
    }
	
	.card-containter-name {
    gap: 10px;
    display: flex;
    flex-direction: column;
	}

    .encuesta2-header .logo img {
        height: 35px;
    }

    /*.encuesta2-header .header-buttons button {
        padding: 6px 10px;
        font-size: 14px;
    }*/

    /* Cards de encuestas */
    .encuesta2-cards {
        justify-content: center;
        gap: 15px;
    }

    .encuesta2-card {
        width: 100%;
        padding: 15px;
        margin-bottom: 15px;
    }

    .encuesta2-card-header {
        flex-direction: row;
        align-items: flex-start;
        margin-bottom: 15px;
    }
	
	input.inputs-text-filtro, select#encuesta2-criterio, select#encuesta2-status,
	input#encuesta2-fecha, input#encuesta2-fecha-status, .encuesta2-filtros input {
    width: 100% !important;
	}

    .encuesta2-card-body p {
        font-size: 12px;
    }

    /* Pantalla de inicio */
    .container-inicio {
        padding: 20px 10px;
    }

    h2.titulo-inicio {
        font-size: 32px;
    }

    h6.text-corto {
		text-align: center;
        font-size: 14px;
    }

    button.btn-iniciar-enc {
        width: 70%;
        font-size: 16px;
        padding: 12px;
    }

    input#encuesta2-fecha {
    width: auto;
	}

    /* Filtros */
    .encuesta2-filtros {
        flex-direction: column;
        gap: 10px;
    }

    .encuesta2-filtros input,
    .encuesta2-filtros button {
        border-radius: 16px;
        width: 100%;
        font-size: 13px;
        padding: 12px;
    }
	
	.client-info {
    margin-bottom: 58px;
	}
	
	.promotores-info {
    padding-bottom: 46px;
    border-bottom: 1px solid #e4e4e4;
	}
	
	.encuesta2-form input[type="submit"] {
    width: auto;
	}
}

/*CODIGO PARA LOGIN*/
/* Contenedor del login */
#encuesta2-login-box {
    max-width: 400px;
    margin: 60px auto;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    text-align: center;
}

.container-login {
   padding: 10px 40px 40px 40px;
}

/* Logo */
.encuesta2-logo {
    padding: 20px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.encuesta2-logo img {
    margin-top: 20px;
    margin-bottom: 45px;
    max-width: 150px;
    display: block;
}

/* Título */
#encuesta2-login-box h2 {
    font-weight: 700;
    text-transform: none;
    font-family: 'Poppins';
    font-size: 1.9em;
    margin-bottom: 0px;
    color: #673de6;
}

/* Inputs */
#encuesta2-login-box input[type="text"],
#encuesta2-login-box input[type="password"] {
    width: 100%;
    background: #ececec47;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 16px;
    font-size: 1em;
    transition: 0.3s;
}

#encuesta2-login-box input[type="text"]:focus,
#encuesta2-login-box input[type="password"]:focus {
    border-color: #4B6CB7;
    box-shadow: 0 0 8px rgba(75,108,183,0.3);
    outline: none;
}

/* Botón ingresar */
#encuesta2-login-box input[type="submit"] {
    width: 100%;
    font-variant: normal;
    padding: 12px;
    background: linear-gradient(90deg, #6A82FB, #FC5C7D);
    color: #fff;
    letter-spacing: 0.02em;
    text-transform: none;
    font-weight: 600;
    font-size: 16px;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: 0.3s;
}

#encuesta2-login-box input[type="submit"]:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Texto pequeño debajo */
#encuesta2-login-box p {
    margin-top: 20px;
    color: #666;
    font-size: 0.9em;
}

#encuesta2-login-box p b {
    color: #4B6CB7;
}

form#encuesta2-login-form {
    text-align: left;
}

label.etiqueta-inicio-sesion {
    font-size: 14px;
}

/*modal de usuarios*/

/* ============================================================
   Modal estilo Hostinger
   ============================================================ */
.h-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 1000;
    font-family: 'Poppins';
}

.h-modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-modal__overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
}

.h-modal__dialog {
    background: #fff;
    border-radius: 8px;
    width: 400px;
    max-width: 95%;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: h-modal-fade-in 0.2s ease-out;
}

@keyframes h-modal-fade-in {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.h-modal__header {
    padding: 16px;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h-modal__title {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.h-modal__close {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    line-height: 1;
    color: #555;
}

.h-modal__body {
    padding: 16px;
}

.h-form-group {
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.h-form-group label {
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
}

.h-input {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 14px;
}

.h-modal__footer {
    padding: 12px 16px;
    background: #f5f5f5;
    border-top: 1px solid #ddd;
    text-align: right;
}

.h-btn {
    border-radius: 16px !important;
    text-transform: none;
    padding: 8px 16px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    margin-left: 8px;
}

h2#swal2-title {
    font-family: 'Poppins';
}

button.swal2-confirm.swal2-styled, button.swal2-cancel.swal2-styled {
    font-family: 'Poppins';
    text-transform: none;
    border-radius: 16px !important;
}

.h-btn--primary {
    text-transform: none;
    border-radius: 16px;
    background-color: #673de6;
    color: #fff;
}

.h-btn--secondary {
    text-transform: none;
    background-color: #6c757d;
    color: #fff;
}

.h-btn--danger {
    text-transform: none;
    background-color: #dc3545;
    color: #fff;
}

.h-btn:hover {
    opacity: 0.9;
}

/* Tabla estilo Hostinger */
.h-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.h-table th, .h-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.h-table th {
    background-color: #f5f5f5;
}

.h-flex {
    display: flex;
}

.h-justify-between {
    justify-content: space-between;
}

.h-align-center {
    align-items: center;
}

i#toggle-password {
    font-size: 14px;
    position: absolute;
    right: 17px;
    top: 37%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #555;
}

.infocliente-flex {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 20px;
    display: flex;
    flex-direction: row;
}
 
/* ============================================================
   dashboard dashboard dashboard
   ============================================================ */
/* Contenedor principal */
.encuesta2-dashboard {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Tarjeta Total */
.dashboard-total,
.dashboard-butonss {
    border: 2px solid #eee;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Tarjeta Total */
.dashboard-status {
    border: 2px solid #eee;
    background: #fff;
    border-radius: 16px;
    padding: 25px;
}

.conetenedor-dashboard-total {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.dashboard-total {
    flex: 1;
    min-width: 180px;
}

.total-info .total-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #673de60f;
    
}

div#encuesta2-welcome {
    padding-top: 40px;
}

.total-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

i.fas.fa-clipboard-list {
    color: #673de6;
    font-size: 21px;
}

.total-info .total-number {
    line-height: 1em;
    font-size: 90px;
    font-weight: bold;
    color: #5C33F6;
    margin: 0;
}

.total-info .total-label {
    line-height: 1em;
    font-size: 16px;
    font-weight: 600;
}

/* Botón principal */
.btn-primary {
    text-transform: none;
    margin-top: 20px;
    padding: 10px 16px;
    border: none;
    border-radius: 16px;
    background: #5C33F6;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* Tarjeta Status */
.dashboard-status {
	gap:  40px;
    display: flex;
    flex-direction: row;
	align-items: center;
	
}

.titulo-total-info {
    margin-bottom: 15px;
    gap: 6px;
    display: flex;
    align-items: center;
}

/* Lista de status */
.status-list {
    border-right: 2px solid #eee;
    padding-right: 36px;
    list-style: none;
    margin: 0 0 0 0;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 15px;
    font-weight: 500;
    color: #333;
}

.status-item .status-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #999; /* default */

}

/* Colores por status usando atributo data-status */
.status-item[data-status="Venta Cerrada"] .status-dot { background: #4CAF50; }
.status-item[data-status="Espera de pago"] .status-dot { background: #F44336; }
.status-item[data-status="En seguimiento"] .status-dot { background: #FFC107; }
.status-item[data-status="No interesado"] .status-dot { background: #BDBDBD; }

/* Filtro de fechas */
.date-filter {
    display: flex;
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
}

.date-filter label {
    font-size: 14px;
    color: #555;
}

.date-filter input[type="date"] {
    color: #a5a5a5;
    padding: 6px;
    border-radius: 16px;
    border: 1px solid #ccc;
}
