
/*---Admin Menu---*/

#adminmenu a.menu-top.toplevel_page_buddybot-chatbot .wp-menu-image.svg{
        background-size: 26px auto;
}

/*---Admin Menu Ends---*/


/* General CSS---*/


.buddybot-d-flex {
    display: flex !important;
}

.buddybot-justify-content-between {
    justify-content: space-between !important;
}

.buddybot-align-items-center {
    align-items: center !important;
}

.buddybot-justify-content-center {
    justify-content: center !important;
}
/* General CSS End---*/

/*---Margins and Padding---*/

.buddybot-mb-0 {
    margin-bottom: 0 !important;
}

.buddybot-mb-1 {
    margin-bottom: 0.25rem !important;
}

.buddybot-mb-2 {
    margin-bottom: 0.5rem !important;
}

.buddybot-mb-3 {
    margin-bottom: 1rem !important;
}

.buddybot-mb-4 {
    margin-bottom: 1.5rem !important;
}

.buddybot-mb-5 {
    margin-bottom: 3rem !important;
}

.buddybot-mt-0 {
    margin-top: 0 !important;
}

.buddybot-mt-1 {
    margin-top: 0.25rem !important;
}

.buddybot-mt-2 {
    margin-top: 0.5rem !important;
}

.buddybot-mt-3 {
    margin-top: 1rem !important;
}

.buddybot-ms-0 {
    margin-left: 0 !important;
}

.buddybot-ms-1 {
    margin-left: 0.25rem !important;
}

.buddybot-ms-2 {
    margin-left: 0.5rem !important;
}

.buddybot-ms-3 {
    margin-left: 1rem !important;
}

.buddybot-my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.buddybot-p-2{
    padding: 0.5rem !important;
}

.buddybot-py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.buddybot-py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}

.buddybot-py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.buddybot-px-4 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
}

.buddybot-pt-0 {
    padding-top: 0 !important;
}

.buddybot-pt-1 {
    padding-top: 0.25rem !important;
}

.buddybot-pb-2 {
    padding-bottom: 0.5rem;
}

.buddybot-ps-0 {
    padding-left: 0 !important;
}

.buddybot-box-w-100{
    width: 100%;
}

.buddybot-border-top {
    border-top: 1px solid #dee2e6;
}

/*---Margins and Padding Ends---*/

/*---Gaps---*/

.buddybot-gap-0 {
    gap: 0 !important;
}

.buddybot-gap-1 {
    gap: 0.25rem !important;
}

.buddybot-gap-2 {
    gap: 0.5rem !important;
}

.buddybot-gap-3 {
    gap: 1rem !important;
}

.buddybot-gap-4 {
    gap: 1.5rem !important;
}

/*---Gaps Ends---*/

/* TEXT UTILITIES */
 
.buddybot-text-center {
    text-align: center !important;
}   

.buddybot-text-break {
    word-break: break-word !important;
}

.buddybot-text-bg-dark {
    color: #fff !important;
    background-color: #343a40 !important;
}

.buddybot-text-danger {
    color: #dc3545 !important;
}

.buddybot-text-secondary {
    color: #6c757d !important;
}

.buddybot-text-dark{
    opacity: 1;
    color: #212529 !important;
}

.buddybot-text-small {
    font-size: .875em !important;
}

/* TEXT UTILITIES END */

/* FONT UTILITIES */
 
.buddybot-small {
    font-size: .875em !important;
}

.buddybot-fw-medium {
    font-weight: 500;
}

.buddybot-fw-bold {
    font-weight: 700;
}
.buddybot-fs-1{
    font-size: 0.75rem !important;
}

.buddybot-fs-2{
    font-size: 1.5rem !important;
}

.buddybot-fs-3{
    font-size: 1.75rem !important;
}

.buddybot-fs-4{
    font-size: 1.5rem !important;
}

.buddybot-fs-5{
    font-size: 1.25rem !important;
}

.buddybot-fs-6{
    font-size: 1rem !important;
}

/* FONT UTILITIES END */

/* General Welcome Modal Styling */
.bb-modal-image {
    flex: 1;
}

.bb-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.bb-modal-text {
    flex: 2;
    padding: 30px;
}

.bb-modal-title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.bb-modal-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.bb-modal-actions {
    display: flex;
    gap: 10px;
}

.bb-dismiss-modal {
    margin-right: 10px;
}

.bb-get-started {
    background-color: #000;
    color: #fff;
}

/* Welcome Modal Ends */

/* General modal starts */
.buddybot-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1050;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.buddybot-modal.show {
    opacity: 1;
    pointer-events: auto;
}

.buddybot-modal-dialog {
    position: relative;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(-100px); /* Higher start position */
    transition: transform 0.5s ease-out;
}

/* Large Modal */
.buddybot-modal-dialog.buddybot-modal-lg {
    max-width: 800px;
}

/* Extra Large Modal */
.buddybot-modal-dialog.buddybot-modal-xl {
    max-width: 1140px;
}

.buddybot-modal.show .buddybot-modal-dialog {
    transform: translateY(0);
}

.buddybot-modal-content {
    background-color: #fff;
    border-radius: 0.3rem;
    border: 1px solid #ddd;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.buddybot-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    padding: 1rem;
}

.buddybot-modal-title {
    margin: 0;
    font-size: 1.25rem;
    /* font-weight: bold; */
}

.buddybot-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #000;
    cursor: pointer;
}

.buddybot-modal-body {
    padding: 1rem;
    overflow: auto;
    max-height: 70vh;
}

