/* General body styling */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
}

/* Navigation bar styling */
.nav-bar {
    background-color: #333;
    overflow: hidden;
    display: flex;
    justify-content: center; /* Center the navigation links */
}

.nav-bar a {
    float: left;
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
    transition: 0.3s;
}

.nav-bar a:hover {
    background-color: #ddd;
    color: black;
}

/* Existing styles for form-container, input-group, input, and button */
.form-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.input-group {
    margin-bottom: 20px;
    padding-right: 20px;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #007bff;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

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

button:disabled {
    background-color: #aaa; /* A lighter or grey color indicating it's disabled */
    color: #666; /* Dimmed text color */
    cursor: not-allowed; /* Show a not-allowed cursor on hover */
}

/* Add additional styling below if needed */

/* Responsive navigation bar */
@media screen and (max-width: 768px) {
    .nav-bar a {
        float: none;
        display: block;
        text-align: left;
        padding: 10px;
    }
    .nav-bar {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Modern table header styling */
.table-header {
    text-align: center;
    margin: 20px 0; /* Maintain spacing around the header */
    font-size: 24px; /* Large, readable header text */
    font-weight: bold; /* Make the header text bold */
    color: #333; /* Dark gray for sophisticated look */
}

/* Modernized table styles */
.observers-table {
    margin: 20px auto; /* Center the table with more vertical spacing */
    max-width: 80%; /* Maximum width of the table */
    width: auto; /* Auto-adjust width based on the content */
    border-collapse: separate; /* Adjust for subtle borders */
    border-spacing: 2 4px; /* Space between rows without affecting column spacing */
    background-color: #696969; /* Light gray background for the whole table for a modern look */
    color: #333; /* Dark gray text for better readability */
    box-shadow: 0 4px 8px rgba(0,0,0,0.5); /* Soft shadow around the table for depth */
}

.observers-table th, .observers-table td {
    border: 1px solid #ddd; /* Lighter borders for a subtler look */
    text-align: left;
    padding: 12px 15px; /* More padding for a spacious look */
    background-color: #ffffff; /* White background for cells to stand out */
    font-weight: 400; /* Normal font weight for cell text */
}

.observers-table th {
    background-color: #f0f0f0; /* Slightly darker shade for header row */
    font-weight: 600; /* Slightly bolder font for headers for distinction */
}

.observers-table tr:hover {
    background-color: #f5f5f5; /* Slight highlight effect on row hover for interactivity */
}

.observers-table tr:nth-child(even) {
    background-color: #fafafa; /* Alternate rows with a very light gray for readability */
}

#breakStatus {
    margin: 20px 0; /* Add space above and below */
    font-weight: bold; /* Make the text bold */
}

#startBreakButton, #endBreakButton {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px; /* Add space above the buttons */
}

#startBreakButton {
    background-color: #4CAF50; /* Green color for start button */
    color: white;
}

#endBreakButton {
    background-color: #F44336; /* Red color for end button */
    color: white;
}

#startBreakButton:hover {
    background-color: #388E3C; /* Darker green on hover */
}

#endBreakButton:hover {
    background-color: #D32F2F; /* Darker red on hover */
}

/* Responsive table adjustments */
@media (max-width: 600px) {
    .observers-table {
        width: 100%; /* Allow the table to expand to 100% on small screens */
        max-width: 100%; /* Ensure table does not exceed the screen size */
    }
}
