.gap-top-equal {
    padding-top: 40px !important;
}

.gap-bottom-equal {
    padding-bottom: 30px !important;
}

.scaled-image {
    width: 100% !important;
    height: auto;
    object-fit: contain;
    border-radius: 8px 8px 0px 0px;
}

.scaled-image-hod {
    width: 170px !important;
    height: 170px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.scaled-image-hod-icons {
    width: 180px !important;
    height: 180px !important;
    border: 5px solid #fff;
    box-shadow: 0px 20px 70px 0px rgba(240, 244, 245, 0.5);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.scaled-image-blog {
    width: 750px;
    height: auto;
    object-fit: contain;
}


.scaled-image-blog-small {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.scaled-image-event-list {
    width: 370px;
    height: auto;
    object-fit: contain;

}

.content-container table {
    margin-top: 16px !important;
    border-collapse: collapse;
    width: 100% !important;
}

.content-container table td {
    padding: 8px;
}

.content-container table tbody td {
    border: 0px solid #dddfe1;
}

.content-container table tbody tr {
    background-color: #f9fafb;
}

.content-container table tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

.content-container ul li:before {
    /* content: "\e913"; */
    content: "\25C6" !important;
    font-family: 'icomoon';
    color: #172B75;
    margin-left: -1.4em;
    margin-right: 0.5em;
    padding: 0px;
    font-size: 1.9rem !important;

}

.content-container ul li {
    list-style-type: none;

}

.content-container a:hover,
a:focus,
a:active {
    text-decoration: none;
    outline: none;
    color: #172B75;

}

.content-container a:focus {
    outline: none;
}

.content-container img {
    margin-top: 1.2rem !important;
    border-radius: 6px !important;
    width: 49% !important;
    height: 340px !important;
    object-fit: cover !important;
    clear: left;
}

.content-container img {
    margin-right: 10px !important;
}

.content-container img:last-child {
    margin-right: 0;
    clear: none;
    /* Clear none for the last image */
}

.content-container h4,
.content-container h5,
.content-container p {
    display: inline !important;
    margin-right: 0 !important;

}


@media screen and (max-width: 768px) {
    .content-container {
        display: block;
    }

    .content-container img {
        width: 100% !important;
        height: 250px !important;
        object-fit: cover !important;
    }
}

@media screen and (min-width: 768px) {
    .content-container {
        display: table;
    }

    .content-container img {
        width: 49% !important;
        height: 340px !important;
        object-fit: cover !important;
    }
}

.features-area-5 .features-box .icons {
    width: 240px;
    height: 240px;
    margin: 0 auto -80px;
    border: 6px solid #fff;
    box-shadow: 0px 20px 70px 0px rgba(240, 244, 245, 0.5);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.features-box.color-primary-style img {
    border-radius: 50%;
}

.features-box {
    background-color: transparent;
}

.edu-breadcrumb-area {
    background-color: #f5f9fa;
    padding: 60px 0 40px !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.contact-us-area {
    padding: 60px 0 0 !important;
}

.edu-breadcrumb {
    margin-top: -12px !important;
}

.gap-top-equal {
    padding-top: 50px !important;
}

.gap-bottom-equal {
    padding-bottom: 50px !important;
}


.edu-team-grid .team-image {
    border-radius: 50% !important;
    position: relative;
    display: block;
}

.justify-content-style {
    text-align: justify;
    word-spacing: -0.1em;
    hyphens: auto;
    -webkit-hyphens: auto;
}

p:empty {
    display: none;
}

.why-choose-area-1 h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-bottom: 1rem !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
p {

    margin-bottom: 0.5rem !important;
}


.edu-about-area ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    width: calc(90% - 10px);
}

label span {
    font-size: 1.5rem;
    color: red;
}

.form-control {
    font-size: 15px;
}

.contact-form-style .form-group select {
    border: 1px solid var(--color-border);
    height: 44px;
}




/* Modal styles */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 10;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgb(0, 0, 0);
    /* Fallback color */
    background-color: rgba(0, 0, 0, 0.4);
    /* Black w/ opacity */
}

/* modal header */
.modal-header {
    padding: 5px 15px;
}

/* Modal content */
.modal-content {
    background-color: #fefefe;
    margin: 12% auto;
    /* 15% from the top and centered */
    padding: 0px;
    border: 1px solid #888;
    width: 50%;
    /* Desktop width */
    height: auto;
    /* Automatic height */
    max-height: 80% !important;
    /* Max height for desktop */
}

.modal .media-cover img {
    width: 100% !important;
    max-height: 90% !important;
}

/* Responsive design for mobile */
@media screen and (max-width: 600px) {
    .modal-content {
        margin: 25% auto !important;
        width: 96%;
        /* Mobile width */
        max-height: 75%;
        /* Max height for mobile */
    }
}

/* Close button */
.close {
    color: #aaa;
    float: right;
    font-size: 32px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Overlay styles */
.overlay {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Stay in place */
    z-index: 9;
    /* Behind the modal */
    left: 0;
    top: 0;
    width: 100%;
    /* Full width */
    height: 100%;
    /* Full height */
    background-color: rgba(0, 0, 0, 0.7) !important;
    /* Black w/ opacity */
}

.note-editable {
    font-family: Arial, sans-serif !important;
    font-size: 16px !important;
}


/* Styling for the welcome dean message and profile */
.dean-section table:nth-of-type(1) {
    border: 1px solid transparent !important;
    border-collapse: collapse !important;
    width: 100%;
}

/* Remove borders from individual table cells in the second table */
.dean-section table:nth-of-type(1) td,
.dean-section table:nth-of-type(1) th {
    border: 1px solid transparent !important;
    padding: 15px;
}

/* First Column Styling (Profile Card Look) for second table */
.dean-section table:nth-of-type(1) td:first-child {
    margin-top: 10px;
    background: transparent;
    /* Light gray background */
    border-radius: 2px;
    /* Rounded corners */
    box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.1);
    /* Soft shadow */
    padding: 0px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center content horizontally */
    text-align: center;

    width: 340px !important;
}

/* Dean's Image in the second table */
.dean-section table:nth-of-type(1) td:first-child img {
    width: 50% !important;
    object-fit: cover;
    border-radius: 50%;
    /* Circular image */
    margin-bottom: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add a slight shadow to the image */
}

/* Dean's Name and Title in the second table */
.dean-section table:nth-of-type(1) td:first-child h6 {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    text-align: center;
    color: #333;
    /* Darker text color for readability */
}

/* Force style on all links in the first column of each row */
.dean-section table:nth-of-type(1) tr td:first-child a:last-of-type {
    display: inline-block !important;
    background: #2241b4 !important;
    color: white !important;
    padding: 4px 8px !important;
    font-size: 14px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    margin-top: -10px !important;
    margin-bottom: -30px !important;
    cursor: pointer !important;
}

/* Hover effect */
.dean-section table:nth-of-type(1) tr td:first-child a:last-of-type:hover {
    background: #0ecd73 !important;
}


/* Second Column (Dean's Bio) in the second table */
.dean-section table:nth-of-type(1) td:last-child {
    width: 70%;
    text-align: justify;
    vertical-align: middle;
    padding-left: 15px;
    /* Give some space between the profile card and the text */
}

/* Hide Specified Columns */

.dean-section table:nth-of-type(1) td:nth-child(3),
.dean-section table:nth-of-type(1) td:nth-child(4),
.dean-section table:nth-of-type(1) td:nth-child(5),
.dean-section table:nth-of-type(1) td:nth-child(6),
.dean-section table:nth-of-type(1) th:nth-child(3),
.dean-section table:nth-of-type(1) th:nth-child(4),
.dean-section table:nth-of-type(1) th:nth-child(5),
.dean-section table:nth-of-type(1) th:nth-child(6) {
    display: none;
}

/* Make it responsive for smaller screens */
@media (max-width: 768px) {

    .dean-section table:nth-of-type(1) td:first-child {
        width: 100% !important;
    }

    /* Second Column (Dean's Bio) in the second table */
    .dean-section table:nth-of-type(1) td:last-child {
        width: 100%;
        text-align: justify;
        vertical-align: middle;
        padding-left: 15px;
        /* Give some space between the profile card and the text */
    }

    /* Make the second table responsive */
    .dean-section table:nth-of-type(1) {
        display: block;
    }

    .dean-section table:nth-of-type(1) tr {
        display: flex;
        flex-direction: column;
        align-items: left;
    }

    .dean-section table:nth-of-type(1) td {
        width: 100%;
        text-align: left;
        padding: 0px;
        margin-top: 15px;
        /* Center everything on small screens */
    }

    .dean-section table:nth-of-type(1) td:last-child {
        text-align: justify;
        padding: 15px;
    }
}



/* Style the table content inside the modal */
#modalTableContent {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 0px !important;
}

#modalTableContent table {
    width: 100%;
    border-collapse: collapse;
}

#modalTableContent table th,
#modalTableContent table td {
    padding: 16px !important;
    /* border: 1px solid #ccc; */
    border: 1px solid transparent !important;
}

