html {
    font-size: 12px;
}

@media (min-width: 768px) {
    html {
        font-size: 14px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

body {
    font-family: Roboto, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
}

.chat-app {
    display: flex;
    height: 100vh;
}

.sidebar {
    flex: 1;
    padding: 20px;
    background-color: #333;
    color: #fff;
}

.logo {
    font-size: 24px;
    margin-bottom: 20px;
}

.conversation-list {
    list-style: none;
    padding: 0;
}

.conversation-item {
    margin: 10px 0;
    cursor: pointer;
}

    .conversation-item:hover {
        font-weight: bold;
    }

.main-content {
    flex: 3;
    background-color: #fff;
}


.message-sender {
    font-weight: bold;
    margin-bottom: 5px;
}

.message-text {
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 10px;
}

.chat-container {
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.chat-header {
    background-color: #0139a6;
    color: #fff;
    padding: 10px;
    text-align: center;
}

.chat-content {
    padding: 10px;
    height: calc(100vh - 165px);
    overflow-y: scroll;
}

.chat-input {
    display: flex;
    align-items: center;
    padding: 10px;
    border-top: 1px solid #ccc;
}

.input-field {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 3px;
    outline: none;
}

.send-button {
    background-color: #0139a6;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 3px;
    cursor: pointer;
}

.message {
    padding: 8px 12px;
    border-radius: 8px;
    max-width: 70%;
}

.bot-message {
    background-color: #e5f7ff;
    float: left;
}

.user-message {
    background-color: #f0f0f0;
    float: right;
}

@keyframes flyUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.message-container {
    clear: both;
    overflow: hidden;
    margin-bottom: 5px;
    margin-top: 5px;
}

.outer-message-container {
    animation: flyUp 0.3s ease-in-out;
    clear: both;
    overflow: hidden;
    margin-top: 5px;
    margin-bottom: 5px;
}

.bot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    float: left;
}

.message-timestamp {
    font-size: 0.7em;
    color: grey;
    text-align: right;
}

.other-message-timestamp {
    font-size: 0.7em;
    color: grey;
    text-align: left;
    margin-left: 50px
}
