*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{

    font-family:'Poppins', sans-serif;

    background:
    linear-gradient(
        135deg,
        #e3f2fd,
        #bbdefb,
        #f8fbff
    );

    min-height:100vh;

    padding:30px 15px;

}

.container-custom{

    max-width:850px;

    margin:auto;

}

.card-solca{

    background:white;

    border-radius:24px;

    padding:35px;

    box-shadow:
    0 10px 35px rgba(0,0,0,0.08);

    border:1px solid #edf4ff;

}

.logo{

    text-align:center;

    margin-bottom:10px;

}

.logo img{

    width:75px;

}

.title{

    text-align:center;

    color:#1565c0;

    font-size:30px;

    font-weight:700;

    margin-bottom:5px;

}

.subtitle{

    text-align:center;

    color:#78909c;

    font-size:13px;

    margin-bottom:30px;

}

.section-title{

    color:#1565c0;

    font-size:18px;

    font-weight:600;

    margin-top:30px;

    margin-bottom:20px;

    padding-bottom:10px;

    border-bottom:1px solid #dbeeff;

}

.section-title i{

    margin-right:8px;

}

label{

    display:block;

    font-size:13px;

    font-weight:500;

    color:#455a64;

    margin-bottom:7px;

}

.form-control,
.form-select{

    height:45px;

    border-radius:12px;

    border:1px solid #cfd8dc;

    background:#f8fbff;

    font-size:14px;

    padding:10px 14px;

    transition:0.3s;

    margin-bottom:18px;

}

.form-control:focus,
.form-select:focus{

    border-color:#42a5f5;

    box-shadow:
    0 0 0 4px rgba(66,165,245,0.15);

    background:white;

}

textarea.form-control{

    min-height:110px;

    resize:none;

    padding-top:14px;

}

.btn-solca{

    background:
    linear-gradient(
        90deg,
        #1e88e5,
        #42a5f5
    );

    border:none;

    color:white;

    font-weight:600;

    height:48px;

    border-radius:12px;

    transition:0.3s;

    font-size:15px;

}

.btn-solca:hover{

    transform:translateY(-1px);

    box-shadow:
    0 8px 18px rgba(30,136,229,0.25);

    color:white;

}

.icon-input{

    position:relative;

}

.icon-input i{

    position:absolute;

    left:15px;

    top:13px;

    color:#1e88e5;

    font-size:15px;

}

.icon-input input{

    padding-left:42px;

}

#datosPaciente{

    background:#f5faff;

    border:1px solid #dcefff;

    border-radius:18px;

    padding:20px;

    margin-top:20px;

    margin-bottom:10px;

}

#datosPaciente .form-control{

    background:white;

}

#motivoContainer{

    display:none;

    background:#f5faff;

    border:1px solid #bbdefb;

    border-left:5px solid #1e88e5;

    border-radius:16px;

    padding:18px;

    margin-top:10px;

    margin-bottom:20px;

}

#motivoContainer label{

    color:#1565c0;

    font-weight:600;

    margin-bottom:12px;

}

.form-select{

    cursor:pointer;

}

.form-select option{

    background:white;

    color:#37474f;

}

.gracias-box{

    text-align:center;

    padding:30px 10px;

}

.check-icon{

    font-size:75px;

    color:#4caf50;

}

.gracias-title{

    color:#1565c0;

    font-size:30px;

    font-weight:700;

    margin-top:20px;

}

.gracias-text{

    color:#607d8b;

    font-size:16px;

    margin-top:15px;

}

@media(max-width:768px){

    .card-solca{

        padding:25px;

    }

    .title{

        font-size:25px;

    }

}

.gracias-box{

    text-align:center;

    padding:40px 20px;

}

.success-circle{

    width:120px;

    height:120px;

    margin:20px auto;

    border-radius:50%;

    background:
    linear-gradient(
        135deg,
        #43a047,
        #66bb6a
    );

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:
    0 10px 25px rgba(67,160,71,0.30);

}

.success-circle i{

    color:white;

    font-size:60px;

}

.gracias-title{

    color:#1565c0;

    font-size:32px;

    font-weight:700;

    margin-top:25px;

    margin-bottom:20px;

}

.gracias-text{

    color:#607d8b;

    font-size:16px;

    line-height:1.8;

    max-width:600px;

    margin:auto;

}

.gracias-box .btn-solca{

    width:auto;

    min-width:220px;

    margin-top:25px;

}

/* =====================================================
ADMIN PANEL SOLCA - DISEÑO UNIFICADO
===================================================== */

.admin-body{
    font-family:'Poppins',sans-serif;
    background:#f4f7fb;
    margin:0;
    padding:0;
    overflow-x:hidden;
    color:#37474f;
}

/* ===== LAYOUT ===== */

.admin-layout{
    display:flex;
    min-height:100vh;
}

.main-content{
    margin-left:270px;
    width:calc(100% - 270px);
    padding:32px;
    min-height:100vh;
    position:relative;
}

/* ===== SIDEBAR ===== */

.sidebar{
    width:270px;
    background:#ffffff;
    border-right:1px solid #e6edf5;
    position:fixed;
    left:0;
    top:0;
    height:100vh;
    padding:24px 20px;
    z-index:999;
    box-shadow:0 0 30px rgba(0,0,0,0.04);
}

.sidebar-top{
    text-align:center;
    margin-bottom:32px;
}

.sidebar-top img{
    width:165px;
    max-width:100%;
    object-fit:contain;
    margin-bottom:12px;
}

.sidebar-top p{
    color:#78909c;
    font-size:14px;
    margin:0;
    font-weight:500;
}

.sidebar-menu{
    list-style:none;
    padding:0;
    margin:0;
}

.sidebar-menu li{
    margin-bottom:10px;
}

.sidebar-btn,
.sidebar-menu li a.sidebar-btn{
    width:100%;
    min-height:50px;
    border:none;
    background:transparent;
    color:#455a64;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:12px;
    padding:13px 16px;
    border-radius:14px;
    cursor:pointer;
    transition:0.25s ease;
    font-size:15px;
    font-weight:600;
    text-decoration:none;
}

