@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

html,
body {
    font-family: 'Poppins';
    height: 100%;
}

* {
    padding: 0;
    margin: 0;
}

.sidebar {
    position: fixed;
    width: 300px;
    padding: 20px 10px;
    left: 0;
    top: 0;
    height: 100vh;
    background: linear-gradient(264deg, #175274 4.87%, #33A3D3 95.37%);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.logo img {
    width: 100%;
}

.start-new-chat {
    min-height: 400px;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding: 50px 0;
}

.start-new-chat h4 {
    width: 100%;
    color: #fff;
    margin: 30px 0 10px;
    font-size: 16px;
}

.today-list {
    padding: 0 0 0 10px;
    margin: 0;
    width: 100%;
}

.today-list li {
    list-style: none;
    margin: 0px 0 10px;
}

.today-list li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
}

.today-list li a img {
    margin: 0 10px 0 0;
    width: 20px;
}

/* .chat-btn {
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 20px;
    padding: 10px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    font-family: 'Poppins';
} */
.chat-btn {
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 20px;
    padding: 10px;
    width: 100%;
    color: #fff;
    font-size: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    text-decoration: none;
    text-align: center;
}

.menu-list {
    position: absolute;
    bottom: 30px;
    border-top: 2px solid #FFFFFF6B;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-width: 260px;
    padding: 20px 0 0 0;
}

.menu-list li {
    list-style: none;
    margin: 0 0 20px;
}

.menu-list li a {
    color: #E5E5E5;
    font-size: 16px;
    text-decoration: none;
}

.menu-list li a img {
    margin: 0 10px 0 0;
    margin: 0 10px 0 0;
    width: 20px;
    object-fit: scale-down;
}

.menu-list li a.logout {
    color: #FF5555;
}

