/* =========================================================
   EASY RIDER AI
   Interfaccia Chat - Modal Bootstrap 3
   ========================================================= */

/* Dimensione finestra */
#easyRiderAiModal .modal-dialog {
    width: 680px;
    max-width: 94%;
    margin: 25px auto;
}

/* Contenitore principale */
#easyRiderAiModal .modal-content {
    border: 2px solid #37dfff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 0 8px rgba(0, 216, 255, 0.95),
        0 0 25px rgba(0, 170, 255, 0.65),
        0 0 50px rgba(0, 100, 255, 0.35),
        0 15px 45px rgba(0, 0, 0, 0.45);
}

/* Intestazione */
#easyRiderAiModal .modal-header {
    background: #174766;
    color: #ffffff;
    border-bottom: 0;
    padding: 18px 20px;
}

/* Titolo */
#easyRiderAiModal .modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

/* X chiusura */
#easyRiderAiModal .modal-header .close {
    color: #ffffff;
    opacity: 0.8;
    text-shadow: none;
    font-size: 28px;
}

#easyRiderAiModal .modal-header .close:hover {
    opacity: 1;
}

/* Corpo del modal */
#easyRiderAiModal .modal-body {
    padding: 0;
    background: #f5f7f8;
}

/* Contenitore chat */
#easy-rider-ai-chat {
    height: 650px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Area messaggi */
#easy-rider-ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 22px;
}

/* Messaggio generico */
.easy-rider-ai-message {
    max-width: 82%;
    padding: 13px 16px;
    margin-bottom: 15px;
    border-radius: 14px;
    font-size: 15px;
    line-height: 1.5;
}

/* Messaggi Easy Rider AI */
.easy-rider-ai-bot {
    background: #ffffff;
    color: #444444;
    border: 1px solid #e5e5e5;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Messaggi cliente - ci servirà nel prossimo passaggio */
.easy-rider-ai-user {
    background: #4ab9cf;
    color: #ffffff;
    margin-left: auto;
    border-bottom-right-radius: 4px;
}

/* Zona scrittura */
#easy-rider-ai-input-area {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

/* Campo messaggio */
#easy-rider-ai-input {
    flex: 1;
    height: 46px;
    background: #ffffff;
    border: 1px solid #d5d5d5;
    border-radius: 23px;
    padding: 0 18px;
    box-shadow: none;
    font-size: 15px;
}

#easy-rider-ai-input:focus {
    border-color: #4ab9cf;
    outline: none;
    box-shadow: none;
}

/* Pulsante INVIA */
#easy-rider-ai-send {
    height: 46px;
    margin-left: 10px;
    padding: 0 20px;
    border-radius: 23px;
    background: #4ab9cf;
    border-color: #4ab9cf;
    color: #ffffff;
    font-weight: 600;
}

#easy-rider-ai-send:hover,
#easy-rider-ai-send:focus {
    background: #30a0b6;
    border-color: #30a0b6;
    color: #ffffff;
}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    #easyRiderAiModal .modal-dialog {
        width: auto;
        max-width: none;
        margin: 10px;
    }

    #easyRiderAiModal .modal-content {
        border-radius: 8px;
    }

    #easy-rider-ai-chat {
        height: calc(100vh - 110px);
        min-height: 400px;
    }

    #easy-rider-ai-messages {
        padding: 15px;
    }

    .easy-rider-ai-message {
        max-width: 90%;
    }

    #easy-rider-ai-send {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* =========================================================
   STRIPE - PAGAMENTO NEL CHATBOT
   ========================================================= */

#easy-rider-ai-stripe-area {
    flex: 1;
    overflow-y: auto;
    padding: 18px 20px 20px;
    background: #ffffff;
    border-top: 1px solid #e5e5e5;
}

#easy-rider-ai-stripe-message {
    max-width: 100%;
    margin-bottom: 15px;
}

#easy-rider-ai-stripe-element {
    max-height: none;
    overflow: visible;
    padding: 0;
}

