results.css 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  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. .millions-result-ball {
  169. position: relative;
  170. width: 32px;
  171. height: 32px;
  172. border-radius: 50%;
  173. display: inline-flex;
  174. align-items: center;
  175. justify-content: center;
  176. flex: 0 0 32px;
  177. color: #fff;
  178. font-size: 13px;
  179. font-weight: 900;
  180. line-height: 1;
  181. background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%);
  182. border: 1px solid rgba(255, 255, 255, 0.3);
  183. box-shadow: 0 4px 10px rgba(186, 15, 33, 0.25);
  184. transition: transform 0.2s ease;
  185. }
  186. .millions-result-ball:hover {
  187. transform: scale(1.08);
  188. }
  189. .millions-result-ball-mb {
  190. margin-right: 6px;
  191. background: radial-gradient(circle at 50% 50%,
  192. #0062ff 0%,
  193. #0062ff 60%,
  194. #0149f0 75%,
  195. #0231e0 85%,
  196. #0218d1 92%,
  197. #0300c2 100%);
  198. box-shadow: 0 4px 10px rgba(0, 98, 255, 0.28), inset 0 0 8px 3px rgba(0, 24, 209, 0.35);
  199. }
  200. .millions-result-mb-label {
  201. position: absolute;
  202. right: -5px;
  203. bottom: -7px;
  204. z-index: 2;
  205. display: inline-flex;
  206. align-items: center;
  207. justify-content: center;
  208. min-width: 18px;
  209. height: 12px;
  210. padding: 0 3px;
  211. border-radius: 3px;
  212. background: #ee0033;
  213. color: #fff;
  214. font-size: 8px;
  215. line-height: 1;
  216. font-weight: 900;
  217. letter-spacing: 0;
  218. box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  219. pointer-events: none;
  220. }
  221. .results-items-list {
  222. padding-bottom: 240px; /* Extra space for the sticky jackpot bar */
  223. }
  224. /* Premium Grouped Result Cards */
  225. .result-card-premium {
  226. background: white;
  227. border-radius: 20px !important;
  228. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  229. border: 1px solid #F3F4F6 !important;
  230. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  231. }
  232. .result-card-premium:hover {
  233. transform: translateY(-3px);
  234. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  235. }
  236. .game-result-row {
  237. padding: 4px 0;
  238. }
  239. /* Bottom Promo Bar */
  240. .bottom-promo-red {
  241. background-color: #0062FF;
  242. padding: 12px;
  243. text-align: center;
  244. position: fixed;
  245. bottom: 74px;
  246. left: 50%;
  247. transform: translateX(-50%);
  248. width: 100%;
  249. max-width: 414px;
  250. z-index: 40;
  251. }
  252. .promo-text {
  253. color: white;
  254. font-size: 12px;
  255. font-weight: 700;
  256. }
  257. .promo-highlight {
  258. display: block;
  259. color: #FFE600;
  260. font-size: 18px;
  261. font-weight: 900;
  262. margin-top: 2px;
  263. }
  264. /* Modern Flatpickr Red Theme */
  265. .flatpickr-calendar {
  266. background: #fff;
  267. border-radius: 16px;
  268. box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  269. border: 1px solid #eee;
  270. }
  271. .flatpickr-day.selected {
  272. background: #0062FF !important;
  273. border-color: #0062FF !important;
  274. color: #fff !important;
  275. }
  276. .flatpickr-months .flatpickr-month {
  277. background: #0062FF;
  278. color: #fff;
  279. fill: #fff;
  280. border-radius: 16px 16px 0 0;
  281. height: 50px;
  282. }
  283. .flatpickr-current-month .flatpickr-monthDropdown-months {
  284. font-weight: 800;
  285. color: #fff !important;
  286. background: transparent;
  287. }
  288. .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  289. background-color: #fff;
  290. color: #333;
  291. }
  292. .numInputWrapper span.arrowUp:after { border-bottom-color: #fff; }
  293. .numInputWrapper span.arrowDown:after { border-top-color: #fff; }
  294. .flatpickr-current-month input.cur-year { color: #fff !important; font-weight: 800; }
  295. .flatpickr-weekdays { background: #0062FF; border-radius: 0; }
  296. .flatpickr-weekday { background: #0062FF; color: rgba(255,255,255,0.9) !important; font-weight: 700; }
  297. .flatpickr-day.today { border-color: #0062FF !important; }
  298. .flatpickr-day:hover { background: #ffebee !important; }
  299. /* Game Tab Bar */
  300. .game-tabs-container {
  301. -ms-overflow-style: none;
  302. scrollbar-width: none;
  303. }
  304. .game-tabs-container::-webkit-scrollbar {
  305. display: none;
  306. }
  307. .game-tab-btn {
  308. padding: 7px 18px;
  309. border-radius: 20px;
  310. background: white;
  311. color: #4B5563;
  312. font-size: 13px;
  313. font-weight: 800;
  314. border: 1px solid #E5E7EB;
  315. transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  316. box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  317. cursor: pointer;
  318. flex-shrink: 0;
  319. }
  320. .game-tab-btn.active {
  321. background: #0062FF;
  322. color: white;
  323. border-color: #0062FF;
  324. box-shadow: 0 6px 12px rgba(238, 0, 51, 0.25);
  325. transform: translateY(-1px);
  326. }
  327. .game-tab-btn:active {
  328. transform: scale(0.95);
  329. }