medos-sdk 1.1.12 → 1.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -190,6 +190,117 @@
190
190
  font-weight: 600;
191
191
  }
192
192
 
193
+ /* Grouped Slots Container */
194
+ .medos-slots-container-grouped {
195
+ display: flex;
196
+ flex-direction: column;
197
+ gap: 1.5rem;
198
+ margin-top: 1rem;
199
+ }
200
+
201
+ .medos-slot-period {
202
+ display: flex;
203
+ flex-direction: column;
204
+ gap: 0.75rem;
205
+ }
206
+
207
+ .medos-slot-period-header {
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: space-between;
211
+ padding-bottom: 0.75rem;
212
+ border-bottom: 2px solid var(--medos-border-color);
213
+ }
214
+
215
+ .medos-slot-period-title {
216
+ font-size: 0.875rem;
217
+ font-weight: 600;
218
+ color: var(--medos-text-color);
219
+ text-transform: uppercase;
220
+ letter-spacing: 0.5px;
221
+ }
222
+
223
+ .medos-slot-period-count {
224
+ font-size: 0.75rem;
225
+ color: var(--medos-text-color-secondary);
226
+ background-color: var(--medos-bg-color-secondary);
227
+ padding: 0.25rem 0.5rem;
228
+ border-radius: 999px;
229
+ }
230
+
231
+ .medos-slot-period-grid {
232
+ display: grid;
233
+ grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
234
+ gap: 0.75rem;
235
+ }
236
+
237
+ /* Slot Button */
238
+ .medos-slot-btn {
239
+ display: flex;
240
+ flex-direction: column;
241
+ align-items: center;
242
+ justify-content: center;
243
+ gap: 0.5rem;
244
+ padding: 0.75rem 0.5rem;
245
+ border: 2px solid var(--medos-border-color);
246
+ border-radius: var(--medos-border-radius);
247
+ background-color: var(--medos-bg-color);
248
+ color: var(--medos-text-color);
249
+ cursor: pointer;
250
+ font-family: inherit;
251
+ font-size: 1rem;
252
+ transition: all 0.2s ease-in-out;
253
+ position: relative;
254
+ min-height: 80px;
255
+ }
256
+
257
+ .medos-slot-btn:hover:not(:disabled) {
258
+ border-color: var(--medos-primary-color);
259
+ background-color: var(--medos-bg-color-secondary);
260
+ transform: translateY(-2px);
261
+ box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
262
+ }
263
+
264
+ .medos-slot-btn:active:not(:disabled) {
265
+ transform: translateY(0);
266
+ }
267
+
268
+ .medos-slot-btn.selected {
269
+ border-color: var(--medos-primary-color);
270
+ background-color: var(--medos-primary-color);
271
+ color: var(--medos-bg-color);
272
+ box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
273
+ }
274
+
275
+ .medos-slot-time-range {
276
+ display: flex;
277
+ align-items: center;
278
+ justify-content: center;
279
+ gap: 0.25rem;
280
+ font-weight: 600;
281
+ font-size: 1rem;
282
+ }
283
+
284
+ .medos-slot-start-time {
285
+ color: inherit;
286
+ }
287
+
288
+ .medos-slot-separator {
289
+ color: inherit;
290
+ opacity: 0.7;
291
+ font-size: 0.875rem;
292
+ }
293
+
294
+ .medos-slot-end-time {
295
+ color: inherit;
296
+ }
297
+
298
+ .medos-slot-duration {
299
+ font-size: 0.75rem;
300
+ opacity: 0.75;
301
+ font-weight: 400;
302
+ }
303
+
193
304
  /* Success message */
194
305
  .medos-appointment-success-card {
195
306
  text-align: center;
@@ -443,6 +554,25 @@
443
554
  font-size: 11px;
444
555
  }
445
556
 
557
+ .medos-slot-period-grid {
558
+ grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
559
+ gap: 8px;
560
+ }
561
+
562
+ .medos-slot-btn {
563
+ min-height: 75px;
564
+ padding: 10px 6px;
565
+ gap: 4px;
566
+ }
567
+
568
+ .medos-slot-time-range {
569
+ font-size: 14px;
570
+ }
571
+
572
+ .medos-slot-duration {
573
+ font-size: 11px;
574
+ }
575
+
446
576
  /* Enquiry Form Mobile Styles */
447
577
  .medos-enquiry-container {
448
578
  padding: 12px;
@@ -480,6 +610,33 @@
480
610
  }
481
611
  }
482
612
 
613
+ /* Extra small devices (up to 480px) */
614
+ @media (max-width: 480px) {
615
+ .medos-slot-period-grid {
616
+ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
617
+ }
618
+
619
+ .medos-slot-btn {
620
+ min-height: 70px;
621
+ padding: 8px 4px;
622
+ gap: 4px;
623
+ }
624
+
625
+ .medos-slot-time-range {
626
+ font-size: 13px;
627
+ }
628
+
629
+ .medos-slot-duration {
630
+ font-size: 10px;
631
+ }
632
+
633
+ .medos-slot-period-header {
634
+ flex-direction: column;
635
+ align-items: flex-start;
636
+ gap: 4px;
637
+ }
638
+ }
639
+
483
640
  /* Tablet devices (768px to 1023px) */
484
641
  @media (min-width: 768px) and (max-width: 1023px) {
485
642
  .medos-appointment-card,