.buddybot-modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 1rem;
    gap: 5px;
    align-items: baseline;
}

.buddybot-modal-footer .btn {
    margin-left: 0.5rem;
}

.buddybot-close-btn {
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s ease-in-out;
}

.buddybot-close-btn:hover {
    opacity: 1;
}

.buddybot-close-btn svg{
    width: 26px; /* Matches Bootstrap */
    height: 26px;
}

/* General modal ends */


/*---Buttons---*/

.buddybot-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;
}


/*---Buttons ends---*/

/* Button color starts */
.buddybot-btn-danger {
background-color: #dc3545; 
color: white;
border: 1px solid #dc3545;
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 0.25rem;
cursor: pointer;
transition: background-color 0.2s, border-color 0.2s;
}

.buddybot-btn-danger:hover {
background-color: #c82333;
border-color: #bd2130;
}

.buddybot-btn-danger:disabled,
.buddybot-btn-danger[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.buddybot-btn-outline-danger {
    color: #dc3545;
    border: 1px solid #dc3545;
    background-color: transparent;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.buddybot-btn-outline-danger:hover {
    background-color: #dc3545;
    color: white;
}

.buddybot-btn-dark {
background-color: #6c757d;
color: white;
border: 1px solid #6c757d;
padding: 0.375rem 0.75rem;
font-size: 1rem;
font-weight: 400;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 0.25rem;
cursor: pointer;
transition: background-color 0.2s, border-color 0.2s;
}

.buddybot-btn-dark:hover {
background-color: #5a6268;
border-color: #545b62;
}

.buddybot-btn-black {
    background-color: #000;
    color: white;
    border: 1px solid #000;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border-radius: 0.25rem;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
}

.buddybot-btn-black:hover {
    background-color: #ffffff;
    border-color: #222;
    color: black;
}

.buddybot-btn-outline-black {
    color: #000;
    border: 1px solid #000;
    background-color: transparent;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.buddybot-btn-outline-black:hover {
    background-color: #000;
    color: white;
}

.buddybot-btn-light {
    color: #000;
    background-color: #f8f9fa;
    border-color: #f8f9fa;
}

.buddybot-btn-light:hover{    
    color: #000;
    background-color: #f9fafb;
    border-color: #f9fafb;
}

.buddybot-btn-dark:disabled,
.buddybot-btn-dark[disabled] {
    opacity: 0.5;
    pointer-events: none;
}

.bb-btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5;
    border-radius: 0.2rem;
}
/* button color Ends */

/* toast css start  */
#buddybot-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    width: auto;
    max-width: 300px;
}

.buddybot-toast {
    visibility: hidden;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 4px;
    color: white;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 1s;
}

.buddybot-toast-success {
    background-color: #28a745;
}

.buddybot-toast-error {
    background-color: #dc3545;
}

.buddybot-toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s;
}

/* toast css Ends */

.buddybot-header-wrap{
    position: relative
}

/*-----List Group---*/

.buddybot-list-group{
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    border-radius: .25rem;
}

.buddybot-list-group .buddybot-list-group-item:first-child{
    border-top-left-radius: inherit;
    border-top-right-radius: inherit;
}



.buddybot-list-group .buddybot-list-group-item:last-child {
    border-bottom-right-radius: inherit;
    border-bottom-left-radius: inherit;
}

.buddybot-list-group .buddybot-list-group-item{
    position: relative;
    display: block;
    padding: .5rem 1rem;
    color: #212529;
    text-decoration: none;
    /* background-color: #fff; */
    border: 1px solid rgba(0, 0, 0, .125);
}
.buddybot-list-group .buddybot-list-group-item+.buddybot-list-group-item {
    border-top-width: 0;
}

/*-----List group Ends----*/

.buddybot-docs-inner {
    background: #fff;
    border: 1px solid #e2e2e2;
    overflow: hidden;
    padding: 12px 14px !important;
}

.buddybot-docs-icon {
    flex: 0 0 auto;
    margin-right: 30px;
    position: relative;
    bottom: -25px;
}

.buddybot-docs-content .buddybot-banner-head{
    font-size: 18px;
    padding-bottom: 6px;
    font-weight: 500;
    display: none;
}
.buddybot-docs-content .buddybot-banner-text{
    font-size: 14px;

}

.buddybot-docs-icon svg {
    width: 70px;
    height: 70px;
}

.buddybot-docs-content {
    flex: 1;
}

.buddybot-docs-content h2 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.buddybot-docs-content p {
    margin-bottom: 20px;
    color: #333;
    line-height: 1.5;
}

.buddybot-docs-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.buddybot-docs-actions .btn {
    font-size: 16px;
    padding: 10px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.buddybot-docs-actions .btn.primary {
    background: #000;
    color: #fff;
    border: none;
}

.buddybot-docs-actions .btn.secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}


.buddybot-docs-actions .button-primary{
    background-color: #000;
    border: 1px solid #000;
    outline: none;
    box-shadow: none;
}
.buddybot-docs-actions .button-primary:hover{
    background-color: #fff;
    color: #000;

}

.buddybot-docs-actions .button-primary:focus{
    background-color: #000;
    color: #fff;
    border-color: #000;
}
.buddybot-docs-actions .button-primary:active{
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.buddybot-docs-actions .button-secondary{
    color: #000;
    border-color: #000;
    background: #fff;
    vertical-align: top;
}

.buddybot-docs-actions .button-secondary:hover{
    background: #000;
    color: #fff;
    border-color: #000;
}