body {
    margin: 0;
    font-family: 'Roboto', 'Arial', sans-serif;
    background: #f5f7fa;
    color: #222;
}
.header {
    padding: 0;
    position: relative;
    background: url('../static/index_bg.jpeg') center/cover no-repeat;
}
.header .top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 0 18px;
}
.header .logo {
    font-size: 1.3em;
    color: #fff;
    letter-spacing: 1px;
}
.header .logo .vcb {
    font-weight: bold; /* or 700 */
}
.header .logo .digibank {
    font-weight: 300; /* light, or 400 for normal/regular */
    /* If you need to adjust letter-spacing specifically for Digibank: */
    /* letter-spacing: 0.5px; */
}
.header .icons {
    display: flex;
    gap: 10px;
    justify-items: center;
    align-items: center;
    padding: 5px 10px;
    border-radius: 10px;
}
.header .icon {
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    font-size: 1.1em;
    margin-left: 6px;
}

.badge{
    position: absolute;
    top: -5px;
    right: 0;
    left: 15px;
    background: red;
    color: #fff;
    font-size: 12px;
    padding:2px 5px;
    border-radius: 10px;
    width: 16px;
    height: 15px;
    text-align: center;
    line-height: 15px;
}

.icon img{
    width: 24px;
    height: 24px;
}
.iconfont{
    font-size:24px;
}

.header .city-bg {
    width: 100%;
    height: 180px;
    border-radius: 0 0 24px 24px;
    margin-top: 8px;
    position: relative;
}
.card {
    background-image: url('../static/card.png');
    background-size:cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    border-radius: 18px;
    margin: -30px 16px 16px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    position: relative;
    z-index: 2;
}
.card .name {
    font-weight: 500;
    font-size: .85em;
    margin-bottom: 2px;
    display: flex;
    align-items:center;
    gap: 5px;
    justify-content: space-between;
    justify-items: center;
    padding: 10px 20px 0px 20px;
}

.card .name-left{
    display: flex;
    align-items: center;
    justify-items: center;
    gap: 10px;
}

.card .qrcode{
    background-color: rgba(0,0,0,0.08);
    border-radius: 10px;
    padding:2px 10px;

}

.card .account {
    margin: 8px 0 4px 0;
    font-size: 0.8em;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap:10px;
    padding: 0px 20px 0px 20px;
}
.card .balance {
    font-size: 0.8em;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 20px;
}
.card .balance .eye {
    margin-left: 8px;
    cursor: pointer;
    font-size: .8em;
}
.card .actions {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
    font-size: 0.8em;
    opacity: 0.92;
    background-color: rgba(0,0,0,0.08);
    border-radius:0 0 18px 18px;
    padding: 0;
    margin: 0;
    padding: 10px 20px 10px 20px;
}
.card .action-item{
    display: flex;
    align-items: center;
    gap:5px;
    justify-items: center;
}
.fav-section {
    margin: 0 16px 16px 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    position: relative;
    scroll-behavior: smooth;
    width: calc(100vw - 32px);
}

.fav-title-left{
    display: flex;
    gap: 5px;
}

.fav-section::-webkit-scrollbar {
    display: none;
}
.fav-title {
    font-size: 1em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px 16px 20px 16px;
    margin: 0 16px;
}

.fav-title .fav-title-right{
    display: flex;
    gap: 5px;
    align-items: center;
    font-weight: normal;
    align-items: center;
    justify-items: center;
}
.fav-grid {
    display: flex;
    gap: 10px;
    min-width: max-content;
    padding: 0;
    width: calc(100vw - 32px);
}
.fav-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px 8px;
    width: calc(100vw - 32px);
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0 10px;
    height: 220px;
    box-sizing: border-box;
    min-height: 220px;
}

.xem-tat-ca{
    display: flex;
    gap: 5px;
    font-weight: normal;
}

.fav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 8px 8px 8px;
    font-size: 0.9em;
    color: #333;
    min-height: 80px;
    width: 100%;
    text-align: center;
}
.fav-item .icon {
    font-size: .9em;
    margin-bottom: 4px;
    border-radius: 50%;
    background: #fff;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 16px;
    margin: 0 auto;
    width: calc(100vw - 32px);
    max-width: 420px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    z-index: 100;
    padding: 10px 8px;
}
.nav-item {
    display: flex;
    align-items: center;
    color: #888;
    font-size: 0.95em;
    flex: 1;
    padding: 8px 8px;
    border-radius: 12px;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    gap: 10px;
    justify-content: center;
}
.nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}
.nav-item.active, .nav-item:active {
    background: linear-gradient(90deg, #e6f6c7 0%, #d2f2e9 100%);
    color: #388e3c;
    font-weight: bold;
}
.nav-item-qr {
    flex: 0 0 80px;
    position: relative;
    top: 0px;
    z-index: 101;
    display: flex;
    justify-content: center;
}
.qr-btn {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #4caf50 60%, #388e3c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(76,175,80,0.18);
    border: 4px solid #fff;
}
.qr-btn i {
    color: #fff;
    font-size: 32px;
}
@media (max-width: 500px) {
    .fav-grid-page {
        min-height: 220px;
    }
    .fav-item {
        min-height: 70px;
        font-size: 0.85em;
    }
}
.page-indicator-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    gap: 10px;
}