#easy-rider-ai-stripe-pay {
    width: 100%;
    height: 46px;
    margin-top: 18px;
    border-radius: 23px;
    background: #4ab9cf;
    border-color: #4ab9cf;
    color: #ffffff;
    font-weight: 600;
    position: sticky;
    bottom: 0;
    z-index: 5;
}

#easy-rider-ai-stripe-pay:hover,
#easy-rider-ai-stripe-pay:focus {
    background: #30a0b6;
    border-color: #30a0b6;
    color: #ffffff;
}

/* =========================================================
   LOADER EASY RIDER AI
   ========================================================= */

#easy-rider-ai-loader {
    width: auto;
    display: inline-block;
    padding: 12px 16px;
}

.easy-rider-ai-loader-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 5px;
    border-radius: 50%;
    background: #999999;
    animation: easyRiderAiLoader 1.4s infinite ease-in-out both;
}

.easy-rider-ai-loader-dot:nth-child(1) {
    animation-delay: -0.32s;
}

.easy-rider-ai-loader-dot:nth-child(2) {
    animation-delay: -0.16s;
}

.easy-rider-ai-loader-dot:nth-child(3) {
    animation-delay: 0s;
    margin-right: 0;
}

@keyframes easyRiderAiLoader {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.4;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }

}

/* ==========================================
   EASY RIDER AI - INTESTAZIONE MODELLO MARIO
   ========================================== */

#easyRiderAiModal .modal-header.easy-rider-ai-header {
    position: relative;
    padding: 24px 30px;
    background: linear-gradient(
        135deg,
        #03142f 0%,
        #073c7b 55%,
        #061b43 100%
    );
    border-bottom: 2px solid #00cfff;
    box-shadow:
        inset 0 0 18px rgba(0,200,255,0.25),
        0 3px 15px rgba(0,140,255,0.35);
}

#easyRiderAiModal .easy-rider-ai-brand {
    display: flex;
    align-items: center;
    gap: 22px;
    padding-right: 20px;
}

#easyRiderAiModal .easy-rider-ai-brand-company {
    flex: 0 0 auto;
}

#easyRiderAiModal .easy-rider-ai-brand-name {
    font-size: 30px;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    letter-spacing: -1px;
    line-height: 1.1;
}

#easyRiderAiModal .easy-rider-ai-brand-subtitle {
    margin-top: 5px;
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 3px;
    color: #ffcb18;
}

#easyRiderAiModal .easy-rider-ai-brand-divider {
    width: 2px;
    height: 65px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.75);
}

#easyRiderAiModal .easy-rider-ai-brand-assistant {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

#easyRiderAiModal .easy-rider-ai-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 62px;
    height: 62px;
    border: 2px solid #36dcff;
    border-radius: 14px;
    background: linear-gradient(135deg,#06418b,#020c29);
    color: #ffffff;
    font-size: 29px;
    font-weight: 800;
    font-style: italic;
    box-shadow:
        0 0 8px #00cfff,
        inset 0 0 12px rgba(0,207,255,0.35);
}

#easyRiderAiModal .easy-rider-ai-brand-assistant .modal-title {
    font-size: 25px;
    font-weight: 800;
    font-style: italic;
    color: #ffffff;
    white-space: nowrap;
}

#easyRiderAiModal .easy-rider-ai-brand-assistant .modal-title span {
    color: #00d8ff;
}

#easyRiderAiModal .easy-rider-ai-brand-tagline {
    margin-top: 7px;
    color: #e5f5ff;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    line-height: 1.5;
}

#easyRiderAiModal .easy-rider-ai-header .close {
    position: absolute;
    top: 12px;
    right: 15px;
    z-index: 10;
    color: #ffffff;
    opacity: 1;
    font-size: 30px;
}

