/* Tailwind CSS v3.3.3 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

/* 这只是tailwind简化版，实际文件太大，这里用简化版代替 */
/* 这些基础类足够我们的演示使用 */

/* Containers */
.container { width: 100%; margin-right: auto; margin-left: auto; }
@media (min-width: 640px) { .container { max-width: 640px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* Text */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }

/* Color */
.text-white { color: white; }
.text-black { color: black; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-gray-700 { color: #374151; }
.text-gray-900 { color: #111827; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-blue-500 { color: #3b82f6; }
.text-blue-600 { color: #2563eb; }
.text-blue-800 { color: #1e40af; }
.text-green-500 { color: #10b981; }
.text-sky-400 { color: #38bdf8; }

/* Backgrounds */
.bg-white { background-color: white; }
.bg-black { background-color: black; }
.bg-gray-100 { background-color: #f3f4f6; }
.bg-gray-200 { background-color: #e5e7eb; }
.bg-gray-300 { background-color: #d1d5db; }
.bg-gray-400 { background-color: #9ca3af; }
.bg-gray-500 { background-color: #6b7280; }
.bg-gray-800 { background-color: #1f2937; }
.bg-red-100 { background-color: #fee2e2; }
.bg-red-300 { background-color: #fca5a5; }
.bg-red-500 { background-color: #ef4444; }
.bg-red-600 { background-color: #dc2626; }
.bg-blue-100 { background-color: #dbeafe; }
.bg-blue-300 { background-color: #93c5fd; }
.bg-blue-500 { background-color: #3b82f6; }
.bg-blue-600 { background-color: #2563eb; }
.bg-green-100 { background-color: #dcfce7; }
.bg-green-300 { background-color: #86efac; }
.bg-green-500 { background-color: #22c55e; }
.bg-green-600 { background-color: #16a34a; }
.bg-gray-50 { background-color: #f9fafb; }

/* Spacing */
.p-1 { padding: 0.25rem; }
.p-2 { padding: 0.5rem; }
.p-3 { padding: 0.75rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.pt-5 { padding-top: 1.25rem; }
.pb-4 { padding-bottom: 1rem; }

.m-0 { margin: 0; }
.m-4 { margin: 1rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.my-8 { margin-top: 2rem; margin-bottom: 2rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.ml-3 { margin-left: 0.75rem; }
.ml-4 { margin-left: 1rem; }
.mr-1 { margin-right: 0.25rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.sm\:ml-3 { margin-left: 0.75rem; }
.sm\:ml-4 { margin-left: 1rem; }
.sm\:mt-0 { margin-top: 0; }
.-ml-1 { margin-left: -0.25rem; }

/* Space between */
.space-x-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Flex */
.flex { display: flex; }
.grow { flex-grow: 1; }
.inline-flex { display: inline-flex; }
.flex-shrink-0 { flex-shrink: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.sm\:flex { display: flex; }
.sm\:items-center { align-items: center; }
.sm\:items-start { align-items: flex-start; }
.sm\:flex-row-reverse { flex-direction: row-reverse; }

/* Width / Height */
.w-full { width: 100%; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-2 { width: 0.5rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.h-full { height: 100%; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.w-\[30px\] { width: 30px; }
.w-\[90px\] { width: 90px; }
.w-\[108px\] { width: 108px; }
.w-\[180px\] { width: 180px; }

.min-w-full { min-width: 100%; }
.min-h-full { min-height: 100%; }
.max-w-6xs { max-width: 6rem; }
.max-h-60 { max-height: 60vh; }
.max-w-md { max-width: 28rem; }
.max-w-lg { max-width: 32rem; }
.sm\:w-auto { width: auto; }
.sm\:w-full { width: 100%; }
.w-screen { width: 100vw; }

/* Borders */
.border { border-width: 1px; }
.border-4 { border-width: 4px; }
.border-b { border-bottom-width: 1px; }
.border-dashed { border-style: dashed; }
.border-gray-300 { border-color: #d1d5db; }
.border-gray-400 { border-color: #9ca3af; }
.border-gray-500 { border-color: #6b7280; }
.border-transparent { border-color: transparent; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }
.rounded-t { border-top-left-radius: 0.25rem; border-top-right-radius: 0.25rem; }

/* Display */
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-8 { top: 2rem; }
.right-0 { right: 0; }
.left-0 { left: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.sm\:p-0 { padding: 0; }
.sm\:p-6 { padding: 1.5rem; }
.sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

/* Typography */
.text-left { text-align: left; }
.text-center { text-align: center; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.leading-6 { line-height: 1.5rem; }
.break-all { word-break: break-all; }

/* Effects */
.shadow { box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); }
.ring-1 { box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5); }
.ring-inset { box-shadow: inset 0 0 0 1px rgba(59, 130, 246, 0.5); }
.ring-gray-300 { --tw-ring-color: #d1d5db; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5); }
.focus\:ring-blue-500:focus { --tw-ring-color: #3b82f6; }
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }
.bg-opacity-75 { --tw-bg-opacity: 0.75; }
.bg-opacity-50 { --tw-bg-opacity: 0.50; }

/* Transitions */
.transition-opacity { transition-property: opacity; }
.transition-all { transition-property: all; }
.transition-colors { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; }
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.ease-out { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-y-auto { overflow-y: auto; }

/* Hover/focus/active */
.hover\:bg-gray-50:hover { background-color: #f9fafb; }
.hover\:bg-gray-200:hover { background-color: #e5e7eb; }
.hover\:bg-gray-300:hover { background-color: #d1d5db; }
.hover\:bg-red-50:hover { background-color: #fef2f2; }
.hover\:bg-red-500:hover { background-color: #ef4444; }
.hover\:bg-red-700:hover { background-color: #b91c1c; }
.hover\:bg-blue-50:hover { background-color: #eff6ff; }
.hover\:bg-blue-500:hover { background-color: #3b82f6; }
.hover\:bg-blue-600:hover { background-color: #2563eb; }
.hover\:text-blue-800:hover { color: #1e40af; }
.hover\:text-gray-600:hover { color: #4b5563; }
.hover\:underline:hover { text-decoration: underline; }
.disabled\:bg-red-300:disabled { background-color: #fca5a5; }
.disabled\:bg-blue-300:disabled { background-color: #93c5fd; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Animation */
.animate-spin { animation: spin 1s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.animate-\[ping_1s_5\] { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) 5; }
@keyframes ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* Responsive Width Classes - sm: */
@media (min-width: 640px) {
  .sm\:w-2 { width: 0.5rem; }
  .sm\:w-4 { width: 1rem; }
  .sm\:w-5 { width: 1.25rem; }
  .sm\:w-6 { width: 1.5rem; }
  .sm\:w-10 { width: 2.5rem; }
  .sm\:w-12 { width: 3rem; }
  .sm\:w-16 { width: 4rem; }
  .sm\:w-20 { width: 5rem; }
  .sm\:w-24 { width: 6rem; }
  .sm\:w-32 { width: 8rem; }
  .sm\:w-48 { width: 12rem; }
  .sm\:w-64 { width: 16rem; }
  .sm\:w-\[30px\] { width: 30px; }
  .sm\:w-\[90px\] { width: 90px; }
  .sm\:w-\[108px\] { width: 108px; }
  .sm\:w-\[180px\] { width: 180px; }
  .sm\:min-w-full { min-width: 100%; }
  .sm\:max-w-md { max-width: 28rem; }
  .sm\:max-w-lg { max-width: 32rem; }
  .sm\:w-screen { width: 100vw; }
}

/* Responsive Height Classes - sm: */
@media (min-width: 640px) {
  .sm\:h-2 { height: 0.5rem; }
  .sm\:h-4 { height: 1rem; }
  .sm\:h-5 { height: 1.25rem; }
  .sm\:h-6 { height: 1.5rem; }
  .sm\:h-10 { height: 2.5rem; }
  .sm\:h-12 { height: 3rem; }
  .sm\:h-16 { height: 4rem; }
  .sm\:h-20 { height: 5rem; }
  .sm\:h-24 { height: 6rem; }
  .sm\:h-32 { height: 8rem; }
  .sm\:h-48 { height: 12rem; }
  .sm\:h-64 { height: 16rem; }
  .sm\:h-full { height: 100%; }
  .sm\:h-screen { height: 100vh; }
  .sm\:min-h-full { min-height: 100%; }
  .sm\:max-h-60 { max-height: 60vh; }
  .sm\:max-h-screen { max-height: 100vh; }

  .sm\:px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
  .sm\:px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
  .sm\:px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
  .sm\:px-4 { padding-left: 1rem; padding-right: 1rem; }

  .sm\:hidden { display: none; }
}

/* Responsive Width Classes - md: */
@media (min-width: 768px) {
  .md\:w-2 { width: 0.5rem; }
  .md\:w-4 { width: 1rem; }
  .md\:w-5 { width: 1.25rem; }
  .md\:w-6 { width: 1.5rem; }
  .md\:w-10 { width: 2.5rem; }
  .md\:w-12 { width: 3rem; }
  .md\:w-16 { width: 4rem; }
  .md\:w-20 { width: 5rem; }
  .md\:w-24 { width: 6rem; }
  .md\:w-32 { width: 8rem; }
  .md\:w-48 { width: 12rem; }
  .md\:w-64 { width: 16rem; }
  .md\:w-auto { width: auto; }
  .md\:w-full { width: 100%; }
  .md\:w-\[30px\] { width: 30px; }
  .md\:w-\[90px\] { width: 90px; }
  .md\:w-\[108px\] { width: 108px; }
  .md\:w-\[180px\] { width: 180px; }
  .md\:min-w-full { min-width: 100%; }
  .md\:max-w-md { max-width: 28rem; }
  .md\:max-w-lg { max-width: 32rem; }
  .md\:w-screen { width: 100vw; }

  .md\:hidden { display: none; }
}

/* Responsive Height Classes - md: */
@media (min-width: 768px) {
  .md\:h-2 { height: 0.5rem; }
  .md\:h-4 { height: 1rem; }
  .md\:h-5 { height: 1.25rem; }
  .md\:h-6 { height: 1.5rem; }
  .md\:h-10 { height: 2.5rem; }
  .md\:h-12 { height: 3rem; }
  .md\:h-16 { height: 4rem; }
  .md\:h-20 { height: 5rem; }
  .md\:h-24 { height: 6rem; }
  .md\:h-32 { height: 8rem; }
  .md\:h-48 { height: 12rem; }
  .md\:h-64 { height: 16rem; }
  .md\:h-full { height: 100%; }
  .md\:h-screen { height: 100vh; }
  .md\:min-h-full { min-height: 100%; }
  .md\:max-h-60 { max-height: 60vh; }
  .md\:max-h-screen { max-height: 100vh; }
}

/* Responsive Width Classes - lg: */
@media (min-width: 1024px) {
  .lg\:w-2 { width: 0.5rem; }
  .lg\:w-4 { width: 1rem; }
  .lg\:w-5 { width: 1.25rem; }
  .lg\:w-6 { width: 1.5rem; }
  .lg\:w-10 { width: 2.5rem; }
  .lg\:w-12 { width: 3rem; }
  .lg\:w-16 { width: 4rem; }
  .lg\:w-20 { width: 5rem; }
  .lg\:w-24 { width: 6rem; }
  .lg\:w-32 { width: 8rem; }
  .lg\:w-48 { width: 12rem; }
  .lg\:w-64 { width: 16rem; }
  .lg\:w-auto { width: auto; }
  .lg\:w-full { width: 100%; }
  .lg\:min-w-full { min-width: 100%; }
  .lg\:max-w-md { max-width: 28rem; }
  .lg\:max-w-lg { max-width: 32rem; }
  .lg\:w-screen { width: 100vw; }
}

/* Responsive Height Classes - lg: */
@media (min-width: 1024px) {
  .lg\:h-2 { height: 0.5rem; }
  .lg\:h-4 { height: 1rem; }
  .lg\:h-5 { height: 1.25rem; }
  .lg\:h-6 { height: 1.5rem; }
  .lg\:h-10 { height: 2.5rem; }
  .lg\:h-12 { height: 3rem; }
  .lg\:h-16 { height: 4rem; }
  .lg\:h-20 { height: 5rem; }
  .lg\:h-24 { height: 6rem; }
  .lg\:h-32 { height: 8rem; }
  .lg\:h-48 { height: 12rem; }
  .lg\:h-64 { height: 16rem; }
  .lg\:h-full { height: 100%; }
  .lg\:h-screen { height: 100vh; }
  .lg\:min-h-full { min-height: 100%; }
  .lg\:max-h-60 { max-height: 60vh; }
  .lg\:max-h-screen { max-height: 100vh; }
} 