/* Reset some default browser styles */
body, h1, h2, p, ul, li, a, button, textarea {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

/* Header styles */
header {
    background-color: #007bff;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 20px 40px; /* Added padding for spacing */
}

/* Home link styles */
.home-link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

/* Main content styles */
.main {
    padding: 20px;
}

/* Container styles */
.container {
    width: 50%; /* Set the width to 50% of its containing element */
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    flex-grow: 1;
}


/* Form and button styles */
label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    display: block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

/* Output textarea styles */
.chart-output textarea[readonly] {
    background-color: #f0f0f0;
    cursor: not-allowed;
}

/* Footer styles */
footer {
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 10px 0;
}


/* Sample text field and buttons */
.sample-text-container {
    width: 25%; /* Set the width to 50% of its containing element */
    float: left;
}

.sample-text-container label {
    font-weight: bold;
    margin-left: 10px;
    margin-top: 20px;
}

.sample-text-buttons {
    margin-top: 10px;
}

.sample-text-buttons button {
    margin-right: 10px;
    margin-left: 10px;
}

#sampleTextField {
    width: 100%; /* Set the width to 100% to make it responsive */
    max-width: 300px; /* You can adjust the max-width as needed */
    margin-left: 10px;
}

textarea {
    resize: none;
}

/* Floating content container styles */
.floating-content {
    float: right; /* Float the container to the right side */
    width: 25%; /* Adjust the width as needed */
    max-width: 300px;
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px; /* Add margin from the top to separate from other content */
}

.floating-content h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.floating-content ul {
    list-style: none;
    padding: 0;
}

.floating-content ul li {
    margin-bottom: 10px;
}

.floating-content a {
    text-decoration: none;
    color: #007bff;
}

.floating-content a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Chat prompt section styles */
.chat-prompt {
    margin-top: 20px; /* Add margin from the top to separate from other content */
}

.chat-prompt h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.chat-prompt button {
    display: block;
    margin-bottom: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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