@font-face{
    font-family: 'TelefonicaRegular' !important;
        src:url('../../resources/fonts/font-awesome/css/font-awesome.min.css');
        src:url('../../resources/fonts/font-movistar/css/font-movistar.css');
    }
    
    body{
        background: #F6F7F9;
        font-family: 'TelefonicaRegular' !important;
        font-size: 16px;
        line-height: 20px;
        color: #50535A;
        margin:1px;
    }
    
    .mensaje_send{
        margin-top: 10px;
        text-align: center;
        font-size: 1.8em;
        color: #5BC500;
    }
        
    .error{
        color: red !important;
       font-family: 'TelefonicaRegular' !important;
    }
    
    p.submit-text{
        font-family: 'TelefonicaRegular' !important;
        color: #5BC500;
        text-align: center;
        width: 100%;
        margin: 20px 0;
        font-size: 18px;
    }
    
    header{
        background:#00A9E0;
        height: auto;
        box-shadow: 0 2px 5px rgba(0,0,0,0.3);
        padding: 10px 0;
        position: relative; 
        z-index: 1;
    }
    
    .logo {
        margin: 16px 0 0 0;
        max-width: 250px;
    }
    
    .info {
        background: #FFF;
    }
    
    .main{
        padding-top: 35px;
        padding-bottom: 35px;
    }
    
    .boxq{
        position: relative;
        margin-top: 30px;
        display: flex;
    }
    .num{
        font-family: 'TelefonicaRegular' !important;
        font-size: 3.5em;
        text-rendering: optimizeLegibility;
        color: #00A9E0;
        position: absolute;
    }
    .txtq {
        font-family: 'TelefonicaRegular' !important;
        font-size:18px;
        line-height: 24px;
        text-rendering: optimizeLegibility;
        color: #50535A;
    }
    textarea{
        margin-top: 2rem !important;
    }
    .ask{
        margin-top: 20px;
    }
    
    .ask_txt{
        color: #00A9E0;
        font-size: 15px;
        line-height: 20px;
        margin-bottom: 15px;
       font-family: 'TelefonicaRegular' !important;
        font-weight: bold;
    }
    .nota{
        color: #00A9E0;
        font-size: 14px;
        margin-top: 0px !important;
        width: 100%;
        font-family: 'TelefonicaRegular' !important;
        text-align: center;
    }

    .cont-group-input{
        text-align: center;
        margin-top: 10px;
    }
    
    .group-input{
        width: 19.5%;
        display: inline-block;
        position: relative;
        max-width: 100px;
    }
    .group-input .radio{
        display:none;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .group-input .op-radio {
        font-family: 'TelefonicaRegular' !important;
        font-size: 16px;
        color: #50535A;
        font-weight: 200;
        text-align: center;
    }
    
    .group-input input[type="radio"]{
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        top:0px;
        left:0px;
        z-index: 10;
    }
    
    .group-input .check{
        background: url(../../resources/img/encuestaMovistar/star-inactivo.png);
        background-size: 40px;
        width: 40px;
        height: 40px;
        position: relative;
        z-index: 5;
        transition: all .25s linear;
        -webkit-transition: all .25s linear;
        display: block;
        opacity: 0.8;
        margin: 0 auto;
    }
    .group-input:hover .check {
        opacity: 1;
    }
    .group-input input[type=radio]:checked ~ .check, 
    .group-input .check.activo {
        background: url(../../resources/img/encuestaMovistar/star-activo.png);
        background-size: 40px;
        opacity: 1;
    }
    
    .estilo{
        text-align: center;
        margin-top: 3rem;
    }
    
    .group-input-bool{
        width: 49%;
        display: inline-block;
        position: relative;
        max-width: 100px;
    }
    
    .group-input-bool .radio{
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .group-input-bool .op-radio {
       font-family: 'TelefonicaRegular' !important;
        font-size: 16px;
        color: #50535A;
        font-weight: 200;
        text-align: center;
    }
    
    .group-input-bool input[type="radio"]{
        position: absolute;
        opacity: 0;
        width: 100%;
        height: 100%;
        top:0px;
        left:0px;
        z-index: 10;
    }
    
    .group-input-bool .like, .group-input-bool .dislike{
        width: 40px;
        height: 40px;
        position: absolute;
        top: 0px;
        left: 17%;
        z-index: 5;
        transition: all .25s linear;
        -webkit-transition: all .25s linear;
        display: block;
        opacity: 0.8;
    }
    
    .group-input-bool .like{
        background: url(../../resources/img/encuestaMovistar/like-inactivo.png);
        background-size: 40px;
    }
    .group-input-bool .dislike{
        background: url(../../resources/img/encuestaMovistar/dislike-inactivo.png);
        background-size: 40px;
    }
    .group-input-bool:hover .like, .group-input-bool:hover .dislike {
        opacity: 1;
    }
    .group-input-bool input[type=radio]:checked ~ .like{
        background: url(../../resources/img/encuestaMovistar/like-activo.png);
        background-size: 40px;
        opacity: 1;
    }
    .group-input-bool input[type=radio]:checked ~ .dislike{
        background: url(../../resources/img/encuestaMovistar/dislike-activo.png);
        background-size: 40px;
        opacity: 1;
    }
    
    #comentarios, #user{
        width:100%;
        border: 1px solid #0AB0C6;
        color: #666;
       font-family: 'TelefonicaRegular' !important;
        border-radius: 3px;
    }

    #div-captcha{
        margin-top: 4rem;
    }
    
    .btn-enviar {
        background-color: #5BC500;
        font-family: 'TelefonicaRegular' !important;
        font-weight: bold;
        font-size: 18px;
        border: none;
        color: white;
        padding: 7px 45px;
        margin: 0 auto;
        display: block;
        margin-top: 45px;
        margin-bottom: 20px;
        border-radius: 19px;
    }
    
    .vertical-alignment-helper {
        display:table;
        height: 100%;
        width: 100%;
    }
    .vertical-align-center {
        display: table-cell;
        vertical-align: middle;
    }
    .modal-content {
        width:inherit;
        height:inherit;
        margin: 0 auto;
    }
    
    table{
        margin:auto;
        width: 50%;
    }
    td{
        width: 5rem;
        font-size: 1.6rem;
        text-align: center;
    }
    .txtQuestion3{
        color: #5b5bc3;
        font-family: 'TelefonicaRegular';
        margin-bottom: 2rem;
        margin-top: 4rem;
        text-align:left;
    }
    input[type="radio"]{
        width: 2.5rem;
        color: white;
        font-weight: 900;
        border: none;
        border-radius: 0.3rem;
        cursor: pointer;
        appearance: none;
        height: 2rem;
    }
    input[type="radio"]{
        background-color:#52AAE0;
    }
     
    .lbl-btn{
        border: none;
        border-radius: 0.3rem;
        color: white;
        cursor: pointer;
        font-size:2rem;
        font-weight: 900;
        margin: 0.29rem 0rem 0rem -1.8rem;
        position: absolute;
        text-align: center;
    }
    .lbl10{
        margin-left: -2.4rem !important;
    }
    label label {border: 1px solid #ccc; width: 15px; height: 15px; position: absolute; overflow: hidden; line-height: 1; text-align: center; border-radius: 100%; font-size: 10pt; left: 0; top: 50%; margin-top: -7.5px;}
    input[type="radio"]:checked {background: #ccf; border-color: #ccf;}
    
    .ocultar{
        display:none;
    }
    
    .invalid-feedback{
        color:red;
    }

    @media (max-width: 680px){
        .group-input{
            width: 15.5%;
        }
        .group-input-bool{
            width: 25%;
        }
        .sin-padding-sx{
            padding-right: 0px;
            padding-left: 0px;
        }
        .txtq {
            font-size: 16px;
            line-height: 18px;
        }
    }
    
    @media (max-width:350px) and (min-width:0px){
         table{
            margin-left: -3rem;
        }
    }

    .row-labels td {
        font-size: 1.2rem;
        word-break: break-word;
        line-height: 1.3;
        vertical-align: top;
        padding-top: 0.4rem;
    }

    @media (max-width: 680px) {
        .row-labels td {
            font-size: 1rem;
            line-height: 1.2;
        }
    }

    @media (max-width: 420px) {
        .row-labels td {
            font-size: 1rem;
            line-height: 1.1;
        }
    }

    /* ── NPS / satisfaction scales (flex layout, shared by all questions) ── */
    .scale-wrapper {
        width: fit-content;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .scale-buttons {
        display: flex;
        justify-content: center;
        gap: 0;
        flex-wrap: nowrap;
    }

    .scale-item {
        position: relative;
        width: 3.5rem;
        height: 2rem;
        flex-shrink: 0;
        text-align: center;
    }

    .scale-item input[type="radio"] {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2.5rem;
        height: 2rem;
        opacity: 0;
        cursor: pointer;
        margin: 0;
        z-index: 10;
        appearance: none;
        border-radius: 0;
    }

    .scale-item label {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 2.5rem;
        height: 2rem;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #52AAE0;
        border-radius: 0.3rem;
        color: white;
        font-size: 2rem;
        font-weight: 900;
        cursor: pointer;
        user-select: none;
        transition: background-color 0.15s ease;
        margin: 0;
    }

    .scale-item input[type="radio"]:checked + label {
        background-color: #ccf;
        border-color: #ccf;
        box-shadow: none;
    }

    .scale-labels {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-top: 1rem;
        line-height: 1.3;
        color: #50535A;
    }

    .scale-labels span:first-child {
        text-align: left;
        font-size: 14px;
        max-width: 19%;
    }

    .scale-labels span:last-child {
        text-align: right;
        font-size: 14px;
        max-width: 19%;
    }

    @media (max-width: 680px) {
        .scale-wrapper {
            width: 100%;
        }
        .scale-buttons {
            justify-content: space-between;
            gap: 3px;
        }
        .scale-item {
            flex: 1 1 0;
            width: auto;
            height: 2rem;
        }
        .scale-item input[type="radio"] {
            width: 100%;
            height: 2rem;
        }
        .scale-item label {
            width: 100%;
            height: 2rem;
            font-size: 2rem;
            transform: none;
            left: 0;
        }
        .scale-labels span:first-child {
            font-size: 14px;
        }
        .scale-labels span:last-child {
            font-size: 14px;
        }
    }

    @media (max-width: 480px) {
        .scale-item {
            height: 2rem;
        }
        .scale-item input[type="radio"] {
            height: 2rem;
        }
        .scale-item label {
            height: 2rem;
            font-size: 1.6rem;
        }
        .scale-labels span:first-child {
            font-size: 13px;
        }
        .scale-labels span:last-child {
            font-size: 13px;
        }
    }

    @media (max-width: 360px) {
        .scale-item {
            height: 1.8rem;
        }
        .scale-item input[type="radio"] {
            height: 1.8rem;
        }
        .scale-item label {
            height: 2.5rem;
            font-size: 2rem;
        }
        .scale-labels span:first-child {
            font-size: 10px;
        }
        .scale-labels span:last-child {
            font-size: 10px;
        }
    }

    /* ── Wider labels variant for 5-item satisfaction scales ── */
    .scale-labels--wide span:first-child {
        max-width: 30%;
        text-align: left;
        font-size: 14px;
    }
    .scale-labels--wide span:last-child {
        max-width: 30%;
        text-align: right;
        font-size: 14px;
    }
    @media (max-width: 680px) {
        .scale-labels--wide span:first-child,
        .scale-labels--wide span:last-child {
            font-size: 11px;
        }
    }

/* ── Emoji face rating (Q1) ── */
.star-init { display: inline; cursor: pointer; }
.star-hide { display: none; cursor: pointer; }
.star-wrapper { width: 100%; }
.star-wrapper .row { flex-wrap: nowrap; }
.emoji-item { display: inline-flex; flex-direction: column; align-items: center; margin: 0 6px; }
.emoji-item svg { width: 48px; height: 48px; cursor: pointer; }
@media (max-width: 767px) { .emoji-item { margin: 0 4px; } .emoji-item svg { width: 40px; height: 40px; } }
@media (max-width: 480px) { .emoji-item { margin: 0 2px; } .emoji-item svg { width: 34px; height: 34px; } }
@media (max-width: 360px) { .emoji-item { margin: 0 1px; } .emoji-item svg { width: 28px; height: 28px; } }