.dashboard {
    background: linear-gradient(205.4deg, #175274 4.87%, #33A3D3 95.37%);
    padding: 20px;
    width: calc(100% - 300px);
    margin-left: auto;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.content {
    background: radial-gradient(136.39% 105.36% at 60% 105.36%, rgba(136, 219, 179, 0.7) 0%, #33A3D3 33.32%, #185477 90.7%, #175274 100%);
    padding: 30px;
    border-radius: 30px;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.content h2 {
    color: #E5E5E5;
    font-size: 48px;
    font-weight: 600;
}

.content p {
    color: rgba(229, 229, 229, 1);
    font-size: 16px;
    margin: 20px 0;
}

.type-question {
    border: 1px solid rgba(255, 255, 255, 0.19);
    border-radius: 20px;
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    /* font-family: 'Poppins'; */
    min-width: 500px;
    text-align: center;
}

.speech-text {
    margin: 30px 0 0;
    text-align: center;
}

.speech-text span {
    border-radius: 100%;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    border: 1px solid #c5c5c5;
    cursor: pointer;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* .speech-text img {
    border-radius: 100%;
    padding: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.1) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
    border: 1px solid #c5c5c5;
    cursor: pointer;
} */

.content.chat {
    display: block;
    padding: 40px 160px;
}

.chat-header {
    align-items: center;
}

.chat-header img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0 20px 0 0;
}

.chat-header p {
    background: rgba(51, 163, 211, 0.4);
    padding: 0 0 0 20px;
    z-index: 2;
    flex: 1;
    border-radius: 14px;
    position: relative;
    margin: 0px;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.chat-header p:before {
    content: "";
    position: absolute;
    background: url(../images/shap2.svg);
    width: 12px;
    height: 18px;
    left: -12px;
    top: 50%;
    transform: translatey(-50%);
}

.chat-list-box {
    display: flex;
    margin: 50px 0;
}

.chat-list {
    padding: 20px;
    border-radius: 30px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    position: relative;
    z-index: 2;
    width: calc(100% - 105px);
}

.robot {
    flex: 1;
    text-align: right;
    padding: 37px 0 0;
}

.chat-list::after {
    content: "";
    position: absolute;
    background: url(../images/shap.svg);
    width: 55px;
    height: 64px;
    top: 25px;
    right: -55px;
    z-index: -1;
    background-size: contain;
    background-repeat: no-repeat;
}

.chat-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.chat-list ul li {
    list-style: auto;
    margin: 0 0 5px 20px;
}

.chat-list p {
    margin: 0;
}

.reload-respons {
    text-align: center;
    margin: 140px 0 0;
}

.reload-respons span {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 10px 20px;
    cursor: pointer;
    display: inline-block;
}

.enter-question {
    margin: 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.enter-question input {
    width: calc(100% - 80px);
    border: 0;
    padding: 20px;
    border-radius: 20px;
}

.enter-question span {
    cursor: pointer;
}

.enter-question input:focus {
    outline: none;
    border-color: #175274;
}

.enter-question input::placeholder {
    color: rgba(164, 164, 164, 1);
}

.enter-question span {
    background: rgba(80, 80, 80, 0.45);
    display: inline-block;
    padding: 18px;
    border-radius: 50%;
}


.enter-question {
    width: 100%;
    z-index: 999;
    position: sticky;
    bottom: 20px;
}

.home {
    height: 100vh;
}

@media (max-width:1279px) {
    .content.chat {
        padding: 40px 60px;
    }
}

@media (max-width:991px) {
    .type-question {
        min-width: auto;
    }

    .logo2 h2 {
        font-size: 30px;
    }

    .logo2 img {
        max-width: 150px;
        margin: 0 0 0 10px;
    }

    .logo2 p {
        text-align: center;
    }

    .sidebar {
        width: 260px;
    }

    .dashboard {
        width: calc(100% - 260px);
    }

    .today-list li a img {
        margin: 0 5px 0 0;
    }

    .menu-list {
        width: 85%;
    }

    .content.chat {
        padding: 20px 20px;
    }
}

@media (min-width:768px) {

    .toggle-icon,
    .cross-icon {
        display: none;
    }
}

.profile-image .p-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
}

.profile-image label {
    bottom: 5px;
    right: 5px;
    cursor: pointer;
}

@media (max-width:767px) {
    .sidebar {
        width: 0;
        opacity: 0;
        transition: all .5s;
    }

    .sidebar.showsidebar {
        width: 260px;
        opacity: 1;
        transition: all .5s;
        z-index: 99999;
    }

    .dashboard {
        width: 100%;
        padding: 10px;
    }

    .start-new-chat,
    .menu-list {
        display: none;
    }

    .showsidebar .start-new-chat,
    .showsidebar .menu-list {
        display: block;
    }

    .logo2 h2 {
        font-size: 20px;
    }

    .logo2 img {
        max-width: 100px;
        margin: 0 0 0 5px;
    }

    .toggle-icon img,
    .cross-icon img {
        max-width: 25px;
        margin: 0 0 10px 10px;
    }

    .content {
        height: auto;
        border-radius: 10px;
    }

    .cross-icon {
        text-align: right;
    }

    .chat-header p,
    .chat-list ul li {
        font-size: 14px;
    }

    .chat-list {
        padding: 10px;
        border-radius: 10px;
        width: calc(100% - 75px);
    }

    .chat-list::after {
        right: -25px;
        width: 25px;
        height: 34px;
    }

    .content.chat {
        padding: 20px 10px;
    }

    .robot {
        padding: 20px 0 0;
    }

    .reload-respons {
        margin: 40px 0 0;
    }

    .chat-header p {
        padding: 0 0 0 10px;
    }

    .enter-question span {
        padding: 6px;
    }

    .enter-question input {
        width: calc(100% - 50px);
        padding: 10px;
        border-radius: 10px;
    }


}

.p-section-1 {
    border-radius: 20px;
    background: radial-gradient(233.55% 174.67% at 58.14% 174.56%, rgba(136, 219, 179, 0.70) 0%, #33A3D3 33.32%, #185477 90.70%, #175274 100%);
}

.p-section-2 {
    border-radius: 20px;
    background: radial-gradient(209.43% 160.70% at 60.00% 105.36%, rgba(136, 219, 179, 0.70) 0%, #33A3D3 33.32%, #185477 90.70%, #175274 100%);
}