/* Nora Navigator - BF Legal Services
   Premium Red + Gold Legal Theme
*/


#nora-widget {

    position: fixed;

    right: 20px;

    bottom: 35px;

    z-index: 99999;

    font-family: Arial, Helvetica, sans-serif;

}



/* Floating Button */

#nora-button {

    width: 58px;

    height: 58px;

    border-radius: 50%;

    background: linear-gradient(135deg,#8b0000,#d4af37);

    color: #ffffff;

    border: none;

    font-size: 24px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    box-sizing: border-box;

    animation: nora-heartbeat 2.5s infinite;

    box-shadow:
    0 8px 20px rgba(139,0,0,0.25);

}



@keyframes nora-heartbeat {


    0% {

        transform: scale(1);

        box-shadow:
        0 0 0 0 rgba(212,175,55,0.45);

    }


    50% {

        transform: scale(1.08);

        box-shadow:
        0 0 0 12px rgba(212,175,55,0);

    }


    100% {

        transform: scale(1);

        box-shadow:
        0 0 0 0 rgba(212,175,55,0);

    }

}




/* Chat Box */

#nora-chat-box {

    display: none;

    width: 350px;

    height: 500px;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
    0 15px 45px rgba(0,0,0,0.15);

    border: 1px solid #eeeeee;

}




/* Header */

.nora-header {

    background: linear-gradient(135deg,#8b0000,#d4af37);

    color: white;

    padding: 18px;

    font-size: 18px;

    font-weight: bold;

}


.nora-header span {

    display: block;

    font-size: 12px;

    font-weight: normal;

    opacity: .9;

}





/* Messages */

.nora-messages {

    height: 360px;

    padding: 15px;

    overflow-y: auto;

    background: #fafafa;

}



.nora-message {

    background: #ffffff;

    padding: 12px;

    border-radius: 15px;

    margin-bottom: 12px;

    border: 1px solid #eeeeee;

}



.nora-user {

    background: #8b0000;

    color: white;

    margin-left: 40px;

}





/* Input Area */

.nora-input-area {

    display: flex;

    align-items: center;

    padding: 12px 18px 12px 12px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

}



.nora-input-area input {

    flex: 1;

    height: 44px;

    box-sizing: border-box;

    padding: 0 14px;

    border-radius: 22px;

    border: 1px solid #dddddd;

    outline: none;

}




.nora-input-area button {

    height: 44px;

    margin-left: 10px;

    background: linear-gradient(135deg,#8b0000,#d4af37);

    color: white;

    border: none;

    border-radius: 22px;

    padding: 0 22px;

    min-width: 85px;

    cursor: pointer;

    display: flex;

    align-items: center;

    justify-content: center;

    position: relative;

    top: -3px;

    font-weight: bold;

    box-shadow:
    0 4px 12px rgba(139,0,0,0.25);

}




/* Mobile */

@media(max-width:500px){


    #nora-chat-box {

        width: 90vw;

        height: 70vh;

    }


    #nora-widget {

        right: 15px;

        bottom: 25px;

    }


}

/* Embedded Nora */

.nora-embedded {

    width: 350px;

    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    box-shadow:
    0 15px 45px rgba(0,0,0,0.15);

}



/* Embedded Header */

.nora-embedded .nora-header {

    background: linear-gradient(135deg,#8b0000,#d4af37);

    color: white;

    padding: 18px;

    font-size: 18px;

    font-weight: bold;

}



/* Embedded Messages */

.nora-embedded .nora-messages {

    height: 360px;

    padding: 15px;

    background: #fafafa;

    overflow-y: auto;

}



/* Embedded Input */

.nora-embedded .nora-input-area {

    display:flex;

    align-items:center;

    padding:12px 18px 12px 12px;

    border-top:1px solid #eeeeee;

}



/* Embedded Send Button */

.nora-embedded .nora-send {

    height:44px;

    margin-left:10px;

    padding:0 22px;

    border:none;

    border-radius:22px;

    background:linear-gradient(135deg,#8b0000,#d4af37);

    color:white;

    font-weight:bold;

    cursor:pointer;

}