#genchat-container h3 {
    font-size: 26px;
    margin-bottom: 20px;
}
.genchat_power{
    position: fixed;
    bottom: 15px;
    right: 25px;
    padding: 0.25em;
    font-size: 7pt;
}

#genchat-container .page-scroll {
    overflow: auto;
}
.genchat_btn {
    width: 55px ;
    height: 55px;
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding-top: 3px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.164);
    background-size: 300%;
    background-position: left;
    transition-duration: 1s;
}
#genchat-container .tooltip {
    position: absolute;
    top: -40px;
    opacity: 0;
    padding: 5px 10px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition-duration: .5s;
    pointer-events: none;
    letter-spacing: 1px;
}
.genchat_btn:hover .tooltip {
    opacity: 1;
    transition-duration: .5s;
}
.genchat_btn:hover {
    background-position: right;
    transition-duration: 1s;
}
#genchat-container .pull-right{
    float: right !important;
}
#genchat-container .pull-left{
    float: left !important;
}
/* The popup chat - hidden by default */

.btn-close-genchat {
    box-sizing: content-box;
    padding: .25em .25em;
    color: #000;
    margin-top: 0;
    margin-bottom: .5rem;
    background-color: transparent;
    border: 0;
    font-size: 1.5rem;
    line-height: 1.5rem;
    border-radius: .25rem;
    opacity: .5;
}
.genchat-sign-up{
    width: 100%;
    height: 100%;
}
.genchat-auth{
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
}
.genchat-popup {
    display: none;
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
    max-height: calc(100vh - 160px);
    height: calc(100vh - 160px);
    min-height: 200px;
    min-width: 400px;
    max-width: 500px;
    border-radius:20px;
    padding: 0;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 3px 8px 20px -5px rgba(0,0,0,0.69);
    -webkit-box-shadow: 3px 8px 20px -5px rgba(0,0,0,0.69);
    -moz-box-shadow: 3px 8px 20px -5px rgba(0,0,0,0.69);
}
@media only screen and (max-width: 400px) {
    .genchat-popup {
        max-height: 100%;
        height: 100%;
        min-width: 100%;
        max-width: 100%;
        right: 0;
        bottom: 0;
        border-radius:0;
    }
    .genchat_power{
        right: 20px;
        bottom: 0;
    }
}
/* Add styles to the form container */
.genchat-form-container {
    max-width: 300px;
    padding: 10px;
    border-radius:20px;
}

/* Full-width textarea */
.genchat-form-container textarea {
    width: 100%;
    padding: 15px;
    margin: 5px 0 22px 0;
    border: none;
    border-radius:20px;
    background: #ddd;
    resize: none;
    min-height: 200px;
    color:#777;
}

/* When the textarea gets focus, do something */
.genchat-form-container textarea:focus {
    background-color: #ddd;
    outline: none;
}

.genchat-form-container .btn {
    font-size:17px;
    padding: 10px 20px;
    border: none;
    border-radius:20px;
    cursor: pointer;
    width: 100%;
    margin-bottom:10px;
}

/* Add some hover effects to buttons */
.genchat-form-container .btn:hover, .open-button:hover {
    opacity: 0.8;
}

#genchat-container .user-chat {
    -webkit-box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
    box-shadow: 0 2px 4px rgba(15, 34, 58, 0.12);
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

#genchat-container .user-chat-topbar{
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-shrink: 0;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 0.25em 0.5em;
    border-top-left-radius: calc(.4rem - 1px);
    border-top-right-radius: calc(.4rem - 1px);
}

.chat-conversation .chat-day-title .title,.chat-preview .chat-day-title .title {
    position: relative;
    font-size: 13px;
    z-index: 1;
    padding: 6px 12px;
    border-radius: 5px;
}
.chat-conversation .chat-day-title:before,.chat-preview .chat-day-title:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    right: 0;
    left: 0;
    top: 10px;
}
.chat-conversation .conversation-list .ctext-wrap-content,.chat-preview .conversation-list .ctext-wrap-content {
    padding: 12px 20px;
    border-radius: 8px 8px 8px 0;
    position: relative;
}
.chat-conversation .conversation-list .ctext-wrap-content:before,.chat-preview .conversation-list .ctext-wrap-content:before {
    content: "";
    position: absolute;
    right: auto;
    left: 0;
    bottom: -10px;
}

