/* /Layout/MainLayout.razor.rz.scp.css */
#app[b-dghjfw0h04] {
    display: block !important;
}

.layout[b-dghjfw0h04] {
    display: flex;
    min-height: 100vh;
}

.logo[b-dghjfw0h04]{
    color: white;
    font-size: 24px;
    margin-bottom: 32px;
}

.sidebar[b-dghjfw0h04] {
    width: 220px;
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.sidebar a[b-dghjfw0h04] {
    color: #ecf0f1;
    text-decoration: none;
    padding: 6px 0;
    font-size: 15px;
}

.sidebar a:hover[b-dghjfw0h04] {
    text-decoration: underline;
}

.content[b-dghjfw0h04] {
    flex: 1;
    padding: 20px;
}

.menu[b-dghjfw0h04] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.menu a[b-dghjfw0h04] {
    color: #d0d8e8;
    text-decoration: none;
    font-size: 18px;
    padding: 10px 0;
    transition: 0.2s;
}

.menu a:hover[b-dghjfw0h04] {
    color: white;
    transform: translateX(4px);
}

.footer[b-dghjfw0h04] {
    margin-top: auto;
}

.logout[b-dghjfw0h04] {
    width: 100%;
    padding: 12px;
    background: #E63946;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}

.logout:hover[b-dghjfw0h04] {
    background: #d62839;
}
/* /Pages/Budget.razor.rz.scp.css */
.budget-title[b-hyyq8gram7]{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f7f7f7;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 20px;
    gap: 1rem;
}

.budget-title input[type="month"][b-hyyq8gram7] {
    padding: .5rem .8rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
}

.budget-title input[type="month"]:hover[b-hyyq8gram7] {
    border-color: #004f8a;
}

.budget-title > h4[b-hyyq8gram7] {
    margin: 0;
    font-weight: 600;
    color: #004f8a;
}

.budget-details[b-hyyq8gram7] {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.budget-category[b-hyyq8gram7]{
    margin:20px;
    padding: 10px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 350px;
    display: flex;
    flex-direction: column;
    flex:1;
}

.budget-category:hover[b-hyyq8gram7]{
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.budget-category > h5[b-hyyq8gram7]{
    background-color: #004f8a;
    color: white;
    font-weight: 600;
    padding: .4rem .8rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.budget-subtotal[b-hyyq8gram7] {
    background: #dcfacb;
    padding: .8rem 1rem;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;    
}

.budget-addline[b-hyyq8gram7]{
    margin-top:auto;
}

.budget-total[b-hyyq8gram7] {
    background: #fde4e4;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
}

.positive[b-hyyq8gram7] {
    background: #dcfacb;
}

.negative[b-hyyq8gram7] {
    background: #fde4e4;
}

.budget-line[b-hyyq8gram7]{
    display: grid;
    grid-template-columns: 50% 40% 10%;
    gap: 10px;
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.budget-line p[b-hyyq8gram7] {
    padding: 8px;
    margin-bottom: 12px;
    flex: 1;
}

.budget-line:last-child[b-hyyq8gram7] {
    border-bottom: none;
}

.btn-add[b-hyyq8gram7] {
    background-color: #0078d4;
    color: white;
}

.action-btn[b-hyyq8gram7] {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;      /* centre verticalement via la ligne */
    text-align: center;     /* centre horizontalement */
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.action-btn span[b-hyyq8gram7] {
    font-size: 20px;
    line-height: 32px;      /* même hauteur que le bouton */
    display: inline-block;
}

.action-btn:hover[b-hyyq8gram7] {
    background: #0062ad;
}

.edit-input[b-hyyq8gram7] {
    border-radius: 6px;
    border: 1px solid #ccc; /* optionnel mais améliore le rendu */
    box-sizing: border-box;
}

.btn-delete[b-hyyq8gram7] {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #0078d4;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .2s ease;
    font-size: 20px;
    padding: 0;
    margin: 0;
}

.budget-line p:nth-child(1)[b-hyyq8gram7] {
    width: 100%;
}

/* /Pages/Dashboard.razor.rz.scp.css */
.dashboard-container[b-nybzwzab3o] {
    width: 100%;
    display: block;
}

.dashboard-grid[b-nybzwzab3o] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, auto));
    gap: 24px; /* espace aéré entre les cartes */
    padding: 20px 0; /* espace vertical respirant */

    justify-content: center; /* centre la grille */
    justify-items: center; /* centre chaque carte */
}

.card[b-nybzwzab3o] {
    width: 260px;
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    position: relative; /* <-- ajoute ceci */
    overflow: visible;
}

.card:hover[b-nybzwzab3o] {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.card-title[b-nybzwzab3o] {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.85;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-value[b-nybzwzab3o] {
    font-size: 1.6rem;
    font-weight: 600;
    margin-top:12px
}

.card-actions[b-nybzwzab3o] {
    position: static;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.card-actions-top[b-nybzwzab3o] {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
    margin-bottom: 12px; /* espace entre les boutons et le titre */
}

.btn-add[b-nybzwzab3o] {
    background-color: #0078d4;
    color: white;
}

.btn-add:hover[b-nybzwzab3o] {
    background-color: #0062ad;
}

.btn-view[b-nybzwzab3o] {
    background: transparent;
    color: #000;
}

.btn-view:hover[b-nybzwzab3o] {
    background-color: #0062ad;
}

.action-btn[b-nybzwzab3o] {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;      /* centre verticalement via la ligne */
    text-align: center;     /* centre horizontalement */
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .2s ease;
}

.action-btn span[b-nybzwzab3o] {
    font-size: 20px;
    line-height: 32px;      /* même hauteur que le bouton */
    display: inline-block;
}

.action-btn:hover[b-nybzwzab3o] {
    background: #0062ad;
}

.total-container[b-nybzwzab3o] {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.total-card[b-nybzwzab3o] {
    width: 300px;
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}
/* /Pages/UserAccountSettings.razor.rz.scp.css */
.userAccountSettings-container[b-q6gjdjnnih] {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.group[b-q6gjdjnnih] {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    width: 350px;
    background: #fff;
}

.group h4[b-q6gjdjnnih] {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 17px;
    font-weight: 600;
}

.data input[b-q6gjdjnnih],
.group input[b-q6gjdjnnih] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 12px;
    background: #fafafa;
    box-sizing: border-box;
}

.userSettingsActions[b-q6gjdjnnih] {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.action-btn[b-q6gjdjnnih] {
    background-color: #0062ad;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .2s ease;
}

.action-btn:hover[b-q6gjdjnnih] {
    background-color: #004f8a;
}

.setting-line[b-q6gjdjnnih] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
    flex: 1;
}

.setting-label[b-q6gjdjnnih] {
    font-size: 0.95rem;
    flex:1;
}

.setting-checkbox[b-q6gjdjnnih] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex: 1;
}

/* /Shared/ConfirmDialog.razor.rz.scp.css */
div.confirm-modal-header[b-z0rlqvahb9] {
    padding: 16px;
    border-bottom: 1px solid #ddd;
    background: #004f8a;
    color: #fafafa;
    position: relative;
}

div.confirm-modal-body[b-z0rlqvahb9] {
    padding: 20px;
}

div.confirm-modal-footer[b-z0rlqvahb9] {
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: center;
    align-items: center;
}

.confirm-backdrop[b-z0rlqvahb9] {
    isolation: isolate;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* au-dessus de tout */
}

.confirm-modal[b-z0rlqvahb9] {
    background: #fff;
    border-radius: 12px;
    width: 350px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.2);
    text-align: center;
    z-index: 10000; /* encore au-dessus */
}

.confirm-modal-header h3[b-z0rlqvahb9] {
    margin: 0;
}

.confirm-modal-footer[b-z0rlqvahb9] {
    display: flex;
    justify-content: space-between;
}

button.btn[b-z0rlqvahb9]{
    margin-right: 20px;
    margin-left: 20px;
}
/* /Shared/FixedBudgetItemsManagementModal.razor.rz.scp.css */
.fixedBudgetItem-table[b-9rvcj2l3lr] {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed; /* clé magique */
}

.fixedBudgetItem-table th[b-9rvcj2l3lr] {
    background: #f5f5f5;
    padding: 10px;
    border-bottom: 2px solid #ccc;
    position: sticky;
    top: 0;
    z-index: 2;
}

.fixedBudgetItem-table tfoot td[b-9rvcj2l3lr] {
    position: sticky;
    bottom: 0;
    background: #f0fff4;
    z-index: 2;
}

.fixedBudgetItem-table td[b-9rvcj2l3lr] {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.fixedBudgetItem-table th:nth-child(1)[b-9rvcj2l3lr],
.fixedBudgetItem-table td:nth-child(1)[b-9rvcj2l3lr]
{
    width: 10%;
}

.fixedBudgetItem-table th:nth-child(2)[b-9rvcj2l3lr],
.fixedBudgetItem-table td:nth-child(2)[b-9rvcj2l3lr]
{
    width: 30%;
}

.fixedBudgetItem-table th:nth-child(3)[b-9rvcj2l3lr],
.fixedBudgetItem-table td:nth-child(3)[b-9rvcj2l3lr]
{
    width: 10%;
}

.fixedBudgetItem-table th:nth-child(4)[b-9rvcj2l3lr],
.fixedBudgetItem-table td:nth-child(4)[b-9rvcj2l3lr]
{
    width: 20%;
}

.fixedBudgetItem-table th:nth-child(5)[b-9rvcj2l3lr],
.fixedBudgetItem-table td:nth-child(5)[b-9rvcj2l3lr]
{
    width: 20%;
}

.editing-row[b-9rvcj2l3lr] {
    background: #e8f3ff;
}

.add-row[b-9rvcj2l3lr] {
    background: #f0fff4;
}

.edit-input[b-9rvcj2l3lr] {
    width: 100%;
    padding: 6px;
    font-size: 14px;
}

.btn-delete[b-9rvcj2l3lr],
.btn-save[b-9rvcj2l3lr],
.btn-add[b-9rvcj2l3lr] {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #005A9E;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-delete:hover[b-9rvcj2l3lr] {
    background: #c62828;
}

.btn-save:hover[b-9rvcj2l3lr] {
    background: #2e7d32;
}

.btn-add:hover[b-9rvcj2l3lr] {
    background: #0277bd;
}

.fixedBudgetItem-table input[b-9rvcj2l3lr] {
    height: 32px;
    padding: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.fixedBudgetItem-table select[b-9rvcj2l3lr] {
    height: 32px;
    padding: 4px 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.fixedBudgetItem-table select[b-9rvcj2l3lr] {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.fixedBudgetItem-table td[b-9rvcj2l3lr] {
    vertical-align: middle;
}

.table-wrapper[b-9rvcj2l3lr] {
    max-height: 70vh; /* hauteur de la zone scrollable */
    overflow-y: auto;
}

/*table.fixedBudgetItem-table tfoot > tr.add-row{
    background: #f0fff4
}*/



/* /Shared/SnackbarHost.razor.rz.scp.css */
.snackbar-container[b-321klvqph3] {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.snackbar[b-321klvqph3] {
    padding: 12px 18px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    animation: fadein-b-321klvqph3 1s, fadeout-b-321klvqph3 2s ease-out forwards;
    animation-delay: 0s, 5s;
    background: #333;
    opacity: 0.95;
}

.snackbar-success[b-321klvqph3] { background: #4caf50; }
.snackbar-warning[b-321klvqph3] { background: #ff9800; }
.snackbar-error[b-321klvqph3]   { background: #f44336; }
.snackbar-info[b-321klvqph3]    { background: #2196f3; }

@keyframes fadein-b-321klvqph3 {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 0.95; transform: translateY(0); }
}

@keyframes fadeout-b-321klvqph3 {
    from { opacity: 0.95; }
    to   { opacity: 0; }
}
/* /Shared/ViewExpensesModal.razor.rz.scp.css */
.expense-table[b-wkvdqdfzm3] {
    width: 100%;
    border-collapse: collapse;
}

/* Largeur des colonnes */
.expense-table th:nth-child(1)[b-wkvdqdfzm3],
.expense-table td:nth-child(1)[b-wkvdqdfzm3] {
    width: 10%;
}

.expense-table th:nth-child(2)[b-wkvdqdfzm3],
.expense-table td:nth-child(2)[b-wkvdqdfzm3] {
    width: 70%;
}

.expense-table th:nth-child(3)[b-wkvdqdfzm3],
.expense-table td:nth-child(3)[b-wkvdqdfzm3] {
    width: 10%;
}

.expense-table th:nth-child(4)[b-wkvdqdfzm3],
.expense-table td:nth-child(4)[b-wkvdqdfzm3] {
    width: 10%;
}

/* Bordures verticales */
.expense-table th[b-wkvdqdfzm3],
.expense-table td[b-wkvdqdfzm3] {
    border-right: 1px solid #ddd;
    padding: 8px;
}

.expense-table th:last-child[b-wkvdqdfzm3],
.expense-table td:last-child[b-wkvdqdfzm3] {
    border-right: none;
}

/* Bordures horizontales */
.expense-table th[b-wkvdqdfzm3] {
    border-bottom: 2px solid #ccc;
    background: #f5f5f5;
}

.expense-table td[b-wkvdqdfzm3] {
    border-bottom: 1px solid #e5e5e5;
}

/*.my-modal.large {
    width: 850px;
    max-height: 80vh;
    overflow-y: auto;
}*/

.active-page[b-wkvdqdfzm3]{
    background: #005A9E;
}

.edit-input[b-wkvdqdfzm3] {
    width: 100%;
    padding: 4px;
    font-size: 14px;
}

.btn-delete[b-wkvdqdfzm3]{
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;      /* centre verticalement via la ligne */
    text-align: center;     /* centre horizontalement */
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color .2s ease;
}

