/* styles.css */

/* Chatbot container styles */
#chatbot-container {
    position: fixed;
    bottom: 70px; /* Spacing from bottom */
    right: 80px; /* Spacing from right */
    width: 400px;
    height: 6600px;
    border: 5px solid #666; /* Darker grey border */
    background-color: #f4f4f4; /* Light grey background */
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000; /* Ensures it stays on top */
    display: none; /* Hidden by default */
}

/* Chatbox area styles */
#chatbox {
    flex-grow: 1;
    overflow-y: auto;
    padding: 15px;
    background-color: #fff; /* White background for chatbox */
    border-bottom: 1px solid #ddd; /* Light grey border */
}

/* Input area styles */
#input-container {
    display: flex;
    align-items: center;
    border-top: 1px solid #ddd; /* Light grey border */
    background-color: #f4f4f4; /* Light grey background */
}

#input {
    flex-grow: 1;
    padding: 10px;
    border: 10px solid #ccc; /* Grey border */
    background-color: #e0e0e0; /* Slightly darker grey background */
    color: #333; /* Dark grey text */
}

#send-btn {
    width: 60px;
    border: none;
    background-color: #888; /* Medium grey background */
    color: #fff;
    cursor: pointer;
    padding: 10px;
    border-radius: 5px; /* Rounded corners */
}

/* Toggle button styles */
#chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border: none;
    background-color: #666; /* Dark grey background */
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Hidden class for toggling visibility */
.hidden {
    display: none;
}
/* Media Queries for Small Devices */
@media (max-width: 768px) {
    header {
        padding: 15px 0; /* Adjust header padding */
    }

    main {
        width: 95%; /* Increase width for smaller screens */
        margin: 10px; /* Reduce margin */
    }

    nav ul li {
        margin: 0 10px; /* Reduce margin for navigation */
    }

    h1 {
        font-size: 24px; /* Adjust heading size */
    }

    button {
        padding: 8px 16px; /* Adjust button padding */
    }
}

/* Media Queries for Extra Small Devices */
@media (max-width: 480px) {
    header {
        padding: 10px 0; /* Further reduce header padding */
    }

    main {
        width: 100%; /* Full width on extra small screens */
        margin: 5px; /* Reduce margin */
    }

    h1 {
        font-size: 20px; /* Further adjust heading size */
    }

    button {
        font-size: 14px; /* Adjust button font size */
    }
}