#modalTableContent table th {
    background-color: #f4f4f4;
}

#modalTableContent table td {
    text-align: justify;
}

/* Optional: style the table rows as a list */
#modalTableContent table tr {
    display: flex;
    flex-direction: column;
    /* margin-bottom: 10px; */
}

#modalTableContent table tr td {
    padding-left: 0;
    padding-top: 10px;
}

#modalTableContent table tr td:nth-child(1) {
    font-weight: bold;
    padding-top: 0;
}

/* First Column Styling (Profile Card Look) for second table */
#modalTableContent table:nth-of-type(1) td:first-child {

    background: transparent;
    /* Light gray background */
    border-radius: 2px;
    /* Rounded corners */
    padding: 30px 0px 0px 0px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Center content vertically */
    align-items: center;
    /* Center content horizontally */
    text-align: center;
    max-height: 240px;
    margin-top: 70px;
}

/* Dean's Image in the second table */
#modalTableContent table:nth-of-type(1) td:first-child img {
    width: 30% !important;
    object-fit: cover;
    border-radius: 50%;
    /* Circular image */
    margin-bottom: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    /* Add a slight shadow to the image */
    margin: 0px !important;
}

/* Dean's Name and Title in the second table */
#modalTableContent table:nth-of-type(1) td:first-child h6 {
    font-size: 18px;
    font-weight: bold;
    margin: 5px 0;
    text-align: center;
    color: #333;
    /* Darker text color for readability */
}

