/* General body styling */
body {
    background-color: #f8f9fa;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

/* Custom layout for filter box and summary */
.filter-box {
    float: right;
    width: 50%;
}

.summary-box {
    float: left;
    width: 45%;
    margin-left: 2%;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.summary-box h3 {
    margin-top: 0;
}

.summary-box ul {
    list-style-type: none;
    padding: 0;
}

.summary-box ul li {
    margin: 5px 0;
}


/* Navbar styling */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 20px;
}

/* Left Navigation Panel */
.sidebar {
    height: 100vh;
    background-color: #2f3b52;
    color: #ffffff;
    padding: 30px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    overflow-y: auto;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.sidebar a {
    color: #ffffff;
    display: block;
    padding: 15px 25px;
    text-decoration: none;
    transition: background 0.3s;
}

.sidebar a:hover {
    background-color: #1a2539;
}

.custom-table {
    font-size: 12px;
    border: 1px solid #ddd;
    width: 100%;
    /* Add more custom styles as needed */
}

/* Style for the report table */
.table {
    font-size: 12px; /* Adjust this to the size you prefer */
    white-space: nowrap; /* Prevents wrapping of text */
}

.table.table-bordered.table-striped {
    font-size: 12px; /* Change to desired font size */
}

/* If you want specific columns to not wrap */
.table td {
    white-space: nowrap;
}

/* Adjust the padding if needed to fit more content */
.table td, .table th {
    padding: 8px 12px; /* You can adjust padding to fit your preference */
}

/* You can also adjust the font size for the table headers */
.table th {
    font-size: 12px; /* Make headers smaller as well */
}

/* Target only the 'Payment Date' column */
.table td:nth-child(8) {
    white-space: nowrap;
}


/* Main Content Section */
.main-content {
    margin-left: 250px;
    padding: 30px;
    background-color: #ffffff;
    min-height: 100vh;
}

/* Card styling */
.card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 8px;
    margin-bottom: 20px;
}

.card-header {
    border-bottom: none;
    padding: 1rem 1.25rem;
}

/* Form styling */
.form-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    margin-top: 50px;
}

.form-row .form-group {
    margin-bottom: 15px;
}

.error {
    color: red;
    font-size: 14px;
}

.success {
    color: green;
    font-size: 14px;
}

.btn-excel {
    background-color: #26693d !important; /* Excel green color */
    color: #fff !important; /* White text */
    border: none !important; /* Remove border */
    padding: 10px 20px !important; /* Padding similar to Bootstrap buttons */
    border-radius: 5px !important; /* Rounded corners */
    transition: background 0.3s ease-in-out !important; /* Smooth hover effect */
}

/* Hover state for the Excel button */
.btn-excel:hover {
    background-color: #1e5632 !important; /* Darker green for hover */
    color: #fff !important; /* Ensure text stays white */
}
.btn-custom, .btn-primary {
    background-color: #2f3b52;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn-custom:hover, .btn-primary:hover {
    background-color: #1a2539;
}

/* Table styling */
.table-bordered {
    border: 1px solid #ddd;
}

.table-bordered th, .table-bordered td {
    text-align: center;
    vertical-align: middle;
}
