results.css 8.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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. .date-range-input {
  67. flex: 1;
  68. background: white;
  69. border: 1px solid #D1D5DB;
  70. border-radius: 8px;
  71. padding: 8px 10px;
  72. display: flex;
  73. align-items: center;
  74. gap: 4px;
  75. font-size: 13px;
  76. font-weight: 700;
  77. color: #374151;
  78. position: relative;
  79. overflow: visible;
  80. }
  81. /* Ensure flatpickr calendar stays within container bounds */
  82. .date-pick-input .flatpickr-calendar,
  83. .date-range-input .flatpickr-calendar {
  84. left: 0 !important;
  85. right: auto !important;
  86. max-width: min(330px, calc(100vw - 32px));
  87. }
  88. .btn-search-red {
  89. background-color: #0062FF;
  90. width: 54px;
  91. height: 54px;
  92. border-radius: 12px;
  93. display: flex;
  94. align-items: center;
  95. justify-content: center;
  96. color: white;
  97. font-size: 24px;
  98. box-shadow: 0 4px 10px rgba(238, 0, 51, 0.2);
  99. }
  100. /* Tabs */
  101. .tab-switcher {
  102. display: flex;
  103. padding: 0 16px;
  104. gap: 12px;
  105. margin-bottom: 16px;
  106. }
  107. .tab-btn {
  108. flex: 1;
  109. background: white;
  110. border-radius: 12px;
  111. padding: 14px;
  112. text-align: center;
  113. font-weight: 800;
  114. color: #1F2937;
  115. font-size: 14px;
  116. box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  117. }
  118. /* Result Item Cards */
  119. .result-item-red {
  120. background: white;
  121. border-radius: 16px;
  122. margin: 0 0px 16px 0px;
  123. padding: 16px;
  124. display: flex;
  125. align-items: center;
  126. justify-content: space-between;
  127. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  128. position: relative;
  129. overflow: hidden;
  130. border: 1.5px solid #0062FF;
  131. }
  132. .item-date-text {
  133. flex: 0 0 90px;
  134. color: #374151;
  135. line-height: 1.2;
  136. font-weight: 700;
  137. }
  138. .item-date-text .day { font-size: 14px; margin-bottom: 2px; }
  139. .item-date-text .date { font-size: 12px; font-weight: 400; color: #6B7280; }
  140. .balls-container {
  141. flex: 1;
  142. display: flex;
  143. flex-wrap: wrap;
  144. justify-content: flex-end;
  145. gap: 4px;
  146. padding: 2px 0;
  147. }
  148. .yellow-ball {
  149. width: 28px;
  150. height: 28px;
  151. background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%);
  152. border-radius: 50%;
  153. display: flex;
  154. align-items: center;
  155. justify-content: center;
  156. font-size: 11px;
  157. font-weight: 900;
  158. color: white;
  159. box-shadow: 0 2px 5px rgba(186, 15, 33, 0.3);
  160. }
  161. .yellow-ball:hover {
  162. transform: scale(1.1);
  163. box-shadow: 0 4px 8px rgba(186, 15, 33, 0.4);
  164. }
  165. .millions-result-ball {
  166. position: relative;
  167. width: 32px;
  168. height: 32px;
  169. border-radius: 50%;
  170. display: inline-flex;
  171. align-items: center;
  172. justify-content: center;
  173. flex: 0 0 32px;
  174. color: #fff;
  175. font-size: 13px;
  176. font-weight: 900;
  177. line-height: 1;
  178. background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%);
  179. border: 1px solid rgba(255, 255, 255, 0.3);
  180. box-shadow: 0 4px 10px rgba(186, 15, 33, 0.25);
  181. transition: transform 0.2s ease;
  182. }
  183. .millions-result-ball:hover {
  184. transform: scale(1.08);
  185. }
  186. .millions-result-ball-mb {
  187. margin-right: 6px;
  188. background: radial-gradient(circle at 50% 50%,
  189. #0062ff 0%,
  190. #0062ff 60%,
  191. #0149f0 75%,
  192. #0231e0 85%,
  193. #0218d1 92%,
  194. #0300c2 100%);
  195. box-shadow: 0 4px 10px rgba(0, 98, 255, 0.28), inset 0 0 8px 3px rgba(0, 24, 209, 0.35);
  196. }
  197. .millions-result-mb-label {
  198. position: absolute;
  199. right: -5px;
  200. bottom: -7px;
  201. z-index: 2;
  202. display: inline-flex;
  203. align-items: center;
  204. justify-content: center;
  205. min-width: 18px;
  206. height: 12px;
  207. padding: 0 3px;
  208. border-radius: 3px;
  209. background: #ee0033;
  210. color: #fff;
  211. font-size: 8px;
  212. line-height: 1;
  213. font-weight: 900;
  214. letter-spacing: 0;
  215. box-shadow: 0 1px 3px rgba(0,0,0,0.18);
  216. pointer-events: none;
  217. }
  218. .results-items-list {
  219. padding-bottom: 240px; /* Extra space for the sticky jackpot bar */
  220. }
  221. /* Premium Grouped Result Cards */
  222. .result-card-premium {
  223. background: white;
  224. border-radius: 20px !important;
  225. box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
  226. border: 1px solid #F3F4F6 !important;
  227. transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  228. }
  229. .result-card-premium:hover {
  230. transform: translateY(-3px);
  231. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
  232. }
  233. .game-result-row {
  234. padding: 4px 0;
  235. }
  236. /* Bottom Promo Bar */
  237. .bottom-promo-red {
  238. background-color: #0062FF;
  239. padding: 12px;
  240. text-align: center;
  241. position: fixed;
  242. bottom: 74px;
  243. left: 50%;
  244. transform: translateX(-50%);
  245. width: 100%;
  246. max-width: 414px;
  247. z-index: 40;
  248. }
  249. .promo-text {
  250. color: white;
  251. font-size: 12px;
  252. font-weight: 700;
  253. }
  254. .promo-highlight {
  255. display: block;
  256. color: #FFE600;
  257. font-size: 18px;
  258. font-weight: 900;
  259. margin-top: 2px;
  260. }
  261. /* Modern Flatpickr Red Theme */
  262. .flatpickr-calendar {
  263. background: #fff;
  264. border-radius: 16px;
  265. box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  266. border: 1px solid #eee;
  267. }
  268. .flatpickr-day.selected {
  269. background: #0062FF !important;
  270. border-color: #0062FF !important;
  271. color: #fff !important;
  272. }
  273. .flatpickr-day.startRange,
  274. .flatpickr-day.endRange {
  275. background: #0062FF !important;
  276. border-color: #0062FF !important;
  277. color: #fff !important;
  278. }
  279. .flatpickr-day.inRange {
  280. background: rgba(0, 98, 255, 0.12) !important;
  281. border-color: transparent !important;
  282. box-shadow: -5px 0 0 rgba(0, 98, 255, 0.12), 5px 0 0 rgba(0, 98, 255, 0.12) !important;
  283. }
  284. .flatpickr-months .flatpickr-month {
  285. background: #0062FF;
  286. color: #fff;
  287. fill: #fff;
  288. border-radius: 16px 16px 0 0;
  289. height: 50px;
  290. }
  291. .flatpickr-current-month .flatpickr-monthDropdown-months {
  292. font-weight: 800;
  293. color: #fff !important;
  294. background: transparent;
  295. }
  296. .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month {
  297. background-color: #fff;
  298. color: #333;
  299. }
  300. .numInputWrapper span.arrowUp:after { border-bottom-color: #fff; }
  301. .numInputWrapper span.arrowDown:after { border-top-color: #fff; }
  302. .flatpickr-current-month input.cur-year { color: #fff !important; font-weight: 800; }
  303. .flatpickr-weekdays { background: #0062FF; border-radius: 0; }
  304. .flatpickr-weekday { background: #0062FF; color: rgba(255,255,255,0.9) !important; font-weight: 700; }
  305. .flatpickr-day.today { border-color: #0062FF !important; }
  306. .flatpickr-day:hover { background: #ffebee !important; }
  307. /* Game Tab Bar */
  308. .game-tabs-container {
  309. -ms-overflow-style: none;
  310. scrollbar-width: none;
  311. }
  312. .game-tabs-container::-webkit-scrollbar {
  313. display: none;
  314. }
  315. .game-tab-btn {
  316. padding: 7px 18px;
  317. border-radius: 20px;
  318. background: white;
  319. color: #4B5563;
  320. font-size: 13px;
  321. font-weight: 800;
  322. border: 1px solid #E5E7EB;
  323. transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  324. box-shadow: 0 2px 4px rgba(0,0,0,0.03);
  325. cursor: pointer;
  326. flex-shrink: 0;
  327. }
  328. .game-tab-btn.active {
  329. background: #0062FF;
  330. color: white;
  331. border-color: #0062FF;
  332. box-shadow: 0 6px 12px rgba(238, 0, 51, 0.25);
  333. transform: translateY(-1px);
  334. }
  335. .game-tab-btn:active {
  336. transform: scale(0.95);
  337. }