/** * IFNEX Bridge Styles * استایل‌های پلاگین IFNEX Logistics Bridge */ /* Wallet Balance */ .ifnex-wallet-balance { background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin: 15px 0; font-family: inherit; direction: rtl; text-align: right; } .ifnex-balance-main { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #e5e7eb; } .ifnex-balance-label { font-size: 14px; color: #6b7280; font-weight: 500; } .ifnex-balance-amount { font-size: 24px; font-weight: 700; color: #059669; } .ifnex-balance-details { margin-top: 10px; } .ifnex-balance-details p { margin: 5px 0; font-size: 14px; color: #374151; } .ifnex-balance-details strong { color: #6b7280; margin-left: 8px; } .ifnex-wallet-frozen { color: #dc2626; font-weight: 600; margin-top: 10px; padding: 8px 12px; background: #fee2e2; border-radius: 6px; border-right: 3px solid #dc2626; } /* Transactions */ .ifnex-transactions { margin: 15px 0; font-family: inherit; direction: rtl; text-align: right; } .ifnex-transactions h3 { font-size: 18px; font-weight: 600; color: #111827; margin-bottom: 15px; padding-bottom: 8px; border-bottom: 2px solid #f59e0b; } .ifnex-transactions-list { display: flex; flex-direction: column; gap: 12px; } .ifnex-transaction-item { background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; transition: all 0.2s ease; } .ifnex-transaction-item:hover { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); border-color: #f59e0b; } .ifnex-transaction-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .ifnex-transaction-type { display: inline-block; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 500; text-transform: uppercase; background: #dbeafe; color: #1e40af; } .ifnex-transaction-type.deposit { background: #d1fae5; color: #065f46; } .ifnex-transaction-type.withdrawal { background: #fee2e2; color: #991b1b; } .ifnex-transaction-type.order_payment { background: #fef3c7; color: #92400e; } .ifnex-transaction-type.refund { background: #e0e7ff; color: #3730a3; } .ifnex-transaction-amount { font-size: 16px; font-weight: 700; font-family: 'Vazirmatn', 'IranYekan', sans-serif; } .ifnex-transaction-amount.positive { color: #059669; } .ifnex-transaction-amount.negative { color: #dc2626; } .ifnex-transaction-details { margin-top: 8px; } .ifnex-transaction-description { color: #4b5563; font-size: 14px; margin: 0 0 6px 0; } .ifnex-transaction-meta { display: flex; gap: 12px; font-size: 12px; color: #6b7280; } .ifnex-transaction-status { display: inline-block; padding: 2px 8px; border-radius: 4px; background: #f3f4f6; color: #374151; font-size: 11px; } .ifnex-transaction-status.completed { background: #d1fae5; color: #065f46; } .ifnex-transaction-status.pending { background: #fef3c7; color: #92400e; } .ifnex-transaction-status.failed { background: #fee2e2; color: #991b1b; } .ifnex-transaction-ref { margin-top: 6px; font-size: 12px; color: #6b7280; font-family: monospace; } /* Tracking Status */ .ifnex-tracking-container { max-width: 700px; margin: 20px auto; padding: 24px; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px; font-family: inherit; direction: rtl; text-align: right; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); } .ifnex-tracking-container h2 { font-size: 20px; font-weight: 700; color: #111827; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid #f59e0b; } .ifnex-tracking-form { margin-bottom: 20px; } .ifnex-form-group { display: flex; gap: 10px; } .ifnex-form-group input { flex: 1; padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 15px; font-family: inherit; transition: border-color 0.2s ease; } .ifnex-form-group input:focus { outline: none; border-color: #f59e0b; box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1); } .ifnex-form-group button { padding: 12px 24px; background: #f59e0b; color: white; border: none; border-radius: 8px; cursor: pointer; font-size: 15px; font-weight: 600; font-family: inherit; transition: all 0.2s ease; } .ifnex-form-group button:hover { background: #d97706; transform: translateY(-1px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); } .ifnex-form-group button:disabled { background: #9ca3af; cursor: not-allowed; transform: none; box-shadow: none; } .ifnex-tracking-result { margin-top: 20px; padding: 20px; background: #f9fafb; border-radius: 8px; border: 1px solid #e5e7eb; } .ifnex-error { color: #dc2626; font-weight: 500; padding: 10px; background: #fee2e2; border-radius: 6px; border-right: 3px solid #dc2626; } .ifnex-tracking-status h3 { margin-top: 0; font-size: 18px; font-weight: 700; color: #111827; } .ifnex-status-badge { display: inline-block; padding: 6px 14px; background: #f59e0b; color: white; border-radius: 6px; margin-bottom: 12px; font-weight: 600; font-size: 14px; } .ifnex-status-badge.delivered { background: #059669; } .ifnex-status-badge.failed { background: #dc2626; } .ifnex-status-badge.in_transit { background: #2563eb; } .ifnex-tracking-details { margin-top: 12px; } .ifnex-tracking-details p { margin: 6px 0; font-size: 14px; color: #4b5563; } .ifnex-tracking-details strong { color: #374151; margin-left: 8px; } .ifnex-timeline { margin-top: 20px; padding-top: 15px; border-top: 1px solid #e5e7eb; } .ifnex-timeline h4 { font-size: 16px; font-weight: 600; color: #111827; margin-bottom: 12px; } .ifnex-timeline ul { list-style: none; padding: 0; margin: 0; } .ifnex-timeline li { padding: 10px 12px; border-bottom: 1px solid #f3f4f6; display: flex; gap: 10px; align-items: flex-start; font-size: 14px; } .ifnex-timeline li:last-child { border-bottom: none; } .ifnex-timeline li strong { color: #f59e0b; font-weight: 600; white-space: nowrap; min-width: 100px; } .ifnex-timeline li span { color: #4b5563; flex: 1; } .ifnex-timeline li small { color: #9ca3af; font-size: 12px; white-space: nowrap; }