{
        box-sizing: border-box
    }

    body {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100vh;
        display: flex;
        float: column;
        min-width: 375px;
    }


    .main {
        display: block;
        min-width: 375px;
        max-width: 600px;
        flex-direction: column;
        height: 100%;
        flex: 1;
        padding: 10px;
    }

    .head-nav {
        box-sizing: border-box;
        display: flex;
        text-align: center;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
        z-index: 1000;
        width: 100%;
        padding: 4px 32px;
        font-size: 16px;
        min-height: 47px;
        border-bottom: 1px solid #f5f5f5;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;
    }

    .chat-area {
        min-width: 375px;
        max-width: 600px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        -ms-scroll-chaining: none;
        overscroll-behavior: contain;
        padding: 16px 16px 16px 12px;
        padding-top: 30px;
        /* Add padding equal to the height of .head-nav */
        padding-bottom: 60px;
        /* Add padding equal to the height of .input-area */
    }


    .bot-message-container,
    .user-message {
        display: flex;
        width: auto;
    }

    .bot-message-container {
        width: 98%;
        align-items: flex-start;
        padding-top: 15px;
        float: left;
        clear: both;
    }

    .bot-image {
        margin-right: 10px;
    }

    .bot-image img {
        width: 44px;
        height: 44px;
        border-radius: 50%;
    }

    .bot-text {
        background: #eeeef0;
        display: inline-block;
        max-width: 234px;
        padding: 8px 12px;
        overflow: initial;
        position: relative;
        transition: background-color .4s;
        white-space: pre-wrap;
        word-break: break-all;
        display: inline-block;
        max-width: 234px;
        padding: 8px 12px;
        overflow: initial;
        position: relative;
        transition: background-color .4s;
        white-space: pre-wrap;
        word-break: break-all;
        border-radius: 2px 16px 16px 16px;
        font-size: 17px;
        line-height: 1.4;
        letter-spacing: -.7px;
        position: relative;
        */
    }

    .user-message {
        background-color: #ffe967;
        position: relative;
        width: auto;
        max-width: 234px;
        float: right;
        clear: both;
        display: inline-block;
        justify-content: flex-start;
        flex-direction: column;
        margin: 10px 10px 0 0;
        border-radius: 16px 16px 2px 16px;
        padding: 8px 12px;
        font-size: 17px;
        color: #242526;
        line-height: 1.4;
        letter-spacing: -.3px;
        position: relative;
        white-space: pre-wrap;
        word-break: break-all;
        transition: background-color .4s;

    }


    .input-area {
        min-width: 375px;
        max-width: 600px;
        display: flex;
        border-top: 1px solid #f5f5f5;
        position: fixed;
        width: 100%;
        height: 60px;
        bottom: 0;
        align-items: center;
        justify-content: center;
        /* Tell it to stick to the bottom */
    }


    .full-width-btn {
        font-size: 17px;
        border-radius: 10em;
        height: 80%;
        width: 90%;
        text-align: center;
        background-color: #007BFF;
        color: #fff;
        cursor: pointer;
        transition: background-color 0.3s;
        /* height: calc(100% - 1px); */

    }

    #birth-date-input,
    #birth-time-input {

        display: inline-flex;
        flex-grow: 0.5;
        height: 85%;
        border: 1px solid #d1d1d1;
        border-radius: 10em;
        font-size: 12px;
        text-align: center;
        margin: 5px;
        line-height: 1.25em;
        color: #222;
        white-space: nowrap;
        font-weight: 400;

    }







    input[type="text"] {
        width: 75%;
        margin: 0 0 0 10px;
        border: 1px solid #d1d1d1;
        border-radius: 10em;
        display: inline-flex;
        padding: 12px 16px;
        font-size: 17px;
        text-align: center;
    }

    input[type="radio"] {
        padding: 12px 16px;
        font-size: 17px;
        /* Reduced margin for more space */
    }



    button {

        height: 80%;
        width: 20%;
        padding: 12px 24px;
        margin: 15PX;
        /* Increased for touch-friendly interactions */
        background-color: #007BFF;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }


    .retry-box {
        height: 80%;
        width: 90%;
        font-size: 17px;
        border-radius: 10em;
        text-align: center;
        background-color: #007BFF;
        color: #fff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10em;
    }


    .bot-name {
        font-weight: 700;
        font-size: 12px;
        /* Slightly increased for better readability */
        margin: 0px 0px 2px;
        color: #242526;
    }

    .message-wrapper {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    button:hover {
        background-color: #0056b3;
    }

    @keyframes ellipsis {
        0% {
            content: "✍";
        }

        25% {
            content: ".✍";
        }

        50% {
            content: "..✍";
        }

        75% {
            content: "...✍";
        }

        100% {
            content: ".";
        }
    }

    .bot-text.loading::after {
        content: ".";
        animation: ellipsis 1s infinite;
    }

    .typing-indicator::after {
        content: ".";
        animation: ellipsis 1s infinite;
    }



    label {
        flex-grow: 0.5;
        display: inline-flex;
        align-items: center;
        height: 100%;
        padding: 0px 16px;
        border-radius: 10em;
        white-space: nowrap;
        font-weight: 400;
    }


    * {
        transition: all 0.3s ease;
    }