@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&display=swap');

body {
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 18px;
    font-weight: 700;
}

.helpdesk-title {
    font-weight: 700;
    font-size: 22px;
    color: #0E1426;
    margin-bottom: 10px;
}

.chat_logot {
    padding: 8px 5px 8px 20px;
    background: #86c9d0;
    border-radius: 5px;
    display: flex;
    width: 100%;
    align-items: center;
    font-size: 14px;
    color: #000;
    gap: 20px;
    text-decoration: none;
}

.chat_logot span {
    font-weight: 600;
}

.chat_logot svg {
    height: 18px;
}

.chat_logot:hover {
    text-decoration: none;
    color: #000;
    background-color: #EAC0A5;
}

.main-card-body {
    height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
}

.main-card-body > div {
    flex-shrink: 0;
}

.main-card-body #chat-box {
    flex: 1 1 100%;
    overflow: hidden;
}

.ask-chatgpt-form {
    position: relative;
}

.chat_h2 {
    font-size: 25px;
    font-weight: 500;
    text-align: center;
}

.chat_h3 {
    text-align: center;
    font-size: 18px;
    padding: 5px 0;
}

.btn-group-toggle {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 12px;
}

.btn-group-toggle .btn {
    padding: 5px 3px;
    color: #1B274D;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: none;
    font-weight: 500;
    min-width: 130px;
    text-align: center;
    background: rgb(226 243 245);
    border: 1px solid #86C9D0;
}

.btn-group-toggle .btn:hover, .btn-group-toggle .btn.active {
    background-color: #EAC0A5!important;
    border-color: #EAC0A5!important;
    box-shadow: none!important;
    color: #1B274D!important;
}

.ask-chatgpt-form textarea {
    border-radius: 0.041666667in;
    padding: 20px 20px;
    min-height: 66px!important;
    height: 66px;
    color: #0e1426;
    margin: 0;
    box-shadow: 0 2px 2px rgba(14, 19, 38, .1);
    overflow:hidden;
    resize: none;
    font-weight: 500;
    padding-right: 50px;
}

.ask-chatgpt-form textarea::placeholder {
    color: #808080;
}

.ask-chatgpt-form textarea:focus {
    border: 0.5 solid;
    border-color: #e1e6f0;
    box-shadow: none;
}

  .btn-send {
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    border: none;
    padding: 8px 10px;
    display: inline-flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1.2px 0 rgba(252, 252, 253, .5);
    box-shadow: 0 1px 0 rgba(134, 201, 208, .6), inset 0 -2px 0 hsla(0, 0%, 100%, .5);
    background-color: #86c9d0;
    position: absolute;
    right: 6px;
    top: 6px;
  }

  .btn-send svg {
    height: 20px;
  }

  .btn-send:hover {
    text-decoration: none;
    color: #000;
    background-color: #EAC0A5;
  }

  /* Message User */

  .message.user .content {
    display: flex;
    align-items: start;
    justify-content: end;
    gap: 15px;
}

.message.user .messageTime {
    display: flex;
    justify-content: end;
    margin-bottom: 5px;
    margin-right: 60px;
    font-size: 13px;
}

.message.user .user-text {
    background: rgb(134 201 208 / 30%);
    padding: 10px;
    border-radius: 10px;
    margin-left: 40px;
    font-weight: 500;
    max-width: 60%;
    color: #212529;
}

.user-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-image: url(../images/my-student.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f0d5cc;
    flex-shrink: 0;
}

.message.bot .showTime {
    display: flex;
    justify-content: start;
    margin-bottom: 5px;
    margin-left: 60px;
    font-size: 13px;
}

.message.bot .botMessage {
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 15px;
}

.message.bot .bot-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-image: url(../images/ark-logo.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f5f2f1;
    flex-shrink: 0;
    background-size: 83%;
}

.message.bot .bot-text h3 {
    font-size: 18px;
}

.message.bot .bot-text {
    background: rgb(243 239 237 / 73%);
    padding: 10px;
    border-radius: 10px;
    margin-right: 40px;
    font-weight: 600;
    max-width: 100%;
    order: 2;
}


@media (min-width: 1400px) {
    .container {
        min-width: 1400px;
    }

    .btn-group-toggle {
        padding: 0 160px;
    }
}

@media (max-width: 768px) {

    p {
        font-size: 14px;
    }

    .helpdesk-title {
        font-size: 18px;
    }

    .chat_h3 {
        font-size: 14px;
    }
        
    .main-card-body {
        padding: 10px 15px;
        height: calc(100vh - 90px);
    }

    .message.user .user-text {
        margin-left: 20px;
    }

    .message.bot .bot-text {
        margin-right: 20px;
    }
}