* {
    box-sizing: border-box;
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* APP */
.app {
    max-width: 420px;
    margin: 0 auto;
    padding: 16px;
    background: #f8f9fa;
    min-height: 100vh;
}

/* HEADER */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-icon {
    font-size: 20px;
    color: #0d1b2a;
    text-decoration: none;
}

.top-header h5 {
    margin: 0;
    font-weight: 600;
    color: #0d1b2a;
}

/* CONTENT */
.page-content {
    padding-bottom: 120px;
}

/* PROFILE CARD */
.profile-card {
    background: white;
    border-radius: 18px;
    padding: 16px;
    display: flex;
    gap: 14px;
    align-items: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

.profile-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #0d1b2a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.profile-info h4 {
    margin: 0;
    font-size: 18px;
}

.profile-info p {
    margin: 2px 0;
    font-size: 13px;
    color: #6c757d;
}

/* DETAIL CARD */
.detail-card {
    background: white;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

.detail-card h6 {
    font-weight: 700;
    margin-bottom: 10px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
    color: #495057;
}

.detail-row span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
}

.status.verified {
    color: #1b8a3e;
}

/* BALANCE CARD */
.balance-card {
    background: #0d1b2a;
    color: white;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.balance-card small {
    opacity: 0.8;
}

.balance-card h2 {
    margin-top: 6px;
}

/* ACTIVITY CARD */
.activity-card {
    background: white;
    padding: 16px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    margin-bottom: 16px;
}

.activity-card h6 {
    font-weight: 700;
    margin-bottom: 12px;
}

.activity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #f1f3f5;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d1b2a;
    margin-right: 10px;
}

.activity-row p {
    margin: 0;
    font-size: 12px;
    color: #6c757d;
}

.amount {
    font-weight: 700;
}

/* ACTION BUTTONS */
.action-buttons {
    display: flex;
    gap: 12px;
}

.primary-btn {
    background: #0d1b2a;
    color: white;
    border: none;
    border-radius: 16px;
    padding: 14px;
    font-weight: 600;
    width: 100%;
}

.secondary-btn {
    background: #fff;
    color: #0d1b2a;
    border: 1px solid #0d1b2a;
    border-radius: 16px;
    padding: 14px;
    font-weight: 600;
    width: 100%;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    background: white;
    display: flex;
    justify-content: center;
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
}

.bottom-nav>div {
    max-width: 420px;
    width: 100%;
    display: flex;
    justify-content: space-around;
    padding: 14px 0;
}

.bottom-nav i {
    font-size: 22px;
    color: #adb5bd;
}

.bottom-nav i.active {
    color: #0d1b2a;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal {
    width: 90%;
    max-width: 360px;
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    font-size: 24px;
    cursor: pointer;
}

.modal-sub {
    color: #6c757d;
    font-size: 14px;
    margin: 12px 0;
}

/* INPUT */
.input-group {
    margin: 12px 0;
}

.input-group label {
    font-size: 13px;
    color: #6c757d;
}

#pinInput {
    width: 100%;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid #ced4da;
    font-size: 18px;
    text-align: center;
    letter-spacing: 10px;
}

/* DIALPAD */
.dialpad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.dial-btn {
    padding: 16px 0;
    border-radius: 16px;
    border: 1px solid #ddd;
    font-size: 18px;
    font-weight: 600;
    background: #f8f9fa;
    cursor: pointer;
}

.dial-btn:hover {
    background: #e9ecef;
}

.modal-btn {
    margin-top: 14px;
}