#search-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #ED1C24;
    color: #fff;
    font-size: 20px;
    border-radius: 10px;
    cursor: pointer;
    z-index: 9009;
    text-align: center;
    width: 48px;
    height: 48px;
    padding-top: 12px;
}



#search-button:hover {
    background-color: #ED1C24;
}


.logo {
    width: 48px;
}

.sidebar-img {
    width: 100%;
    border-radius: 10px;
}

.sidebar-title {
    font-weight: bold;
    padding-bottom: 10px;
}

.result-search {
    border-radius: 20px;
    width: 450px !important;
    font-size: 15px;
}

.hide {
    display: none !important;
}

.result-container {
    margin-top: 40px;
}

h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 25px;
    font-weight: bold;
    /* color: #1a0dab; */
    color: #080808;
}

h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 25px;
    font-weight: 400;
    /* color: #1a0dab; */
    color: #080808;
}

h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    /* color: #1a0dab; */
    color: #080808;
}

h4 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 400;
    /* color: #1a0dab; */
    color: #080808;

}

p {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: #4d5156;
}

li {

    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: normal;
    color: #4d5156;

}

.loader-icon {
    display: block;
    margin: 0 auto;
    margin-top: 40px;
}

.w3-animate-opacity {
    animation: opac 0.8s
}

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

@keyframes opac {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.bg-main {
    background-color: #ffffff !important;
    border-bottom: 1px solid #f1f1f1;
}

/* .material-symbols-outlined{
    color:#ED1C24;
} */

.w3-animate-top{position:relative;animation:animatetop 0.4s}@keyframes animatetop{from{top:-300px;opacity:0} to{top:0;opacity:1}}
.w3-animate-left{position:relative;animation:animateleft 0.4s}@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
.w3-animate-right{position:relative;animation:animateright 0.4s}@keyframes animateright{from{right:-300px;opacity:0} to{right:0;opacity:1}}
.w3-animate-bottom{position:relative;animation:animatebottom 0.4s}@keyframes animatebottom{from{bottom:-300px;opacity:0} to{bottom:0;opacity:1}}
.w3-animate-zoom {animation:animatezoom 0.6s}@keyframes animatezoom{from{transform:scale(0)} to{transform:scale(1)}}


@media all and (max-width: 591px) {

    .result-search {
        border-radius: 20px;
        width: 100% !important;
        font-size: 15px;
    }

    .logo-center {
        display: block;
        margin: 0 auto;
    }

    h1 {
        font-size: 20px;
        font-weight: bold;
    }

    h2 {
        font-size: 20px;
        font-weight: bold;
    }

    h3 {
        font-size: 20px;
        font-weight: bold;
    }

    h4 {
        font-size: 15px;
        font-weight: bold;
    }

}

/* iMessage-like chat styling */
.chat-container {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
}

.user-message {
    background-color: #007bff;
    color: #fff;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    max-width: 70%;
    word-wrap: break-word;
    float: right;
}

.ai-message {
    background-color: #f4f4f4;
    border-radius: 10px;
    padding: 10px;
    margin: 10px 0;
    max-width: 70%;
    word-wrap: break-word;
    float: left;
}

/* Styling for PDF container */
#pdfContainer {
    border: 1px solid #ccc;
    border-radius: 10px;
    max-height: 400px;
    padding: 10px;
}

.pdf-wrapper {
    margin-top: 60px;
}

.active {
    font-weight: bold;
}

.audioSwitch {
    margin-left: 20px;
}

#chatContainer {
    min-height: 350px;
    max-height: 400px;
    overflow-y: scroll;
    padding: 10px;
}

.send-button {
    width: 100%;
}

/* width */
::-webkit-scrollbar {
    width: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #ccc;
    border-radius: 5px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #ddd;
}

.message-wrapper {
    width: 100%;
    float: left;
}

.subtext{
        font-size:20px;
    }

    .title{
        padding-top:100px;
        font-size:50px;
        font-family: 'Oswald', sans-serif;

    }

    .tool-container {
    padding-top: 80px;
    padding-bottom: 80px;
}



.tool-icon {
    font-size: 40px !important;
    color: #313131;
}
.tool-card {
    border: 1px dashed #ddd;
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 20px;
}

.tool-card h3 {
    font-weight: bold;
}
a {
    color: #313131;
}

a:hover {
    text-decoration: none;
    color: #ED1D24;
}

.accent-color{
    color:#ED1C24;
}

.btn-primary {
color: #fff;
background-color: #080808;
border-color: #080808;
}

.btn-primary:hover {
color: #fff;
background-color: #313131;
border-color: #313131;
}

.btn-primary:active {
color: #fff;
background-color: #313131 !important;
border-color: #313131 !important;
}
@media all and (max-width: 783px) {
    .pdf-wrapper {
        margin-top: 25px;
    }

    #chatContainer {
        min-height: 250px;
        max-height: 400px;
    }

    .subtext{
        font-size:15px;
    }
    .title{
        padding-top:0px;
        font-size:30px;
    }

    
.tool-container {
    padding-top: 40px;
    padding-bottom: 80px;
}
    
}
.btn-primary.focus, .btn-primary:focus {
box-shadow: 0 0 0 0.2rem rgb(237 28 36 / 32%);
}