/* Force style on all links in the first column of each row */
#modalTableContent table:nth-of-type(1) tr td:first-child a {
    display: none !important;
}

/* Modal background */
#profileModal {

    display: none;
    position: fixed;
    z-index: 9999;
    /* Ensure it's above all other content */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* Dark background */
    overflow: auto !important;

}

/* Modal content */
.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 10px;
    border-radius: 8px;
    max-width: 600px;
    min-height: 600px;
    /* Limit the width for better appearance */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    /* Soft shadow around the modal */
    position: relative;
    /* To position the close button */
}



/* Close button styling */
.close-btn {
    color: #aaa;
    font-size: 32px;
    font-weight: bold;
    position: absolute;
    top: 0px !important;
    right: 20px !important;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    /* Change color when hovered */
    text-decoration: none;
}

.labelC {
    display: block;
    /* Makes it behave like a block element (forces content below) */
    font-size: 18px;
    /* Adjust the font size to make it stand out */
    font-weight: bold;
    /* Makes the text bold like a heading */
    margin-bottom: 12px;
    /* Adds spacing below the label */
    color: #333;
    /* Dark color for better readability */
    border-bottom: .5px solid #aaa;
}



.note-video-clip {
    width: 100%;
    /* Make the video stretch to the full width of its container */
    height: auto;
    /* Maintain aspect ratio */
    max-width: 100%;
    border-radius: 8px;
    /* Rounded corners */
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.3);
    /* Space between the border and video */
    background-color: #ffffff;

}

/* Hover effect for interaction */
.note-video-clip:hover {
    transform: scale(1.02);
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}

.video-wrapper {
    position: relative;
    width: 100%;
    /* Stretches to fit parent div */
    max-width: 100%;
    display: block;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
    /* Makes video clickable */
}