/* Adattamento smartphone */
@media (max-width: 600px) {
    #easyRiderAiModal .modal-header.easy-rider-ai-header {
        padding: 18px 12px;
    }

    #easyRiderAiModal .easy-rider-ai-brand {
        gap: 10px;
        padding-right: 20px;
    }

    #easyRiderAiModal .easy-rider-ai-brand-name {
        font-size: 17px;
    }

    #easyRiderAiModal .easy-rider-ai-brand-subtitle {
        font-size: 7px;
        letter-spacing: 1px;
    }

    #easyRiderAiModal .easy-rider-ai-brand-divider {
        height: 42px;
        width: 1px;
    }

    #easyRiderAiModal .easy-rider-ai-chip {
        width: 35px;
        height: 35px;
        font-size: 17px;
        border-radius: 8px;
    }

    #easyRiderAiModal .easy-rider-ai-brand-assistant {
        gap: 7px;
    }

    #easyRiderAiModal .easy-rider-ai-brand-assistant .modal-title {
        font-size: 15px;
    }

    #easyRiderAiModal .easy-rider-ai-brand-tagline {
        font-size: 7px;
        letter-spacing: 0.5px;
    }
}

/* ================================================
   EASY RIDER AI - PRESENTAZIONE MODELLO MARIO
   ================================================ */

/* Finestra più ampia */
#easyRiderAiModal .modal-dialog {
    width: 900px;
    max-width: 96%;
}

/* Sfondo Colosseo  */
#easyRiderAiModal #easy-rider-ai-messages {
    background-image:
        linear-gradient(
            90deg,
            rgba(0, 55, 120, 0.05) 0%,
            rgba(90, 175, 240, 0.15) 35%,
            rgba(210, 237, 255, 0.95) 65%,
            #d9efff 100%
        ),
        url("../images/colosseo.png");

    background-position: center, left center;
    background-size: cover, auto 100%;
    background-repeat: no-repeat;
    background-color: #d9efff;
    padding: 24px;
}

/* Contenitore iniziale */
#easyRiderAiModal #easy-rider-ai-intro {
    width: 100%;
    max-width: 790px;
    margin: 0 auto;
}

/* Messaggio di benvenuto */
#easyRiderAiModal .er-welcome-intro {
    position: relative;
    background: linear-gradient(135deg, #ffffff, #e4f5ff);
    border-radius: 22px;
    padding: 22px 28px 20px 64px;
    color: #123c68;
    font-size: 17px;
    line-height: 1.55;
    box-shadow: 0 8px 25px rgba(0, 20, 65, 0.25);
}

#easyRiderAiModal .er-welcome-sparkle {
    position: absolute;
    left: 23px;
    top: 19px;
    font-size: 30px;
    color: #008bdb;
}

#easyRiderAiModal .er-welcome-intro strong {
    color: #0754a7;
}

#easyRiderAiModal .er-welcome-intro p {
    margin: 12px 0 0;
}

/* Fascia centrale AI */
#easyRiderAiModal .er-welcome-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
    padding: 14px 20px;
    border: 1px solid #34d8ff;
    border-radius: 15px;
    background: linear-gradient(90deg, #041b48, #0752a1);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    text-align: center;
    box-shadow: 0 0 18px rgba(0, 216, 255, 0.3);
}

#easyRiderAiModal .er-welcome-ai-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid #5de7ff;
    background: #063b7e;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 0 12px rgba(0, 216, 255, 0.5);
}

/* Istruzioni */
#easyRiderAiModal .er-welcome-instructions {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin: 18px 0;
    color: #ffffff;
    font-size: 15px;
    line-height: 1.55;
}

#easyRiderAiModal .er-welcome-check {
    color: #7df0ff;
    font-size: 24px;
    font-weight: bold;
}

/* Tipologie di consegna */
#easyRiderAiModal .er-welcome-services {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 15px;
    padding: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #ffffff, #e2f3ff);
    box-shadow: 0 6px 20px rgba(0, 20, 65, 0.2);
}

#easyRiderAiModal .er-welcome-service {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #064887;
    font-size: 15px;
    text-align: center;
}

