/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}/*
! tailwindcss v3.4.19 | 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 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -moz-tab-size: 4; /* 3 */
  -o-tab-size: 4;
     tab-size: 4; /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
  font-feature-settings: normal; /* 5 */
  font-variation-settings: normal; /* 6 */
  -webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0; /* 1 */
  line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0; /* 1 */
  color: inherit; /* 2 */
  border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
  color: inherit;
  text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
  font-feature-settings: normal; /* 2 */
  font-variation-settings: normal; /* 3 */
  font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0; /* 1 */
  border-color: inherit; /* 2 */
  border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-feature-settings: inherit; /* 1 */
  font-variation-settings: inherit; /* 1 */
  font-size: 100%; /* 1 */
  font-weight: inherit; /* 1 */
  line-height: inherit; /* 1 */
  letter-spacing: inherit; /* 1 */
  color: inherit; /* 1 */
  margin: 0; /* 2 */
  padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button; /* 1 */
  background-color: transparent; /* 2 */
  background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/
dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1; /* 1 */
  color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/
:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block; /* 1 */
  vertical-align: middle; /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}
.container {
  width: 100%;
}
@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;
  }
}
@media (min-width: 1536px) {

  .container {
    max-width: 1536px;
  }
}
.pointer-events-none {
  pointer-events: none;
}
.visible {
  visibility: visible;
}
.collapse {
  visibility: collapse;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.-bottom-1 {
  bottom: -0.25rem;
}
.-bottom-3\.5 {
  bottom: -0.875rem;
}
.-right-2 {
  right: -0.5rem;
}
.-top-2 {
  top: -0.5rem;
}
.left-0 {
  left: 0px;
}
.left-1\/2 {
  left: 50%;
}
.right-0 {
  right: 0px;
}
.right-2\.5 {
  right: 0.625rem;
}
.right-3 {
  right: 0.75rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-2\.5 {
  top: 0.625rem;
}
.z-10 {
  z-index: 10;
}
.z-\[99999\] {
  z-index: 99999;
}
.col-start-1 {
  grid-column-start: 1;
}
.row-start-1 {
  grid-row-start: 1;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-1\.5 {
  margin-top: 0.375rem;
  margin-bottom: 0.375rem;
}
.my-5 {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.me-3 {
  margin-inline-end: 0.75rem;
}
.ml-auto {
  margin-left: auto;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-1\.5 {
  margin-top: 0.375rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}
.mt-8 {
  margin-top: 2rem;
}
.mt-px {
  margin-top: 1px;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.h-0\.5 {
  height: 0.125rem;
}
.h-1\.5 {
  height: 0.375rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-2 {
  height: 0.5rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-40 {
  height: 10rem;
}
.h-44 {
  height: 11rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-60 {
  height: 15rem;
}
.h-64 {
  height: 16rem;
}
.h-8 {
  height: 2rem;
}
.h-9 {
  height: 2.25rem;
}
.h-\[76px\] {
  height: 76px;
}
.h-full {
  height: 100%;
}
.h-px {
  height: 1px;
}
.max-h-\[90vh\] {
  max-height: 90vh;
}
.max-h-\[92vh\] {
  max-height: 92vh;
}
.min-h-\[300px\] {
  min-height: 300px;
}
.min-h-\[40vh\] {
  min-height: 40vh;
}
.min-h-\[60vh\] {
  min-height: 60vh;
}
.min-h-\[calc\(100vh-66px\)\] {
  min-height: calc(100vh - 66px);
}
.min-h-screen {
  min-height: 100vh;
}
.w-1 {
  width: 0.25rem;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\/3 {
  width: 66.666667%;
}
.w-3 {
  width: 0.75rem;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-44 {
  width: 11rem;
}
.w-5 {
  width: 1.25rem;
}
.w-6 {
  width: 1.5rem;
}
.w-60 {
  width: 15rem;
}
.w-64 {
  width: 16rem;
}
.w-8 {
  width: 2rem;
}
.w-9 {
  width: 2.25rem;
}
.w-\[92\%\] {
  width: 92%;
}
.w-fit {
  width: -moz-fit-content;
  width: fit-content;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.max-w-\[1360px\] {
  max-width: 1360px;
}
.max-w-\[260px\] {
  max-width: 260px;
}
.max-w-\[400px\] {
  max-width: 400px;
}
.max-w-md {
  max-width: 28rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-none {
  flex: none;
}
.shrink-0 {
  flex-shrink: 0;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.resize {
  resize: both;
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-0\.5 {
  gap: 0.125rem;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-2\.5 {
  gap: 0.625rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-x-3 {
  -moz-column-gap: 0.75rem;
       column-gap: 0.75rem;
}
.gap-y-2 {
  row-gap: 0.5rem;
}
.space-y-1\.5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.375rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.375rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-sm {
  border-radius: 0.125rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.rounded-br-xl {
  border-bottom-right-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-dashed {
  border-style: dashed;
}
.border-\[\#1e3a8a\] {
  --tw-border-opacity: 1;
  border-color: rgb(30 58 138 / var(--tw-border-opacity, 1));
}
.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-line {
  --tw-border-opacity: 1;
  border-color: rgb(6 199 85 / var(--tw-border-opacity, 1));
}
.border-line\/60 {
  border-color: rgb(6 199 85 / 0.6);
}
.border-red-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 165 165 / var(--tw-border-opacity, 1));
}
.border-t-line {
  --tw-border-opacity: 1;
  border-top-color: rgb(6 199 85 / var(--tw-border-opacity, 1));
}
.bg-\[\#1b7fb0\] {
  --tw-bg-opacity: 1;
  background-color: rgb(27 127 176 / var(--tw-bg-opacity, 1));
}
.bg-\[\#1e3a8a\] {
  --tw-bg-opacity: 1;
  background-color: rgb(30 58 138 / var(--tw-bg-opacity, 1));
}
.bg-\[\#2da0cc\] {
  --tw-bg-opacity: 1;
  background-color: rgb(45 160 204 / var(--tw-bg-opacity, 1));
}
.bg-\[\#9ec9dd\] {
  --tw-bg-opacity: 1;
  background-color: rgb(158 201 221 / var(--tw-bg-opacity, 1));
}
.bg-\[\#dde7f3\] {
  --tw-bg-opacity: 1;
  background-color: rgb(221 231 243 / var(--tw-bg-opacity, 1));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-line {
  --tw-bg-opacity: 1;
  background-color: rgb(6 199 85 / var(--tw-bg-opacity, 1));
}
.bg-line\/10 {
  background-color: rgb(6 199 85 / 0.1);
}
.bg-line\/30 {
  background-color: rgb(6 199 85 / 0.3);
}
.bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.p-1\.5 {
  padding: 0.375rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-5 {
  padding: 1.25rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.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;
}
.px-5 {
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-10 {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-2 {
  padding-bottom: 0.5rem;
}
.pb-6 {
  padding-bottom: 1.5rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-5 {
  padding-top: 1.25rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-7 {
  padding-top: 1.75rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-\[11px\] {
  font-size: 11px;
}
.text-\[15px\] {
  font-size: 15px;
}
.text-\[9px\] {
  font-size: 9px;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.leading-none {
  line-height: 1;
}
.leading-snug {
  line-height: 1.375;
}
.text-\[\#1e3a8a\] {
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-line {
  --tw-text-opacity: 1;
  color: rgb(6 199 85 / var(--tw-text-opacity, 1));
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-yellow-300 {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.underline-offset-2 {
  text-underline-offset: 2px;
}
.opacity-0 {
  opacity: 0;
}
.opacity-100 {
  opacity: 1;
}
.opacity-40 {
  opacity: 0.4;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-md {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-sm {
  --tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-xl {
  --tw-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.outline {
  outline-style: solid;
}
.filter {
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-300 {
  transition-duration: 300ms;
}

:root {
  --background: #ffffff;
  --foreground: #1a1a1a;
}

body {
  color: var(--foreground);
  background: var(--background);
}

/* ============================================================
   "我的名片" card-selection interface — ported from the old
   portal (template_selection.css / template_delete.css) so the
   new React /my-cards page matches the original look & feel.
   ============================================================ */

:root {
  --bs-primary: #06c755;
}

/* Clear the fixed site nav (legacy .page used margin-top:62px). The dev badge
   floats below the nav (position:absolute, pointer-events:none on mobile) so it
   overlays rather than reserving space — keeping dev's top spacing identical to
   prod, where the badge is absent. */
.portal-page-body {
  padding-top: 62px;
}

.flex-grid {
  background-color: #f5f5f5;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  padding: 16px;
  /* Cap at 4 fixed-width (316px) cards per row so they never stretch/distort;
     wraps to fewer columns on narrower screens (LINE in-app). */
  max-width: 1360px;
  margin-left: auto;
  margin-right: auto;
}

.card-selection-wrapper {
  position: relative;
  /* 5px padding each side -> a thin gutter between the card and the dashed
     border; the card itself fills the rest at 100% width. */
  width: 316px;
  max-width: 100%;
  padding: 5px;
  border: 1px dashed #dddddd;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.card-selection-wrapper:hover {
  border-color: var(--bs-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(6, 199, 85, 0.2);
}

.card-selection-wrapper.selected {
  border-color: var(--bs-primary);
  border-width: 2px;
  border-style: solid;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.3);
}

/* Title bar above each card */
.template-title {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  padding: 4px 8px;
}

.template-title h6 {
  margin: 0;
  color: var(--bs-primary);
  font-weight: bold;
  line-height: 1.4;
  font-size: 0.95rem;
}

.template-title h6 small {
  font-weight: normal;
  color: #6c757d;
  font-size: 0.75rem;
}

.card-selection-wrapper.selected .template-title {
  background-color: var(--bs-primary);
  border-radius: 6px 6px 0 0;
}

.card-selection-wrapper.selected .template-title h6,
.card-selection-wrapper.selected .template-title h6 small {
  color: #ffffff;
}

/* Card preview area: let the rendered Flex card fill the tile width */
.card-preview-zone {
  position: relative;
  overflow: hidden;
}

/* Make the card fill the tile. flex2html sizes the slider item to 80% with a
   7px left margin and a 300px cap (.LySlider .lyItem.LyMe); the CDN
   flex2html.css can load after our globals, so use a 4-class selector to win on
   specificity against that 300px max-width rule. */
.card-preview-zone .LySlider .lyInner .lyItem {
  width: 90%;
  max-width: 90%;
  margin-left: 0;
}

/* Centre the 90%-width card within the tile. */
.card-preview-zone .lyInner {
  justify-content: center;
}

.card-preview-zone .lyInner::after {
  display: none;
}

/* Transparent overlay so clicks select the card instead of activating
   buttons/links inside the rendered Flex card. */
.preview-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: transparent;
}

/* "預設名片" badge */
.default-ribbon {
  display: none;
  margin-top: 8px;
  text-align: center;
  color: #8a6d00;
  font-weight: bold;
  font-size: 0.9rem;
}

.card-selection-wrapper.default-card .default-ribbon {
  /* Full-width gold bar (mirrors the green title bar) so the default card reads
     at a glance, distinct from the green "selected" state. */
  display: block;
  margin-top: 8px;
  padding: 8px 12px;
  background: linear-gradient(135deg, #ffd54a 0%, #ffb300 100%);
  color: #6b5300;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(255, 179, 0, 0.3);
}

/* Default card: orange border only — let the gold bar carry the signal, no fill
   so the card stays clean. */
.card-selection-wrapper.default-card {
  border-color: #ff9800;
}

/* When the default card is the selected one, recolour the green title bar +
   border to orange so it keeps its gold/orange identity. */
.card-selection-wrapper.default-card.selected {
  border-color: #ff9800;
  box-shadow: 0 6px 16px rgba(255, 152, 0, 0.3);
}

.card-selection-wrapper.default-card.selected .template-title {
  background-color: #ff9800;
}

/* Per-card action buttons (share + delete) grouped on the right of the title bar */
.template-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Per-card share trigger (neutral grey circle, iOS-style export glyph) — opens
   the /share 中介頁 for the owner. Distinct from the red delete circle, and
   readable on both the white title bar and the green/orange selected bar. */
.template-share-btn-trigger {
  flex: none;
  width: 30px;
  height: 30px;
  background: #6c757d;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
  text-decoration: none;
}

.template-share-btn-trigger:hover {
  opacity: 1;
  transform: scale(1.1);
  color: #fff;
}

/* Per-card delete trigger (red circle ✕) */
.template-delete-btn-trigger {
  flex: none;
  width: 30px;
  height: 30px;
  background: #dc3545;
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.template-delete-btn-trigger:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Bottom sticky action bar (set-default / edit) */
.bottom-sticky {
  position: sticky;
  bottom: 0;
  /* Sit above the per-card delete triggers (z-index: 10) so the red ✕ doesn't
     bleed over the bar while scrolling; stays below the modals (999999). */
  z-index: 100;
  display: flex;
  gap: 12px;
  /* 設為預設靠左，新增名片＋編輯（.sticky-actions-right）靠右 */
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #ffffff;
  border-top: 1px solid #eee;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
}

.bottom-sticky .sticky-actions-right {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* 讓底部三顆按鈕在桌機/手機各自維持一致大小；padding 左右收窄 */
.bottom-sticky .page-btn {
  flex: 0 0 auto;
  min-width: 96px;
  padding: 10px 5px;
}

@media (max-width: 640px) {
  .bottom-sticky {
    gap: 8px;
    padding: 10px 12px;
  }
  /* 右側群組佔兩份、左側「設為預設」佔一份 → 三顆各約 1/3 等寬 */
  .bottom-sticky > .page-btn {
    flex: 1 1 0;
  }
  .bottom-sticky .sticky-actions-right {
    flex: 2 1 0;
    gap: 8px;
  }
  .bottom-sticky .page-btn {
    min-width: 0;
    flex: 1 1 0;
    padding: 8px 5px;
    font-size: 0.85rem;
  }
}

.page-btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: all 0.2s ease;
}

.page-btn.next {
  background: var(--bs-primary);
  color: #fff;
}

.page-btn.next:hover {
  background: #04a647;
}

.page-btn.outline {
  background: #fff;
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
}

.page-btn.disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

/* Generic centered modal (info / delete confirm) — ported look */
.lnc-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
}

.lnc-modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 28px 20px 32px;
  width: 90%;
  max-width: 460px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Give the confirm/error body a bit more breathing room so the modal reads as a
   comfortably tall card rather than a cramped strip. */
.lnc-modal-content > p {
  margin-top: 8px;
  margin-bottom: 8px;
}

.lnc-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.lnc-modal-header h5 {
  margin: 0;
  font-weight: bold;
  font-size: 1.1rem;
}

.lnc-modal-footer {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

/* ── 「如何發送名片」教學動畫 ─────────────────────────────────
   3 秒一輪、兩段動畫共用時間軸：手指先點圖文選單（0~12%），
   名片接著從聊天室彈出（18%~）、停留到尾端淡出，循環播放。 */
@keyframes tut-tap {
  0%, 16%, 100% {
    transform: translateY(0) scale(1);
  }
  8% {
    transform: translateY(4px) scale(0.8);
  }
}

@keyframes tut-cell-flash {
  0%, 16%, 100% {
    filter: brightness(1);
  }
  8% {
    filter: brightness(1.4);
  }
}

@keyframes tut-card-pop {
  0%, 14% {
    opacity: 0;
    transform: translateY(12px) scale(0.85);
  }
  26%, 86% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  96%, 100% {
    opacity: 0;
    transform: translateY(0) scale(1);
  }
}

.tut-tap-finger {
  display: inline-block;
  animation: tut-tap 3s ease-in-out infinite;
}

.tut-tap-cell {
  animation: tut-cell-flash 3s ease-in-out infinite;
}

.tut-card-appear {
  animation: tut-card-pop 3s ease-in-out infinite;
}

/* 使用者偏好減少動態時改為靜態呈現（名片直接顯示） */
@media (prefers-reduced-motion: reduce) {
  .tut-tap-finger,
  .tut-tap-cell,
  .tut-card-appear {
    animation: none;
  }
}

/* 教學輪播兩側的上一頁／下一頁箭頭 */
.tut-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #e5e5e5;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  color: #888;
  font-size: 20px;
  line-height: 1;
  /* 視覺置中：‹ › 字符重心偏上 */
  padding-bottom: 3px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.tut-arrow:hover {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border: 1px solid var(--bs-primary);
  border-radius: 8px;
  color: var(--bs-primary);
  font-size: 0.9rem;
  cursor: pointer;
  background: #fff;
}

/* ── 好友名片：標題+排序+搜尋列 / 分組標題 / 快速導覽 ─────────────── */
.fc-sortbar {
  /* 標題＋排序＋搜尋列不再吸頂，隨頁面一起捲動。 */
  position: static;
  background: #f3f4f6;
}
.fc-sortbar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px 16px;
}
/* 桌機：排序列離 nav 再遠 3px。 */
@media (min-width: 769px) {
  .fc-sortbar-inner {
    padding-top: 13px;
  }
}
/* PC 版:排序列內容與名片區共用同一個置中寬度,左右邊緣對齊。
   與「我的名片」.flex-grid 同寬(1360px)以一列排四張 .card-selection-wrapper：
   4 張 316px 卡 + 3 個 16px gap + 兩側 16px padding = 1344px，1360px 留些餘裕；
   窄螢幕下 max-width 不生效。 */
.fc-sortbar-inner,
.fc-cards {
  max-width: 1360px;
  margin-inline: auto;
}
/* 效能：好友名片一次可能載入數十張，每張都是很深的 flex 卡片 DOM，且圖片是
   CSS background-image（無法用 loading=lazy）。用 content-visibility:auto 讓瀏覽器
   跳過畫面外卡片的排版/繪製，其背景圖也要捲到附近才抓，明顯加快首次載入；
   contain-intrinsic-size 提供離場時的預估尺寸以穩定捲軸（auto 會記住實際高度）。
   不支援的瀏覽器會直接忽略此屬性，行為不變。 */
.fc-cards .card-selection-wrapper {
  content-visibility: auto;
  contain-intrinsic-size: auto 316px auto 480px;
}
/* 「排序＋搜尋」靠左（桌機與手機皆同）；頁面標題已移到 nav 上。 */
.fc-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.fc-sortbar-label {
  font-weight: 600;
  margin-right: 2px;
}
.fc-sort-btn {
  display: inline-block;
  padding: 4px 14px;
  background: #fff;
  color: #06c755;
  border: 1px solid #06c755;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fc-sort-btn.active {
  background: #06c755;
  color: #fff;
  font-weight: bold;
}
.fc-search {
  flex: 0 1 240px;
  max-width: 300px;
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 14px;
  background: #fff;
}
.fc-search:focus {
  outline: none;
  border-color: #06c755;
  box-shadow: 0 0 0 2px rgba(6, 199, 85, 0.15);
}
/* 放大鏡切換鈕：桌機隱藏（直接顯示搜尋框），手機顯示。 */
.fc-search-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #06c755;
  background: #fff;
  border: 1px solid #06c755;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fc-search-toggle.active {
  background: #06c755;
  color: #fff;
}
@media (max-width: 768px) {
  /* 手機：搜尋收合成放大鏡；點開才把搜尋框滑到下一行（整列寬）。 */
  .fc-search-toggle {
    display: inline-flex;
  }
  .fc-search {
    display: none;
    order: 3;
    flex: 1 1 100%;
    max-width: none;
    margin-top: 2px;
  }
  .fc-search.open {
    display: block;
  }
  /* 排序鈕略縮小，讓排序＋放大鏡能擠在同一列。 */
  .fc-sort-btn {
    padding: 3px 11px;
    font-size: 13px;
  }
}
.fc-group-title {
  margin: 24px 0 8px;
  font-size: 18px;
  font-weight: bold;
  color: #06c755;
  text-align: center;
  scroll-margin-top: 120px;
}

/* 分頁：總數資訊 + 頁碼列（樣式比照 fc-sort-btn 的綠色系） */
.fc-page-info {
  margin: 4px 2px 0;
  font-size: 13px;
  color: #6b7280;
  text-align: right;
}
.fc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  padding: 20px 0 28px;
}
.fc-page-btn {
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  background: #fff;
  color: #06c755;
  border: 1px solid #06c755;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.fc-page-btn:hover:not(:disabled):not(.active) {
  background: #e8f9ef;
}
.fc-page-btn.active {
  background: #06c755;
  color: #fff;
  font-weight: bold;
  cursor: default;
}
.fc-page-btn:disabled {
  color: #c0c4c9;
  border-color: #dfe3e8;
  cursor: default;
}
.fc-page-ellipsis {
  padding: 0 2px;
  color: #9ca3af;
}
/* 手機無限捲動：底部哨兵（載入中）/ 已顯示全部 的狀態列 */
.fc-scroll-status {
  padding: 20px 0 28px;
  text-align: center;
  font-size: 13px;
  color: #9ca3af;
}

/* 佔位卡（名片已不存在／名片內容無法顯示）：
   寬度比照實際名片 300px（flex2html LyMe 上限），高度取一般名片的平均值，
   文字水平+垂直置中，視覺上與其他名片高度相近，不會又矮又窄。 */
.fc-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  min-height: 360px;
  padding: 16px;
  text-align: center;
  border-radius: 8px;
  background: #fff;
  color: #9ca3af;
  font-size: 14px;
}

/* 好友名片改用「我的名片」版面（.card-selection-wrapper + .template-title +
   .card-preview-zone），刪除鈕改成標題列的 .template-delete-btn-trigger，
   故原本的 .fc-card / .card-del-btn 已不再使用。 */

.quick-nav-container {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 8px 4px;
  overflow-y: auto;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  max-height: 80vh;
}
.quick-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  margin: 1px 0;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 4px;
  color: #495057;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  flex-shrink: 0;
}
.quick-nav-item:hover {
  background: #06c755;
  color: #fff;
  border-color: #06c755;
  transform: scale(1.1);
}
.quick-nav-container[data-type='bopomofo'] .quick-nav-item {
  font-family: 'Microsoft JhengHei', 'PingFang TC', 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
}
@media (max-width: 576px) {
  .quick-nav-item {
    width: 24px;
    height: 22px;
    font-size: 11px;
  }
}
.hover\:border-line\/40:hover {
  border-color: rgb(6 199 85 / 0.4);
}
.hover\:bg-\[\#1e3a8a\]\/5:hover {
  background-color: rgb(30 58 138 / 0.05);
}
.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.hover\:bg-line-dark:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(4 166 71 / var(--tw-bg-opacity, 1));
}
.hover\:bg-line\/5:hover {
  background-color: rgb(6 199 85 / 0.05);
}
.hover\:text-gray-600:hover {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.hover\:text-gray-700:hover {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.hover\:underline:hover {
  text-decoration-line: underline;
}
.disabled\:opacity-40:disabled {
  opacity: 0.4;
}
@media (min-width: 640px) {

  .sm\:flex-row {
    flex-direction: row;
  }

  .sm\:items-start {
    align-items: flex-start;
  }

  .sm\:items-center {
    align-items: center;
  }

  .sm\:rounded-2xl {
    border-radius: 1rem;
  }

  .sm\:p-4 {
    padding: 1rem;
  }
}
@media (min-width: 769px) {

  .min-\[769px\]\:pt-\[15px\] {
    padding-top: 15px;
  }
}