/* Custom Play Button */
.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.custom-play-button:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}


.testimonial-area-8 .testimonial-slide .content {

    background: transparent !important;
}

.slider-custom img {
    width: 60% !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    border-radius: 50%;
    object-fit: cover;
}

.slider-custom .customLink {
    font-weight: 600;
    color: var(--color-primary);
    display: inline-block;
    position: relative;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    margin-top: 12px !important;
    text-decoration: none;
    padding: 4px 8px;
    font-size: 13px;
    border: 1px solid var(--color-primary);
    border-radius: 4px;
    background-color: transparent;
    text-align: center;
    cursor: pointer;
    display: inline-flex;
    align-items: center;

}

.slider-custom .customLink::after {
    content: "➜";
    margin-left: 6px;
    font-size: 12px;
    display: inline-block;
    transition: 0.3s;
}

.slider-custom .customLink:hover {
    color: #fff;
    background: linear-gradient(-90deg, #0ecd73 100%, #172B75 100%);
    border-color: transparent;
}



/* Advertisement Section */
.advertisement-section {
    padding-bottom: 50px !important;
}

/* Section Title */
.advertisement-section .section-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* Ad Box */
.advertisement-section .ad-box {

    border-top: 0.1px solid rgb(203, 204, 206);
    border-bottom: 0.1px solid rgb(203, 204, 206);
    padding: 30px 30px !important;
    border-radius: 16px;
    /* box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); */
    text-align: center;
}


/* Responsive design for mobile */
@media screen and (max-width: 600px) {
    .advertisement-section .ad-box {
        padding: 25px 50px !important;
    }

    .advertisement-section .ad-box h3 {
        font-size: 20px !important;
        margin-bottom: 8px;
    }

    .advertisement-section {
        margin-bottom: -100px !important;
    }


}

/* Ad Title */
.advertisement-section .ad-box h3 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* Ad Description */
.advertisement-section .ad-box p {
    margin-bottom: 15px;
}


/* Custom Carousel Controls */
.advertisement-section .custom-carousel-control {
    width: 4%;
    filter: invert(1);
}

.advertisement-section .carousel-control-prev,
.advertisement-section .carousel-control-next {
    opacity: 1;
    /* Ensure buttons are visible */
}


.slider-custom2 a {
    text-align: center;
    border-radius: 5px;
    display: inline-block;
    height: 60px;
    line-height: 62px;
    color: var(--edu-btn-color);
    background: var(--color-primary);
    padding: 0 30px;
    font-size: 15px;
    font-weight: 500;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    font-family: var(--font-secondary);
    border: 0 none;
    overflow: hidden;
    position: relative;
    z-index: 1;
    text-decoration: none;
    /* Optional: removes underline */
}

.slider-custom2 a::after {
    content: "\2192";
    /* Unicode arrow or you can use → */
    display: inline-block;
    margin-left: 8px;
    /* Spacing between arrow and text */
    font-size: 15px;
    /* Adjust the size if needed */
    transition: 0.4s;
}

/* Optional: Change arrow color on hover */
.slider-custom2 a:hover::after {
    transform: translateX(5px);
    /* Moves the arrow slightly for a hover effect */
}


.slider-custom2 a:hover {
    background: #0ecd73;
    /* Changes background color */
    color: var(--color-white);
    /* Changes text color */
}



/* CSS */
.icon2 {
    display: flex;
    flex-direction: column;
    /* Stack icon and text vertically */
    justify-content: center;
    /* Vertically center content */
    align-items: center;
    /* Horizontally center content */
    width: 42px;
    /* Adjust width as needed */
    height: 42px;
    /* Adjust height as needed */
    background-color: #f0f0f0;
    /* Example background color */
    border-radius: 50%;
    /* Makes the container circular */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for a "pop" or "show" animation */
.icon2:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Optional styling for the icon */
.icon2 i {
    font-size: 20px;
    margin-bottom: 4px;
}

/* Optional styling for the text */
.icon-wrapper span {
    font-size: 14px !important;
    margin-left: -16px;
}

.file-links {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.icon-wrapper {
    display: flex;
    align-items: center !important;
    gap: 5px;
}

.modal {
    z-index: 1050 !important;
}

.modal-backdrop {
    z-index: 1049 !important;
}

.rn-progress-parent {
    left: 20px !important;
}

/* chatbox button */
/* Chatbox toggle button */
#chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #172B75;
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 26px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    /* allow label outside circle */
    animation: popIn 0.6s ease-out, pulse 2s infinite 1s;
}

/* Label styling */
.chat-label {
    position: absolute;
    right: 66px;
    /* sits left of the button */
    background: #172B75;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    animation: slideIn 1s ease forwards 0.8s;
    /* shows after button pops */
}

/* Pop-in effect on load */
@keyframes popIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
    }
}

