.add-new-button {
    padding: 10px;
    background: aliceblue;
}

.modal-custom-title {
    font-family: auto;
    font-size: 20px;
    font-weight: bold;
}

.modal-custom-body {
    font-family: Serif;
}

.padding-0 {
    padding: 0;
}

.dynamic-color-text {
    color: rgba(var(--dark-text), 1);
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    background: linear-gradient(45deg, #4caf50, #81c784);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
    animation: slideIn 0.4s ease-out, fadeOut 0.5s linear 2.5s;
}

/* Toast Content Wrapper */
.toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Success Toast */
.success-toast {
    color: white;
}

/* Icon Style */
.toast-icon img {
    width: 40px;
    height: 40px;
}

.width-100 {
    width: 100%;
}

.password-toggle-icon {
    position: absolute;
    z-index: 1000; /* Ensure it’s on top */
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
}

.search-input {
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 16px;
    outline: none;
    width: 100%;
    background-color: #f8f8f8;
    transition: all 0.2s ease-in-out;
}

.profile-image * {
    pointer-events: auto !important;
    z-index: 10 !important;
}

.margin-0 {
    margin: 0 !important;
}

.search-input::placeholder {
    color: #999;
}

.search-input:focus {
    border-color: #7366ff;
    background-color: #fff;
    box-shadow: 0 0 0 2px rgba(115, 102, 255, 0.1);
}

.search-input,
.filter-select,
.reset-button {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

.search-input::placeholder {
    color: #aaa;
}

.reset-button {
    color: #555;
    border-color: #ccc;
    margin: 0;
}

.margin-top-5 {
    margin-top: 5px;
}


/* Message Style */
.toast-message {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Effect Behind Toast */
.toast-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    z-index: -1;
    opacity: 0.5;
    animation: pulse 2s infinite;
    pointer-events: none;
}

/* Slide-in Animation */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Fade-out Animation */
@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

/* Pulse Effect */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}
/* Fullscreen overlay background */
.bottom-sheet-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    display: none;
    justify-content: center;
    align-items: flex-end;
    transition: opacity 0.3s ease;
}

.bottom-sheet-overlay.open {
    display: flex;
    opacity: 1;
}

/* Bottom sheet content */
.bottom-sheet {
    background-color: rgba(var(--white), 1);
    width: 100%;
    min-height: 90%;
    max-height: 96%;
    border-radius: 1rem 1rem 0 0;
    padding: 1rem;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    transform: translateY(100%);
    animation: slide-up 0.3s ease forwards;
}

.bottom-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    /*max-height: 90vh; !* Ensures the bottom sheet doesn't overflow *!*/
    /*background: #fff;*/
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Prevents horizontal overflow */
    z-index: 1050;
    animation: slide-up 0.3s ease forwards;
    display: flex;
    flex-direction: column; /* Allows for a scrollable child */
    max-height: 80%; /* Optional: Prevent it from growing too large */
}

.bottom-sheet .scrollable-content {
    flex: 1; /* Ensures it takes the available space */
    overflow-y: auto; /* Enables vertical scrolling */
    padding: 1rem;
}

/* Header of the sheet */
.sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Form styles */
.form-group {
    margin-bottom: 1rem;
}

body.modal-open {
    overflow: hidden;
}

.margin-bottom-10 {
    margin-bottom: 10px;
}

.p-10 {
    padding: 10px;
}

/*button,*/
/*input,*/
/*select {*/
/*    touch-action: manipulation;*/
/*    min-height: 48px;*/
/*    padding: 0.75rem;*/
/*    font-size: 1rem;*/
/*}*/

html, body {
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.bottom-sheet-overlay {
    pointer-events: auto; /* Allow interaction with the modal */
}

/*.bottom-sheet .scrollable-content {*/
/*    -webkit-overflow-scrolling: touch;*/
/*}*/

/*.bottom-sheet {*/
/*    overflow-y: scroll;*/
/*    -webkit-overflow-scrolling: touch;*/
/*    overscroll-behavior: contain; !* Prevents pull-to-refresh issues *!*/
/*}*/

/*body.modal-open {*/
/*    overflow: hidden;*/
/*    position: fixed;*/
/*    width: 100%;*/
/*}*/



@keyframes slide-up {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.empty_state{
    position: relative;
    top: -35px;
    left: 13%;
    width: 75%;
    height: 75%;
    display: flex;
    flex-direction: column;
    i{
        margin: auto;
        margin-bottom: 0px;
        font-size: 90px;
        color: #ccc;
    }
    h3{
        margin: 8px 0px;
        text-align: center;
        font-weight: normal;
        color: #999;

    }
    p{
        font-size: 14px;
        margin: 0px;
        color: #999;
        text-align: center;
    }
    button{
        outline: none;
        border:  none;
        border-radius: 3px;
        padding: 8px 8px;
        margin: 20px auto auto auto;
        width: 50%;
        max-width: 200px;
        background: #348AC7;
        color: white;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        font-size: 12px;

    }
}

.bill-icon img {
    max-width: 40px; /* Default icon size */
    height: auto;
    transition: transform 0.2s ease-in-out;
}

/* Reduce icon size when the text is too long */
.bill-details.long-text ~ .bill-icon img {
    max-width: 30px; /* Smaller icon */
    transform: scale(0.9);
}

.bill-details h4, h5 {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(13px, 1.8vw, 15px); /* Shrinks only if needed */
    transition: font-size 0.2s ease-in-out;
}

/* Shrink font size if the text is too long */
.bill-details.long-text h4, h5 {
    font-size: 13px; /* Smallest size */
}

.empty-transaction-icon {
    width: 30%;
    position: relative;
    left: 35%;
}
.fixed-month-selector {
    position: fixed;
    width: 90%;
    bottom: 6em;
    left: 50%;
    transform: translateX(-50%);
    background-color: #32809bf0; /* Blue outer background */
    padding: 6px 8px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* <-- important */
    z-index: 999;
}

.fixed-month-selector .nav-button {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* takes equal width */
}

.fixed-month-selector .month-wrapper {
    background-color: #00000078; /* Black month background */
    color: #ffffff;
    padding: 2px 10px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 2; /* takes double width compared to nav buttons */
    margin: 0 10px;
}

.img-fluid-custom {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 40%;
    height: auto;
}

.button-icon {
    width: 16px;
    height: 20px;
    margin-right: 1em;
}


.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    border-radius: 12px;
    color: #fff;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    z-index: 1000;
    animation: slideIn 0.4s ease-out, fadeOut 0.5s linear 2.5s;
}

/* ✅ Success (green) */
.toast-success {
    background: linear-gradient(135deg, #43a047, #66bb6a);
}

/* 🚫 Danger / Error (red) */
.toast-danger {
    background: linear-gradient(135deg, #e53935, #ff6f60);
}

/* ⚠️ Warning (amber) */
.toast-warning {
    background: linear-gradient(135deg, #f57c00, #ffb74d);
}

/* ℹ️ Info (blue) */
.toast-info {
    background: linear-gradient(135deg, #1e88e5, #64b5f6);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}
.margin-3 {
    margin: 0.3rem !important;
}