.chat-conversation .conversation-list .dropdown .dropdown-toggle ,.chat-preview .conversation-list .dropdown .dropdown-toggle {
    font-size: 18px;
    padding: 4px;

}
.chat-conversation .conversation-list .message-img .message-img-link li > a,.chat-preview .conversation-list .message-img .message-img-link li > a {
    font-size: 18px;
    display: inline-block;
    line-height: 30px;
    width: 30px;
    height: 30px;
    text-align: center;
}
.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content,.chat-preview .right .conversation-list .ctext-wrap .ctext-wrap-content {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
    text-align: left;
    border-radius: 8px 8px 0 8px;
}
.chat-conversation .right .conversation-list .ctext-wrap .ctext-wrap-content:before,.chat-preview .right .conversation-list .ctext-wrap .ctext-wrap-content:before {
    border: 5px solid transparent;
    right: 0;
    left: auto;
}

.chat-input-section {
    height: 60px;
}

.chat-conversation ul,.chat-preview ul{
    position: relative;
}
.chat-conversation li,.chat-preview li {
    clear: both;
    width: 100%;
}
.chat-conversation .chat-avatar ,.chat-preview .chat-avatar {
    margin: 0 0 0 16px;
}
.chat-conversation .chat-avatar img,.chat-preview .chat-avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}
.chat-conversation .chat-day-title,.chat-preview .chat-day-title {
    position: relative;
    text-align: center;
    margin-bottom: 24px;
    margin-top: 12px;
}

.chat-conversation .chat-day-title .badge ,.chat-preview .chat-day-title .badge {
    font-size: 12px;
}

.chat-conversation .conversation-list,.chat-preview .conversation-list {
    padding-bottom: 1em;
    display: -ms-inline-flexbox;
    display: inline-flex;
    position: relative;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
}

.chat-conversation .conversation-list .ctext-wrap,.chat-preview .conversation-list .ctext-wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 10px;
}
.chat-conversation .conversation-list .conversation-name ,.chat-preview .conversation-list .conversation-name {
    font-weight: 500;
    font-size: 14px;
}
.chat-conversation .conversation-list .chat-time,.chat-preview .conversation-list .chat-time {
    font-size: 12px;
    margin-top: 4px;
    text-align: left;
}
.chat-conversation .conversation-list .message-img ,.chat-preview .conversation-list .message-img {
    border-radius: 0.2rem;
    position: relative;
}
.chat-conversation .conversation-list .message-img .message-img-list ,.chat-preview .conversation-list .message-img .message-img-list {
    position: relative;
}
.chat-conversation .conversation-list .message-img img,.chat-preview .conversation-list .message-img img {
    max-width: 150px;
}
.chat-conversation .conversation-list .message-img .message-img-link ,.chat-preview .conversation-list .message-img .message-img-link {
    position: absolute;
    left: 10px;
    right: auto;
    bottom: 10px;
}
.chat-conversation .right .chat-avatar,.chat-preview .right .chat-avatar {
    -webkit-box-ordinal-group: 4;
    -ms-flex-order: 3;
    order: 3;
    margin-left: 0;
    margin-right: 16px;
}
.chat-conversation .right .chat-time ,.chat-preview .right .chat-time {
    text-align: right;
}
.chat-conversation .right .conversation-list,.chat-preview .right .conversation-list {
    float: right;
    text-align: right;

}
.chat-conversation .right .conversation-list .ctext-wrap ,.chat-preview .right .conversation-list .ctext-wrap {
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}
.chat-conversation .right .conversation-list .dropdown,.chat-preview .right .conversation-list .dropdown {
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}
.chat-conversation .right .conversation-list .dropdown .dropdown-menu[style] ,.chat-preview .right .conversation-list .dropdown .dropdown-menu[style] {
    left: 0 !important;
    right: auto !important;
}
.chat-conversation {
    height: calc(100% - 120px);
}
.chat-conversation-full {
    height: auto !important;
}
.chat-input-links .list-inline-item:not(:last-child) {
    margin: 0;
}
.chat-input-links .list-inline-item:not(:last-child) {
    margin: 0;
}
.list-inline-item:not(:last-child) {
    margin-right: .5rem;
}
.list-inline-item {
    display: inline-block;
}


