| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- /* ===== Reward History page ===== */
- .reward-history-container {
- background-color: #F5F5F5;
- height: 100vh !important;
- overflow: hidden !important;
- position: relative;
- display: flex;
- flex-direction: column;
- }
- /* Card */
- .reward-card {
- background: #fff;
- border-radius: 14px;
- margin: 14px 0;
- box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
- border: 1px solid #F1F1F1;
- overflow: hidden;
- position: relative;
- }
- .reward-card-top {
- padding: 14px 16px 14px 16px;
- background: #fff;
- }
- .reward-card-bottom {
- padding: 12px 16px;
- background: #FDFDFD;
- border-top: 1px dashed #E5E7EB;
- }
- .reward-card-perforation {
- height: 4px;
- background-image: radial-gradient(circle, #F3F4F6 6px, transparent 6px);
- background-size: 24px 24px;
- background-position: center;
- background-repeat: repeat-x;
- margin: 0 -10px;
- }
- /* Header row */
- .reward-card-header {
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 10px;
- }
- .reward-id {
- font-size: 13px;
- color: #9CA3AF;
- font-weight: 700;
- font-family: 'Bricolage Grotesque', sans-serif;
- }
- /* Status pill */
- .reward-status {
- padding: 6px 14px;
- border-radius: 30px;
- font-size: 11px;
- font-weight: 900;
- text-transform: uppercase;
- letter-spacing: 0.5px;
- white-space: nowrap;
- }
- .reward-status-success { background: #DCFCE7; color: #15803D; }
- .reward-status-processing { background: #FFF9C4; color: #B45309; }
- .reward-status-pending { background: #DBEAFE; color: #1D4ED8; }
- .reward-status-reverted { background: #FEE2E2; color: #B91C1C; }
- .reward-status-unknown { background: #F3F4F6; color: #6B7280; }
- /* Amount display */
- .reward-amount-wrap {
- display: flex;
- align-items: baseline;
- gap: 8px;
- margin-top: 4px;
- }
- .reward-amount {
- font-size: 28px;
- font-weight: 900;
- color: #0062FF;
- line-height: 1;
- font-family: 'Bricolage Grotesque', sans-serif;
- }
- .reward-currency {
- font-size: 13px;
- font-weight: 800;
- color: #0062FF;
- text-transform: uppercase;
- }
- /* Info grid */
- .reward-info-grid {
- display: flex;
- flex-direction: column;
- gap: 8px;
- }
- .reward-info-row {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 12px;
- }
- .reward-info-label {
- font-size: 12px;
- color: #9CA3AF;
- font-weight: 700;
- text-transform: uppercase;
- letter-spacing: 0.4px;
- flex-shrink: 0;
- }
- .reward-info-value {
- font-size: 13px;
- color: #1F2937;
- font-weight: 800;
- text-align: right;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- /* Empty state */
- .reward-empty {
- width: 100%;
- padding: 96px 24px;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- color: #9CA3AF;
- opacity: 0.7;
- }
- .reward-empty i {
- font-size: 48px;
- margin-bottom: 16px;
- }
- .reward-empty p {
- font-weight: 700;
- font-size: 14px;
- }
- /* List container */
- .reward-list-container {
- flex: 1;
- height: calc(100vh - 80px) !important;
- overflow-y: auto !important;
- overflow-x: hidden !important;
- padding-bottom: calc(120px + env(safe-area-inset-bottom));
- scrollbar-width: thin !important;
- scrollbar-color: #fce303 transparent !important;
- }
- .reward-list-container::-webkit-scrollbar {
- width: 6px !important;
- display: block !important;
- }
- .reward-list-container::-webkit-scrollbar-track {
- background: transparent !important;
- }
- .reward-list-container::-webkit-scrollbar-thumb {
- background-color: #fce303 !important;
- border-radius: 20px !important;
- }
- /* Pagination */
- .reward-pagination {
- display: flex;
- justify-content: center;
- align-items: center;
- gap: 16px;
- padding: 32px 0 96px 0;
- }
- .reward-page-btn {
- padding: 8px 24px;
- background: #fff;
- border-radius: 12px;
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
- font-weight: 800;
- color: #6B7280;
- transition: transform 0.15s;
- cursor: pointer;
- border: none;
- }
- .reward-page-btn:active:not(:disabled) {
- transform: scale(0.95);
- }
- .reward-page-btn:disabled {
- opacity: 0.3;
- pointer-events: none;
- }
- .reward-page-indicator {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .reward-page-label {
- font-size: 10px;
- color: #9CA3AF;
- font-weight: 800;
- text-transform: uppercase;
- letter-spacing: 0.15em;
- }
- .reward-page-value {
- font-weight: 900;
- color: #0062FF;
- font-size: 18px;
- }
|