Spaces:
Running
Running
File size: 3,614 Bytes
108ad5f | 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 | /* DoctorKavach Clinical Theme & Animations */
:root {
--bg-slate: #F8FAFC;
--navy-dark: #0F172A;
--navy-light: #1E293B;
--trust-green: #16A34A;
--trust-green-light: #DCFCE7;
--alert-amber: #F97316;
--alert-amber-light: #FFEDD5;
--alert-red: #DC2626;
--alert-red-light: #FEE2E2;
--medical-blue: #0284C7;
--medical-blue-light: #E0F2FE;
}
body {
background-color: var(--bg-slate);
color: var(--navy-dark);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
background: #CBD5E1;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #94A3B8;
}
/* Pulse animation for Verified Shield */
@keyframes shield-pulse {
0% {
box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
}
70% {
box-shadow: 0 0 0 10px rgba(22, 163, 74, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(22, 163, 74, 0);
}
}
.shield-pulse {
animation: shield-pulse 2s infinite cubic-bezier(0.4, 0, 0.6, 1);
}
/* Warning pulse */
@keyframes warning-pulse {
0% {
box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.4);
}
70% {
box-shadow: 0 0 0 8px rgba(249, 115, 22, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
}
}
.warning-pulse {
animation: warning-pulse 2.2s infinite;
}
/* Phone Simulator Mockup */
.phone-mockup {
width: 320px;
min-height: 590px;
background: #020617;
border: 10px solid #1E293B;
border-radius: 44px;
box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
display: flex;
flex-direction: column;
}
.phone-screen {
background: #0F172A;
flex: 1;
display: flex;
flex-direction: column;
position: relative;
overflow: hidden;
}
.phone-notch {
width: 120px;
height: 22px;
background: #1E293B;
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
border-bottom-left-radius: 14px;
border-bottom-right-radius: 14px;
z-index: 30;
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
}
.camera-lens {
width: 9px;
height: 9px;
border-radius: 50%;
background: #0B1120;
border: 1px solid #334155;
}
.speaker-bar {
width: 38px;
height: 3px;
border-radius: 2px;
background: #334155;
}
/* Phone Push Notification slide in */
@keyframes push-slide-down {
0% {
transform: translateY(-50px) scale(0.92);
opacity: 0;
}
100% {
transform: translateY(0) scale(1);
opacity: 1;
}
}
.animate-push-slide {
animation: push-slide-down 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
/* Timeline vertical connector */
.timeline-stem {
position: absolute;
left: 20px;
top: 32px;
bottom: 0;
width: 2px;
background: #E2E8F0;
}
/* Toast notifications */
#toast-container {
position: fixed;
bottom: 1.5rem;
right: 1.5rem;
z-index: 9999;
display: flex;
flex-direction: column;
gap: 0.75rem;
pointer-events: none;
}
.toast-item {
pointer-events: auto;
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Print optimizations for emergency card */
@media print {
body * {
visibility: hidden;
}
#offline-card-printable, #offline-card-printable * {
visibility: visible;
}
#offline-card-printable {
position: absolute;
left: 0;
top: 0;
width: 100%;
margin: 0;
padding: 20px;
box-shadow: none;
border: 2px solid #0F172A;
}
}
|