| <!DOCTYPE html> |
| <html lang="en"> |
| <head> |
| <meta charset="UTF-8"> |
| <meta name="viewport" content="width=1080, initial-scale=1.0"> |
| <title>Ticket Options UI</title> |
| <style> |
| body { |
| margin: 0; |
| padding: 0; |
| background: transparent; |
| font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; |
| color: #222; |
| } |
| #render-target { |
| position: relative; |
| width: 1080px; |
| height: 2400px; |
| overflow: hidden; |
| background: linear-gradient(180deg, #E26723 0%, #EA8040 18%, #F3A66B 32%, #F6B987 45%, #F4D7C2 60%, #F5F5F5 70%, #F5F5F5 100%); |
| border-radius: 0; |
| box-shadow: none; |
| } |
| |
| |
| .status-bar { |
| position: absolute; |
| top: 24px; |
| left: 36px; |
| right: 36px; |
| height: 48px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| color: rgba(255,255,255,0.95); |
| font-size: 30px; |
| letter-spacing: 0.5px; |
| } |
| .status-left { |
| display: flex; |
| align-items: center; |
| gap: 18px; |
| } |
| .status-right { |
| display: flex; |
| align-items: center; |
| gap: 22px; |
| } |
| .status-icon { |
| width: 34px; |
| height: 34px; |
| display: inline-flex; |
| align-items: center; |
| justify-content: center; |
| } |
| |
| |
| .top-bar { |
| position: absolute; |
| top: 100px; |
| left: 24px; |
| right: 24px; |
| height: 80px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .back-btn { |
| position: absolute; |
| left: 8px; |
| width: 72px; |
| height: 72px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| .title { |
| font-size: 48px; |
| font-weight: 600; |
| color: rgba(255,255,255,0.92); |
| } |
| |
| |
| .journey-card { |
| position: absolute; |
| top: 220px; |
| left: 36px; |
| right: 36px; |
| background: rgba(255,255,255,0.8); |
| backdrop-filter: blur(2px); |
| border-radius: 36px; |
| padding: 36px 40px; |
| box-shadow: 0 6px 12px rgba(0,0,0,0.06); |
| } |
| .journey-title { |
| font-size: 42px; |
| font-weight: 800; |
| color: #1d1d1d; |
| margin-bottom: 16px; |
| } |
| .journey-sub { |
| font-size: 32px; |
| color: #6b6b6b; |
| line-height: 1.35; |
| } |
| .journey-card .chev-right { |
| position: absolute; |
| right: 28px; |
| top: 40px; |
| width: 52px; |
| height: 52px; |
| display: flex; |
| align-items: center; |
| justify-content: center; |
| } |
| |
| |
| .tickets-section { |
| position: absolute; |
| top: 480px; |
| left: 36px; |
| right: 36px; |
| background: rgba(255,255,255,0.75); |
| border-radius: 32px; |
| padding: 32px 32px 48px; |
| } |
| .tickets-title { |
| font-size: 44px; |
| font-weight: 700; |
| color: #1f1f1f; |
| margin-bottom: 24px; |
| } |
| .ticket-card { |
| background: #fff; |
| border-radius: 28px; |
| border: 1px solid #E5E5E5; |
| padding: 34px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| box-shadow: 0 6px 10px rgba(0,0,0,0.04); |
| } |
| .price-line { |
| font-size: 42px; |
| font-weight: 800; |
| color: #C8561D; |
| } |
| .per-pax { |
| font-weight: 500; |
| color: #6f6f6f; |
| font-size: 32px; |
| margin-left: 8px; |
| } |
| .policy { |
| margin-top: 16px; |
| font-size: 32px; |
| color: #8a8a8a; |
| display: inline-flex; |
| align-items: center; |
| gap: 8px; |
| } |
| .select-btn { |
| background: #DA6A27; |
| color: #fff; |
| font-size: 36px; |
| font-weight: 700; |
| padding: 28px 40px; |
| border-radius: 22px; |
| border: none; |
| cursor: default; |
| box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08); |
| } |
| |
| |
| .bottom-sheet { |
| position: absolute; |
| left: 0; |
| right: 0; |
| bottom: 160px; |
| top: 820px; |
| background: #fff; |
| border-top-left-radius: 44px; |
| border-top-right-radius: 44px; |
| box-shadow: 0 -10px 20px rgba(0,0,0,0.08); |
| padding: 28px 36px 120px; |
| } |
| .sheet-header { |
| text-align: center; |
| font-size: 48px; |
| font-weight: 800; |
| color: #1d1d1d; |
| margin: 20px 0 32px; |
| } |
| |
| .sheet-filter { |
| background: #EEF3FF; |
| border-radius: 26px; |
| padding: 26px 28px; |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| color: #2F68FF; |
| font-size: 34px; |
| font-weight: 700; |
| margin: 0 8px 14px; |
| } |
| .itinerary-label { |
| color: #6b6b6b; |
| font-weight: 600; |
| } |
| .itinerary-row { |
| display: inline-flex; |
| align-items: center; |
| gap: 10px; |
| color: #6b6b6b; |
| font-size: 34px; |
| font-weight: 600; |
| } |
| |
| .details-card { |
| background: #fff; |
| border-radius: 28px; |
| border: 1px solid #E7E7E7; |
| padding: 34px 36px 40px; |
| box-shadow: 0 8px 16px rgba(0,0,0,0.05); |
| margin: 8px; |
| } |
| .train-number { |
| font-size: 32px; |
| color: #7a7a7a; |
| margin-bottom: 26px; |
| } |
| .times-row { |
| display: grid; |
| grid-template-columns: 1fr 220px 1fr; |
| align-items: center; |
| margin-bottom: 22px; |
| } |
| .time-left, |
| .time-right { |
| font-size: 72px; |
| font-weight: 800; |
| color: #121212; |
| } |
| .duration { |
| text-align: center; |
| color: #9a9a9a; |
| font-size: 30px; |
| position: relative; |
| } |
| .duration:before, |
| .duration:after { |
| content: ""; |
| position: absolute; |
| top: 50%; |
| width: 180px; |
| height: 1px; |
| background: #E4E4E4; |
| } |
| .duration:before { left: -190px; } |
| .duration:after { right: -190px; } |
| |
| .stations { |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| font-size: 36px; |
| color: #2b2b2b; |
| margin-top: 6px; |
| gap: 20px; |
| } |
| .station-right { |
| text-align: right; |
| } |
| |
| |
| .system-bottom { |
| position: absolute; |
| left: 0; |
| right: 0; |
| bottom: 0; |
| height: 160px; |
| background: #000; |
| } |
| .home-pill { |
| position: absolute; |
| left: 50%; |
| transform: translateX(-50%); |
| bottom: 52px; |
| width: 440px; |
| height: 14px; |
| background: #D0D0D0; |
| border-radius: 8px; |
| } |
| |
| |
| svg { display: block; } |
| </style> |
| </head> |
| <body> |
| <div id="render-target"> |
|
|
| |
| <div class="status-bar"> |
| <div class="status-left"> |
| <div>12:30</div> |
| <div class="status-icon" style="background:#3B1F12;border-radius:6px; width:26px; height:26px;"></div> |
| </div> |
| <div class="status-right"> |
| |
| <div class="status-icon"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <circle cx="12" cy="12" r="9" fill="none" stroke="rgba(255,255,255,0.9)" stroke-width="2"/> |
| </svg> |
| </div> |
| <div class="status-icon"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <path d="M3 16h18M6 12h12M9 8h6" stroke="rgba(255,255,255,0.9)" stroke-width="2" stroke-linecap="round"/> |
| </svg> |
| </div> |
| <div class="status-icon"> |
| <svg width="34" height="34" viewBox="0 0 24 24"> |
| <rect x="3" y="6" width="16" height="12" rx="2" fill="none" stroke="rgba(255,255,255,0.9)" stroke-width="2"/> |
| <path d="M21 10v4" stroke="rgba(255,255,255,0.9)" stroke-width="2" stroke-linecap="round"/> |
| <path d="M8 12l2.5-4 2 8 2-4" stroke="rgba(255,255,255,0.9)" stroke-width="2" stroke-linecap="round" fill="none"/> |
| </svg> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="top-bar"> |
| <div class="back-btn"> |
| <svg width="48" height="48" viewBox="0 0 24 24"> |
| <path d="M15 5l-7 7 7 7" fill="none" stroke="rgba(255,255,255,0.95)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| <div class="title">Ticket options</div> |
| </div> |
|
|
| |
| <div class="journey-card"> |
| <div class="journey-title">27 Oct 2023, 07:47–11:00</div> |
| <div class="journey-sub">Amsterdam Central - London St Pancras International · Eurostar 9119</div> |
| <div class="chev-right"> |
| <svg width="36" height="36" viewBox="0 0 24 24"> |
| <path d="M9 5l7 7-7 7" fill="none" stroke="#7a7a7a" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| </div> |
|
|
| |
| <div class="tickets-section"> |
| <div class="tickets-title">Select tickets</div> |
| <div class="ticket-card"> |
| <div> |
| <div><span class="price-line">US$ 402.49</span><span class="per-pax">/pax</span></div> |
| <div class="policy"> |
| <span>Change & refund policies</span> |
| <svg width="26" height="26" viewBox="0 0 24 24"> |
| <path d="M9 6l6 6-6 6" fill="none" stroke="#9b9b9b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| </div> |
| <button class="select-btn">Select</button> |
| </div> |
| </div> |
|
|
| |
| <div class="bottom-sheet"> |
| <div class="sheet-header">Train details</div> |
|
|
| <div class="sheet-filter"> |
| <div>27 Oct 2023</div> |
| <div class="itinerary-row"><span class="itinerary-label">Itinerary</span> |
| <svg width="26" height="26" viewBox="0 0 24 24"> |
| <path d="M6 9l6 6 6-6" fill="none" stroke="#6b6b6b" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/> |
| </svg> |
| </div> |
| </div> |
|
|
| <div class="details-card"> |
| <div class="train-number">Eurostar 9119</div> |
| <div class="times-row"> |
| <div class="time-left">07:47</div> |
| <div class="duration">4h 13m</div> |
| <div class="time-right">11:00</div> |
| </div> |
| <div class="stations"> |
| <div class="station-left">Amsterdam Central</div> |
| <div class="station-right">London St Pancras<br/>International</div> |
| </div> |
| </div> |
| </div> |
|
|
| |
| <div class="system-bottom"> |
| <div class="home-pill"></div> |
| </div> |
| </div> |
| </body> |
| </html> |