/* ==================== WALLET MENU ==================== */
.wallet-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    width: 100%;
}

.wallet-option.selected {
    box-shadow: 0 0 0 2px var(--color-info);
}

.wallet-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 0.8rem;
    background: var(--bg-tertiary);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: var(--card-text);
    text-align: center;
    min-height: 100px;
    justify-content: center;
}

.wallet-option:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-focus);
    transform: translateY(-1px);
}

.wallet-option-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #1a1a2e;
    border-radius: 14px;
    color: var(--color-white);
    flex-shrink: 0;
    margin-bottom: 0.4rem;
}

.wallet-option-content {
    flex: 1;
    min-width: 0;
    text-align: center;
}

.wallet-option-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    line-height: 1.1;
}

.wallet-option-subtitle {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.3;
    display: none;
}

.wallet-option-arrow {
    display: none;
}

/* ==================== WALLET PHONE INFO ==================== */
.wallet-phone-info {
    text-align: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
}

.wallet-info-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-top: 1rem;
}

.wallet-status-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.6rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.2s ease;
    flex: 1;
    min-width: 0;
}

.wallet-status-badge.active {
    background: rgba(52, 211, 153, 0.1);
    color: var(--color-success);
}

.wallet-status-badge.stopped {
    background: rgba(248, 113, 113, 0.1);
    color: var(--color-error);
}

.wallet-status-badge.warning {
    background: rgba(251, 191, 36, 0.1);
    color: var(--color-warning);
}

.wallet-phone-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: #1a1a2e;
    border-radius: 50px;
}

