File size: 11,162 Bytes
0e1717f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>Greyhound Booking - Date Picker</title>
<style>
  body { margin: 0; padding: 0; background: transparent; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
  #render-target {
    width: 1080px; height: 2400px; position: relative; overflow: hidden;
    background: #f7f7f7;
  }

  /* Top app bar / header */
  .app-header {
    position: absolute; left: 0; top: 0; width: 1080px; height: 360px; background: #0b3c44;
  }
  .status-bar {
    position: absolute; top: 0; left: 0; width: 100%; height: 120px; color: #ffffff; font-weight: 600;
    display: flex; align-items: center; padding: 0 36px; box-sizing: border-box;
  }
  .status-bar .time { font-size: 40px; letter-spacing: 1px; }
  .status-icons { margin-left: auto; display: flex; gap: 28px; align-items: center; }
  .status-icons svg { width: 42px; height: 42px; fill: #ffffff; }

  .brand-row {
    position: absolute; top: 140px; left: 36px; right: 36px; height: 180px; display: flex; align-items: center;
  }
  .brand-placeholder {
    width: 400px; height: 140px; background: #E0E0E0; border: 1px solid #BDBDBD; color: #757575;
    display: flex; justify-content: center; align-items: center; border-radius: 8px;
  }

  /* Booking card */
  .booking-card {
    position: absolute; top: 370px; left: 36px; right: 36px; background: #ffffff;
    border: 1px solid #dcdcdc; border-radius: 24px; box-shadow: 0 2px 0 rgba(0,0,0,0.06); padding: 28px;
  }
  .field {
    border: 2px solid #e2e2e2; border-radius: 18px; padding: 28px; margin-bottom: 22px;
    position: relative; background: #fafafa;
  }
  .field-label { font-size: 30px; color: #5f6a6d; margin-bottom: 12px; }
  .field-value { font-size: 42px; color: #2e3a3d; }
  .swap-btn {
    position: absolute; right: -26px; top: 140px; width: 120px; height: 120px; border-radius: 60px;
    background: #ffffff; border: 2px solid #cfd8dc; box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    display: flex; justify-content: center; align-items: center;
  }
  .swap-btn svg { width: 64px; height: 64px; fill: none; stroke: #0b3c44; stroke-width: 6px; }

  .cta-row { margin-top: 20px; display: flex; }
  .cta-btn {
    background: #c0682f; color: #ffffff; font-weight: 700; font-size: 40px;
    padding: 26px 40px; border-radius: 18px; border: none; width: 360px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
  }

  /* News card below */
  .news-card {
    position: absolute; top: 880px; left: 36px; right: 36px; background: #ffffff;
    border: 1px solid #e0e0e0; border-radius: 24px; overflow: hidden;
  }
  .news-image {
    height: 360px; background: #E0E0E0; border-bottom: 1px solid #BDBDBD; color: #757575;
    display: flex; justify-content: center; align-items: center;
  }
  .news-content { padding: 28px; color: #404c50; }
  .news-title { font-size: 44px; margin-bottom: 10px; font-weight: 700; }
  .news-text { font-size: 36px; color: #6b7679; }
  .link { color: #0b3c44; font-size: 36px; margin-top: 20px; font-weight: 700; }

  /* Bottom navigation */
  .bottom-nav {
    position: absolute; bottom: 0; left: 0; width: 1080px; height: 180px; background: #eaecee; border-top: 1px solid #d0d3d6;
    display: flex; justify-content: space-around; align-items: center;
  }
  .nav-item { display: flex; flex-direction: column; align-items: center; gap: 16px; color: #5c6b70; font-size: 30px; }
  .nav-item.active { color: #0b3c44; font-weight: 700; }
  .nav-icon { width: 60px; height: 60px; }
  .nav-item.active .nav-icon circle { fill: #0b3c44; }
  .nav-item.active .nav-icon path { stroke: #ffffff; }

  /* Modal date picker */
  .modal-overlay {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.35);
  }
  .date-picker {
    position: absolute; left: 90px; top: 520px; width: 900px; background: #ffffff; border-radius: 22px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35); overflow: hidden;
  }
  .dp-header {
    background: #0b3c44; color: #ffffff; padding: 34px 38px 30px 38px; position: relative;
  }
  .dp-subtitle { font-size: 28px; letter-spacing: 2px; opacity: 0.85; }
  .dp-title { font-size: 78px; font-weight: 700; margin-top: 16px; }
  .edit-icon {
    position: absolute; right: 34px; top: 80px;
  }
  .edit-icon svg { width: 44px; height: 44px; fill: none; stroke: #ffffff; stroke-width: 6px; }

  .dp-body { padding: 26px 30px 30px 30px; }
  .month-row {
    display: flex; align-items: center; gap: 18px; margin-bottom: 20px;
  }
  .month-label { font-size: 40px; color: #606e74; font-weight: 700; letter-spacing: 1px; }
  .dropdown-caret {
    width: 0; height: 0; border-left: 10px solid transparent; border-right: 10px solid transparent; border-top: 14px solid #606e74; margin-left: 10px;
  }
  .month-row .spacer { flex: 1; }
  .chev-btn { width: 48px; height: 48px; border-radius: 10px; display: flex; justify-content: center; align-items: center; border: 1px solid #cdd6da; }
  .chev-btn svg { width: 26px; height: 26px; fill: none; stroke: #49575c; stroke-width: 6px; }

  .weekday-row {
    display: grid; grid-template-columns: repeat(7, 1fr);
    color: #7a868b; font-size: 30px; margin: 14px 6px 6px 6px;
    text-align: center;
  }
  .day-grid {
    display: grid; grid-template-columns: repeat(7, 1fr);
    gap: 8px; padding: 8px 6px;
  }
  .day {
    height: 100px; display: flex; justify-content: center; align-items: center; font-size: 42px; color: #a4adb1; border-radius: 50%;
  }
  .day.circled { border: 4px solid #8b9397; color: #4b565b; }
  .day.selected { background: #0b3c44; color: #ffffff; }
  .dp-actions {
    border-top: 1px solid transparent; display: flex; justify-content: flex-end; gap: 40px; padding: 22px 36px 28px;
  }
  .dp-action { font-size: 42px; color: #0b3c44; font-weight: 700; letter-spacing: 2px; }

</style>
</head>
<body>
<div id="render-target">

  <!-- Top header -->
  <div class="app-header">
    <div class="status-bar">
      <div class="time">10:20</div>
      <div class="status-icons">
        <!-- simple icons -->
        <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>
        <svg viewBox="0 0 24 24"><path d="M6 6h12v12H6z"/></svg>
        <svg viewBox="0 0 24 24"><path d="M12 4l6 8-6 8-6-8 6-8z"/></svg>
        <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="2"/><circle cx="20" cy="12" r="2"/></svg>
        <svg viewBox="0 0 24 24"><path d="M18 8a6 6 0 0 0-12 0v8h12V8z"/></svg>
      </div>
    </div>
    <div class="brand-row">
      <div class="brand-placeholder">[IMG: Greyhound Logo]</div>
    </div>
  </div>

  <!-- Booking form card -->
  <div class="booking-card">
    <div class="field">
      <div class="field-label">From</div>
      <div class="field-value">Hamilton, ON</div>
    </div>
    <div class="field">
      <div class="field-label">To</div>
      <div class="field-value">Replace destination</div>
      <div class="swap-btn" title="Swap">
        <svg viewBox="0 0 48 48">
          <path d="M24 8v16M24 8l-6 6M24 8l6 6"/>
          <path d="M24 40V24M24 40l-6-6M24 40l6-6"/>
        </svg>
      </div>
    </div>
    <div class="field">
      <div class="field-label">Departing</div>
      <div class="field-value">Oct 26</div>
    </div>
    <div class="field">
      <div class="field-label">Passengers</div>
      <div class="field-value">1</div>
    </div>

    <div class="cta-row"><button class="cta-btn">Search</button></div>
  </div>

  <!-- News card -->
  <div class="news-card">
    <div class="news-image">[IMG: Bus network banner]</div>
    <div class="news-content">
      <div class="news-title">What's New</div>
      <div class="news-text">Our network has expanded! See how this benefits you.</div>
      <div class="link">FIND OUT MORE</div>
    </div>
  </div>

  <!-- Bottom navigation -->
  <div class="bottom-nav">
    <div class="nav-item active">
      <svg class="nav-icon" viewBox="0 0 64 64">
        <circle cx="32" cy="32" r="28"/>
        <path d="M22 20h20M22 28h20M22 36h20" stroke="#ffffff" stroke-width="4" fill="none" stroke-linecap="round"/>
      </svg>
      <div>Booking</div>
    </div>
    <div class="nav-item">
      <svg class="nav-icon" viewBox="0 0 64 64">
        <rect x="14" y="16" width="36" height="28" rx="6" fill="#cfd8dc"/>
        <path d="M18 40h28M20 24h10M34 24h10" stroke="#5c6b70" stroke-width="4" fill="none" stroke-linecap="round"/>
      </svg>
      <div>Tickets</div>
    </div>
    <div class="nav-item">
      <svg class="nav-icon" viewBox="0 0 64 64">
        <path d="M32 10a16 16 0 0 0-16 16c0 12 16 28 16 28s16-16 16-28a16 16 0 0 0-16-16z" fill="#cfd8dc" stroke="#5c6b70" stroke-width="4"/>
        <circle cx="32" cy="26" r="6" fill="#5c6b70"/>
      </svg>
      <div>Stops</div>
    </div>
    <div class="nav-item">
      <svg class="nav-icon" viewBox="0 0 64 64">
        <circle cx="32" cy="32" r="26" fill="#cfd8dc" stroke="#5c6b70" stroke-width="4"/>
        <path d="M32 20v4M32 28v16" stroke="#5c6b70" stroke-width="5" stroke-linecap="round"/>
      </svg>
      <div>More</div>
    </div>
  </div>

  <!-- Date picker modal -->
  <div class="modal-overlay"></div>
  <div class="date-picker">
    <div class="dp-header">
      <div class="dp-subtitle">SELECT DATE</div>
      <div class="dp-title">Oct 26, 2023</div>
      <div class="edit-icon">
        <svg viewBox="0 0 24 24">
          <path d="M4 16l10-10 4 4-10 10H4z"/>
        </svg>
      </div>
    </div>
    <div class="dp-body">
      <div class="month-row">
        <div class="month-label">OCTOBER 2023</div>
        <div class="dropdown-caret"></div>
        <div class="spacer"></div>
        <div class="chev-btn" aria-label="Prev month">
          <svg viewBox="0 0 24 24"><path d="M15 5l-8 7 8 7"/></svg>
        </div>
        <div class="chev-btn" aria-label="Next month">
          <svg viewBox="0 0 24 24"><path d="M9 5l8 7-8 7"/></svg>
        </div>
      </div>

      <div class="weekday-row">
        <div>S</div><div>M</div><div>T</div><div>W</div><div>T</div><div>F</div><div>S</div>
      </div>

      <div class="day-grid">
        <div class="day">1</div><div class="day">2</div><div class="day">3</div><div class="day">4</div><div class="day">5</div><div class="day">6</div><div class="day">7</div>
        <div class="day">8</div><div class="day">9</div><div class="day">10</div><div class="day">11</div><div class="day">12</div><div class="day">13</div><div class="day">14</div>
        <div class="day">15</div><div class="day">16</div><div class="day">17</div><div class="day">18</div><div class="day">19</div><div class="day">20</div><div class="day">21</div>
        <div class="day">22</div><div class="day">23</div><div class="day">24</div><div class="day circled">25</div><div class="day selected">26</div><div class="day">27</div><div class="day">28</div>
        <div class="day">29</div><div class="day">30</div><div class="day">31</div>
      </div>

      <div class="dp-actions">
        <div class="dp-action">CANCEL</div>
        <div class="dp-action">OK</div>
      </div>
    </div>
  </div>

</div>
</body>
</html>