/* Custom colors and sizing for the chatbot specifically (chat button and chat container)*/

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
}

/* For chat button */
.chat-button {
    color: black;
    background-color: #bb128fbf;
    position: fixed;
    bottom: 30px;
    right: 0;
    width: 30px;
    height: 120px;
    border-top: 2px solid black;
    border-bottom: 2px solid black;
    border-right: 2px solid black;
    border-left: none;
    border-radius: 0;
    cursor: pointer;
    writing-mode: vertical-lr;
    transform: rotate(180deg);
}

/* For message icon in chat button */
chat-button .fa-regular {
    color: black;
    margin-right: 5px;
}

/* For chat container */
.chat-container {
    background: white;
    position: fixed;
    bottom: 30px;
    right: 34px;
    width: 400px;
    padding: 20px;
    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.hidden {
    display: none;
}

/* For chat title in container */
.chat-title {
    font-weight: bold;
    color: #bb128f;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

/* For message icon in chat title */
chat-title .fa-regular {
    color: #bb128f;
    margin-right: 10px;
}

/* For chat box in container */
.chat-box {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    margin: 2px 0;
    display: flex;
    flex-direction: column;
}

/* For message bubbles in chat box */
.message-wrapper {
    display: flex;
}

.user-align {
    justify-content: flex-end;
}

.bot-align {
    justify-content: flex-start;
}

.bot {
    color: #333;
    background-color: #0000001f; /* Default background for bubbles */
    max-width: 70%;
    padding: 10px 15px;
    border-radius: 15px;
    border-bottom-left-radius: 0;
    margin-bottom: 10px;   
}

.user {
    color: black;
    background-color: #bb128f80;
    line-height: 1.4;
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    border-bottom-right-radius: 0;
    margin-bottom: 10px;
    display: inline-block;
}

/* For suggestion buttons */
.suggestions-container {
    gap: 8px;
    margin-bottom: 2px;
    display: flex;
    flex-wrap: wrap;
}
  
.suggestion-btn {
    font-size: 14px;
    background-color: #bb128f80;
    padding: 6px 12px;
    border: 1px solid black;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}
  
.suggestion-btn:hover {
    background-color: #bb128f;
}

/* For input (text input and send button) */
.input-row {
    width: 100%;
    gap: 6px;
    display: flex;
}

.user-input {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 0;
    flex: 1;
}

.send-button {
    color: white;
    background-color: #bb128f;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}

/*-----------------------------------------------------------------------------*/

/* Very minimal styling for the header (included to make the website a bit
more bearable to look at) */

h1 {
    font-family: "Raleway", Helvetica, sans-serif;
    font-size: 3.5rem;
    font-weight: 300;
    margin-top: 0;
    margin-bottom: .5rem;
}

header {
    color: black;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.motto {
    font-style: italic;
    font-size: 1.25rem;
}