#prefsettings {
    padding: 10px;
}

#prefsettingspages {
    padding: 10px;
}

#chatbot-icon {
    display: none;
    cursor: pointer;
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

#chatbot-icon:hover {
    filter: brightness(1.1);
}

.chatbot-hidden {
    display: none !important;
}

#chatbot-bubble {
    position: fixed;
    bottom: 90px; /* 30px + 50px + 10px for gap above icon */
    right: 20px; /* Aligns with the icon’s right position */
    min-width: 130px; /* Set a comfortable width for the message */
    padding: 8px 12px;
    background-color:white;
    color: #000;
    border-radius: 5px;
    font-size: 14px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    text-align: center;
}

/* Class to make bubble visible */
#chatbot-bubble.visible {
    opacity: 1;
    visibility: visible;
}

#chatbot-container {
    width: 100%;
    height: 70vh;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
}

#chatbot-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 10px;
}

.user-message,
.bot-message {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
}

.user-message {
    text-align: right;
}

.bot-message {}

#chatbot-input {
    margin-top: 10px;
}

.bot-message p {
    margin-bottom: 10px;
}

.bot-message ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 10px;
}

.bot-message li {
    font-size: 14px;
    margin-bottom: 5px;
}



#chatbot-send {
    width: 100%;
    margin-top: 10px;
}

.chatbotsettings {
    width: 100px;
}

#chatbot-base-color,
#chatbot-title-text-color,
#chatbot-text-color,
#chatbot-border-color,
#chatbot-button-color,
#chatbot-customer-dialog,
#chatbot-dialog,
#chatbot-button-text-color {
    width: 55px;
    height: 45px;
    border: none;
    margin-bottom: 10px;
}

.propspacer {
    margin-left: 20px;
    border: 1px solid whitesmoke;
}

.propspacer2 {
    width: 30%;
    margin-left: 20px;
    border: 1px solid whitesmoke;
    padding-bottom: 10px;
}

.propspacer3 {
    width: 46%;
    margin-left: 20px;
    border: 1px solid whitesmoke;
    padding-top: 20px;
    padding-bottom: 30px;
}

.propspacer4 {
    width: 94%;
    margin-left: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.propspacer5 {
    margin-left: 20px;
    border: 1px solid whitesmoke;
    padding-bottom: 10px;
    height: 100px;
}

.propspacer6 {
    margin-left: 10px;
    border: 1px solid whitesmoke;
    padding-bottom: 10px;
    height: 100px;
}

.objectspacing {
    margin-left: 24px;
}

#chatbot-base-color:hover,
#chatbot-title-text-color:hover,
#chatbot-text-color:hover,
#chatbot-border-color:hover,
#chatbot-button-color:hover,
#chatbot-customer-dialog:hover,
#chatbot-dialog:hover,
#chatbot-button-text-color:hover {
    border: 1px solid red;
}

.preview {
    text-align: center;
}

.row {
    margin-left: 0px;
    margin-right: 0px;
    padding-left: 0px;
    padding-right: 0px;
}

/* .col-md-6, .mb-3
{
    margin-left: 10px;
    margin-right: 0px;
} */

h1 {
    padding-left: 10px;
}

#chatbot-messages {
    background-color: white;
    border-radius: 10px;
}

#chatbot-input2 {
    margin-top: -5px;
}

#poweredby {
    width: 100%;
    text-align: center;
}

svg {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.bot-message p {
    margin-bottom: 10px;
}

.inactive {
    position: relative;
    opacity: 0.7;
    /* Semi-transparent effect */
    filter: blur(2px);
    /* Optional: subtle blur */
    transition: opacity 0.2s ease, filter 0.2s ease;
    /* Smooth transition */
}



#content-section {
    width: 73%;
    margin: 0;
    position: relative;
    min-height: 100%;
    padding-bottom: 40px;
}

#prefsettingspages,
#prefsettings {
    width: 100%;
    max-width: 100%;
}

.card {
    border-radius: 20px;
    border: 2px solid #cccccc;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}

.card-body {
    padding: 15px;
    /* Reduced from default 20px */
}

/* Tighter grid layouts */
.search-returns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.5rem;
    /* Reduced from 1rem */
    margin-bottom: 0.5rem;
    /* Tighter bottom margin */
}

.color-pickers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.5rem;
    /* Tighter spacing */
    margin-bottom: 1rem;
    /* Reduced spacing */
}

.sliders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.5rem;
    /* Reduced from 1rem */
    margin-bottom: 1rem;
    /* Reduced spacing */
}

/* Tighter form controls */
.form-group {
    margin-bottom: 0.5rem;
    /* Reduced spacing */
}

/* More compact color pickers */
input[type="color"] {
    width: 45px;
    /* Slightly smaller */
    height: 35px;
    padding: 0;
    border: none;
}

/* Adjust spacing between major sections */
.mb-4 {
    margin-bottom: 1rem !important;
    /* Override Bootstrap's default */
}

/* Tighter theme section */
.theme-section {
    padding: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}

#wpfooter {
    position: relative !important;
    clear: both;
    margin-top: 20px;
}