.budget-nav {
    padding: 1rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.budget-nav ul {
    list-style-type: none; 
    margin: 0;
    padding: 0;
    display: flex;
}

.budget-nav ul li {
    margin-right: 20px;
}

.budget-nav a {
    background-color: #cacaca;
    color: rgb(82, 82, 82);
    text-decoration: none;
    padding: 8px 16px;
    transition: background-color 0.3s;
    border-radius: 4px;
}

.budget-nav a:hover {
    background-color: #e6e6e6;
}

.budget-container{
    display: flex;
    padding: 20px;
    gap: 20px;
}

.category-container {
    background-color: #ffffff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 40%;
}

.content-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    border-radius: 10px 10px 0 0;
    border: 1px solid lightgray;
}

.content-container:first-child {
    border-radius: 10px 10px 0 0; /* Rounded corners at the top */
}

.content-container:not(:first-child):not(:last-child) {
    border-radius: 0; /* No border radius for middle items */
}

.content-container:last-child {
    border-radius: 0 0 10px 10px; /* Rounded corners at the bottom */
}

.add-budget {
    color: rgb(0, 201, 201);
    font-weight: bold;
}

.add-icon{
    cursor: hover;
    transition: 0.5s ease;
    font-size: 2em; 
    color: rgb(0, 201, 201);
    text-align: center;
}

.category-budget {
    font-weight: bold;
}

.category-icon{
    cursor: hover;
    transition: 0.5s ease;
    font-size: 2em; 
    color: rgb(0, 0, 0);
    text-align: center;
}

.header-budgets{
    display: flex;
    justify-content: space-between;
}

.budgetCategoryName{
    display: flex;
    gap: 10px;
}

.edit-icon{
    padding-top: 10px;
}


.amount-field{
    display: flex;
    align-items: center;
    gap: 10px;
}

.action-pay-button{
    display: flex;
    gap: 10px;
    width: 100%;
    height: 100%;
}

.payment-details{
    display:none; 
}

.payment-container {
    border: none;
    padding: 0;
    transition: border 0.1s ease;
}


.payment-header{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 20px;
    padding-top: 10px;
}

.payment-table{
    padding-left: 20px;
    padding-right: 20px;
}
.payment-table td{
    vertical-align: top;
}




.add-payment-btn{
    padding: 0px 5px 20px 10px;
}

.disabled {
    color: gray;
    cursor: not-allowed;
}

/* Circle icon */
.status-icon {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

.status-approved {
    background-color: green;
}

.status-pending {
    background-color: orange;
}

.left-td{
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    border-left: 1px solid #ccc; 
    border-right: none;
    padding-left: 20px !important;
}
.middle-td{
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    border-left: none; 
    border-right: none;
    padding-left: 30px !important;
    font-weight: bold;
}
.right-td{
    border-top: 1px solid #ccc; 
    border-bottom: 1px solid #ccc; 
    border-left: none; 
    border-right: 1px solid #ccc;
    padding-left: 30px !important;
    font-weight: bold;
}

.budget-summary-container{
    text-align: center; 
    margin-top: 20px;
}

.budget-summary{
    display: flex; 
    justify-content: center; 
    width: 100%;
}

.budget-summary-content{
    width: 100%;
    padding-right: 10px;
}

.budget-summary-content h2{
    text-align: center;
}

.summary-content{
    display: flex; 
    justify-content: space-evenly;
}

.summary-estimated-cost{
    text-align: center;
}
.summary-estimated-cost h3{
    color: #27AE60;
}

.summary-final-cost{
    text-align: center;
}
.summary-final-cost h3{
    color: red;
}

.expenses-chart{
    text-align: center; 
    margin: 0 auto;
}

.chart-container{
    display: flex; 
    justify-content: center; 
    align-items: center; 
    width: 100%;
    height: 400px;
    box-sizing: border-box;
}

/* Status labels */
.label {
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    color: #fff;
    text-transform: uppercase;
}

.label-success {
    background-color: #28a745; /* Green for PAID */
}

.label-warning {
    background-color: #ff9800; /* Orange for PENDING */
}

/* Table headers */
.budgetPays th {
    font-size: 14px;
    color: #666;
}

/* Actions column */
.actions {
    padding: 8px 10px;
}
.actions .bPayedit-icon {
    color: #007bff;
}
.actions .bPaydelete-icon {
    color: #ad0000;
}
.actions .bPaydelete-icon:hover {
    color: #470000;
}

/* Amount styling */
.budgetPays td .currency {
    font-weight: bold;
    color: #333;
}

.filters {
    margin-bottom: 15px;
    display: flex;
    align-items: center; /* Aligns items vertically center */
    justify-content: space-between;
}

.filter-status {
    display: flex;
    align-items: center; /* Aligns status links vertically center */
}

.filter-status span {
    margin-right: 10px;
    font-weight: 500; /* Slightly bolder for emphasis */
}

.filter-status a {
    margin-right: 15px;
    text-decoration: none;
    color: #666; /* Softer color for links */
    font-size: 14px; /* Adjust font size for minimalism */
    transition: color 0.3s; /* Smooth transition */
}

.filter-status a.active {
    font-weight: bold;
    color: #000; /* Darker color for active link */
}

.filter-sort {
    display: flex; /* Use flexbox for alignment */
    align-items: center; /* Align items vertically center */
    margin-left: auto; /* Pushes the sort form to the right */
}

.sort-label {
    margin-right: 8px; /* Space between the label and select */
    font-weight: 500; /* Bold label for emphasis */
}

.sort-select {
    padding: 5px; /* Add some padding */
    border: 1px solid #ccc; /* Subtle border for the select */
    border-radius: 4px; /* Rounded corners for a softer look */
    font-size: 14px; /* Consistent font size */
    min-width: 200px; /* Minimum width of the select dropdown */
}

/* Remove focus outline for a cleaner look */
.sort-select:focus {
    outline: none; /* No outline */
    border-color: #007bff; /* Change border color on focus */
}