buy-ticket.css 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. .font-bricolage {
  2. font-family: 'Bricolage Grotesque', sans-serif;
  3. }
  4. :root {
  5. --buy-ticket-primary-blue: #0062FF;
  6. --buy-ticket-dark-blue: #004ecc;
  7. }
  8. .millions-buy-ticket-page {
  9. background-color: var(--buy-ticket-primary-blue);
  10. height: 100vh;
  11. height: 100dvh;
  12. min-height: 100vh;
  13. display: flex;
  14. flex-direction: column;
  15. position: relative;
  16. max-width: 430px;
  17. margin: 0 auto;
  18. font-family: 'Bricolage Grotesque', sans-serif;
  19. overflow: hidden;
  20. }
  21. .millions-buy-ticket-page .header {
  22. background-color: var(--buy-ticket-primary-blue);
  23. background-image: url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15 L15 0 L30 15 L45 0 L60 15 L60 30 L45 15 L30 30 L15 15 L0 30 Z' fill='%23004ecc' fill-opacity='0.4'/%3E%3C/svg%3E");
  24. height: 64px;
  25. display: flex;
  26. align-items: center;
  27. padding: 0 16px;
  28. color: #fff;
  29. position: sticky;
  30. top: 0;
  31. z-index: 100;
  32. }
  33. .millions-buy-ticket-page .back-btn {
  34. width: 32px;
  35. height: 32px;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. color: #fff;
  40. text-decoration: none;
  41. font-size: 18px;
  42. flex-shrink: 0;
  43. }
  44. .millions-buy-ticket-page .header-title {
  45. flex: 1;
  46. text-align: center;
  47. font-size: 20px;
  48. font-weight: 800;
  49. margin-right: 32px;
  50. line-height: 1.1;
  51. }
  52. .millions-buy-ticket-page .content-card {
  53. background-color: #ffffff;
  54. flex: 1;
  55. border-radius: 40px 40px 0 0;
  56. box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  57. position: relative;
  58. overflow: hidden;
  59. display: flex;
  60. flex-direction: column;
  61. min-height: 0;
  62. }
  63. .millions-buy-ticket-page .ticket-subheader {
  64. background: #fff;
  65. padding: 12px 16px;
  66. box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  67. position: relative;
  68. z-index: 20;
  69. }
  70. .millions-buy-ticket-page .ticket-scroll-area {
  71. flex: 1;
  72. min-height: 0;
  73. overflow-y: auto;
  74. -webkit-overflow-scrolling: touch;
  75. overscroll-behavior: contain;
  76. }
  77. .millions-buy-ticket-page .ticket-bottom-bar {
  78. position: relative;
  79. z-index: 20;
  80. flex-shrink: 0;
  81. background: #fff;
  82. }
  83. .buy-ticket-modal-header {
  84. background-color: var(--buy-ticket-primary-blue);
  85. background-image: url("data:image/svg+xml,%3Csvg width='60' height='30' viewBox='0 0 60 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 15 L15 0 L30 15 L45 0 L60 15 L60 30 L45 15 L30 30 L15 15 L0 30 Z' fill='%23004ecc' fill-opacity='0.4'/%3E%3C/svg%3E");
  86. height: 64px;
  87. display: flex;
  88. align-items: center;
  89. padding: 0 16px;
  90. color: #fff;
  91. }
  92. .buy-ticket-modal-header .back-btn {
  93. width: 32px;
  94. height: 32px;
  95. display: flex;
  96. align-items: center;
  97. justify-content: center;
  98. color: #fff;
  99. text-decoration: none;
  100. font-size: 18px;
  101. flex-shrink: 0;
  102. }
  103. .buy-ticket-modal-header .header-title {
  104. flex: 1;
  105. text-align: center;
  106. font-size: 20px;
  107. font-weight: 800;
  108. margin-right: 32px;
  109. line-height: 1.1;
  110. }
  111. .ticket-card {
  112. background: url('/LotteryV2/img/Rectangle 132.svg') no-repeat center center;
  113. background-size: 100% 100%;
  114. padding: 15px 12px 20px 12px;
  115. position: relative;
  116. margin-top: 5px;
  117. margin-bottom: 5px;
  118. border: none;
  119. background-color: transparent !important;
  120. }
  121. .ball-circle {
  122. width: 30px;
  123. height: 30px;
  124. background: #EAEAEA;
  125. border-radius: 50%;
  126. display: flex;
  127. align-items: center;
  128. justify-content: center;
  129. font-weight: 900;
  130. font-size: 12px;
  131. color: #333;
  132. box-shadow: inset 0px -2px 4px rgba(0, 0, 0, 0.1);
  133. }
  134. .bg-green-main {
  135. background-color: #1AB13C;
  136. }
  137. .text-brown-main {
  138. color: #994900;
  139. }
  140. .ball-empty {
  141. background: #F3F4F6 !important;
  142. border: 1px solid #E5E7EB !important;
  143. box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.05) !important;
  144. }
  145. .ball-filled {
  146. background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%) !important;
  147. border: 1px solid rgba(255, 255, 255, 0.3) !important;
  148. color: #ffffff !important;
  149. box-shadow: 0 4px 10px rgba(186, 15, 33, 0.3) !important;
  150. font-weight: 900 !important;
  151. text-shadow: 0px 1px 2px rgba(0,0,0,0.1);
  152. transform: scale(1.1);
  153. }
  154. .active-num {
  155. background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%) !important;
  156. border: none !important;
  157. box-shadow: 0 4px 8px rgba(186, 15, 33, 0.4) !important;
  158. }
  159. .ticket-index {
  160. background-color: #1AB13C !important;
  161. border: 3px solid #ffffff !important;
  162. color: #ffffff !important;
  163. box-shadow: 0 4px 10px rgba(26, 177, 60, 0.3) !important;
  164. }
  165. /* Custom scrollbar to match mobile feel */
  166. ::-webkit-scrollbar {
  167. display: none;
  168. }