* {
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    background: #007BFF;
    color: white;
    padding: 20px;
    text-align: center;
}

nav {
    margin: 20px 0;
}

.nav-button {
    background: #0056b3;
    color: white;
    border: none;
    padding: 10px 15px;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
    border-radius: 5px;
}

.nav-button:hover {
    background: #004494;
}

.search-bar {
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 250px;
}

.content-section {
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 800px;
}

.form-group {
    margin-bottom: 15px;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
    color: #333;
}

input[type="text"],
input[type="date"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
input[type="date"]:focus,
textarea:focus {
    border-color: #007BFF;
    outline: none;
}

textarea {
    height: 100px;                  /* Adjust as needed */
}

.submit-button {
    width: 100%;
    padding: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

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

.submission-message {
    margin-top: 10px;
    font-weight: bold;
    color: #007BFF;
    text-align: center;
}

h2 {
    margin-bottom: 15px;
    color: #333;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 12px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.chat-area {
    border: 1px solid #ddd;
    padding: 10px;
    height: 250px;
    overflow-y: auto;
    background: #fff;
    border-radius: 5px;
}

.chat-input-container {
    display: flex;
    margin-top: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.chat-button {
    padding: 10px 15px;
    margin-left: 10px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

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

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 14px;
    background: #007BFF;
    color: white;
    text-align: center;
    
}