#easyRiderAiModal .er-welcome-service-icon {
    font-size: 38px;
    line-height: 1;
}

#easyRiderAiModal .er-welcome-service-divider {
    width: 1px;
    height: 55px;
    flex-shrink: 0;
    background: #9bc9e9;
}

/* Vantaggi */
#easyRiderAiModal .er-welcome-benefits {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 22px;
    color: #ffffff;
}

#easyRiderAiModal .er-welcome-benefit {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 13px;
    text-align: center;
}

#easyRiderAiModal .er-welcome-benefit > span {
    color: #8ceaff;
    font-size: 28px;
}

#easyRiderAiModal .er-welcome-benefit small {
    display: block;
    font-size: 11px;
    font-weight: normal;
}

/* Smartphone */
@media (max-width: 600px) {

    #easyRiderAiModal #easy-rider-ai-messages {
        padding: 14px;
    }

    #easyRiderAiModal .er-welcome-intro {
        padding: 17px 17px 17px 46px;
        font-size: 14px;
    }

    #easyRiderAiModal .er-welcome-sparkle {
        left: 13px;
        top: 15px;
        font-size: 23px;
    }

    #easyRiderAiModal .er-welcome-banner {
        font-size: 13px;
        padding: 12px;
        gap: 9px;
    }

    #easyRiderAiModal .er-welcome-instructions {
        font-size: 13px;
    }

    #easyRiderAiModal .er-welcome-services {
        padding: 12px 8px;
        gap: 6px;
    }

    #easyRiderAiModal .er-welcome-service {
        flex-direction: column;
        gap: 7px;
        font-size: 11px;
    }

    #easyRiderAiModal .er-welcome-service-icon {
        font-size: 30px;
    }

    #easyRiderAiModal .er-welcome-benefits {
        gap: 5px;
    }

    #easyRiderAiModal .er-welcome-benefit {
        flex-direction: column;
        font-size: 10px;
    }

    #easyRiderAiModal .er-welcome-benefit > span {
        font-size: 22px;
    }

    #easyRiderAiModal .er-welcome-benefit small {
        font-size: 9px;
    }
}

/* ==========================================
   EASY RIDER AI - BARRA INVIO MODELLO MARIO
   ========================================== */

#easyRiderAiModal #easy-rider-ai-input-area {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 17px 24px;
    background: linear-gradient(
        135deg,
        #031a42 0%,
        #07549b 100%
    );
    border-top: 2px solid #00cfff;
    box-shadow: 0 -4px 18px rgba(0, 190, 255, 0.20);
}

/* Campo di scrittura */
#easyRiderAiModal #easy-rider-ai-input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0 22px;
    border: 2px solid #60dfff;
    border-radius: 28px;
    background: #ffffff;
    color: #153d68;
    font-size: 15px;
    box-shadow: 0 0 12px rgba(0, 207, 255, 0.20);
}

#easyRiderAiModal #easy-rider-ai-input::placeholder {
    color: #6486a5;
    opacity: 1;
}

#easyRiderAiModal #easy-rider-ai-input:focus {
    border-color: #00d8ff;
    box-shadow: 0 0 16px rgba(0, 216, 255, 0.50);
    outline: none;
}

/* Pulsante INVIA */
#easyRiderAiModal #easy-rider-ai-send {
    flex-shrink: 0;
    height: 54px;
    margin-left: 0;
    padding: 0 26px;
    border: 1px solid #74ecff;
    border-radius: 28px;
    background: linear-gradient(135deg, #0878d5, #04b9e7);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow: 0 0 14px rgba(0, 207, 255, 0.45);
}

#easyRiderAiModal #easy-rider-ai-send:hover,
#easyRiderAiModal #easy-rider-ai-send:focus {
    background: linear-gradient(135deg, #0864bb, #009dcf);
    color: #ffffff;
}

