:root {
    --bs-body-bg: #f5f7fb;
    --bs-body-color: #212529;
    --bs-primary: #0d6efd;
    --ios-safe-bottom: env(safe-area-inset-bottom);
    --card-border-radius: .750rem;
    --mobile-max-width: 480px;
}

body {
    font-family: "Inter", sans-serif;
    background: #f5f7fb;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.app-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
}

.app-container {
    width: 100%;
    max-width: var(--mobile-max-width);
    min-height: 100vh;
    background-color: var(--bs-body-bg);
    position: relative;
    padding-bottom: 90px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.material-symbols-outlined {
    font-variation-settings:
        "FILL" 0,
        "wght" 400,
        "GRAD" 0,
        "opsz" 24;
    vertical-align: middle;
}

.card {
    border: none;
    border-radius: var(--card-border-radius);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 8px;
    transition: transform 0.2s;
}

.service-icon:active {
    transform: scale(0.9);
}

.balance-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    margin-bottom: 8px;
    transition: transform 0.2s;
}

.balance-icon:active {
    transform: scale(0.9);
}

.navbar-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.navbar-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.balance-card {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.balance-card::after {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.promo-banner {
    min-width: 280px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: var(--card-border-radius);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    color: white;
}

.promo-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0) 100%
    );
    border-radius: var(--card-border-radius);
}

.promo-content {
    position: relative;
    z-index: 1;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: var(--mobile-max-width);
    height: 80px;
    background: #f5f7fb;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 1);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1050;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-nav > a {
    text-decoration: none;
}

.sticky-top-mobile {
    position: sticky;
    top: 0;
    z-index: 1020;
    background-color: var(--bs-body-bg);
}

.scan-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -40px;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4);
    border: 4px solid var(--bs-body-bg);
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}

.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.transaction-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

body {
    min-height: max(884px, 100dvh);
}

.form-control {
    padding: 0.5rem 0.750rem;
    border-radius: 10px;
    border-color: #95a5a6;
}

.form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.input-group-text {
    border-color: #95a5a6;
    border-radius: 10px 0 0 12px;
}

.form-control-with-icon {
    border-radius: 0 10px 10px 0 !important;
}

.border-dotted {
    border-top: 1px dashed var(--bs-border-color);
}

.btn {
    padding: 0.5rem;
    font-weight: 700;
    border-radius: 10px;
}

.header-logo {
    border-radius: 10px;;
}

.bg-purple {
    background-color: #8854d0;
}

.bg-pink {
    background-color: #e84393;
}