.results-container { background-color: #F3F4F6; height: 100vh !important; overflow: hidden !important; position: relative; display: flex; flex-direction: column; } .results-items-list { flex: 1; /* Take up available space between header and footer */ height: calc(100vh - 150px - 140px) !important; overflow-y: auto !important; overflow-x: hidden !important; padding-bottom: 20px; scrollbar-width: thin !important; scrollbar-color: #fce303 transparent !important; } .results-items-list::-webkit-scrollbar { width: 6px !important; display: block !important; } .results-items-list::-webkit-scrollbar-track { background: transparent !important; } .results-items-list::-webkit-scrollbar-thumb { background-color: #fce303 !important; border-radius: 20px !important; } .results-top-header { background-color: #0062FF; padding: 12px 16px; display: flex; align-items: center; justify-content: center; position: relative; } .results-top-header h1 { color: white; font-size: 28px; font-weight: 800; } .results-top-header .back-btn { position: absolute; left: 16px; color: white; font-size: 20px; } /* Date Selection Bar */ .selection-bar { display: flex; padding: 16px; gap: 12px; align-items: center; } .date-pick-input { flex: 1; background: white; border: 1px solid #D1D5DB; border-radius: 8px; padding: 8px 10px; display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #374151; position: relative; overflow: visible; } /* Ensure flatpickr calendar stays within container bounds */ .date-pick-input .flatpickr-calendar { left: 0 !important; right: auto !important; max-width: 300px; } /* For the second (right-side) date input, align calendar to the right */ .date-pick-input:nth-child(2) .flatpickr-calendar { left: auto !important; right: 0 !important; } .btn-search-red { background-color: #0062FF; width: 54px; height: 54px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-size: 24px; box-shadow: 0 4px 10px rgba(238, 0, 51, 0.2); } /* Tabs */ .tab-switcher { display: flex; padding: 0 16px; gap: 12px; margin-bottom: 16px; } .tab-btn { flex: 1; background: white; border-radius: 12px; padding: 14px; text-align: center; font-weight: 800; color: #1F2937; font-size: 14px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); } /* Result Item Cards */ .result-item-red { background: white; border-radius: 16px; margin: 0 0px 16px 0px; padding: 16px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); position: relative; overflow: hidden; border: 1.5px solid #0062FF; } .item-date-text { flex: 0 0 90px; color: #374151; line-height: 1.2; font-weight: 700; } .item-date-text .day { font-size: 14px; margin-bottom: 2px; } .item-date-text .date { font-size: 12px; font-weight: 400; color: #6B7280; } .balls-container { flex: 1; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; padding: 2px 0; } .yellow-ball { width: 28px; height: 28px; background: linear-gradient(135deg, #FF3D63 0%, #E3132D 60%, #BA0F21 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 900; color: white; box-shadow: 0 2px 5px rgba(186, 15, 33, 0.3); } .yellow-ball:hover { transform: scale(1.1); box-shadow: 0 4px 8px rgba(186, 15, 33, 0.4); } .results-items-list { padding-bottom: 240px; /* Extra space for the sticky jackpot bar */ } /* Premium Grouped Result Cards */ .result-card-premium { background: white; border-radius: 20px !important; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important; border: 1px solid #F3F4F6 !important; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .result-card-premium:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important; } .game-result-row { padding: 4px 0; } /* Bottom Promo Bar */ .bottom-promo-red { background-color: #0062FF; padding: 12px; text-align: center; position: fixed; bottom: 74px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 414px; z-index: 40; } .promo-text { color: white; font-size: 12px; font-weight: 700; } .promo-highlight { display: block; color: #FFE600; font-size: 18px; font-weight: 900; margin-top: 2px; } /* Modern Flatpickr Red Theme */ .flatpickr-calendar { background: #fff; border-radius: 16px; box-shadow: 0 10px 25px rgba(0,0,0,0.1); border: 1px solid #eee; } .flatpickr-day.selected { background: #0062FF !important; border-color: #0062FF !important; color: #fff !important; } .flatpickr-months .flatpickr-month { background: #0062FF; color: #fff; fill: #fff; border-radius: 16px 16px 0 0; height: 50px; } .flatpickr-current-month .flatpickr-monthDropdown-months { font-weight: 800; color: #fff !important; background: transparent; } .flatpickr-current-month .flatpickr-monthDropdown-months .flatpickr-monthDropdown-month { background-color: #fff; color: #333; } .numInputWrapper span.arrowUp:after { border-bottom-color: #fff; } .numInputWrapper span.arrowDown:after { border-top-color: #fff; } .flatpickr-current-month input.cur-year { color: #fff !important; font-weight: 800; } .flatpickr-weekdays { background: #0062FF; border-radius: 0; } .flatpickr-weekday { background: #0062FF; color: rgba(255,255,255,0.9) !important; font-weight: 700; } .flatpickr-day.today { border-color: #0062FF !important; } .flatpickr-day:hover { background: #ffebee !important; } /* Game Tab Bar */ .game-tabs-container { -ms-overflow-style: none; scrollbar-width: none; } .game-tabs-container::-webkit-scrollbar { display: none; } .game-tab-btn { padding: 7px 18px; border-radius: 20px; background: white; color: #4B5563; font-size: 13px; font-weight: 800; border: 1px solid #E5E7EB; transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 0 2px 4px rgba(0,0,0,0.03); cursor: pointer; flex-shrink: 0; } .game-tab-btn.active { background: #0062FF; color: white; border-color: #0062FF; box-shadow: 0 6px 12px rgba(238, 0, 51, 0.25); transform: translateY(-1px); } .game-tab-btn:active { transform: scale(0.95); }