/* Margin utilities */
.m-0 {
    margin: 0 !important;
}

.mt-1 {
    margin-top: 4px !important;
}

.mt-2 {
    margin-top: 8px !important;
}

.mt-3 {
    margin-top: 12px !important;
}

.mt-4 {
    margin-top: 16px !important;
}

.mt-5 {
    margin-top: 20px !important;
}

.mb-2 {
    margin-bottom: 8px !important;
}

.mb-3 {
    margin-bottom: 12px !important;
}

.mb-4 {
    margin-bottom: 16px !important;
}

.mb-5 {
    margin-bottom: 20px !important;
}

/* Padding utilities */
.p-0 {
    padding: 0 !important;
}

.p-1 {
    padding: 4px !important;
}

.p-2 {
    padding: 8px !important;
}

.p-3 {
    padding: 12px !important;
}

.px-3 {
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.py-3 {
    padding-top: 12px !important;
    padding-bottom: 12px !important;
}



/* Text alignment utilities (Bootstrap 5 style) */

/* Center */
.text-center {
    text-align: center !important;
}

/* Left */
.text-start {
    text-align: left !important;
}

/* Right */
.text-end {
    text-align: right !important;
}

/* Responsive alignment */

/* Small (≥576px) */
@media (min-width: 576px) {
    .text-sm-center {
        text-align: center !important;
    }

    .text-sm-start {
        text-align: left !important;
    }

    .text-sm-end {
        text-align: right !important;
    }
}

/* Medium (≥768px) */
@media (min-width: 768px) {
    .text-md-center {
        text-align: center !important;
    }

    .text-md-start {
        text-align: left !important;
    }

    .text-md-end {
        text-align: right !important;
    }
}

/* Large (≥992px) */
@media (min-width: 992px) {
    .text-lg-center {
        text-align: center !important;
    }

    .text-lg-start {
        text-align: left !important;
    }

    .text-lg-end {
        text-align: right !important;
    }
}

/* X-Large (≥1200px) */
@media (min-width: 1200px) {
    .text-xl-center {
        text-align: center !important;
    }

    .text-xl-start {
        text-align: left !important;
    }

    .text-xl-end {
        text-align: right !important;
    }
}

.text-primary {
    color: var(--primary-start);
}

/* Display */
.d-flex {
    display: flex !important;
}

.d-inline-flex {
    display: inline-flex !important;
}

/* Direction */
.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

/* Justify Content */
.justify-content-start {
    justify-content: flex-start !important;
}

.justify-content-end {
    justify-content: flex-end !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.justify-content-around {
    justify-content: space-around !important;
}

.justify-content-evenly {
    justify-content: space-evenly !important;
}

/* Align Items */
.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-center {
    align-items: center !important;
}

.align-items-baseline {
    align-items: baseline !important;
}

.align-items-stretch {
    align-items: stretch !important;
}

/* Align Self */
.align-self-start {
    align-self: flex-start !important;
}

.align-self-end {
    align-self: flex-end !important;
}

.align-self-center {
    align-self: center !important;
}

.align-self-baseline {
    align-self: baseline !important;
}

.align-self-stretch {
    align-self: stretch !important;
}

/* Gap */
.gap-1 {
    gap: 0.25rem !important;
}

.gap-2 {
    gap: 0.5rem !important;
}

.gap-3 {
    gap: 1rem !important;
}

.gap-4 {
    gap: 1.5rem !important;
}

.gap-5 {
    gap: 3rem !important;
}

.w-100 {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
    /* same as Bootstrap 4 */
}

.muted,
.text-muted {
    color: var(--muted);
    font-size: 13px;
}

/* =========================================
   SpendUp – Text Color Utilities
   ========================================= */

/* Primary brand */
.text-primary {
    color: #ed1c24 !important;
}

/* Darker primary (headings / emphasis) */
.text-primary-dark {
    color: #c4161c !important;
}

/* Soft primary (badges / hints) */
.text-primary-soft {
    color: rgba(237, 28, 36, 0.75) !important;
}

/* Success (spent less / savings) */
.text-success {
    color: #2e7d32 !important;
    /* deep green */
}

/* Soft success */
.text-success-soft {
    color: rgba(46, 125, 50, 0.75) !important;
}

/* Danger (overspend / warning) */
.text-danger {
    color: #d32f2f !important;
}

/* Soft danger */
.text-danger-soft {
    color: rgba(211, 47, 47, 0.75) !important;
}

/* Warning (near limit) */
.text-warning {
    color: #f9a825 !important;
}

/* Info (neutral insights) */
.text-info {
    color: #0277bd !important;
}


/* Light muted (helper text) */
.text-muted-soft {
    color: rgba(108, 117, 125, 0.7) !important;
}

/* Dark text */
.text-dark {
    color: #212529 !important;
}

/* Extra dark (titles / totals) */
.text-black {
    color: #000 !important;
}

/* =========================================
   SpendUp – Font Weight Utilities
   ========================================= */

/* Bootstrap 5 standard */
.fw-light {
    font-weight: 300 !important;
}

.fw-normal {
    font-weight: 400 !important;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-semibold {
    font-weight: 600 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-extrabold {
    font-weight: 800 !important;
}

.fw-black {
    font-weight: 900 !important;
}