File size: 2,253 Bytes
6c66cac
 
 
ab0678b
 
ee1db39
 
 
 
 
 
 
 
ab0678b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94bab5d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ab0678b
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
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer base {
  :root {
    color-scheme: light;
  }

  .dark {
    color-scheme: dark;
  }

  body {
    min-height: 100dvh;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    user-select: none;
    overflow-x: hidden;
  }

  /* Allow text selection in inputs and textareas */
  input, textarea {
    user-select: text;
  }
}

@layer utilities {
  /* Hide scrollbar for Chrome, Safari and Opera */
  .no-scrollbar::-webkit-scrollbar,
  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }
  /* Hide scrollbar for IE, Edge and Firefox */
  .no-scrollbar,
  .scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }

  /* Smooth transitions */
  .transition-all-custom {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
  }

  /* Checkbox custom style for Payment & Address page */
  .peer:checked ~ .custom-radio-border {
    border-color: #2b8cee;
    background-color: #f0f7ff;
  }
  .dark .peer:checked ~ .custom-radio-border {
    border-color: #2b8cee;
    background-color: rgba(43, 140, 238, 0.1);
  }

  .peer:checked ~ .custom-radio-border .radio-indicator {
    background-color: #2b8cee;
    border-color: #2b8cee;
  }

  /* Hide number input spinners */
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
  }

  /* Chat Bubble Tails */
  .clip-bubble-right {
    clip-path: polygon(0 0, 0% 100%, 100% 100%);
  }
  .clip-bubble-left {
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
  }

  /* Safe Area Utilities */
  .pt-safe {
    padding-top: env(safe-area-inset-top, 0px);
  }
  .pb-safe {
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pl-safe {
    padding-left: env(safe-area-inset-left, 0px);
  }
  .pr-safe {
    padding-right: env(safe-area-inset-right, 0px);
  }
  .mt-safe {
    margin-top: env(safe-area-inset-top, 0px);
  }
  .mb-safe {
    margin-bottom: env(safe-area-inset-bottom, 0px);
  }
  .pb-safe-bottom {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 1.5rem);
  }
}