/* Smartphone */
@media (max-width: 600px) {
    #easyRiderAiModal #easy-rider-ai-input-area {
        padding: 12px;
        gap: 8px;
    }

    #easyRiderAiModal #easy-rider-ai-input {
        height: 48px;
        padding: 0 14px;
        font-size: 13px;
    }

    #easyRiderAiModal #easy-rider-ai-send {
        height: 48px;
        padding: 0 15px;
        font-size: 12px;
    }
}

/* ==========================================
   EASY RIDER AI - CONVERSAZIONE ATTIVA
   ========================================== */

/* Nasconde la presentazione quando la chat inizia */
#easyRiderAiModal #easy-rider-ai-messages.er-chat-active
#easy-rider-ai-intro {
    display: none;
}

/* Sfondo della conversazione */
#easyRiderAiModal #easy-rider-ai-messages.er-chat-active {
    background: linear-gradient(
        180deg,
        #eaf5ff 0%,
        #f7fbff 100%
    );
}

/* Risposte del chatbot */
#easyRiderAiModal .er-chat-active .easy-rider-ai-bot {
    background: #ffffff;
    color: #173b60;
    border: 1px solid #c6dff5;
    border-radius: 16px 16px 16px 4px;
    box-shadow: 0 3px 12px rgba(0, 50, 110, 0.08);
    max-width: 85%;
    font-size: 15px;
    line-height: 1.6;
}

/* Messaggi del cliente */
#easyRiderAiModal .er-chat-active .easy-rider-ai-user {
    background: linear-gradient(135deg, #0866bc, #079bd3);
    color: #ffffff;
    border: none;
    border-radius: 16px 16px 4px 16px;
    max-width: 80%;
    margin-left: auto;
    font-size: 15px;
    line-height: 1.6;
}

/* Smartphone */
@media (max-width: 600px) {
    #easyRiderAiModal .er-chat-active .easy-rider-ai-bot,
    #easyRiderAiModal .er-chat-active .easy-rider-ai-user {
        max-width: 94%;
        font-size: 14px;
    }
}

/* BLOCCO 15 - Testi leggibili sul Colosseo */

#easyRiderAiModal .er-welcome-instructions {
    color: #082b58;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255,255,255,0.9);
}

#easyRiderAiModal .er-welcome-benefits {
    color: #082b58;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(255,255,255,0.9);
}

#easyRiderAiModal .er-welcome-check,
#easyRiderAiModal .er-welcome-benefit > span {
    color: #005bb5;
}

/* BLOCCO 16 - Riquadri trasparenti per leggibilità */

#easyRiderAiModal .er-welcome-instructions {
    background: rgba(235, 247, 255, 0.92);
    padding: 12px 16px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 40, 100, 0.12);
}

#easyRiderAiModal .er-welcome-benefits {
    background: rgba(235, 247, 255, 0.92);
    padding: 12px;
    border-radius: 14px;
    box-shadow: 0 3px 12px rgba(0, 40, 100, 0.12);
}

/* BLOCCO 18 - Presentazione senza scroller interno */

#easyRiderAiModal #easy-rider-ai-chat {
    height: min(720px, calc(100vh - 155px));
}

#easyRiderAiModal #easy-rider-ai-messages:not(.er-chat-active) {
    overflow-y: hidden;
}

/* BLOCCO 19 - PRESENTAZIONE DEFINITIVA */

#easyRiderAiModal #easy-rider-ai-intro {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

/* Primo box orizzontale */
#easyRiderAiModal .er-welcome-intro {
    grid-column: 1 / -1;
    grid-row: 1;
}

/* Colore uniforme dei box */
#easyRiderAiModal .er-welcome-banner,
#easyRiderAiModal .er-welcome-benefits,
#easyRiderAiModal .er-welcome-service,
#easyRiderAiModal .er-welcome-instructions {
    background: linear-gradient(135deg, #061d42, #084e94);
    color: #ffffff;
    border: 1px solid #37dfff;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,35,80,0.25);
    text-shadow: none;
    margin: 0;
}

