* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, Tahoma, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg-dark: #0f1117;
    --text-light: #ffffff;
    --text-muted: #8e92a4;
    --card-gradient: linear-gradient(135deg, #633bec, #421eaf);
    --nav-bg: #151720;
    --nav-border: #232635;
    --btn-wallet-gradient: linear-gradient(270deg, #3d66df, #254291);
    --btn-password-gradient: linear-gradient(270deg, #2a967f, #175a4c);
    --color-success: #00bfa5;
    --auth-card-bg: rgba(25, 28, 38, 0.85);
    --input-bg: #1e212e;
}

body {
    background: linear-gradient(145deg, #0b0d14 0%, #12141e 100%);
    min-height: 100vh;
    color: var(--text-light);
    position: relative;
    overflow-x: hidden;
}

/* ==================== بخش احراز هویت ==================== */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.auth-background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(99, 59, 236, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(0, 191, 165, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.auth-container-modern {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.auth-card-modern {
    background: var(--auth-card-bg);
    backdrop-filter: blur(20px);
    border-radius: 48px;
    padding: 32px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    display: none;
}

.auth-card-modern.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px auto;
    background: linear-gradient(135deg, rgba(99, 59, 236, 0.2), rgba(99, 59, 236, 0.05));
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(99, 59, 236, 0.3);
}

.auth-icon-wrapper svg {
    width: 42px;
    height: 42px;
    stroke: #9d80f5;
    stroke-width: 1.8;
}

.auth-card-modern h2 {
    font-size: 26px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff, #b8a9ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

/* ==================== فرم‌ها و ورودی‌ها ==================== */
.form-group-modern {
    margin-bottom: 18px;
}

.form-group-modern input,
.form-group-modern select {
    width: 100%;
    padding: 16px 20px;
    background: var(--input-bg);
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    color: white;
    font-size: 15px;
    transition: all 0.2s ease;
    outline: none;
}

.form-group-modern input:focus,
.form-group-modern select:focus {
    border-color: #633bec;
    box-shadow: 0 0 0 3px rgba(99, 59, 236, 0.2);
}

.captcha-row-modern {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: center;
}

.captcha-input-modern {
    flex: 1;
}

.captcha-box-modern {
    display: flex;
    background: var(--input-bg);
    border-radius: 24px;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    align-items: center;
    padding: 0 15px;
    gap: 10px;
}

.captcha-question {
    font-size: 22px;
    font-weight: bold;
    color: #6effb0;
    background: linear-gradient(135deg, #1a2a1f, #0e1a0c);
    padding: 12px 20px;
    border-radius: 20px;
    font-family: monospace;
    direction: ltr;
}

.refresh-btn-modern {
    background: none;
    border: none;
    color: #8e99a7;
    padding: 0 12px;
    cursor: pointer;
    font-size: 20px;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-actions-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    margin-bottom: 20px;
}

.link-btn-modern {
    background: none;
    border: none;
    color: #8e99a7;
    font-size: 13.5px;
    cursor: pointer;
    transition: color 0.2s;
}

.link-btn-modern:hover {
    color: #b8a9ff;
}

.link-btn-modern.accent {
    color: #9d80f5;
    font-weight: 500;
}

.btn-modern {
    border: none;
    border-radius: 40px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary-modern {
    background: linear-gradient(135deg, #633bec, #4318c7);
    color: white;
    width: 100%;
    box-shadow: 0 4px 15px rgba(99, 59, 236, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 59, 236, 0.4);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-orange-modern {
    background: rgba(217, 140, 38, 0.15);
    color: #f5a623;
    border: 1px solid rgba(245, 166, 35, 0.3);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 28px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.phone-display-modern {
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    color: #9d80f5;
    margin-bottom: 8px;
}

.info-row-modern {
    display: flex;
    justify-content: space-between;
    color: #8e99a7;
    font-size: 13px;
    margin-bottom: 16px;
}

.split-buttons {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.split-buttons button {
    flex: 1;
}

.otp-container-modern {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 32px;
    direction: ltr;
}

.otp-input-modern {
    width: 100%;
    height: 58px;
    background: var(--input-bg);
    border: 1.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    color: white;
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    outline: none;
}

.otp-input-modern:focus {
    border-color: #633bec;
    box-shadow: 0 0 0 3px rgba(99, 59, 236, 0.2);
}

/* ==================== بخش اصلی داشبورد ==================== */
.top-pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 280px;
    background-image: radial-gradient(circle at 50% -20%, #2e215c 0%, transparent 75%);
    opacity: 0.8;
    z-index: 0;
    pointer-events: none;
}

.app-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 10;
    padding-bottom: 100px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    margin-top: 10px;
    height: 35px;
}

.header h1 {
    font-size: 19px;
    font-weight: 500;
    flex-grow: 1;
    text-align: right;
}

.back-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: white;
    padding: 6px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 13px;
}

/* ==================== کارت بانکی ==================== */
.card-wrapper {
    width: 100%;
    margin-bottom: 30px;
    perspective: 1000px;
}

.main-card {
    width: 100%;
    min-height: 210px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.main-card.flipped {
    transform: rotateY(180deg);
}

.card-front, .card-back {
    width: 100%;
    min-height: 210px;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    border-radius: 28px;
    padding: 25px 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.card-front {
    background: var(--card-gradient);
    z-index: 2;
    transform: rotateY(0deg);
}

.card-back {
    background: linear-gradient(135deg, #4c26cf, #271173);
    transform: rotateY(180deg);
    justify-content: center;
    gap: 5px;
}

.fingerprint-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
}

.fingerprint-icon-svg {
    width: 64px;
    height: 64px;
    margin-bottom: 10px;
}

.card-click-text {
    color: rgba(255, 255, 255, 0.45);
    font-size: 12px;
    margin-bottom: 10px;
}

.card-number {
    font-size: 22px;
    letter-spacing: 3px;
    font-weight: 400;
    direction: ltr;
    color: rgba(255, 255, 255, 0.9);
}

.card-info-row {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 10px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.card-info-row:last-child {
    border: none;
}

.info-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    direction: ltr;
}

/* ==================== صفحات ==================== */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* ==================== دکمه‌های اکشن ==================== */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 35px;
}

.btn-action {
    flex: 1;
    padding: 16px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    cursor: pointer;
}

.btn-wallet {
    background: var(--btn-wallet-gradient);
}

.btn-password {
    background: var(--btn-password-gradient);
}

.btn-icon-img {
    width: 32px;
    height: 32px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

/* ==================== بخش سرویس‌ها ==================== */
.section-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 20px;
    text-align: right;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}

.service-item {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 18px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.1s ease;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.service-item:active {
    transform: scale(0.97);
}

.service-icon-placeholder {
    width: 38px;
    height: 38px;
    margin-bottom: 10px;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-name {
    color: rgba(255, 255, 255, 0.8);
    font-size: 11.5px;
    text-align: center;
}

/* ==================== بنر تبلیغاتی ==================== */
.banner-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 24px;
    height: 125px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.banner-text {
    color: #6f7282;
    font-size: 13px;
    margin-bottom: 15px;
}

.banner-pagination {
    display: flex;
    gap: 6px;
    direction: ltr;
}

.banner-dot {
    width: 8px;
    height: 8px;
    background-color: #3b3e4f;
    border-radius: 50%;
}

.banner-dot.active {
    background-color: #ffffff;
}

/* ==================== لیست مدیریت ==================== */
.mgmt-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mgmt-item {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.mgmt-item:active {
    background: rgba(255, 255, 255, 0.08);
}

.mgmt-right {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.mgmt-icon-box {
    width: 46px;
    height: 46px;
    background: linear-gradient(180deg, #4328bd 0%, #2a1584 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mgmt-icon-svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.8;
}

.mgmt-text h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 4px;
}

.mgmt-text p {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* ==================== صفحه تراکنش‌ها ==================== */
.tx-icon-header {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #7c58ff, #431bbb);
    border-radius: 28px;
    margin: 10px auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tx-icon-inner {
    font-size: 50px;
}

.tx-page-title {
    font-size: 19px;
    font-weight: 500;
    text-align: center;
    margin-bottom: 25px;
}

.filter-group {
    margin-bottom: 20px;
    text-align: right;
}

.filter-label {
    font-size: 13.5px;
    color: #8e92a4;
    margin-bottom: 8px;
    display: block;
}

.filter-select-wrapper {
    position: relative;
    width: 100%;
}

.filter-select {
    width: 100%;
    background-color: #222533;
    border: none;
    color: #ffffff;
    padding: 15px 18px;
    border-radius: 18px;
    font-size: 14px;
    appearance: none;
    cursor: pointer;
    text-align: right;
}

.filter-select-wrapper::after {
    content: '▼';
    font-size: 11px;
    color: #6f7282;
    position: absolute;
    left: 20px;
    top: 18px;
    pointer-events: none;
}

.tx-list-container {
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 20px;
    scroll-behavior: smooth;
}

.tx-list-container::-webkit-scrollbar {
    width: 4px;
}

.tx-list-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.tx-list-container::-webkit-scrollbar-thumb {
    background: #633bec;
    border-radius: 10px;
}

.tx-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 200px;
}

.tx-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.tx-card:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(-2px);
}

.tx-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
}

.tx-title {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.tx-desc {
    font-size: 11px;
    color: #6f7282;
    direction: ltr;
}

.tx-tracking {
    font-size: 10px;
    color: #6f7282;
    font-family: monospace;
    margin-top: 2px;
}

.tx-left {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.tx-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 500;
    white-space: nowrap;
}

.badge-deposit {
    background: rgba(0, 191, 165, 0.15);
    color: #00bfa5;
}

.badge-transfer_out {
    background: rgba(235, 87, 87, 0.15);
    color: #eb5757;
}

.badge-transfer_in {
    background: rgba(0, 191, 165, 0.15);
    color: #00bfa5;
}

.tx-amount {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.tx-amount.positive {
    color: #00bfa5;
}

.tx-amount.negative {
    color: #eb5757;
}

.tx-amount.pending {
    color: #f5a623;
}

.tx-status-badge {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.tx-status-badge.pending {
    background: rgba(245, 166, 35, 0.15);
    color: #f5a623;
}

.tx-status-badge.approved {
    background: rgba(0, 191, 165, 0.15);
    color: #00bfa5;
}

/* ==================== صفحه پروفایل ==================== */
.profile-center {
    text-align: center;
    padding-top: 15px;
}

.avatar-3d-rings {
    width: 140px;
    height: 140px;
    background: radial-gradient(circle at 50% 30%, #84c0ff 0%, #2563eb 100%);
    border-radius: 50%;
    margin: 0 auto 18px auto;
    border: 6px solid #4576ee;
    position: relative;
}

.avatar-head {
    width: 52px;
    height: 52px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 26px;
    left: 38px;
}

.avatar-body {
    width: 84px;
    height: 44px;
    background-color: #ffffff;
    border-radius: 42px 42px 0 0;
    position: absolute;
    bottom: 12px;
    left: 22px;
}

.profile-title-name {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 5px;
}

.profile-subtitle-phone {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 35px;
    direction: ltr;
}

.profile-menu-container {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-glass-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.profile-glass-item:active {
    background: rgba(255, 255, 255, 0.08);
}

.profile-glass-item.logout-style {
    background: rgba(235, 87, 87, 0.08);
    border: 1px solid rgba(235, 87, 87, 0.15);
    color: #eb5757;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    padding: 16px;
    margin-top: 5px;
}

/* ==================== صفحه اطلاعات بانکی ==================== */
.safe-3d-box {
    width: 140px;
    height: 130px;
    background: linear-gradient(135deg, #2b61e3, #15399c);
    border-radius: 24px;
    margin: 15px auto 20px auto;
    position: relative;
}

.safe-door {
    position: absolute;
    top: 12px;
    right: 12px;
    bottom: 12px;
    left: 24px;
    background: linear-gradient(135deg, #3b75fe, #1e4ec2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.safe-handle {
    width: 44px;
    height: 44px;
    background: #e6edf8;
    border-radius: 50%;
    border: 5px solid #a3bfec;
}

.bank-details-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.02);
    border-radius: 26px;
    padding: 10px 22px;
    margin-top: 25px;
}

.bank-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.bank-row:last-child {
    border-bottom: none;
}

.bank-lbl {
    color: rgba(255, 255, 255, 0.35);
    font-size: 13px;
}

.bank-value {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 500;
}

.btn-terminate {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 16px;
    border-radius: 20px;
    margin-top: 30px;
    font-size: 14.5px;
    cursor: pointer;
}

/* ==================== صفحه انتقال کارت به کارت ==================== */
.transfer-header {
    margin-bottom: 20px;
}

.card-transfer-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 100px;
}

.transfer-form-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 28px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-row {
    display: flex;
    gap: 15px;
    margin-top: 5px;
}

.form-group-modern.half {
    flex: 1;
}

.card-number-input {
    font-family: monospace;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    direction: ltr;
    background: #1e212e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 14px 16px;
    width: 100%;
    color: white;
}

.card-number-input:focus {
    border-color: #633bec;
    outline: none;
}

.card-type-badge {
    margin-top: 10px;
    font-size: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-block;
    background: rgba(99, 59, 236, 0.15);
    color: #9d80f5;
}

.receiver-info-box {
    background: rgba(0, 191, 165, 0.08);
    border-radius: 18px;
    padding: 14px;
    margin: 15px 0;
    border: 1px solid rgba(0, 191, 165, 0.2);
}

.receiver-info-title {
    font-size: 13px;
    color: #00bfa5;
    margin-bottom: 10px;
    font-weight: 500;
}

.receiver-info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
}

.receiver-info-item:last-child {
    border-bottom: none;
}

.receiver-info-item .label {
    color: #8e92a4;
}

.receiver-info-item .value {
    color: white;
    direction: ltr;
    font-family: monospace;
}

.check-card-btn {
    background: rgba(99, 59, 236, 0.15);
    border: 1px solid rgba(99, 59, 236, 0.3);
    color: #9d80f5;
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 12px;
    width: 100%;
    transition: all 0.2s;
}

.check-card-btn:hover {
    background: rgba(99, 59, 236, 0.3);
}

.amount-input, .desc-input {
    background: #1e212e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 14px 16px;
    width: 100%;
    color: white;
    font-size: 14px;
}

.amount-input:focus, .desc-input:focus {
    border-color: #633bec;
    outline: none;
}

/* ==================== محصولات اینترنت ==================== */
.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.filter-row select {
    flex: 1;
    min-width: 100px;
}

.internet-product-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: all 0.2s ease;
}

.internet-product-card:active {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(0.98);
}

.internet-product-info h3 {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.internet-product-info p {
    font-size: 11px;
    color: #8e92a4;
}

.internet-product-price {
    font-size: 14px;
    font-weight: bold;
    color: #00bfa5;
    margin-bottom: 8px;
    text-align: left;
}

.internet-buy-btn {
    background: linear-gradient(135deg, #2a967f, #175a4c);
    border: none;
    padding: 6px 16px;
    border-radius: 25px;
    color: white;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.internet-buy-btn:active {
    transform: scale(0.95);
}

/* ==================== نوار ناوبری پایین ==================== */
.bottom-nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--nav-bg);
    border-top: 1px solid var(--nav-border);
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

.bottom-nav-container {
    width: 100%;
    max-width: 480px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-link {
    text-decoration: none;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nav-svg-icon {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: #494c5f;
    stroke-width: 2;
    transition: stroke 0.2s ease;
}

.nav-link.active .nav-svg-icon {
    stroke: #9d80f5;
}

.nav-center-box {
    position: relative;
    top: -22px;
}

.nav-center-btn {
    background: linear-gradient(180deg, #5ba4f8 0%, #2b70cc 100%);
    width: 68px;
    height: 56px;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.nav-center-dots {
    display: flex;
    gap: 4px;
    direction: ltr;
}

.nav-center-dots span {
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
}

/* ==================== مودال و نوتیفیکیشن ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.modal-container {
    background: #15191e;
    width: 90%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 28px;
    padding: 25px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-container h3 {
    margin-bottom: 20px;
    text-align: center;
    color: white;
}

.modal-container input {
    background: #252b36;
    border: none;
    padding: 14px;
    border-radius: 14px;
    color: white;
    width: 100%;
    margin-bottom: 20px;
    text-align: right;
}

.modal-buttons {
    display: flex;
    gap: 12px;
}

.modal-buttons button {
    flex: 1;
    padding: 12px;
    border-radius: 40px;
    font-weight: bold;
    cursor: pointer;
    border: none;
}

.topup-min-text {
    color: #8e92a4;
    font-size: 12px;
    text-align: center;
    margin-bottom: 15px;
}

/* ==================== اینویس ==================== */
.invoice-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 20000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.invoice-overlay.active {
    display: flex;
}

.invoice-card {
    background: linear-gradient(145deg, #1a1f2e 0%, #0f1117 100%);
    border-radius: 40px;
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.invoice-overlay.active .invoice-card {
    transform: scale(1);
}

.invoice-header {
    padding: 30px 20px 20px;
    text-align: center;
}

.invoice-header.success {
    background: linear-gradient(135deg, #0a2e25 0%, #0f1117 100%);
}

.invoice-header.failed {
    background: linear-gradient(135deg, #3d1a1a 0%, #0f1117 100%);
}

.invoice-header.warning {
    background: linear-gradient(135deg, #3d2e1a 0%, #0f1117 100%);
}

.invoice-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.invoice-icon.success {
    background: rgba(0, 191, 165, 0.15);
    color: #00bfa5;
}

.invoice-icon.failed {
    background: rgba(235, 87, 87, 0.15);
    color: #eb5757;
}

.invoice-icon.warning {
    background: rgba(245, 166, 35, 0.15);
    color: #f5a623;
}

.invoice-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
}

.invoice-title.success {
    color: #00bfa5;
}

.invoice-title.failed {
    color: #eb5757;
}

.invoice-title.warning {
    color: #f5a623;
}

.invoice-subtitle {
    font-size: 12px;
    color: #8e92a4;
    margin-top: 5px;
}

.invoice-amount-box {
    background: rgba(255, 255, 255, 0.03);
    margin: 15px 20px;
    padding: 15px;
    border-radius: 20px;
    text-align: center;
}

.invoice-amount-label {
    font-size: 12px;
    color: #8e92a4;
    margin-bottom: 5px;
}

.invoice-amount-value {
    font-size: 28px;
    font-weight: 700;
    color: #9d80f5;
    direction: ltr;
}

.invoice-footer {
    padding: 15px 20px 25px;
    display: flex;
    gap: 12px;
}

.invoice-footer button {
    flex: 1;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}

.btn-invoice-primary {
    background: linear-gradient(135deg, #633bec, #4318c7);
    color: white;
}

.btn-invoice-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== نوتیفیکیشن iOS مانند ==================== */
.ios-notification {
    position: fixed;
    top: 60px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(28, 28, 30, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 12px 18px;
    min-width: 260px;
    max-width: 320px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 30000;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.ios-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.ios-notification-icon {
    width: 38px;
    height: 38px;
    border-radius: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ios-notification-icon.success {
    background: rgba(0, 191, 165, 0.15);
}

.ios-notification-icon.error {
    background: rgba(235, 87, 87, 0.15);
}

.ios-notification-icon.warning {
    background: rgba(245, 166, 35, 0.15);
}

.ios-notification-content {
    flex: 1;
}

.ios-notification-title {
    font-size: 14px;
    font-weight: 600;
    color: white;
    margin-bottom: 2px;
}

.ios-notification-message {
    font-size: 12px;
    color: #8e92a4;
}

/* ==================== ریسپانسیو ==================== */
@media (max-width: 480px) {
    .tx-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .tx-left {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    
    .tx-badge {
        font-size: 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
}