* {
    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;
}

/* 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;
}

/* FORM CARD */
.form-card {
    margin-bottom: 14px;
}

.form-card label {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 6px;
    display: block;
}

.form-card input,
.form-card select {
    border-radius: 12px;
    padding: 12px;
}

/* PRIMARY BUTTON */
.primary-btn {
    background: #0d1b2a;
    color: white;
    border: none;
    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;
}