h1 {
    color: #721c24;
}

pre {
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 5px;
    overflow-x: auto;
}
table {
    border-collapse: collapse;
    width: 100%;
}
table, th, td {
    border: 1px solid black;
}
th, td {
    padding: 8px;
    text-align: left;
}
label, input {
    display: block;
    margin: 10px 0;
}
input[type="text"] {
    padding: 8px;
    width: calc(100% - 16px);  /* Make input fields responsive */
    box-sizing: border-box;
}
button, .button {
    padding: 10px 15px;
    background-color: #333;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
}
button:hover, .button:hover {
    background-color: #575757;
}

.success{
    background-color: #198754;
    color: #FFF;
}

.success:hover{
    background-color: #157347;
    color: #FFF;
}

.logo {
    text-decoration: none;
    color: #FFF;
}

#result {
    margin-top: 20px;
}
#scrapedData {
    display: none;  /* Hide scraped data section initially */
}

/* Messages container */
#messages {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.user-message {
    text-align: left;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #e1f5fe;
    border-radius: 8px;
}

.chatbot-message {
    text-align: left;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #ede7f6;
    border-radius: 8px;
}

/* Terminal Log Container */
#log-container {
    background-color: #1e1e1e; /* Dark background */
    color: #ffffff; /* White text */
    font-family: "Courier New", monospace;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #444;
    height: 300px;
    overflow-y: auto;
    white-space: pre-wrap;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

/* Remove white background from pre elements */
#log-container pre {
    margin: 0;
    padding: 2px 0;
    background: transparent !important; /* Ensure transparency */
    color: inherit; /* Inherit text color */
    border: none;
}

.alert {
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    font-weight: bold;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Target only the Model Evaluation table */
#model-eval-table {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 20px;
    overflow-x: auto; /* Enables horizontal scrolling on small screens */
}

/* Header & Cell Styling */
#model-eval-table th, 
#model-eval-table td {
    padding: 8px 12px; /* Adjust padding for compact design */
    text-align: center;
    border: 1px solid #ddd;
    font-size: 14px; /* Keep text readable */
    white-space: nowrap; /* Prevents line breaks in columns */
}

/* Header Row */
#model-eval-table th {
    background-color: #4c8baf;
    color: white;
}

/* Alternating Row Colors */
#model-eval-table tr:nth-child(even) {
    background-color: #f2f2f2;
}

#model-eval-table tr:hover {
    background-color: #eaeaea;
}

/* Make the Table Responsive */
.results-box {
    overflow-x: auto; /* Enables horizontal scrolling for smaller screens */
    margin-top: 20px;
    padding: 10px;
    border-radius: 6px;
    background-color: #f9f9f9;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    #model-eval-table th, 
    #model-eval-table td {
        padding: 5px;
        font-size: 12px;
    }
}

.workflow-table {
    height: 340px; 
    overflow-y: scroll;
}

.workflow-table table {
    border-collapse: collapse;
}

#sidebar {
    position: fixed;
    top: 0;
    left: -250px; /* Hidden by default */
    height: 100%;
    width: 250px;
    background-color: #000; /* Example background color */
    overflow-y: auto;
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    z-index: 1050; /* Ensure it's above other content */
    padding: 20px;
    color: #FFF;
}

#sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 5px 0px 5px 0px;
    font-size: 16px;
}

#sidebar a {
    text-decoration: none;
    color: #FFF;
    font-size: 18px;
}

#sidebar a:hover {
    text-decoration: underline;
}

#sidebar.active {
    transform: translateX(250px); /* Slide in */
}

#sidebar .closebtn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}

#menu {
    transition: margin-left 0.3s ease-in-out; /* Match sidebar transition */
}

#menu.active {
    margin-left: 250px; /* Adjust for sidebar width */
}

/* Styles for the hamburger icon */
.hamburger {
    cursor: pointer;
    font-size: 24px; /* Adjust size as needed */
    padding: 10px 10px 10px 0px;
}