.sidebar-btn span{
    display:flex;
    align-items:center;
    gap:11px;
}

.sidebar-btn i{
    font-size:18px;
    color:#1565c0;
}

.sidebar-btn:hover,
.sidebar-menu li a.sidebar-btn:hover{
    background:#eaf4ff;
    color:#1565c0;
    transform:translateX(3px);
}

.sidebar-btn:hover i{
    color:#1565c0;
}

/* ===== TOPBAR ===== */

.topbar{
    background:white;
    border-radius:20px;
    padding:24px 26px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(33,79,130,0.06);
    border:1px solid #edf3f9;
}

.topbar h1{
    margin:0;
    color:#1565c0;
    font-size:28px;
    font-weight:700;
    display:flex;
    align-items:center;
    gap:10px;
}

.topbar p{
    margin-top:7px;
    font-size:14px;
}

/* ===== FILTROS ADMIN ===== */

.admin-filter-card{
    background:#ffffff;
    border:1px solid #e5edf6;
    border-radius:20px;
    padding:20px 22px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(33,79,130,0.05);
}

.admin-filter-title{
    color:#1565c0;
    font-size:15px;
    font-weight:700;
    margin-bottom:8px;
    display:flex;
    align-items:center;
    gap:8px;
}

.admin-filter-card .form-select,
.admin-filter-card .form-control{
    height:50px;
    min-height:50px;
    margin-bottom:0;
    border-radius:12px;
    background:#f8fbff;
    border:1px solid #d8e4ef;
    font-size:14px;
    padding:0 14px;
}

.admin-filter-card .form-select:focus,
.admin-filter-card .form-control:focus{
    background:#ffffff;
    border-color:#42a5f5;
    box-shadow:0 0 0 4px rgba(66,165,245,0.12);
}

.admin-filter-actions{
    display:flex;
    gap:10px;
    height:50px;
}

.admin-filter-btn,
.admin-reset-btn,
.admin-report-btn{
    min-height:50px;
    height:50px;
    border-radius:12px;
    font-weight:600;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    transition:0.25s ease;
    white-space:nowrap;
}

.admin-filter-btn{
    flex:1;
    background:linear-gradient(90deg,#1e88e5,#42a5f5);
    border:none;
    color:#ffffff;
    padding:0 22px;
}

.admin-filter-btn:hover{
    color:#ffffff;
    transform:translateY(-1px);
    box-shadow:0 8px 18px rgba(30,136,229,0.20);
}

.admin-reset-btn{
    width:50px;
    flex:0 0 50px;
    padding:0;
    border:1px solid #cfdbe7;
    color:#607d8b;
    background:#ffffff;
}

.admin-reset-btn:hover{
    color:#1565c0;
    border-color:#90caf9;
    background:#f3f9ff;
}

.admin-report-btn{
    background:#198754;
    border:none;
    color:#ffffff;
    padding:0 20px;
}

.admin-report-btn:hover{
    background:#157347;
    color:#ffffff;
    transform:translateY(-1px);
}

.filter-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    background:#eef6ff;
    color:#1565c0;
    border:1px solid #d6eaff;
    border-radius:999px;
    padding:9px 14px;
    font-size:13px;
    font-weight:600;
}

/* ===== DASHBOARD ===== */

.dashboard-grid > .col{
    display:flex;
}

.dashboard-card{
    width:100%;
    min-height:165px;
    height:100%;
    border-radius:20px;
    padding:24px;
    color:white;
    position:relative;
    overflow:hidden;
    box-shadow:0 10px 24px rgba(0,0,0,0.08);
    transition:0.25s ease;
    display:flex;
    align-items:center;
}

.dashboard-card:hover{
    transform:translateY(-3px);
    box-shadow:0 14px 30px rgba(0,0,0,0.11);
}

.dashboard-card h5{
    font-size:15px;
    opacity:0.92;
    margin:0 0 10px;
    font-weight:600;
}

.dashboard-card h2{
    font-size:42px;
    line-height:1;
    margin:0 0 8px;
    font-weight:700;
}

.dashboard-card small{
    font-size:13px;
    opacity:0.92;
    font-weight:600;
}

.dashboard-card > i{
    position:absolute;
    right:18px;
    bottom:16px;
    font-size:68px;
    opacity:0.15;
}

