/* General Layout */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f0f0f0;
    color: #333;
}

.navbar, .footer {
    background-color: #488c34;
    color: white;
}

    .navbar .nav-link, .footer a {
        color: white;
    }

        .navbar .nav-link:hover {
            background-color: #3d7b2b;
        }

.container {
    margin-top: 20px;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
}

    table th {
        background-color: #488c34;
        color: white;
        padding: 12px;
        text-align: left;
    }

    table td {
        padding: 10px;
        border: 1px solid #ddd;
        background-color: #fff;
    }

    table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

/* Buttons */
.btn-primary {
    background-color: #488c34;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
}

    .btn-primary:hover {
        background-color: #3d7b2b;
    }

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
}

    .btn-secondary:hover {
        background-color: #ddd;
    }

/* Footer */
.footer {
    padding: 15px 0;
    text-align: center;
}

    .footer span {
        color: white;
    }


.table-condensed-custom td,
.table-condensed-custom th {
    padding: 4px 8px; /* Adjust the padding to reduce row height */
    vertical-align: middle; /* Ensures content is vertically centered */
}

.pagination .page-link {
    color: #fff;
    background-color: #488c34;
    border-color: #488c34;
}

    .pagination .page-link:hover {
        background-color: #38782c;
        border-color: #38782c;
    }

.pagination .page-item.active .page-link {
    background-color: #38782c;
    border-color: #38782c;
}

.pagination .page-item.disabled .page-link {
    color: #ccc;
    background-color: #f8f9fa;
    border-color: #dee2e6;
}


/* Styling the table */
.table {
    font-size: 16px; /* Set font size */
}

.table-bordered {
    border: 1px solid #488c34; /* Add border color */
}

/* Rounded corners for table */
.rounded-custom {
    border-radius: 12px;
    overflow: hidden;
}

.compact-table tbody tr td {
    padding: 1px 1px; /* Adjust this value to control height */
}

.compact-table thead tr th {
    padding: 8px 12px; /* Adjust this value to control height */
}

footer.main-footer {
    background-color: #343a40; /* Dark background */
    color: white;
}

footer a.text-white {
    text-decoration: none;
    color: white;
}

    footer a.text-white:hover {
        color: #d4d4d4; /* Lighter color on hover */
    }

footer .mx-2 {
    margin-left: 8px;
    margin-right: 8px;
}

.main-sidebar {
    background-color: #ffffff;
}

    .main-sidebar .nav-link {
        color: #488c34;
    }

.sidebar p {
    color: #488c34;
}

.main-sidebar .nav-link:hover {
    background-color: #3a7230; /* Slightly darker shade for hover */
}

.main-sidebar .nav-icon {
    color: #488c34;
}

    .main-sidebar .nav-icon:hover {
        color: #d4d4d4; /* Light color for hover effect on icons */
    }



.text-danger {
    color: #dc3545; /* Bootstrap's text-danger color */
}

.form-group label .text-danger {
    font-size: 0.875em; /* Adjust size as needed */
}

.required-asterisk {
    color: red; /* Red color for the asterisk */
    font-weight: bold; /* Optional: Make the asterisk bold */
    margin-left: 5px; /* Optional: Add some space between the label text and the asterisk */
}

.text-danger {
    color: #dc3545; /* Red color for error messages */
}

.custom-modal-width {
    max-width: 90%; /* Adjust the percentage as needed */
    width: 1000px; /* Fixed width if preferred */
}

.custom-btn {
    color: #488c34;
}