/* Gentle pulsing effect */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(23, 43, 117, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(23, 43, 117, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(23, 43, 117, 0);
    }
}

/* Slide-in label */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* Chatbox container */
#chat-box {
    font-family: inherit;
    /* Use website font */
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: #e5ddd5;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 999;

}

/* Header */
#chat-header {
    background: #172B75;
    color: white;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

/* Messages area */
#chat-messages {
    padding: 10px;
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #ece5dd;
}

/* Input area */
#chat-input-area {
    display: flex;
    border-top: 1px solid #ccc;
    background: white;
}

#chat-input {
    flex: 1;
    border: none;
    padding: 2px 10px;
    font-size: 14px;
    outline: none;
}

#chat-send {
    background: #ffcb04;
    color: white;
    border: none;
    padding: 12px 10px;
    cursor: pointer;
}

/* Message bubbles */
.user-msg,
.bot-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    position: relative;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Customer (User) message - LEFT */
.user-msg {
    align-self: flex-start;
    background-color: #dcf8c6;
    border-top-left-radius: 0;
}

/* Agent (Bot) message - RIGHT */
.bot-msg {
    align-self: flex-end;
    background-color: #ffffff;
    border-top-right-radius: 0;
}

/* Typing dots animation */
.typing-dots {
    display: flex;
    align-items: center;
    padding-left: 10px;
}

.typing-dots span {
    animation: blink 1s infinite;
    margin-right: 2px;
    font-weight: bold;
    font-size: 16px;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    100% {
        opacity: 0;
    }

    50% {
        opacity: 1;
    }
}


/* Message row container */
.message-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
}

/* Avatar + name container */
.avatar-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 50px;
}

/* Avatar icon */
.avatar-icon {
    font-size: 28px;
    background: #ccc;
    color: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Name below icon */
.avatar-name {
    font-size: 11px;
    text-align: center;
    margin-top: 2px;
    color: #333;
}

/* Message bubble */
.message-content {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.4;
    word-wrap: break-word;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* User message style */
.user .message-content {
    background-color: #dcf8c6;
    border-top-left-radius: 0;
}

/* Bot message style */
.bot .message-content {
    background-color: #ffffff;
    border-top-right-radius: 0;
}

.message-row.left {
    flex-direction: row !important;
    justify-content: flex-start !important;
}

.message-row.right {
    flex-direction: row-reverse !important;
    justify-content: flex-end !important;
}


.avatar-icon {
    font-size: 20px;
    /* Set the icon size */
    width: 30px;
    /* Optional: set width for uniform sizing */
    height: 30px;
    /* Optional: set height for uniform sizing */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ddd;
    /* Optional: circle background */
    border-radius: 50%;
    /* Makes it a circle */
    margin-bottom: 4px;
}

.avatar-name {
    font-size: 10px;
    text-align: center;
    color: #333;
}

#chat-box {
    font-family: inherit;
    /* Use website font */
    font-size: 13px;
    /* Global font size */
}

.message-content,
.message-content * {
    font-size: 13px !important;
    /* Force 12px on all nested elements */
    font-family: inherit !important;
    line-height: 1.5;
    color: #333;
}

.message-content ul,
.message-content ol {
    padding-left: 1.2em;
    margin: 0.5em 0;
}

.message-content li {
    margin-bottom: 0.3em;
}

.message-content p {
    margin: 0.5em 0;
}
