results.css 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. .results-container {
  2. background-color: #F3F4F6;
  3. height: 100vh !important;
  4. overflow: hidden !important;
  5. position: relative;
  6. display: flex;
  7. flex-direction: column;
  8. }
  9. .results-items-list {
  10. flex: 1; /* Take up available space between header and footer */
  11. height: calc(100vh - 150px - 140px) !important;
  12. overflow-y: auto !important;
  13. overflow-x: hidden !important;
  14. padding-bottom: 20px;
  15. scrollbar-width: thin !important;
  16. scrollbar-color: #fce303 transparent !important;
  17. }
  18. .results-items-list::-webkit-scrollbar {
  19. width: 6px !important;
  20. display: block !important;
  21. }
  22. .results-items-list::-webkit-scrollbar-track {
  23. background: transparent !important;
  24. }
  25. .results-items-list::-webkit-scrollbar-thumb {
  26. background-color: #fce303 !important;
  27. border-radius: 20px !important;
  28. }
  29. .results-top-header {
  30. background-color: #0062FF;
  31. 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");
  32. height: 64px;
  33. display: flex;
  34. align-items: center;
  35. padding: 0 16px;
  36. color: #fff;
  37. position: relative;
  38. z-index: 100;
  39. }
  40. .results-top-header h1 {
  41. flex: 1;
  42. text-align: center;
  43. font-size: 20px;
  44. font-weight: 800;
  45. margin-right: 32px; /* balance back button */
  46. color: white;
  47. }
  48. .results-top-header .back-btn {
  49. width: 32px;
  50. height: 32px;
  51. display: flex;
  52. align-items: center;
  53. justify-content: center;
  54. color: #fff;
  55. text-decoration: none;
  56. font-size: 18px;
  57. }
  58. /* Date Selection Bar */
  59. .selection-bar {
  60. display: flex;
  61. padding: 16px;
  62. gap: 12px;
  63. align-items: center;
  64. }
  65. .date-pick-input {
  66. flex: 1;
  67. background: white;
  68. border: 1px solid #D1D5DB;
  69. border-radius: 8px;
  70. padding: 8px 10px;
  71. display: flex;
  72. align-items: center;
  73. gap: 4px;
  74. font-size: 13px;
  75. font-weight: 700;
  76. color: #374151;
  77. position: relative;
  78. overflow: visible;
  79. }
  80. /* Ensure flatpickr calendar stays within container bounds */
  81. .date-pick-input .flatpickr-calendar {
  82. left: 0 !important;
  83. right: auto !important;
  84. max-width: 300px;
  85. }
  86. /* For the second (right-side) date input, align calendar to the right */
  87. .date-pick-input:nth-child(2) .flatpickr-calendar {
  88. left: auto !important;
  89. right: 0 !important;
  90. }
  91. .btn-search-red {
  92. background-color: #0062FF;
  93. width: 54px;
  94. height: 54px;
  95. border-radius: 12px;
  96. display: flex;
  97. align-items: center;
  98. justify-content: center;
  99. color: white;
  100. font-size: 24px;
  101. box-shadow: 0 4px 10px rgba(238, 0, 51, 0.2);
  102. }
  103. /* Tabs */
  104. .tab-switcher {
  105. display: flex;
  106. padding: 0 16px;
  107. gap: 12px;
  108. margin-bottom: 16px;
  109. }
  110. .tab-btn {
  111. flex: 1;
  112. background: white;
  113. border-radius: 12px;
  114. padding: 14px;
  115. text-align: center;
  116. font-weight: 800;
  117. color: #1F2937;
  118. font-size: 14px;
  119. box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  120. }
  121. /* Result Item Cards */
  122. .result-item-red {
  123. background: white;
  124. border-radius: 16px;
  125. margin: 0 0px 16px 0px;
  126. padding: 16px;
  127. display: flex;
  128. align-items: center;
  129. justify-content: space-between;
  130. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  131. position: relative;
  132. overflow: hidden;
  133. border: 1.5px solid #0062FF;
  134. }
  135. .item-date-text {
  136. flex: 0 0 90px;
  137. color: #374151;
  138. line-height: 1.2;
  139. font-weight: 700;
  140. }
  141. .item-date-text .day { font-size: 14px; margin-bottom: 2px; }
  142. .item-date-text .date { font-size: 12px; font-weight: 400; color: #6B7280; }
  143. .balls-container {
  144. flex: 1;
  145. display: flex;
  146. flex-wrap: wrap;
  147. justify-content: flex-end;
  148. gap: 4px;
  149. padding: 2px 0;
  150. }
  151. .yellow-ball {
  152. width: 28px;
  153. height: 28px;
  154. background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%);
  155. border-radius: 50%;
  156. display: flex;
  157. align-items: center;
  158. justify-content: center;
  159. font-size: 11px;
  160. font-weight: 900;
  161. color: white;
  162. box-shadow: 0 2px 5px rgba(186, 15, 33, 0.3);
  163. }
  164. .yellow-ball:hover {
  165. transform: scale(1.1);
  166. box-shadow: 0 4px 8px rgba(186, 15, 33, 0.4);
  167. }
  168. .results-items-list {
  169. padding-bottom: 240px; /* Extra space for the sticky jackpot bar */
  170. }
  171. /* Premium Grouped Result Cards */
  172. .result-card-premium {
  173. background: white;
  174. border-radius: 20px !important;
  175. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  176. border: 1px solid #F3F4F6 !important;
  177. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  178. }
  179. .result-card-premium:hover {
  180. transform: translateY(-3px);
  181. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  182. }
  183. .game-result-row {
  184. padding: 4px 0;
  185. }
  186. /* Bottom Promo Bar */
  187. .bottom-promo-red {
  188. background-color: #0062FF;
  189. padding: 12px;
  190. text-align: center;
  191. position: fixed;
  192. bottom: 74px;
  193. left: 50%;
  194. transform: translateX(-50%);
  195. width: 100%;
  196. max-width: 414px;
  197. z-index: 40;
  198. }
  199. .promo-text {
  200. color: white;
  201. font-size: 12px;
  202. font-weight: 700;
  203. }
  204. .promo-highlight {
  205. display: block;
  206. color: #FFE600;
  207. font-size: 18px;
  208. font-weight: 900;
  209. margin-top: 2px;
  210. }
  211. /* Modern Flatpickr Red Theme */
  212. .flatpickr-calendar {
  213. background: #fff;
  214. border-radius: 16px;
  215. box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  216. border: 1px solid #eee;
  217. }
  218. .flatpickr-day.selected {
  219. background: #0062FF !important;
  220. border-color: #0062FF !important;
  221. color: #fff !important;
  222. }
  223. .flatpickr-months .flatpickr-month {
  224. background: #0062FF;
  225. color: #fff;
  226. fill: #fff;
  227. border-radius: 16px 16px 0 0;
  228. height: 50px;
  229. }
  230. .flatpickr-current-month .flatpickr-monthDropdown-months {
  231. font-weight: 800;
  232. color: #fff !important;
  233. background: transparent;
  234. }
  235. .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  236. background-color: #fff;
  237. color: #333;
  238. }
  239. .numInputWrapper span.arrowUp:after { border-bottom-color: #fff; }
  240. .numInputWrapper span.arrowDown:after { border-top-color: #fff; }
  241. .flatpickr-current-month input.cur-year { color: #fff !important; font-weight: 800; }
  242. .flatpickr-weekdays { background: #0062FF; border-radius: 0; }
  243. .flatpickr-weekday { background: #0062FF; color: rgba(255,255,255,0.9) !important; font-weight: 700; }
  244. .flatpickr-day.today { border-color: #0062FF !important; }
  245. .flatpickr-day:hover { background: #ffebee !important; }
  246. /* Game Tab Bar */
  247. .game-tabs-container {
  248. -ms-overflow-style: none;
  249. scrollbar-width: none;
  250. }
  251. .game-tabs-container::-webkit-scrollbar {
  252. display: none;
  253. }
  254. .game-tab-btn {
  255. padding: 7px 18px;
  256. border-radius: 20px;
  257. background: white;
  258. color: #4B5563;
  259. font-size: 13px;
  260. font-weight: 800;
  261. border: 1px solid #E5E7EB;
  262. transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  263. box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  264. cursor: pointer;
  265. flex-shrink: 0;
  266. }
  267. .game-tab-btn.active {
  268. background: #0062FF;
  269. color: white;
  270. border-color: #0062FF;
  271. box-shadow: 0 6px 12px rgba(238, 0, 51, 0.25);
  272. transform: translateY(-1px);
  273. }
  274. .game-tab-btn:active {
  275. transform: scale(0.95);
  276. }