body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    background-image: url(ailsa-craig.svg);
}

.chat-container {
    width: 100%;
/*    max-width: 600px;*/
    margin: 40px auto;
/*    background-color: #f0f0f0;*/
    background-image: url('denimbro.jpg');
    background-repeat: no-repeat;
    background-size: cover;

    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0,0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.chat-output {
flex-grow: 1;
margin: 20px;
overflow-y: auto;
max-height: 400px;
}

.chat-output p {
margin: 10px 0;
}

.user-message {
text-align: left;
font-weight: bold;
background-color: white;
padding: 10px;
}

.bot-message {
text-align: left;
font-weight: normal;
background-color: white;
padding: 10px;
white-space: normal; /* This should allow line breaks */
display: block; 
word-wrap: break-word; 
}

.chat-input-form {
display: inline-flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 10px;
/*background-color: #f0f0f0;*/
background: rgba(255, 255, 255, 0);
}

.chat-input {
flex-grow: 1;
border: none;
border-radius: 3px;
padding: 10px;
margin-bottom: 10px;
}

.chat-submit {
padding: 10px 20px;
background-color: #007bff;
color: #fff;
font-weight: bold;
border: none;
cursor: pointer;
border-radius: 3px;
}

.chat-submit:hover {
background-color: #0056b3;
}


#loading{
    position: fixed;  
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.8);  /* Semi-transparent white background */
    display: flex;     /* This is used to center the image both vertically and horizontally */
    align-items: center;
    justify-content: center;
/*    z-index: 1000;      This ensures the loading overlay is above other content */
}
/* BS Card border override  */
.card{
    border:0px!important;
    margin-bottom: 20px;
}

.LloydIMG{
    width: 100px;
    height: auto;
    position: absolute;
}

.LoydBlurb1{
    font-size: 1rem;
/*    max-width: 240px;*/
}

/*.LoydBlurb2{
    height: 80px;
    text-align:right;
    vertical-align: bottom;
    font-size: .8rem;
    max-width: 160px;
}*/
.footBar{
    background: rgba(255, 255, 255, 0.7);
    padding-bottom:20px;
    padding-top: 10px;
}

ol, ul {
    list-style-type: auto; /* or whatever you prefer */
    padding-left: 20px; /* Add some padding if the lists aren't properly indented */
}

li {
    margin-bottom: 10px; /* Add some spacing between list items */
}

/*Extra small devices (portrait phones, less than 576px)*/
@media (max-width: 419px) { 
    .LoydBlurb1{
    font-size: .8rem;
    }
 }
@media (max-width: 390px) { 
    .LoydBlurb1{
    font-size: .7rem;
    }
 }
/*Small devices (landscape phones, 576px and up)*/
@media (min-width: 576px) { 
    .LoydBlurb1{
    font-size: 1rem;
    }
 }

/*Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) {
    .LoydBlurb1{
    font-size: 1rem;
    }
}

/*Large devices (desktops, 992px and up)*/
@media (min-width: 992px) {
    .LoydBlurb1{
    font-size: 1.1rem;
    }
}

/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {  }