/* Extend blue background below navbar */
.extended-bg {
    height: 25vh;
    width: 100%;
}

/* Wallet card styling */
.wallet-card-section {
    margin-top: -15vh;
}

#appCapsule{
    margin-bottom: 20vh;
}


.wallet-card {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px;
}

.section{
}
/* Separator line */
.wallet-divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 20px 0; /* ✅ Adds spacing above and below */
}


/* Wallet footer layout */
.wallet-card .wallet-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* ✅ Prevent wrapping */
    overflow-x: auto;   /* ✅ Allow horizontal scroll if needed */
    padding-bottom: 10px;
}

/* Each item block */
.wallet-card .item {
    flex: 0 0 auto; /* ✅ Fixed width, no shrinking */
    text-align: center;
}

/* Icon + label styling */
.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.icon-label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* Greeting text alignment */
.balance .title,
.balance .total {
    text-align: left;
}

.balance .title {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}

.balance .total {
    font-size: 28px;
    font-weight: bold;
    color: #222;
    margin: 0;
}

.balance h4 {
    font-size: 16px;
    margin-bottom: 4px;
    color: #333;
}

.balance p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.stat-box {
    border-radius: 12px;         /* Rounded corners */
    padding: 20px;               /* Inner spacing */
    margin-bottom: 15px;         /* Space between boxes */
    box-shadow: 0 2px 6px rgba(0,0,0,0.1); /* Soft shadow */
}

.bg-warning {
    background-color: #ffc107;  /* Bootstrap yellow */
}

.bg-secondary {
    background-color: #6c757d;  /* Bootstrap grey */
}

.title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.value {
    font-size: 1rem;
    font-weight: 400;
}


.select-change{
    outline: none;
    border: none;
}


.card-custom {
    border: 2px solid #fff;
    border-radius: 1rem;
    background-color: #fff;
    padding: 1rem;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.card-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}
.card-text .title {
    font-weight: bold;
    font-size: 0.9rem;
}
.card-text .subtitle {
    font-size: 0.75rem;
    color: #6c757d;
}

/* define your adjustable spacing */
:root {
    --icon-gap: 12px;    /* ⬅️ change this to increase/decrease spacing */
    --icon-count: 5;     /* ⬅️ if you ever need more or fewer icons */
}

/* wallet-footer as a 5-column grid with a horizontal gap */
.wallet-card .wallet-footer {
    display: grid;
    grid-template-columns: repeat(var(--icon-count), minmax(0, 1fr));
    column-gap: var(--icon-gap);
    align-items: center;
    padding-bottom: 10px;
}

/* vertical gap (if you ever wrap or add rows) */
.wallet-card .wallet-footer {
    row-gap: var(--icon-gap);
}

/* icon sizes remain responsive */
.icon-wrapper {
    width: clamp(32px, 15vw, 64px);
    height: clamp(32px, 15vw, 64px);
    font-size: clamp(16px, 5vw, 28px);
}

.icon-label {
    font-size: clamp(12px, 3vw, 14px);
    line-height: 1.2;
}
