body{
    padding-bottom: 120px;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #1e1e2f;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item {
    flex: 1;
    text-align: center;
    color: #aaa;
    text-decoration: none;
    font-size: 13px;
    padding: 6px 0;
}

.nav-icon {
    font-size: 20px;
    display: block;
}

.nav-item:hover {
    color: #E6C7A3;
}

.nav-item.active {
    color: #E6C7A3;
    font-weight: 600;
}
h4{
    font-size: 20px;
}
.rounded-4{
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
.modal-content {
    max-width: 380px;
    margin: auto;
}

.form-control,
.form-select {
    font-size: 14px;
    padding: 6px 10px;
}
::placeholder {
    color: #bbbbbb !important;
    opacity: 1;
}
input,
select {
    color: white !important;
}

.mobile-header{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 16px;
background:transparent;
}

.logo{
height:26px;
}

.header-icons{
display:flex;
gap:14px;
align-items:center;
}

.icon{
font-size:22px;
color:white;
text-decoration:none;
}

/* PROFILE ROUND BACKGROUND */
.profile-icon{
display:flex;
align-items:center;
justify-content:center;

width:36px;
height:36px;

border-radius:50%;
background:#3b82f6; /* Blue */

font-size:20px;
color:white;
text-decoration:none;
}

.bg-dark {
    background-color: #1e1e1e !important;
}

.shadow-sm {
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.form-control::placeholder {
    color: #aaa !important;
}   

/* =========================
   TRANSACTIONS PAGE
========================= */

/* Page title */
.transactions-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Filter inputs */
.form-select,
.form-control {
    border-radius: 12px !important;
}

.form-control::placeholder {
    color: #999 !important;
}

/* Summary cards */
.summary-card {
    background: #1c1c1c;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    text-align: center;
}

.summary-card small {
    color: #aaa;
    display: block;
    margin-bottom: 4px;
}

.summary-card h6 {
    font-weight: 700;
    margin: 0;
}

/* Transaction rows */
.transaction-row {
    transition: all 0.2s ease;
    border-bottom: 1px solid #2c2c2c !important;
}

.transaction-row:active {
    transform: scale(0.98);
    opacity: 0.85;
}

.transaction-row .fw-semibold {
    font-size: 15px;
}

.transaction-row small {
    font-size: 12px;
}

/* Emoji box */
.emoji-box {
    width: 32px;
    min-width: 32px;
    text-align: center;
    font-size: 20px;
    line-height: 1;
}

/* Bottom sheet */
.transaction-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    z-index: 1060;
    transition: bottom 0.3s ease-in-out;
}

.transaction-sheet.show {
    bottom: 0;
}

.transaction-sheet-content {
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    padding: 20px;
    min-height: 42vh;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 -6px 25px rgba(0,0,0,0.3);
    background: #1b1b1b;
    color: white;
}

.sheet-handle {
    width: 45px;
    height: 5px;
    background: #666;
    border-radius: 10px;
    margin: auto;
}

/* Overlay */
.transaction-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    z-index: 1055;
}

.transaction-overlay.show {
    display: block;
}

/* Suggestions dropdown */
#suggestions {
    border-radius: 12px;
    overflow: hidden;
}

#suggestions .list-group-item {
    background: #1e1e1e;
    color: white;
    border: 1px solid #333;
}

#suggestions .list-group-item:hover {
    background: #2b2b2b;
    color: #fff;
}

/* Bottom nav */
.bottom-nav {
    background: #111;
    border-top: 1px solid #2c2c2c;
}

.bottom-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

/* Modal buttons */
#editTransactionBtn,
#deleteTransactionBtn {
    font-weight: 600;
}

/* Mobile polish */
@media (max-width: 576px) {
    .summary-card {
        padding: 12px;
    }

    .summary-card h6 {
        font-size: 14px;
    }

    .transaction-row .fw-semibold {
        font-size: 14px;
    }

    .transaction-row small {
        font-size: 11px;
    }

    .emoji-box {
        font-size: 18px;
    }
}