/* Box AI */
#easyRiderAiModal .er-welcome-banner {
    grid-column: 1;
    grid-row: 2;
    flex-direction: column;
    padding: 14px;
    font-size: 17px;
    gap: 10px;
    line-height: 1.4;
}

/* Box vantaggi */
#easyRiderAiModal .er-welcome-benefits {
    grid-column: 2;
    grid-row: 2;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
    gap: 8px;
}

#easyRiderAiModal .er-welcome-benefit {
    justify-content: flex-start;
    text-align: left;
    color: #ffffff;
    font-size: 14px;
}

#easyRiderAiModal .er-welcome-benefit > span {
    color: #37dfff;
    width: 26px;
    flex-shrink: 0;
    text-align: center;
}

#easyRiderAiModal .er-welcome-benefit small {
    font-size: 12px;
}

/* Motorino e furgone */
#easyRiderAiModal .er-welcome-services {
    grid-column: 1 / -1;
    grid-row: 3;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 0;
    background: none;
    box-shadow: none;
}

#easyRiderAiModal .er-welcome-service {
    flex-direction: column;
    padding: 12px;
    gap: 6px;
    font-size: 16px;
    line-height: 1.4;
}

#easyRiderAiModal .er-welcome-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 34px;
}

#easyRiderAiModal .er-welcome-service-icon svg {
    width: 44px;
    height: 34px;
}

#easyRiderAiModal .er-welcome-service-divider {
    display: none;
}

/* Istruzioni finali */
#easyRiderAiModal .er-welcome-instructions {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 4;
    width: 58%;
    justify-self: center;
    padding: 10px 14px;
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 16px;
}

#easyRiderAiModal .er-welcome-check {
    color: #37dfff;
}

/* Freccia verso il campo di scrittura */
#easyRiderAiModal .er-welcome-instructions::after {
    content: "\2193";
    position: absolute;
    bottom: -23px;
    left: 50%;
    transform: translateX(-50%);
    color: #ffcc00;
    font-size: 26px;
    font-weight: bold;
    line-height: 1;
}

/* Campo di scrittura */
#easyRiderAiModal #easy-rider-ai-input {
    border: 3px solid #ffcc00;
    box-shadow: 0 0 12px rgba(255,204,0,0.35);
}

#easyRiderAiModal #easy-rider-ai-input::placeholder {
    color: #082b58;
    font-weight: 700;
}

#easyRiderAiModal #easy-rider-ai-input:focus {
    border-color: #ffcc00;
}

/* Pulsante INVIA */
#easyRiderAiModal #easy-rider-ai-send,
#easyRiderAiModal #easy-rider-ai-send:hover,
#easyRiderAiModal #easy-rider-ai-send:focus {
    background: #ffcc00;
    border-color: #ffcc00;
    color: #061d42;
}

/* Smartphone */
@media (max-width: 600px) {

    #easyRiderAiModal #easy-rider-ai-intro {
        gap: 10px;
    }

    #easyRiderAiModal .er-welcome-instructions {
        width: 85%;
        font-size: 12px;
    }

    #easyRiderAiModal .er-welcome-banner {
        font-size: 13px;
    }

    #easyRiderAiModal .er-welcome-service {
        font-size: 12px;
    }

    #easyRiderAiModal .er-welcome-benefit {
        flex-direction: row;
        font-size: 11px;
    }

    #easyRiderAiModal .er-welcome-benefit small {
        font-size: 10px;
    }

    #easyRiderAiModal #easy-rider-ai-messages:not(.er-chat-active) {
        overflow-y: auto;
    }
}

/* Rifinitura icone motorino e furgone */
#easyRiderAiModal .er-welcome-service-icon {
    transform: scale(1.3);
    transform-origin: center;
}

/* Freccia verso il campo di scrittura */
#easyRiderAiModal .er-welcome-instructions::after {
    font-size: 28px !important;
    font-weight: bold !important;
    color: #ffcc00 !important;
    line-height: 1 !important;
    bottom: -22px !important;
}