.blue-card{
    background:linear-gradient(135deg,#1e88e5,#42a5f5);
}

.green-card{
    background:linear-gradient(135deg,#2e7d32,#66bb6a);
}

.positive-card{
    background:linear-gradient(135deg,#00a86b,#4dd0a2);
}

.negative-card{
    background:linear-gradient(135deg,#d84343,#ff6b6b);
}

.mixed-card{
    background:linear-gradient(135deg,#ef8c00,#ffbd59);
}

.service-summary-card{
    background:#ffffff;
    border:1px solid #e5edf6;
    border-radius:18px;
    padding:20px;
    height:100%;
    box-shadow:0 6px 18px rgba(33,79,130,0.04);
}

.service-summary-card small{
    color:#78909c;
    font-size:12px;
}

.service-summary-card h5{
    color:#37474f;
    margin:5px 0 12px;
    font-size:16px;
    font-weight:700;
}

/* ===== TABLAS ===== */

.table-container{
    background:white;
    border-radius:20px;
    padding:22px;
    box-shadow:0 8px 24px rgba(33,79,130,0.05);
    border:1px solid #edf3f9;
}

.table{
    margin:0;
}

.table thead th{
    background:#1565c0;
    color:white;
    border:none;
    padding:16px;
    font-size:13px;
    white-space:nowrap;
}

.table tbody td{
    padding:16px;
    vertical-align:middle;
    border-color:#edf2f7;
    font-size:14px;
}

.table tbody tr:hover{
    background:#f8fbff;
}

.badge{
    padding:8px 12px;
    border-radius:10px;
    font-size:12px;
    font-weight:600;
}

/* ===== BOTÓN GENERAL SOLCA ===== */

.btn-solca{
    background:linear-gradient(90deg,#1e88e5,#42a5f5);
    border:none;
    color:white;
    border-radius:12px;
    padding:11px 18px;
    font-weight:600;
    transition:0.25s ease;
}

.btn-solca:hover{
    transform:translateY(-1px);
    color:white;
    box-shadow:0 8px 18px rgba(30,136,229,0.20);
}

/* ===== ESTADÍSTICAS ===== */

.stats-card{
    background:white;
    border-radius:20px;
    padding:24px;
    box-shadow:0 8px 24px rgba(33,79,130,0.05);
    border:1px solid #edf3f9;
}

.stats-card h3{
    color:#1565c0;
    margin:0;
    font-size:22px;
    font-weight:700;
}

.stats-main-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.stats-status-badge{
    border-radius:999px;
    padding:9px 14px;
    font-size:13px;
    font-weight:700;
}

.progress{
    height:24px;
    border-radius:50px;
    background:#edf3fb;
    overflow:hidden;
}

.progress-bar{
    font-weight:700;
    font-size:12px;
}

.question-stat-col{
    display:flex;
}

.question-stat-card{
    width:100%;
    min-height:190px;
    height:100%;
    background:#ffffff;
    border:1px solid #e5edf6;
    border-radius:18px;
    padding:20px;
    box-shadow:0 6px 18px rgba(33,79,130,0.05);
    display:flex;
    flex-direction:column;
}

.question-stat-head{
    display:flex;
    align-items:flex-start;
    gap:12px;
    margin-bottom:18px;
}

.question-number{
    width:38px;
    height:38px;
    border-radius:12px;
    background:#eaf4ff;
    color:#1565c0;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 38px;
    font-size:14px;
    font-weight:700;
}

.question-stat-card h5{
    font-size:15px;
    font-weight:700;
    color:#37474f;
    margin:0;
    line-height:1.4;
}

.question-stat-card .question-subtitle{
    color:#78909c;
    font-size:12px;
    margin-top:4px;
    line-height:1.35;
}

.answer-stats{
    margin-top:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
}

.answer-pill{
    border-radius:12px;
    padding:10px 12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    font-size:13px;
    font-weight:600;
}

.answer-pill.yes{
    background:#ebf8f0;
    color:#198754;
}

.answer-pill.no{
    background:#fff0f0;
    color:#d84343;
}

.rating-average{
    display:flex;
    align-items:flex-end;
    gap:8px;
    margin-top:auto;
    margin-bottom:12px;
}

.rating-average strong{
    color:#1565c0;
    font-size:34px;
    line-height:1;
}

.rating-average span{
    color:#78909c;
    font-size:13px;
    padding-bottom:4px;
}

.rating-mini-list{
    display:grid;
    grid-template-columns:repeat(5,1fr);
    gap:5px;
}

.rating-mini-item{
    background:#fff8e1;
    border:1px solid #ffecb3;
    border-radius:9px;
    text-align:center;
    padding:6px 3px;
    font-size:11px;
    color:#8d6e00;
    font-weight:700;
}

.motivos-card{
    background:white;
    border-radius:20px;
    padding:24px;
    margin-top:24px;
    box-shadow:0 8px 24px rgba(33,79,130,0.05);
    border:1px solid #edf3f9;
}

.motivos-card h3{
    color:#1565c0;
    font-size:20px;
    font-weight:700;
    margin:0 0 16px;
}

.motivo-item{
    background:#f8fbff;
    border-radius:14px;
    padding:16px;
    margin-top:12px;
    border-left:4px solid #ef5350;
    font-size:14px;
}

/* ===== DETALLE ===== */

.detail-card{
    background:white;
    border-radius:20px;
    padding:28px;
    box-shadow:0 8px 24px rgba(33,79,130,0.05);
    border:1px solid #edf3f9;
}

.detail-title{
    color:#1565c0;
    font-size:20px;
    font-weight:700;
    margin:0 0 18px;
}

.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
    gap:16px;
    margin-bottom:28px;
}

.info-item{
    background:#f8fbff;
    border:1px solid #e3eefb;
    border-radius:16px;
    padding:18px;
}

.info-item span{
    display:block;
    color:#78909c;
    font-size:12px;
    margin-bottom:7px;
    line-height:1.45;
}

.info-item strong{
    color:#1565c0;
    font-size:14px;
}

.motivo-box{
    background:#fff5f5;
    border-left:5px solid #ef5350;
    border-radius:14px;
    padding:18px;
    margin-top:20px;
}

/* ===== ESTRELLAS FORMULARIO ===== */

.rating-stars{
    display:flex;
    gap:10px;
    margin-top:15px;
    margin-bottom:10px;
}

.rating-stars .star{
    font-size:40px;
    color:#d6d6d6;
    cursor:pointer;
    transition:0.3s;
}

.rating-stars .star:hover{
    transform:scale(1.1);
}

.rating-stars .star.active{
    color:#ffc107;
}

/* ===== RESPONSIVE ===== */

@media(max-width:1199px){
    .dashboard-card{
        min-height:155px;
    }
}

@media(max-width:991px){
    .sidebar{
        position:relative;
        width:100%;
        height:auto;
    }

    .main-content{
        margin-left:0;
        width:100%;
        padding:20px;
    }

    .admin-layout{
        flex-direction:column;
    }
}

@media(max-width:767px){
    .main-content{
        padding:15px;
    }

    .topbar{
        padding:20px;
        border-radius:16px;
    }

    .topbar h1{
        font-size:23px;
    }

    .admin-filter-card{
        padding:18px;
        border-radius:16px;
    }

    .admin-filter-actions{
        width:100%;
    }

    .dashboard-card{
        min-height:145px;
    }

    .dashboard-card h2{
        font-size:38px;
    }

    .question-stat-card{
        min-height:auto;
    }
}


/* =====================================================
   AJUSTES VISUALES ADMIN - SEPTIEMBRE 2026
   Unifica filtros, tarjetas, tablas y detalle.
   ===================================================== */

/* Evita que los estilos generales del formulario público
   alteren los controles del panel administrativo. */
.admin-body .form-control,
.admin-body .form-select{
    margin-bottom:0;
}

/* ===== FILTROS ===== */
.admin-filter-card{
    background:#ffffff;
    border:1px solid #e4edf6;
    border-radius:20px;
    padding:20px 22px;
    margin-bottom:24px;
    box-shadow:0 8px 24px rgba(33,79,130,0.05);
}

.admin-filter-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0 0 8px;
    color:#37546b;
    font-size:13px;
    font-weight:700;
}

.admin-filter-title i{
    color:#1565c0;
    font-size:15px;
}

.admin-filter-card .form-select,
.admin-filter-card .form-control{
    width:100%;
    height:50px;
    min-height:50px;
    border:1px solid #d7e3ef;
    border-radius:13px;
    background:#f8fbff;
    color:#37474f;
    font-size:14px;
    padding:0 44px 0 15px;
    box-shadow:none;
    transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.admin-filter-card .form-select:hover,
.admin-filter-card .form-control:hover{
    border-color:#b8d4ee;
    background:#ffffff;
}

.admin-filter-card .form-select:focus,
.admin-filter-card .form-control:focus{
    border-color:#42a5f5;
    background:#ffffff;
    box-shadow:0 0 0 4px rgba(66,165,245,0.12);
}

.admin-filter-actions{
    display:flex;
    gap:10px;
    width:100%;
}

.admin-filter-btn,
.admin-reset-btn,
.admin-report-btn{
    height:50px;
    min-height:50px;
    border-radius:13px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    font-size:14px;
    font-weight:700;
    text-decoration:none;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.admin-filter-btn{
    flex:1;
    padding:0 22px;
    border:0;
    background:linear-gradient(135deg,#1565c0,#42a5f5);
    color:#ffffff;
    box-shadow:0 7px 16px rgba(21,101,192,0.18);
}

.admin-filter-btn:hover{
    color:#ffffff;
    transform:translateY(-1px);
    box-shadow:0 10px 20px rgba(21,101,192,0.23);
}

.admin-reset-btn{
    width:50px;
    flex:0 0 50px;
    padding:0;
    border:1px solid #d6e1eb;
    background:#ffffff;
    color:#607d8b;
}

.admin-reset-btn:hover{
    color:#1565c0;
    border-color:#90caf9;
    background:#f3f9ff;
    transform:translateY(-1px);
}

.admin-report-btn{
    border:0;
    padding:0 20px;
    background:#198754;
    color:#ffffff;
    box-shadow:0 7px 16px rgba(25,135,84,0.15);
}

.admin-report-btn:hover,
.admin-report-btn:focus{
    background:#157347;
    color:#ffffff;
    transform:translateY(-1px);
}

.filter-status{
    display:inline-flex;
    align-items:center;
    gap:7px;
    min-height:38px;
    background:#eef6ff;
    color:#1565c0;
    border:1px solid #d6eaff;
    border-radius:999px;
    padding:8px 14px;
    font-size:13px;
    font-weight:700;
}

/* ===== DASHBOARD: TODAS LAS TARJETAS DEL MISMO TAMAÑO ===== */
.dashboard-grid > .col{
    display:flex;
}

.dashboard-card{
    width:100%;
    min-height:170px;
    height:100%;
    padding:24px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    overflow:hidden;
    isolation:isolate;
}

.dashboard-card::before{
    content:"";
    position:absolute;
    width:120px;
    height:120px;
    border-radius:50%;
    right:-38px;
    top:-45px;
    background:rgba(255,255,255,0.10);
    z-index:-1;
}

.dashboard-card::after{
    content:"";
    position:absolute;
    width:88px;
    height:88px;
    border-radius:50%;
    right:38px;
    bottom:-52px;
    background:rgba(255,255,255,0.08);
    z-index:-1;
}

.dashboard-card h5{
    max-width:150px;
    min-height:22px;
    margin:0 0 12px;
    font-size:14px;
    line-height:1.35;
    font-weight:600;
    opacity:.95;
}

.dashboard-card h2{
    margin:0 0 9px;
    font-size:40px;
    line-height:1;
    font-weight:700;
}

.dashboard-card small{
    display:inline-flex;
    align-items:center;
    min-height:25px;
    padding:4px 9px;
    border-radius:999px;
    background:rgba(255,255,255,0.16);
    font-size:12px;
    font-weight:700;
}

.dashboard-card > i{
    position:absolute;
    right:18px;
    bottom:15px;
    font-size:64px;
    opacity:.16;
}

.dashboard-card:hover{
    transform:translateY(-3px);
}

/* ===== RESUMEN POR SERVICIO ===== */
.service-summary-section{
    margin-top:24px;
}

.service-summary-header{
    display:flex;
    align-items:center;
    gap:9px;
    color:#1565c0;
    font-size:19px;
    font-weight:700;
    margin:0 0 18px;
}

.service-summary-card{
    min-height:128px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-summary-card:hover{
    transform:translateY(-2px);
    border-color:#cfe3f6;
    box-shadow:0 10px 24px rgba(33,79,130,0.08);
}

.service-count-badge{
    align-self:flex-start;
    display:inline-flex;
    align-items:center;
    gap:6px;
    border-radius:999px;
    padding:7px 11px;
    background:#eaf4ff;
    color:#1565c0;
    font-size:12px;
    font-weight:700;
}

/* ===== ESTADÍSTICAS ===== */
.question-stat-grid > [class*="col-"]{
    display:flex;
}

.question-stat-card{
    min-height:175px;
}

.answer-pill strong{
    font-size:17px;
}

/* ===== LISTADO ===== */
.table-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:20px;
}

.table-container .dropdown-menu{
    border:1px solid #e3ebf3;
    border-radius:14px;
    padding:7px;
    box-shadow:0 12px 28px rgba(33,79,130,0.12);
}

.table-container .dropdown-item{
    border-radius:9px;
    padding:10px 12px;
    font-size:13px;
    color:#455a64;
}

.table-container .dropdown-item:hover{
    background:#eef6ff;
    color:#1565c0;
}

.table-container .btn-solca{
    width:42px;
    height:42px;
    padding:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:11px;
}

/* ===== DETALLE ENCUESTA ===== */
.detail-card{
    overflow:hidden;
}

.detail-title{
    display:flex;
    align-items:center;
    gap:8px;
    padding-bottom:11px;
    margin-top:6px;
    border-bottom:1px solid #e7eff7;
}

.detail-title:not(:first-child){
    margin-top:10px;
}

.info-item{
    min-height:94px;
    transition:transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.info-item:hover{
    transform:translateY(-2px);
    border-color:#cfe3f6;
    box-shadow:0 7px 16px rgba(33,79,130,0.06);
}

.info-item strong{
    display:block;
    line-height:1.5;
    overflow-wrap:anywhere;
}

.motivo-box{
    color:#5d4037;
}

/* ===== RESPONSIVE EXTRA ===== */
@media(max-width:767px){
    .admin-filter-card{
        padding:17px;
    }

    .admin-filter-actions{
        margin-top:2px;
    }

    .dashboard-card{
        min-height:150px;
    }

    .dashboard-card h2{
        font-size:36px;
    }

    .table-toolbar{
        align-items:stretch;
    }

    .admin-report-btn{
        width:100%;
    }
}


/* =====================================================
   TEMA PRUEBA - SISTEMA DE SATISFACCIÓN 2
   Diseño claro, cálido y diferente al panel azul anterior
   Paleta: vino / coral / verde petróleo / marfil
   ===================================================== */

:root{
    --survey-bg:#f8f5f6;
    --survey-surface:#ffffff;
    --survey-surface-soft:#fff9fa;
    --survey-primary:#7a284e;
    --survey-primary-dark:#5f1e3c;
    --survey-primary-soft:#f6e9ef;
    --survey-accent:#c85c78;
    --survey-teal:#2a8c82;
    --survey-text:#2f2930;
    --survey-muted:#817680;
    --survey-border:#eadfe4;
    --survey-shadow:0 12px 35px rgba(85,44,63,.08);
}

/* ===== BASE DEL ADMIN ===== */
.admin-body{
    background:var(--survey-bg);
    color:var(--survey-text);
}

.admin-layout{
    background:var(--survey-bg);
}

.main-content{
    background:
        radial-gradient(circle at 96% 2%, rgba(200,92,120,.08), transparent 24%),
        radial-gradient(circle at 68% 100%, rgba(42,140,130,.07), transparent 30%),
        var(--survey-bg);
}

/* ===== SIDEBAR: CAMBIO VISUAL PRINCIPAL ===== */
.sidebar{
    background:linear-gradient(180deg,#6f2347 0%,#581b38 100%);
    border-right:0;
    box-shadow:8px 0 30px rgba(78,24,50,.13);
}

.sidebar-top{
    padding-bottom:22px;
    margin-bottom:22px;
    border-bottom:1px solid rgba(255,255,255,.12);
}

.sidebar-top img{
    background:#ffffff;
    border-radius:18px;
    padding:10px 14px;
    box-shadow:0 8px 24px rgba(32,12,22,.14);
}

.sidebar-top p{
    color:rgba(255,255,255,.72);
}

.sidebar-btn,
.sidebar-menu li a.sidebar-btn{
    color:rgba(255,255,255,.84);
    border-radius:12px;
    position:relative;
}

.sidebar-btn i,
.sidebar-menu li a.sidebar-btn i{
    color:#ffd5df;
}

.sidebar-btn:hover,
.sidebar-menu li a.sidebar-btn:hover{
    background:rgba(255,255,255,.12);
    color:#ffffff;
    transform:translateX(4px);
}

.sidebar-btn:hover i,
.sidebar-menu li a.sidebar-btn:hover i{
    color:#ffffff;
}

/* ===== ENCABEZADO ===== */
.topbar{
    position:relative;
    overflow:hidden;
    background:var(--survey-surface);
    border:1px solid var(--survey-border);
    border-radius:18px;
    padding:25px 28px 25px 32px;
    box-shadow:var(--survey-shadow);
}

.topbar::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:6px;
    background:linear-gradient(180deg,var(--survey-primary),var(--survey-accent));
}

.topbar::after{
    content:"";
    position:absolute;
    width:130px;
    height:130px;
    border-radius:50%;
    right:-45px;
    top:-70px;
    background:rgba(122,40,78,.055);
}

.topbar h1{
    color:var(--survey-primary);
    font-size:27px;
    letter-spacing:-.3px;
}

.topbar h1 i{
    width:42px;
    height:42px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
    font-size:20px;
}

.topbar p,
.topbar .text-muted{
    color:var(--survey-muted)!important;
}

/* ===== FILTRO ===== */
.admin-filter-card{
    background:linear-gradient(135deg,#ffffff 0%,#fffafb 100%);
    border:1px solid var(--survey-border);
    border-radius:18px;
    padding:20px 22px;
    box-shadow:0 8px 25px rgba(85,44,63,.055);
}

.admin-filter-title{
    color:#5f5660;
    font-size:13px;
}

.admin-filter-title i{
    color:var(--survey-primary);
}

.admin-filter-card .form-select,
.admin-filter-card .form-control{
    border:1px solid #ddcfd6;
    border-radius:11px;
    background:#ffffff;
    color:var(--survey-text);
}

.admin-filter-card .form-select:hover,
.admin-filter-card .form-control:hover{
    border-color:#c99aaa;
}

.admin-filter-card .form-select:focus,
.admin-filter-card .form-control:focus{
    border-color:var(--survey-accent);
    box-shadow:0 0 0 4px rgba(200,92,120,.12);
}

.admin-filter-btn,
.btn-solca{
    background:linear-gradient(135deg,var(--survey-primary),var(--survey-accent));
    border:0;
    color:#ffffff;
    box-shadow:0 8px 18px rgba(122,40,78,.18);
}

.admin-filter-btn:hover,
.btn-solca:hover{
    background:linear-gradient(135deg,var(--survey-primary-dark),#b54b68);
    color:#ffffff;
    box-shadow:0 10px 22px rgba(122,40,78,.22);
}

.admin-reset-btn{
    border:1px solid #ddcfd6;
    color:var(--survey-primary);
    background:#ffffff;
}

.admin-reset-btn:hover{
    border-color:#c88da2;
    color:var(--survey-primary-dark);
    background:var(--survey-primary-soft);
}

.filter-status{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
    border:1px solid #eccfdb;
    border-radius:10px;
    padding:9px 13px;
}

/* ===== DASHBOARD: TARJETAS BLANCAS CON ACENTO, NO GRADIENTES COMPLETOS ===== */
.dashboard-grid{
    --bs-gutter-x:1.25rem;
    --bs-gutter-y:1.25rem;
}

.dashboard-grid > .col{
    display:flex;
}

.dashboard-card{
    --card-accent:var(--survey-primary);
    --card-soft:var(--survey-primary-soft);
    background:#ffffff!important;
    color:var(--survey-text)!important;
    border:1px solid var(--survey-border);
    border-radius:16px;
    min-height:148px;
    padding:22px 22px 20px 24px;
    box-shadow:0 9px 24px rgba(73,45,58,.065);
    align-items:center;
    transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.dashboard-card::before{
    width:5px;
    height:auto;
    left:0;
    right:auto;
    top:18px;
    bottom:18px;
    border-radius:0 8px 8px 0;
    background:var(--card-accent);
}

.dashboard-card::after{
    width:78px;
    height:78px;
    right:17px;
    bottom:auto;
    top:50%;
    transform:translateY(-50%);
    background:var(--card-soft);
    opacity:1;
}

.dashboard-card:hover{
    transform:translateY(-4px);
    border-color:#ddcbd3;
    box-shadow:0 15px 32px rgba(73,45,58,.11);
}

.dashboard-card h5{
    color:#756a72!important;
    opacity:1;
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.45px;
    margin-bottom:10px;
}

.dashboard-card h2{
    color:var(--survey-text)!important;
    font-size:38px;
    letter-spacing:-1px;
}

.dashboard-card small{
    background:var(--card-soft);
    color:var(--card-accent)!important;
    border-radius:7px;
    padding:4px 8px;
}

.dashboard-card > i{
    width:52px;
    height:52px;
    right:30px;
    bottom:auto;
    top:50%;
    transform:translateY(-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    color:var(--card-accent);
    font-size:28px;
    opacity:1;
    z-index:2;
}

.blue-card{
    --card-accent:#7a284e;
    --card-soft:#f6e9ef;
}

.green-card{
    --card-accent:#2a8c82;
    --card-soft:#e6f5f3;
}

.positive-card{
    --card-accent:#3f8f5a;
    --card-soft:#e9f5ed;
}

.negative-card{
    --card-accent:#c65359;
    --card-soft:#faebec;
}

.mixed-card{
    --card-accent:#bb7b2e;
    --card-soft:#fbf1e3;
}

/* ===== RESUMEN POR SERVICIO ===== */
.table-container{
    background:#ffffff;
    border:1px solid var(--survey-border);
    border-radius:18px;
    box-shadow:var(--survey-shadow);
}

.service-summary-header{
    color:var(--survey-primary);
}

.service-summary-header i,
.service-summary-header .text-primary{
    color:var(--survey-primary)!important;
}

.service-summary-card{
    background:#fffafb;
    border:1px solid #eadde3;
    border-radius:14px;
    box-shadow:none;
    position:relative;
    overflow:hidden;
}

.service-summary-card::before{
    content:"";
    position:absolute;
    left:0;
    top:0;
    width:100%;
    height:4px;
    background:linear-gradient(90deg,var(--survey-primary),var(--survey-accent));
}

.service-summary-card:hover{
    border-color:#d9bdc9;
    box-shadow:0 10px 24px rgba(122,40,78,.08);
}

.service-summary-card small{
    color:var(--survey-muted)!important;
}

.service-summary-card h5{
    color:var(--survey-text);
}

.service-count-badge{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
    border-radius:8px;
}

/* ===== ELEMENTOS BOOTSTRAP DEL ADMIN ===== */
.admin-body .text-primary{
    color:var(--survey-primary)!important;
}

.admin-body .badge.bg-primary{
    background:var(--survey-primary)!important;
}

.admin-body a{
    text-decoration:none;
}

/* ===== RESPONSIVE DEL TEMA ===== */
@media(max-width:991px){
    .sidebar{
        background:linear-gradient(135deg,#6f2347,#581b38);
    }
}

@media(max-width:767px){
    .topbar{
        padding:21px 20px 21px 24px;
    }

    .topbar h1{
        font-size:22px;
    }

    .topbar h1 i{
        width:36px;
        height:36px;
        font-size:17px;
    }

    .dashboard-card{
        min-height:138px;
    }

    .dashboard-card h2{
        font-size:34px;
    }
}

/* =====================================================
   VARIANTE 2 - AJUSTE DE COLOR SEGÚN LOGO SOLCA
   Se mantiene el mismo diseño, solo cambia la paleta.
   ===================================================== */

:root{
    --survey-bg:#f4f8fb;
    --survey-surface:#ffffff;
    --survey-surface-soft:#f8fcff;
    --survey-primary:#0f5fa8;
    --survey-primary-dark:#0a467c;
    --survey-primary-soft:#eaf4fc;
    --survey-accent:#3f97e0;
    --survey-teal:#2d8fa3;
    --survey-text:#243949;
    --survey-muted:#728394;
    --survey-border:#dce8f2;
    --survey-shadow:0 12px 35px rgba(15,95,168,.08);
}

.admin-body{
    background:var(--survey-bg);
    color:var(--survey-text);
}

.main-content{
    background:
        radial-gradient(circle at 96% 2%, rgba(63,151,224,.10), transparent 24%),
        radial-gradient(circle at 68% 100%, rgba(45,143,163,.08), transparent 30%),
        var(--survey-bg);
}

.sidebar{
    background:linear-gradient(180deg,#0e5a9a 0%, #0a4473 100%);
    box-shadow:8px 0 30px rgba(12,67,112,.16);
}

.sidebar-top{
    border-bottom:1px solid rgba(255,255,255,.14);
}

.sidebar-btn i,
.sidebar-menu li a.sidebar-btn i{
    color:#d8ecff;
}

.topbar::before{
    background:linear-gradient(180deg,var(--survey-primary),var(--survey-accent));
}

.topbar::after{
    background:rgba(15,95,168,.06);
}

.topbar h1{
    color:var(--survey-primary);
}

.topbar h1 i{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
}

.admin-filter-card{
    background:linear-gradient(135deg,#ffffff 0%,#f8fcff 100%);
    box-shadow:0 8px 25px rgba(15,95,168,.055);
}

.admin-filter-title,
.service-summary-header{
    color:var(--survey-primary);
}

.admin-filter-card .form-select:hover,
.admin-filter-card .form-control:hover{
    border-color:#b8d4ea;
}

.admin-filter-card .form-select:focus,
.admin-filter-card .form-control:focus{
    border-color:var(--survey-accent);
    box-shadow:0 0 0 4px rgba(63,151,224,.13);
}

.admin-filter-btn,
.btn-solca{
    background:linear-gradient(135deg,var(--survey-primary),var(--survey-accent));
    box-shadow:0 8px 18px rgba(15,95,168,.18);
}

.admin-filter-btn:hover,
.btn-solca:hover{
    background:linear-gradient(135deg,var(--survey-primary-dark),#2e82c7);
    box-shadow:0 10px 22px rgba(15,95,168,.22);
}

.admin-reset-btn{
    color:var(--survey-primary);
}

.admin-reset-btn:hover{
    background:var(--survey-primary-soft);
    border-color:#a9cbea;
    color:var(--survey-primary-dark);
}

.filter-status{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
    border:1px solid #cfe2f3;
}

.dashboard-card{
    box-shadow:0 9px 24px rgba(30,76,113,.07);
}

.dashboard-card:hover{
    border-color:#c9dceb;
    box-shadow:0 15px 32px rgba(30,76,113,.11);
}

.blue-card{
    --card-accent:#0f5fa8;
    --card-soft:#eaf4fc;
}

.green-card{
    --card-accent:#2d8fa3;
    --card-soft:#e8f6f8;
}

.positive-card{
    --card-accent:#3f9c6d;
    --card-soft:#ebf7ef;
}

.negative-card{
    --card-accent:#d26a5c;
    --card-soft:#fcefeb;
}

.mixed-card{
    --card-accent:#c79a3f;
    --card-soft:#fbf5e7;
}

.table-container{
    border:1px solid var(--survey-border);
    box-shadow:var(--survey-shadow);
}

.service-summary-card{
    background:#fafdff;
    border:1px solid #dfe9f2;
}

.service-summary-card::before{
    background:linear-gradient(90deg,var(--survey-primary),var(--survey-accent));
}

.service-summary-card:hover{
    border-color:#c9dceb;
    box-shadow:0 10px 24px rgba(15,95,168,.08);
}

.service-count-badge{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
}

.admin-body .badge.bg-primary{
    background:var(--survey-primary)!important;
}

@media(max-width:991px){
    .sidebar{
        background:linear-gradient(135deg,#0e5a9a,#0a4473);
    }
}

/* =====================================================
   LISTADO + DETALLE - MISMA IDENTIDAD VISUAL DEL DASHBOARD
   ===================================================== */

/* ===== LISTADO DE ENCUESTAS ===== */
.survey-list-card{
    padding:0;
    overflow:hidden;
}

.table-toolbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    padding:22px 24px;
    margin:0;
    border-bottom:1px solid var(--survey-border);
    background:linear-gradient(135deg,#ffffff 0%,#f8fcff 100%);
}

.survey-list-heading{
    display:flex;
    align-items:center;
    gap:13px;
}

.survey-list-icon{
    width:44px;
    height:44px;
    border-radius:13px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
    font-size:20px;
}

.survey-list-label{
    display:block;
    margin-bottom:2px;
    color:var(--survey-muted);
    font-size:11px;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:.6px;
}

.survey-list-heading h3{
    margin:0;
    color:var(--survey-text);
    font-size:19px;
    font-weight:700;
}

.table-toolbar-actions{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.admin-report-btn{
    height:42px;
    min-height:42px;
    padding:0 16px;
    border-radius:10px;
    border:0;
    background:linear-gradient(135deg,#2e8b68,#45aa83);
    color:#ffffff;
    font-size:13px;
    font-weight:700;
    box-shadow:0 7px 16px rgba(46,139,104,.16);
}

.admin-report-btn:hover,
.admin-report-btn:focus{
    background:linear-gradient(135deg,#26785b,#389871);
    color:#ffffff;
}

.survey-list-card .dropdown-menu{
    border:1px solid var(--survey-border);
    border-radius:13px;
    padding:7px;
    box-shadow:0 14px 35px rgba(30,76,113,.14);
}

.survey-list-card .dropdown-item{
    display:flex;
    align-items:center;
    gap:9px;
    border-radius:8px;
    padding:10px 12px;
    color:#506575;
    font-size:13px;
    font-weight:500;
}

.survey-list-card .dropdown-item i{
    width:18px;
    color:var(--survey-primary);
}

.survey-list-card .dropdown-item:hover{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
}

.survey-table-wrap{
    padding:0;
}

.survey-table{
    margin:0;
}

.survey-table thead th{
    padding:14px 18px;
    background:#eef6fc;
    color:#496476;
    border-bottom:1px solid #d9e8f3;
    font-size:11px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.45px;
}

.survey-table tbody td{
    padding:15px 18px;
    border-color:#edf3f7;
    color:#3f5361;
    font-size:13px;
}

.survey-table tbody tr{
    background:#ffffff;
    transition:background .2s ease;
}

.survey-table tbody tr:hover{
    background:#f8fcff;
}

.survey-id-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:42px;
    min-height:30px;
    padding:5px 8px;
    border-radius:8px;
    background:#f0f5f9;
    color:#627789;
    font-size:12px;
    font-weight:700;
}

.survey-patient-cell{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:190px;
}

.survey-patient-avatar{
    width:34px;
    height:34px;
    flex:0 0 34px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
}

.survey-patient-cell strong{
    color:#2f4656;
    font-size:13px;
    font-weight:650;
}

.survey-cell-icon{
    margin-right:6px;
    color:#86a6bd;
}

.survey-service-badge,
.survey-type-badge{
    display:inline-flex;
    align-items:center;
    border-radius:8px;
    padding:6px 9px;
    font-size:11px;
    font-weight:700;
}

.survey-service-badge{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
}

.survey-type-badge{
    background:#eaf7f2;
    color:#318064;
}

.survey-view-btn{
    width:38px;
    height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
    border:1px solid #d5e6f4;
    transition:.2s ease;
}

.survey-view-btn:hover{
    background:var(--survey-primary);
    color:#ffffff;
    border-color:var(--survey-primary);
    transform:translateY(-1px);
    box-shadow:0 7px 16px rgba(15,95,168,.18);
}

.survey-empty-state{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:4px;
    color:var(--survey-muted);
}

.survey-empty-state i{
    margin-bottom:6px;
    color:#aac1d2;
    font-size:38px;
}

.survey-empty-state strong{
    color:#526979;
    font-size:14px;
}

.survey-empty-state span{
    font-size:12px;
}

/* ===== DETALLE DE ENCUESTA ===== */
.detail-topbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    flex-wrap:wrap;
}

.detail-back-btn{
    min-height:42px;
    padding:0 15px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:10px;
    border:1px solid #cfe0ee;
    background:#ffffff;
    color:var(--survey-primary);
    font-size:13px;
    font-weight:700;
    transition:.2s ease;
}

.detail-back-btn:hover{
    background:var(--survey-primary-soft);
    color:var(--survey-primary-dark);
    transform:translateY(-1px);
}

.survey-alert{
    display:flex;
    align-items:center;
    gap:10px;
    border-radius:14px;
    border:1px solid #f0d7a6;
    background:#fff9ed;
    color:#8a661c;
    box-shadow:0 8px 20px rgba(143,106,29,.06);
}

.survey-detail-card{
    padding:26px;
    border-radius:18px;
    background:#ffffff;
    border:1px solid var(--survey-border);
    box-shadow:var(--survey-shadow);
}

.detail-section-heading{
    display:flex;
    align-items:center;
    gap:12px;
    margin:3px 0 17px;
    padding-bottom:13px;
    border-bottom:1px solid #e8f0f6;
}

.detail-section-heading:not(:first-child){
    margin-top:8px;
}

.detail-section-icon{
    width:42px;
    height:42px;
    flex:0 0 42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    font-size:18px;
}

.detail-section-icon.patient{
    background:var(--survey-primary-soft);
    color:var(--survey-primary);
}

.detail-section-icon.survey{
    background:#e8f6f8;
    color:#2d8fa3;
}

.detail-section-icon.answers{
    background:#ebf7ef;
    color:#3f9c6d;
}

.detail-section-heading span{
    display:block;
    margin-bottom:2px;
    color:var(--survey-muted);
    font-size:10px;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.6px;
}

.detail-section-heading h3{
    margin:0;
    color:#2c4556;
    font-size:19px;
    font-weight:700;
}

.survey-detail-card .info-grid{
    grid-template-columns:repeat(auto-fit,minmax(225px,1fr));
    gap:14px;
    margin-bottom:28px;
}

.survey-detail-card .info-item{
    min-height:88px;
    padding:16px 17px;
    border-radius:13px;
    background:#fafdff;
    border:1px solid #e1ebf3;
    box-shadow:none;
}

.survey-detail-card .info-item:hover{
    transform:translateY(-2px);
    border-color:#cbddea;
    box-shadow:0 8px 18px rgba(30,76,113,.07);
}

.survey-detail-card .info-item span{
    color:#7d91a0;
    font-size:11px;
    font-weight:600;
}

.survey-detail-card .info-item strong{
    color:#29485c;
    font-size:14px;
    font-weight:700;
}

.detail-service-value{
    color:var(--survey-primary)!important;
}

.response-grid{
    align-items:stretch;
}

.response-item{
    position:relative;
    min-height:126px!important;
    padding-bottom:48px!important;
}

.response-item strong{
    position:absolute;
    left:17px;
    bottom:15px;
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    min-width:50px;
    min-height:29px;
    padding:5px 10px;
    border-radius:8px;
    background:var(--survey-primary-soft);
    color:var(--survey-primary)!important;
}

.rating-response strong{
    background:#fff6df;
    color:#a8791f!important;
}

.rating-response strong i{
    margin-right:5px;
    color:#e9a918;
}

.survey-motivo-box{
    display:flex;
    align-items:flex-start;
    gap:13px;
    margin-top:2px;
    padding:17px;
    border:1px solid #f0d7d7;
    border-left:4px solid #d66d6d;
    border-radius:13px;
    background:#fff9f9;
    color:#665052;
}

.survey-motivo-icon{
    width:38px;
    height:38px;
    flex:0 0 38px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
    background:#faeaea;
    color:#c65e5e;
}

.survey-motivo-box strong{
    display:block;
    margin-bottom:5px;
    color:#825154;
    font-size:13px;
}

.survey-motivo-box p{
    margin:0;
    line-height:1.6;
    font-size:13px;
}

@media(max-width:767px){
    .table-toolbar,
    .table-toolbar-actions{
        align-items:stretch;
    }

    .table-toolbar-actions{
        width:100%;
    }

    .table-toolbar-actions .filter-status,
    .table-toolbar-actions .dropdown,
    .table-toolbar-actions .admin-report-btn{
        width:100%;
    }

    .detail-back-btn{
        width:100%;
    }

    .survey-detail-card{
        padding:18px;
    }
}

/* ===== AJUSTE DE FILTRO POR RANGO DE FECHAS ===== */
.report-filter-form .filter-actions-col{
    min-width:0;
}

.report-filter-actions{
    width:100%;
    min-width:0;
    flex-wrap:nowrap;
}

.report-filter-actions .admin-filter-btn{
    min-width:0;
    flex:1 1 auto;
}

.report-filter-actions .admin-reset-btn{
    flex:0 0 50px;
}

@media(max-width:1199px){
    .report-filter-form .filter-actions-col{
        margin-top:2px;
    }

    .report-filter-actions{
        justify-content:flex-start;
    }
}

@media(max-width:767px){
    .report-filter-actions{
        flex-wrap:wrap;
    }

    .report-filter-actions .admin-filter-btn{
        width:100%;
        flex:1 1 100%;
    }

    .report-filter-actions .admin-reset-btn{
        width:100%;
        flex:1 1 100%;
        height:46px;
    }
}
