File size: 1,932 Bytes
227c43a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@import "@fontsource/inter/400.css";
@import "@fontsource/inter/500.css";
@import "@fontsource/inter/600.css";
@import "@fontsource/inter/700.css";

@tailwind base;
@tailwind components;
@tailwind utilities;

/* App base layout helpers */
.app-shell main {
  padding-top: 4rem;
}

/* Mobile-specific improvements */
@media (max-width: 768px) {
  /* Prevent zoom on input focus on iOS */
  input, select, textarea {
    font-size: 16px !important;
  }
  
  /* Better touch targets */
  button, input, select, textarea {
    min-height: 44px;
  }
  
  /* Fix viewport height issues on mobile */
  .min-h-screen {
    min-height: 100vh;
    min-height: -webkit-fill-available;
  }
  
  /* Prevent overscroll on mobile */
  body {
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
  }
  
  /* Improve scrolling on mobile */
  .overflow-auto, .overflow-y-auto {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  
  .overflow-auto::-webkit-scrollbar,
  .overflow-y-auto::-webkit-scrollbar {
    display: none;
  }
  
  /* Better mobile card spacing */
  .space-y-6 > * + * {
    margin-top: 1rem;
  }
  
  .space-y-8 > * + * {
    margin-top: 1.5rem;
  }
  
  /* Mobile-friendly grid gaps */
  .gap-8 {
    gap: 1rem;
  }
  
  .gap-6 {
    gap: 1rem;
  }
  
  /* Improve mobile padding */
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* iOS specific fixes */
@supports (-webkit-touch-callout: none) {
  /* Fix for iOS viewport height */
  .min-h-screen {
    min-height: -webkit-fill-available;
  }
  
  /* Remove iOS input shadows */
  input, textarea, select {
    -webkit-appearance: none;
    -webkit-border-radius: 0;
    border-radius: 0.5rem;
  }
  
  /* Remove tap highlight */
  * {
    -webkit-tap-highlight-color: transparent;
  }
}