/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

.logout-button {
            margin-top: 30px;
            padding: 10px 20px;
            background-color: #E74C3C;
            color: #ffffff;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
}
.home-button {
            margin-top: 30px;
            padding: 10px 20px;
            background-color: #0F733B;
            color: #ffffff;
            border: none;
            border-radius: 5px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            display: inline-block;
}

/* Form Container */
.form-container {
    width: 95%; /* Increased width for wider layout */
    max-width: 1200px; /* Adjust to fit larger forms while maintaining readability */
    margin: 40px auto;
    background: white;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

/* Heading Styles */
h2 {
    color: #0F733B;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: left;
}

/* Input, Select, and Textarea Styles */
input, select, textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 14px;
}

/* Buttons */
button {
    padding: 10px 15px;
    background-color: #0F733B;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

button:hover {
    background-color: #06421E;
}

button.prev-btn {
    background-color: #999;
}

button.prev-btn:hover {
    background-color: #666;
}



/* Categories */
.category {
    display: none;
}

.category.active {
    display: block;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    overflow-x: auto;
    cursor: pointer;
}

.step {
    flex: 1;
    padding: 10px;
    background-color: #f1f1f1;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    color: #999;
    transition: background-color 0.3s, color 0.3s;
    margin-right: 5px;
}

.step.active {
    background-color: #0F733B;
    color: white;
    font-weight: bold;
}

.step:hover {
    background-color: #0c5b2d;
    color: #fff;
}

/* Table Styles */
.table-container {
    width: 100%;
    overflow-x: auto; /* Enable horizontal scrolling for smaller screens */
    margin-bottom: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px; /* Adjust font size for compactness */
}

table th, table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
    white-space: nowrap; /* Prevent text wrapping */
}

table th {
    background-color: #0F733B;
    color: white;
    font-weight: bold;
    font-size: 13px;
}

table td select, table td input {
    width: 100%; /* Inputs and selects fit their column width */
    padding: 5px; /* Compact input styling */
    font-size: 12px;
    box-sizing: border-box;
}

table td button {
    padding: 5px;
    font-size: 12px;
    color: #fff;
    background-color: #FF5733; /* Delete button color */
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

table td button:hover {
    background-color: #C13B1A;
}

/* Add Row Button */
button#addRoiRow, button#addRow {
    margin-top: 10px;
    padding: 8px 12px;
    font-size: 13px;
    background-color: #0F733B;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button#addRoiRow:hover, button#addRow:hover {
    background-color: #06421E;
}

/* Responsive Design */
@media (max-width: 768px) {
    .form-container {
        padding: 15px;
    }

    h2 {
        font-size: 18px;
    }

    table th, table td {
        font-size: 11px;
        padding: 6px;
    }

    button {
        font-size: 13px;
        padding: 8px 10px;
    }
}

.visit-dates-container h3 {
    color: #0F733B;
    margin-bottom: 10px;
}

.visit-dates-container table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.visit-dates-container table th,
.visit-dates-container table td {
    border: 1px solid #ddd;
    text-align: center;
    padding: 8px;
    font-size: 13px;
}

.visit-dates-container table th {
    background-color: #0F733B;
    color: white;
    font-weight: bold;
}

.visit-dates-container table td button {
    padding: 5px;
    font-size: 12px;
    color: #fff;
    background-color: #FF5733;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.visit-dates-container table td button:hover {
    background-color: #C13B1A;
}

.add-date-row {
    margin-top: 5px;
    padding: 8px 12px;
    font-size: 13px;
    background-color: #0F733B;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.add-date-row:hover {
    background-color: #06421E;
}

.upload-section {
    background-color: #f9f9f9;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.upload-section h3 {
    margin-bottom: 10px;
    color: #0F733B;
}

.upload-section input[type="file"] {
    margin-bottom: 10px;
    font-size: 14px;
    padding: 5px;
}

.upload-section button {
    background-color: #0F733B;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.upload-section button:hover {
    background-color: #0E5E31;
}

.download-section {
    background-color: #f1f1f1;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.download-section h3 {
    margin-bottom: 10px;
    color: #0F733B;
}

.download-section a button {
    background-color: #0F733B;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.download-section a button:hover {
    background-color: #0E5E31;
}
