results.css 6.6 KB

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