.page-indicator {
    left: 24px;
    display: flex;
    gap: 8px;
    z-index: 9999;
    padding: 8px;
    border-radius: 12px;
    pointer-events: auto;
    
}
.page-dot {
    width: 15px;
    height: 5px;
    border-radius: 3px;
    background: #ddd;
    transition: background-color 0.3s;
    cursor: pointer;

}
.page-dot.active {
    background: #4caf50;
    border-color: #4caf50;
}

.main-cards {
    display: flex;
    gap: 16px;
    margin: 24px 16px 0 16px;
}
.main-card {
    flex: 1;
    background: #f6fbe9;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    padding: 20px 18px 18px 18px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.main-card-rewards {
    background: linear-gradient(135deg, #f6fbe9 60%, #e6f6c7 100%);
}
.main-card-visa {
    background: linear-gradient(135deg, #e6f6c7 60%, #d2f2e9 100%);
}
.main-card-icon {
    font-size: 32px;
    color: #FFD600;
    margin-bottom: 8px;
}
.main-card-title {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 4px;
}
.main-card-desc {
    color: #222;
    font-size: 1em;
    margin-bottom: 10px;
}
.main-card-link {
    color: #4caf50;
    font-weight: bold;
    font-size: 0.98em;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.main-card-logos i {
    font-size: 22px;
    margin-right: 6px;
}

.chart-card {
    display: flex;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    margin: 18px 16px 0 16px;
    padding: 18px 18px 12px 18px;
    align-items: center;
    gap: 18px;
}
.chart-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.chart-title {
    font-weight: bold;
    font-size: 1.05em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.chart-x-labels {
    display: flex;
    gap: 10px;
    font-size: 0.9em;
    color: #888;
    margin-top: 2px;
}
.chart-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 8px;
}
.chart-badge {
    background: #f44336;
    color: #fff;
    font-size: 0.85em;
    border-radius: 8px;
    padding: 2px 10px;
    margin-bottom: 4px;
}
.chart-desc {
    font-size: 1em;
    color: #222;
    margin-bottom: 6px;
    text-align: left;
}
.chart-btn {
    background: linear-gradient(90deg, #4caf50 0%, #388e3c 100%);
    color: #fff;
    border: none;
    border-radius: 16px;
    padding: 6px 18px;
    font-size: 1em;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(76,175,80,0.08);
}

.latest-title {
    font-weight: bold;
    font-size: 1.1em;
    margin: 28px 16px 10px 16px;
}
.latest-features {
    display: flex;
    gap: 16px;
    margin: 0 16px 24px 16px;
}
.feature-card {
    background: #f6fbe9;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px 10px 12px;
    min-width: 140px;
    position: relative;
}
.feature-icon {
    font-size: 28px;
    color: #4caf50;
    background: #fff;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.feature-title {
    font-weight: bold;
    font-size: 1em;
}
.feature-badge {
    background: #f44336;
    color: #fff;
    font-size: 0.8em;
    border-radius: 8px;
    padding: 2px 8px;
    position: absolute;
    top: 8px;
    right: 10px;
    font-weight: bold;
}

.quick-actions-container {
    position: relative;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.10);
    margin: 24px 8px 24px 8px;
    padding: 0 0 18px 0;
    text-align: center;
    overflow: visible;
    margin-bottom: 120px;
}
.quick-actions-title-bg {
    background: linear-gradient(90deg, #e6f6c7 0%, #d2f2e9 100%);
    border-radius: 18px 18px 0 0;
    padding: 18px 0 10px 0;
    margin-bottom: 0;
}
.quick-actions-title {
    font-size: 1.15em;
    font-weight: bold;
    color: #222;
}
.quick-actions-slider {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin: 18px 20px 0 20px;
    padding: 0 34px;
}
.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 60px;
    color: #222;
    font-weight: 500;
    font-size: 0.98em;
}
.quick-action i {
    font-size: 32px;
    color: #388e3c;
    background: #f6fbe9;
    border-radius: 12px;
    padding: 10px;
    margin-bottom: 2px;
}
.quick-actions-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 18px 0 0 0;
}
.quick-actions-pagination .dot {
    width: 18px;
    height: 6px;
    border-radius: 3px;
    background: #e0e0e0;
    display: inline-block;
}
.quick-actions-pagination .dot.active {
    background: #8BC34A;
}
.quick-actions-arrow {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    background: #e6f6c7;
    border: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
}
.quick-actions-arrow i {
    color: #388e3c;
    font-size: 20px;
}