.wallet-phone-text {
    color: var(--text-inverse);
    font-weight: 600;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

/* ==================== WALLET ERROR STATES ==================== */
.wallet-error {
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

.wallet-error-icon {
    color: var(--color-error);
    margin-bottom: 0.5rem;
}

.wallet-error-text {
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

.wallet-error-inline {
    background: rgba(248, 113, 113, 0.1);
    border: 2px solid var(--color-error);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.wallet-error-inline-icon {
    color: var(--color-error);
    margin-bottom: 1rem;
}

.wallet-error-inline-text {
    color: var(--color-error);
    margin: 0;
    font-weight: 500;
    line-height: 1.5;
}

/* ==================== WALLET BALANCE (Legacy) ==================== */
.wallet-balance-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wallet-balance-card {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 2rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.wallet-balance-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wallet-balance-icon svg {
    color: var(--text-primary);
}

.wallet-balance-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

.wallet-balance-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
}

.wallet-balance-meta {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    line-height: 1.4;
}

/* ==================== WALLET PIN (Legacy) ==================== */
.wallet-pin-container {
    text-align: center;
    margin-bottom: 2.5rem;
}

.wallet-pin-card {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.wallet-pin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wallet-pin-icon svg {
    color: var(--text-primary);
}

.wallet-pin-title {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    line-height: 1.4;
}

.wallet-pin-number {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 0.5rem;
    margin: 0;
    font-family: 'Courier New', monospace;
    line-height: 1.2;
}

.wallet-pin-meta {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    line-height: 1.4;
}

.wallet-pin-countdown {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 1.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--border-radius) - 4px);
    line-height: 1.4;
}

.wallet-pin-countdown span {
    font-weight: 600;
    color: var(--color-warning);
}

.wallet-pin-form-container {
    background: #1a1a2e;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.wallet-pin-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.wallet-pin-form-icon svg {
    color: var(--text-primary);
}

.wallet-pin-form-title {
    margin: 0 0 1.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.wallet-pin-form-text {
    color: var(--text-secondary);
    margin: 0 0 2rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.8;
}

.wallet-pin-form {
    margin: 0;
}

.wallet-pin-reveal-btn {
    background: var(--color-warning);
    border: none;
    color: var(--color-white);
    border-radius: 50px;
    padding: 1.25rem 2.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    line-height: 1.4;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
}

.wallet-pin-reveal-btn:hover {
    background: var(--color-warning);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.wallet-pin-reveal-icon {
    margin-right: 0.75rem;
    vertical-align: middle;
}

/* ==================== WALLET SUCCESS STATE ==================== */
.wallet-success-state {
    text-align: center;
    margin-bottom: 2rem;
}

.wallet-success-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    color: var(--color-success);
}

.wallet-success-title {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.wallet-success-text {
    color: var(--text-muted);
    font-size: 1rem;
    text-align: center;
    line-height: 1.5;
    margin: 0;
}

/* ==================== WALLET CONFIRMATION ==================== */
.wallet-confirmation-container {
    text-align: center;
    margin-bottom: 2rem;
}

.wallet-warning-icon, .wallet-info-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.wallet-warning-icon {
    color: var(--color-warning);
}

.wallet-info-icon {
    color: var(--color-info);
}

.wallet-confirmation-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.wallet-confirmation-text {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

/* ==================== WALLET TRANSACTIONS (Legacy) ==================== */
.wallet-transactions-container {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.wallet-transactions-title {
    margin: 0 0 1.5rem 0;
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.4;
    font-weight: 600;
    text-align: center;
}

.wallet-transaction-item {
    background: var(--bg-tertiary);
    color: var(--card-text);
    border: 1px solid var(--border-accent);
    border-radius: 16px;
    margin-bottom: 1rem;
    padding: 1.25rem;
}

.wallet-transaction-item:hover {
    transform: translateY(-1px);
}

.wallet-transaction-item.rejected {
    background: #dc2626;
}

.wallet-transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
}

.wallet-transaction-left {
    flex: 1;
    padding-right: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.wallet-transaction-icon {
    width: 36px;
    height: 36px;
    border-radius: calc(var(--border-radius) - 2px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-transaction-icon.pos {
    background: #1976d2;
    color: var(--color-white);
}

.wallet-transaction-icon.atm {
    background: #7b1fa2;
    color: var(--color-white);
}

.wallet-transaction-icon.refund {
    background: #388e3c;
    color: var(--color-white);
}

.wallet-transaction-icon.transfer {
    background: #f57c00;
    color: var(--color-white);
}

.wallet-transaction-icon.fee {
    background: #d32f2f;
    color: var(--color-white);
}

.wallet-transaction-icon.default {
    background: var(--card-bg);
    color: var(--text-primary);
}

.wallet-transaction-content {
    flex: 1;
}

.wallet-transaction-description {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.wallet-transaction-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.7;
    line-height: 1.3;
    font-weight: 400;
}

.wallet-transaction-merchant {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.6;
    margin-top: 0.25rem;
    line-height: 1.3;
    font-weight: 400;
    max-width: 100%;
}

.wallet-transaction-right {
    text-align: right;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 0.25rem;
}

.wallet-transaction-amount {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    color: var(--color-success);
}

.wallet-transaction-amount.rejected {
    color: var(--color-error);
}

.wallet-transaction-status {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--border-radius) - 4px);
    line-height: 1;
}

.wallet-transaction-status.approved {
    background: var(--color-success);
    color: var(--color-white);
    border: none;
}

.wallet-transaction-status.pending {
    background: var(--color-warning);
    color: var(--color-white);
    border: none;
}

.wallet-transaction-status.rejected {
    background: var(--color-error);
    color: var(--color-white);
    border: none;
}

.wallet-transaction-actions {
    border-top: 1px solid var(--border-accent);
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    padding-top: 1rem;
}

.wallet-claim-btn {
    background: var(--color-warning);
    border: none;
    color: var(--color-white);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.875rem;
    line-height: 1.5;
    min-width: 180px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    letter-spacing: 0.04em;
}

.wallet-claim-btn:hover {
    background: #f57c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
}

.wallet-claim-btn:active {
    transform: translateY(0);
}

.wallet-claim-icon {
    margin-right: 1rem;
    vertical-align: middle;
}

/* ==================== WALLET EMPTY STATE ==================== */
.wallet-empty-state {
    text-align: center;
    padding: 3rem 1.5rem;
}

.wallet-empty-icon {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.wallet-empty-title {
    color: var(--text-muted);
    margin: 0 0 1rem 0;
    line-height: 1.4;
}

.wallet-empty-text {
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==================== WALLET ACTIONS ==================== */
.wallet-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    flex-wrap: nowrap;
    align-items: stretch;
}

.wallet-actions > * {
    flex: 1;
    min-width: 0;
}

.wallet-actions > *:only-child {
    flex: none;
    width: 100%;
}

/* ==================== WALLET BUTTONS ==================== */
.wallet-btn-primary {
    background: #1a1a2e;
    color: var(--color-white);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.04em;
    border: none;
}

.wallet-btn-primary:hover {
    background: #0f0f1e;
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(26, 26, 46, 0.3);
}

.wallet-btn-secondary {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.5;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    letter-spacing: 0.04em;
    border: 1px solid var(--border-accent);
}

.wallet-btn-secondary:hover {
    background: var(--bg-accent);
    border-color: var(--text-muted);
    transform: translateY(-2px);
}

.wallet-btn-danger {
    background: var(--color-error) !important;
    border-color: var(--color-error) !important;
}

.wallet-btn-danger:hover {
    background: var(--color-error-dark) !important;
    border-color: var(--color-error-dark) !important;
}

/* ==================== WALLET LOGOUT ==================== */
.wallet-logout-section {
    grid-column: 1 / -1;
    margin-top: 2.5rem;
    text-align: center;
}

.wallet-logout-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    font-size: 14px;
    padding: 0.75rem;
    line-height: 1.4;
}

.wallet-logout-btn:hover {
    color: var(--text-secondary);
}

/* ==================== SHARED STATE CONTAINERS ==================== */
.wallet-success-state,
.wallet-confirmation-container,
.wallet-error,
.wallet-error-inline,
.wallet-empty-state {
    color: var(--card-text);
    border-radius: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 2rem 1.5rem;
}

/* ==================== HELP PAGE ==================== */
.help-section {
    margin-bottom: 1.5rem;
}

.help-section-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.help-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-primary-light);
    border-radius: 12px;
    color: var(--color-primary);
}

.help-section-icon i {
    width: 20px;
    height: 20px;
}

.help-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.help-info-card {
    background: var(--bg-tertiary);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.help-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-secondary);
    border-radius: 10px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.help-info-icon i {
    width: 18px;
    height: 18px;
}

.help-info-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.help-info-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.help-info-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
}

.help-phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.help-phone-link,
.help-email-link {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.help-phone-link:hover,
.help-email-link:hover {
    text-decoration: underline;
}

.help-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 10px;
    margin-top: 0.75rem;
}

.help-note i {
    width: 16px;
    height: 16px;
    color: var(--color-info);
    flex-shrink: 0;
    margin-top: 2px;
}

.help-note span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.help-claims-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 16px;
    text-align: center;
}

.help-claims-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.help-claims-icon i {
    width: 28px;
    height: 28px;
}

.help-claims-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0 0 0.25rem 0;
}

.help-claims-subtext {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

/* ==================== HELP CLAIMS LIST ==================== */
.help-claims-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.help-claim-card {
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.help-claim-reference {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-primary);
    font-family: monospace;
}

.help-claim-status {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.help-claim-status.status-queued {
    background: rgba(234, 179, 8, 0.15);
    color: #ca8a04;
}

.help-claim-status.status-in-progress,
.help-claim-status.status-active {
    background: rgba(59, 130, 246, 0.15);
    color: #2563eb;
}

.help-claim-status.status-resolved {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.help-claim-status.status-rejected {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

.help-claim-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.help-claim-narrative {
    font-size: 0.85rem;
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.help-claim-amount {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    flex-shrink: 0;
}

.help-claim-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.help-claim-date {
    color: var(--text-muted);
}

.help-claim-reason {
    text-transform: capitalize;
}

.help-claim-comments {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    margin-top: 0.25rem;
}

.help-claim-comments i {
    width: 14px;
    height: 14px;
    color: var(--text-muted);
    flex-shrink: 0;
    margin-top: 2px;
}

.help-claim-comments span {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}