.center-body{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    align-items: center !important;
    justify-content: center !important;
}
.center-body2{
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    justify-content: center !important;
}
@media only screen and (max-height: 400px) {
    .center-body{
        display: -webkit-box;
        display: -moz-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        align-items: normal !important;
        justify-content: center !important;
    }

}
@media only screen and (max-height: 300px) {
    .center-body2{
        display: unset;
        justify-content: unset !important;
    }
}


/*region Upload*/
/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/
.GenChat-Bold-Upload {
    opacity: 0;
}

.GenChat-Bold-Upload-Label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
}

.GenChat-image-area {
    border: 2px dashed rgba(255, 255, 255, 0.7);
    padding: 1rem;
    position: relative;
}

.GenChat-image-area::before {
    content: '';
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    z-index: 1;
}

.GenChat-image-area img {
    z-index: 2;
    position: relative;
}
/*endregion*/
.emojionearea .emojionearea-picker.emojionearea-picker-position-top {
    margin-top: -286px;
    right: 0 !important;
    left: 0 !important;
}
.emojionearea .emojionearea-picker .emojionearea-wrapper {
    width: 100%!important;

}
.emojionearea-editor {
    display: block;
    height: auto;
    min-height: 2em !important;
}
/*region Bootstratp*/

#genchat-container .btn {
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

#genchat-container .m-2 {
    margin: .5rem !important;
}
#genchat-container .mb-3 {
    margin-bottom: 1rem!important;
}
#genchat-container .p-2 {
    padding: .5rem!important;
}

#genchat-container .mb-0 {
    margin-bottom: 0 !important;
}
#genchat-container .p-2 {
    padding: 0.5rem !important;
}

#genchat-container .p-3 {
    padding: 1rem !important;
}

#genchat-container .p-4 {
    padding: 1.5rem !important;
}

#genchat-container .text-truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#genchat-container .align-baseline {
    vertical-align: baseline !important;
}

#genchat-container .align-top {
    vertical-align: top !important;
}

#genchat-container .align-middle {
    vertical-align: middle !important;
}

#genchat-container .align-bottom {
    vertical-align: bottom !important;
}

#genchat-container .align-text-bottom {
    vertical-align: text-bottom !important;
}

#genchat-container .align-text-top {
    vertical-align: text-top !important;
}

#genchat-container .float-start {
    float: left !important;
}

#genchat-container h1,#genchat-container h2,#genchat-container h3, #genchat-container h4,#genchat-container h5,#genchat-container h6{
    margin-top: 0 !important;
    margin-bottom: .5rem ;
    font-weight: 500 ;
    line-height: 1.2 ;
}

#genchat-container .btn-close {
    box-sizing: content-box;
    width: 1em;
    height: 1em;
    padding: 0.25em 0.25em;
    color: #000;
    background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
    border: 0;
    border-radius: 0.25rem;
    opacity: 0.5;
}
#genchat-container .btn-close:hover {
    color: #000;
    text-decoration: none;
    opacity: 0.75;
}
#genchat-container .btn-close:focus {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    opacity: 1;
}
#genchat-container .btn-close:disabled, .btn-close.disabled {
    pointer-events: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    opacity: 0.25;
}


#genchat-container .text-light {
    color: #f8f9fa !important;
}

#genchat-container .text-dark {
    color: #212529 !important;
}

#genchat-container .text-white {
    color: #fff !important;
}

