@font-face {
    font-family: "Rams";
    src: url("../fonts/Rams.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
  }
  
* { 
    box-sizing: border-box; 
    margin: 0;
    padding: 0;
}

body { 
    font-family: 'Arial', sans-serif; 
    background: #f9f9f9;
    font-family: "Rams", sans-serif;
    background-image: linear-gradient(rgba(0, 0, 0, 0.795), rgba(0, 0, 0, 0.288)),  url("../images/fondo-pantalla-Mobilityado-blanco-y-rojo.jpg"); /* Ruta de la imagen */
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.floating-button img {
    width: 24px;
    height: 24px;
    max-width: initial;
}

.nps-container {
    position: fixed; 
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    background: white; 
    padding: 20px; 
    width: 90%;
    max-width: 450px;
    box-shadow: 0px 4px 10px rgba(0,0,0,0.2);
    border-radius: 12px; 
    display: flex; 
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}

.nps-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding-bottom: 10px;
    border-bottom: 1px solid #ebe8e8;
}

.nps-header h5 { 
    margin: 0; 
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.ratings { 
    display: flex; 
    justify-content: space-between; 
    margin: 15px 0; 
}

.ratings button {
    border: none; 
    background: #ececec; 
    width: 36px; 
    height: 36px;
    border-radius: 50%; 
    cursor: pointer; 
    font-weight: bold;
    font-size: 14px;
    transition: all 0.2s;
}

.ratings button:hover, .ratings button.selected { 
    background: #da291c; 
    color: white; 
    transform: scale(1.1);
}

textarea {
    width: 100%; 
    resize: none; 
    padding: 10px; 
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    transition: border 0.2s;
}

textarea:focus {
    border-color: #da291c;
    outline: none;
}

.error-message {
    height: 2em;
    color: #da291c; 
    font-size: 13px;
    margin: 10px 0; 
    text-align: center;
}

.submit-btn {
    width: 30%; 
    background: #da291c; 
    color: white;
    border: none; 
    padding: 12px; 
    margin-top: 10px;
    cursor: pointer; 
    border-radius: 6px;
    font-size: 14px;
    font-weight: bold;
}

.submit-btn:hover { 
    background: #b71d14; 
}

@media (max-width: 400px) {
    body { 
        font-family: 'Arial', sans-serif; 
        background: #f9f9f9;
        font-family: "Rams", sans-serif;
        background-image: linear-gradient(rgba(0, 0, 0, 0.795), rgba(0, 0, 0, 0.308)),  url("../images/fondo-pantalla-Mobilityado-blanco-y-rojo.jpg"); /* Ruta de la imagen */
        background-size: cover;
      background-position: left;
      background-repeat: no-repeat;
      background-attachment: fixed;
    }
    
    .nps-container {
        width: 90%;
    }

    .ratings button {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
}
select#lineSelect {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: "Rams", sans-serif;
    background-color: #fff;
    transition: border 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='gray' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}

select#lineSelect:focus {
    border-color: #da291c;
    outline: none;
}