#genchat-container .text-body {
    color: #212529 !important;
}

#genchat-container .text-muted {
    color: #6c757d !important;
}


#genchat-container .rounded-circle {
    border-radius: 50% !important;
}

#genchat-container .rounded-pill {
    border-radius: 50rem !important;
}

#genchat-container .rounded-top {
    border-top-left-radius: 0.25rem !important;
    border-top-right-radius: 0.25rem !important;
}

#genchat-container .rounded-end {
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
}

#genchat-container .rounded-bottom {
    border-bottom-right-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

#genchat-container .rounded-start {
    border-bottom-left-radius: 0.25rem !important;
    border-top-left-radius: 0.25rem !important;
}

#genchat-container .btn-light {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}
#genchat-container .btn-light:hover {
    color: #000;
    background-color: #f9fafb;
    border-color: #f9fafb;
}
#genchat-container .btn-check:focus + .btn-light,#genchat-container .btn-light:focus {
    color: #000;
    background-color: #f9fafb;
    border-color: #f9fafb;
    box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5);
}
#genchat-container .btn-check:checked + .btn-light,#genchat-container .btn-check:active + .btn-light,#genchat-container .btn-light:active,#genchat-container .btn-light.active,#genchat-container .show > .btn-light.dropdown-toggle {
    color: #000;
    background-color: #f9fafb;
    border-color: #f9fafb;
}
#genchat-container .btn-check:checked + .btn-light:focus,#genchat-container .btn-check:active + .btn-light:focus,#genchat-container .btn-light:active:focus, .btn-light.active:focus,#genchat-container .show > .btn-light.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(211, 212, 213, 0.5);
}
#genchat-container .btn-light:disabled,#genchat-container .btn-light.disabled {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

#genchat-container .btn-dark {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
}
#genchat-container .btn-dark:hover {
    color: #fff;
    background-color: #1c1f23;
    border-color: #1a1e21;
}
#genchat-container .btn-check:focus + .btn-dark,#genchat-container .btn-dark:focus {
    color: #fff;
    background-color: #1c1f23;
    border-color: #1a1e21;
    box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5);
}
#genchat-container .btn-check:checked + .btn-dark,#genchat-container .btn-check:active + .btn-dark,#genchat-container .btn-dark:active, .btn-dark.active,#genchat-container .show > .btn-dark.dropdown-toggle {
    color: #fff;
    background-color: #1a1e21;
    border-color: #191c1f;
}
#genchat-container .btn-check:checked + .btn-dark:focus,#genchat-container .btn-check:active + .btn-dark:focus,#genchat-container .btn-dark:active:focus,#genchat-container .btn-dark.active:focus, .show > .btn-dark.dropdown-toggle:focus {
    box-shadow: 0 0 0 0.25rem rgba(66, 70, 73, 0.5);
}
#genchat-container .btn-dark:disabled, #genchat-container .btn-dark.disabled {
    color: #fff;
    background-color: #212529;
    border-color: #212529;
}


#genchat-container .form-floating {
    position: relative;
}
#genchat-container .form-floating >.form-control,
#genchat-container .form-floating >.form-select {
    height: 3em !important;
    line-height: 1.25;
    width: 100%;
}
#genchat-container .form-floating > label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1em 0.25em !important;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}


@media (prefers-reduced-motion: reduce) {
    #genchat-container .form-floating > label {
        transition: none;
    }
}
#genchat-container .form-floating  {

}
#genchat-container .form-floating > .form-control {
    padding: 0.25em !important;
    border: 0 solid ;
    border-bottom: 1px solid;
}
#genchat-container .form-floating > .form-control::-moz-placeholder {
    color: transparent;
}
#genchat-container .form-floating > .form-control::placeholder {
    color: transparent !important;
}
#genchat-container .form-floating > .form-control:not(:-moz-placeholder-shown) {
    padding-top: 1.625em;
    padding-bottom: 0.62rem;
}
#genchat-container .form-floating >  .form-control:focus,#genchat-container .form-floating >.form-control:not(:placeholder-shown) {
    padding-top: 1.125em;
    padding-bottom: 0.625em;
}
#genchat-container .form-floating > .form-control:-webkit-autofill {
    padding-top: 1.125em;
    padding-bottom: 0.625em;
}
#genchat-container .form-floating >  .form-select {
    padding-top: 1.125em;
    padding-bottom: 0.625em;
}
#genchat-container .form-floating > .form-control:not(:-moz-placeholder-shown) ~ label {
    opacity: 0.65!important;
    transform: scale(0.80) translateY(-0.7em) translateX(0.15em)!important;
}
#genchat-container .form-floating > .form-control:focus ~ label,
#genchat-container .form-floating >.form-control:not(:placeholder-shown) ~ label,
#genchat-container .form-floating >.form-select ~ label {
    opacity: 0.65!important;
    transform: scale(0.80) translateY(-0.7em) translateX(0.15em)!important;
}
#genchat-container .form-floating > .form-control:-webkit-autofill ~ label {
    opacity: 0.65!important;
    transform: scale(0.80) translateY(-0.7em) translateX(0.15em) !important;
}

#genchat-container .input-group {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}
#genchat-container .input-group >#genchat-container .form-control,
#genchat-container .input-group >#genchat-container .form-select {
    position: relative;
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}
#genchat-container .input-group >#genchat-container .form-control:focus,
#genchat-container .input-group >#genchat-container .form-select:focus {
    z-index: 3;
}
#genchat-container .input-group .btn {
    position: relative;
    z-index: 2;
}
#genchat-container .input-group .btn:focus {
    z-index: 3;
}

#genchat-container .input-group-text {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.input-group-lg >#genchat-container .form-control,
.input-group-lg >#genchat-container .form-select,
.input-group-lg >#genchat-container .input-group-text,
.input-group-lg >#genchat-container .btn {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    border-radius: 0.3rem;
}

.input-group-sm >#genchat-container .form-control,
.input-group-sm >#genchat-container .form-select,
.input-group-sm >#genchat-container .input-group-text,
.input-group-sm >#genchat-container .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

.input-group-lg > .form-select,
.input-group-sm > .form-select {
    padding-right: 3rem;
}
#genchat-container .alert {
    padding: 1em;
}
#genchat-container .btn-danger {
    color: #fff !important;
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
}
.btn-danger:hover {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #b02a37;
}
.btn-check:focus + .btn-danger, .btn-danger:focus {
    color: #fff;
    background-color: #bb2d3b;
    border-color: #b02a37;
    box-shadow: 0 0 0 0.25rem rgba(225, 83, 97, 0.5);
}
#genchat-container .alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
#genchat-container .alert-danger .alert-link {
    color: #6a1a21;
}
.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}
.alert-info .alert-link {
    color: #04414d;
}


.list-unstyled {
    padding-left: 0;
    list-style: none;
}

.list-inline {
    padding-left: 0;
    list-style: none;
}

.list-inline-item {
    display: inline-block;
}
.list-inline-item:not(:last-child) {
    margin-right: 0.5rem;
}


.toast {
    width: 350px;
    max-width: 100%;
    font-size: 0.875rem;
    pointer-events: auto;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}
.toast:not(.showing):not(.show) {
    opacity: 0;
}
.toast.hide {
    display: none;
}

.toast-container {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
    pointer-events: none;
}
.toast-container > :not(:last-child) {
    margin-bottom: 0.75rem;
}

.toast-header {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    color: #6c757d;
    background-color: rgba(255, 255, 255, 0.85);
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}
.toast-header .btn-close {
    margin-right: -0.375rem;
    margin-left: 0.75rem;
}

.toast-body {
    padding: 0.75rem;
    word-wrap: break-word;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    margin: 0;
    background-color: transparent;
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}
.modal.fade .modal-dialog {
    transition: transform 0.3s ease-out;
    transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}
.modal.show .modal-dialog {
    transform: none;
}
.modal.modal-static .modal-dialog {
    transform: scale(1.02);
}

.modal-dialog-scrollable {
    height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
    max-height: 100%;
    overflow: hidden;
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}

.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.5;
}

.modal-header {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .btn-close {
    padding: 0.5rem 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem auto;
}

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    overflow: hidden;
}

.modal-footer {
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
    margin: 0.25rem;
}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }

    .modal-dialog-scrollable {
        height: calc(100% - 3.5rem);
    }

    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }

    .modal-sm {
        max-width: 300px;
    }
}
@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px;
    }
}
@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}
.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}
.modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0;
}
.modal-fullscreen .modal-header {
    border-radius: 0;
}
.modal-fullscreen .modal-body {
    overflow-y: auto;
}
.modal-fullscreen .modal-footer {
    border-radius: 0;
}

@media (max-width: 575.98px) {
    .modal-fullscreen-sm-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    .modal-fullscreen-sm-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-fullscreen-sm-down .modal-header {
        border-radius: 0;
    }
    .modal-fullscreen-sm-down .modal-body {
        overflow-y: auto;
    }
    .modal-fullscreen-sm-down .modal-footer {
        border-radius: 0;
    }
}
@media (max-width: 767.98px) {
    .modal-fullscreen-md-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    .modal-fullscreen-md-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-fullscreen-md-down .modal-header {
        border-radius: 0;
    }
    .modal-fullscreen-md-down .modal-body {
        overflow-y: auto;
    }
    .modal-fullscreen-md-down .modal-footer {
        border-radius: 0;
    }
}
@media (max-width: 991.98px) {
    .modal-fullscreen-lg-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    .modal-fullscreen-lg-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-fullscreen-lg-down .modal-header {
        border-radius: 0;
    }
    .modal-fullscreen-lg-down .modal-body {
        overflow-y: auto;
    }
    .modal-fullscreen-lg-down .modal-footer {
        border-radius: 0;
    }
}
@media (max-width: 1199.98px) {
    .modal-fullscreen-xl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    .modal-fullscreen-xl-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-fullscreen-xl-down .modal-header {
        border-radius: 0;
    }
    .modal-fullscreen-xl-down .modal-body {
        overflow-y: auto;
    }
    .modal-fullscreen-xl-down .modal-footer {
        border-radius: 0;
    }
}
@media (max-width: 1399.98px) {
    .modal-fullscreen-xxl-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
    .modal-fullscreen-xxl-down .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-fullscreen-xxl-down .modal-header {
        border-radius: 0;
    }
    .modal-fullscreen-xxl-down .modal-body {
        overflow-y: auto;
    }
    .modal-fullscreen-xxl-down .modal-footer {
        border-radius: 0;
    }
}

.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
}
.row > * {
    flex-shrink: 0;
    max-width: 100%;

}

.col {
    flex: 1 0 0%;
}

.row-cols-auto > * {
    flex: 0 0 auto;
    width: auto;
}

.col-auto {
    flex: 0 0 auto;
    width: auto;
}
/*endregion*/

.genchat_card {
    width: 260px;
    border-radius: 30px;
    margin: 1em;
    background: #e0e0e0;
    box-shadow: 15px 15px 30px #bebebe,
    -15px -15px 30px #ffffff;
}

.genchat_button {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
    font-size: 17px;
    padding: 1em 2.7em;
    font-weight: 500;
    background: #1f2937;
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    border-radius: 0.6em;
    cursor: pointer;
}

.gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 0.6em;
    margin-top: -0.25em;
    background-image: linear-gradient(
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0),
            rgba(0, 0, 0, 0.3)
    );
}

.label {
    position: relative;
    top: -1px;
}

.transition {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
    transition-duration: 500ms;
    background-color: rgba(16, 185, 129, 0.6);
    border-radius: 9999px;
    width: 0;
    height: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.genchat_button:hover .transition {
    width: 14em;
    height: 14em;
}

.genchat_button:active {
    transform: scale(0.97);
}



