/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* Thêm 3 dòng này lên ĐẦU 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;
  }
}
.collapse {
  visibility: collapse;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.inset-0 {
  inset: 0px;
}
.left-3 {
  left: 0.75rem;
}
.right-6 {
  right: 1.5rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-6 {
  top: 1.5rem;
}
.z-40 {
  z-index: 40;
}
.z-50 {
  z-index: 50;
}
.z-\[9999\] {
  z-index: 9999;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.my-3 {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-1\.5 {
  margin-bottom: 0.375rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.ml-auto {
  margin-left: auto;
}
.mr-1 {
  margin-right: 0.25rem;
}
.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-6 {
  margin-top: 1.5rem;
}
.mt-7 {
  margin-top: 1.75rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.hidden {
  display: none;
}
.h-10 {
  height: 2.5rem;
}
.h-11 {
  height: 2.75rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-7 {
  height: 1.75rem;
}
.h-9 {
  height: 2.25rem;
}
.h-auto {
  height: auto;
}
.max-h-\[55vh\] {
  max-height: 55vh;
}
.min-h-\[76px\] {
  min-height: 76px;
}
.min-h-screen {
  min-height: 100vh;
}
.w-10 {
  width: 2.5rem;
}
.w-11 {
  width: 2.75rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-28 {
  width: 7rem;
}
.w-7 {
  width: 1.75rem;
}
.w-9 {
  width: 2.25rem;
}
.w-auto {
  width: auto;
}
.w-full {
  width: 100%;
}
.min-w-0 {
  min-width: 0px;
}
.min-w-\[1300px\] {
  min-width: 1300px;
}
.min-w-\[1350px\] {
  min-width: 1350px;
}
.min-w-\[1380px\] {
  min-width: 1380px;
}
.max-w-\[130px\] {
  max-width: 130px;
}
.max-w-\[1400px\] {
  max-width: 1400px;
}
.max-w-full {
  max-width: 100%;
}
.max-w-lg {
  max-width: 32rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-sm {
  max-width: 24rem;
}
.max-w-xs {
  max-width: 20rem;
}
.flex-1 {
  flex: 1 1 0%;
}
.shrink-0 {
  flex-shrink: 0;
}
.border-collapse {
  border-collapse: collapse;
}
.-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;
}
.cursor-pointer {
  cursor: pointer;
}
.resize {
  resize: both;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.place-items-center {
  place-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-center {
  align-items: center;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-1\.5 {
  gap: 0.375rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-5 {
  gap: 1.25rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.5rem * var(--tw-space-x-reverse));
  margin-left: calc(0.5rem * calc(1 - var(--tw-space-x-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));
}
.space-y-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1rem * var(--tw-space-y-reverse));
}
.space-y-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.5rem * var(--tw-space-y-reverse));
}
.divide-y > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-y-reverse: 0;
  border-top-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  border-bottom-width: calc(1px * var(--tw-divide-y-reverse));
}
.divide-slate-100 > :not([hidden]) ~ :not([hidden]) {
  --tw-divide-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-divide-opacity, 1));
}
.self-start {
  align-self: flex-start;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-x-auto {
  overflow-x: auto;
}
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-t {
  border-top-width: 1px;
}
.border-t-\[3px\] {
  border-top-width: 3px;
}
.border-dashed {
  border-style: dashed;
}
.border-amber-200 {
  --tw-border-opacity: 1;
  border-color: rgb(253 230 138 / var(--tw-border-opacity, 1));
}
.border-amber-300 {
  --tw-border-opacity: 1;
  border-color: rgb(252 211 77 / var(--tw-border-opacity, 1));
}
.border-blue-100 {
  --tw-border-opacity: 1;
  border-color: rgb(219 234 254 / var(--tw-border-opacity, 1));
}
.border-blue-200 {
  --tw-border-opacity: 1;
  border-color: rgb(191 219 254 / var(--tw-border-opacity, 1));
}
.border-cyan-200 {
  --tw-border-opacity: 1;
  border-color: rgb(165 243 252 / var(--tw-border-opacity, 1));
}
.border-emerald-100 {
  --tw-border-opacity: 1;
  border-color: rgb(209 250 229 / var(--tw-border-opacity, 1));
}
.border-emerald-200 {
  --tw-border-opacity: 1;
  border-color: rgb(167 243 208 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-indigo-200 {
  --tw-border-opacity: 1;
  border-color: rgb(199 210 254 / var(--tw-border-opacity, 1));
}
.border-orange-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 215 170 / var(--tw-border-opacity, 1));
}
.border-orange-300 {
  --tw-border-opacity: 1;
  border-color: rgb(253 186 116 / var(--tw-border-opacity, 1));
}
.border-orange-500 {
  --tw-border-opacity: 1;
  border-color: rgb(249 115 22 / var(--tw-border-opacity, 1));
}
.border-purple-200 {
  --tw-border-opacity: 1;
  border-color: rgb(233 213 255 / var(--tw-border-opacity, 1));
}
.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.border-rose-100 {
  --tw-border-opacity: 1;
  border-color: rgb(255 228 230 / var(--tw-border-opacity, 1));
}
.border-rose-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 205 211 / var(--tw-border-opacity, 1));
}
.border-slate-100 {
  --tw-border-opacity: 1;
  border-color: rgb(241 245 249 / var(--tw-border-opacity, 1));
}
.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity, 1));
}
.border-slate-200\/60 {
  border-color: rgb(226 232 240 / 0.6);
}
.border-slate-200\/80 {
  border-color: rgb(226 232 240 / 0.8);
}
.border-slate-300 {
  --tw-border-opacity: 1;
  border-color: rgb(203 213 225 / var(--tw-border-opacity, 1));
}
.border-teal-200 {
  --tw-border-opacity: 1;
  border-color: rgb(153 246 228 / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.border-t-amber-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(251 191 36 / var(--tw-border-opacity, 1));
}
.border-t-blue-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}
.border-t-green-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(74 222 128 / var(--tw-border-opacity, 1));
}
.border-t-orange-400 {
  --tw-border-opacity: 1;
  border-top-color: rgb(251 146 60 / var(--tw-border-opacity, 1));
}
.bg-amber-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}
.bg-amber-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 251 235 / var(--tw-bg-opacity, 1));
}
.bg-amber-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(217 119 6 / var(--tw-bg-opacity, 1));
}
.bg-black\/50 {
  background-color: rgb(0 0 0 / 0.5);
}
.bg-blue-200\/60 {
  background-color: rgb(191 219 254 / 0.6);
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.bg-blue-50\/60 {
  background-color: rgb(239 246 255 / 0.6);
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-cyan-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 254 255 / var(--tw-bg-opacity, 1));
}
.bg-cyan-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(8 145 178 / var(--tw-bg-opacity, 1));
}
.bg-emerald-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}
.bg-emerald-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(236 253 245 / var(--tw-bg-opacity, 1));
}
.bg-emerald-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(5 150 105 / var(--tw-bg-opacity, 1));
}
.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.bg-indigo-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
}
.bg-indigo-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(79 70 229 / var(--tw-bg-opacity, 1));
}
.bg-orange-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}
.bg-orange-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
}
.bg-orange-50\/70 {
  background-color: rgb(255 247 237 / 0.7);
}
.bg-orange-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 115 22 / var(--tw-bg-opacity, 1));
}
.bg-orange-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}
.bg-purple-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(147 51 234 / var(--tw-bg-opacity, 1));
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-rose-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(255 241 242 / var(--tw-bg-opacity, 1));
}
.bg-rose-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(244 63 94 / var(--tw-bg-opacity, 1));
}
.bg-rose-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(225 29 72 / var(--tw-bg-opacity, 1));
}
.bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}
.bg-slate-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1));
}
.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}
.bg-slate-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(15 23 42 / var(--tw-bg-opacity, 1));
}
.bg-slate-900\/60 {
  background-color: rgb(15 23 42 / 0.6);
}
.bg-teal-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 250 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.bg-violet-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(245 243 255 / var(--tw-bg-opacity, 1));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.from-orange-400 {
  --tw-gradient-from: #fb923c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(251 146 60 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-orange-600 {
  --tw-gradient-to: #ea580c var(--tw-gradient-to-position);
}
.object-contain {
  -o-object-fit: contain;
     object-fit: contain;
}
.p-1 {
  padding: 0.25rem;
}
.p-12 {
  padding: 3rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-3\.5 {
  padding: 0.875rem;
}
.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-1\.5 {
  padding-left: 0.375rem;
  padding-right: 0.375rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-2\.5 {
  padding-left: 0.625rem;
  padding-right: 0.625rem;
}
.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-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-1\.5 {
  padding-top: 0.375rem;
  padding-bottom: 0.375rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-2\.5 {
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-1 {
  padding-bottom: 0.25rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-3 {
  padding-bottom: 0.75rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pb-px {
  padding-bottom: 1px;
}
.pl-9 {
  padding-left: 2.25rem;
}
.pr-4 {
  padding-right: 1rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-10 {
  padding-top: 2.5rem;
}
.pt-3 {
  padding-top: 0.75rem;
}
.pt-4 {
  padding-top: 1rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.font-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}
.text-\[10px\] {
  font-size: 10px;
}
.text-\[11px\] {
  font-size: 11px;
}
.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-black {
  font-weight: 900;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-normal {
  font-weight: 400;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.leading-5 {
  line-height: 1.25rem;
}
.leading-6 {
  line-height: 1.5rem;
}
.tracking-tight {
  letter-spacing: -0.025em;
}
.tracking-wide {
  letter-spacing: 0.025em;
}
.tracking-wider {
  letter-spacing: 0.05em;
}
.text-amber-600 {
  --tw-text-opacity: 1;
  color: rgb(217 119 6 / var(--tw-text-opacity, 1));
}
.text-amber-700 {
  --tw-text-opacity: 1;
  color: rgb(180 83 9 / var(--tw-text-opacity, 1));
}
.text-amber-800 {
  --tw-text-opacity: 1;
  color: rgb(146 64 14 / var(--tw-text-opacity, 1));
}
.text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}
.text-blue-700 {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity, 1));
}
.text-blue-700\/80 {
  color: rgb(29 78 216 / 0.8);
}
.text-blue-900 {
  --tw-text-opacity: 1;
  color: rgb(30 58 138 / var(--tw-text-opacity, 1));
}
.text-cyan-600 {
  --tw-text-opacity: 1;
  color: rgb(8 145 178 / var(--tw-text-opacity, 1));
}
.text-emerald-600 {
  --tw-text-opacity: 1;
  color: rgb(5 150 105 / var(--tw-text-opacity, 1));
}
.text-emerald-700 {
  --tw-text-opacity: 1;
  color: rgb(4 120 87 / var(--tw-text-opacity, 1));
}
.text-emerald-800 {
  --tw-text-opacity: 1;
  color: rgb(6 95 70 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-green-500 {
  --tw-text-opacity: 1;
  color: rgb(34 197 94 / var(--tw-text-opacity, 1));
}
.text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}
.text-green-700 {
  --tw-text-opacity: 1;
  color: rgb(21 128 61 / var(--tw-text-opacity, 1));
}
.text-indigo-600 {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}
.text-indigo-700 {
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}
.text-orange-500 {
  --tw-text-opacity: 1;
  color: rgb(249 115 22 / var(--tw-text-opacity, 1));
}
.text-orange-600 {
  --tw-text-opacity: 1;
  color: rgb(234 88 12 / var(--tw-text-opacity, 1));
}
.text-orange-700 {
  --tw-text-opacity: 1;
  color: rgb(194 65 12 / var(--tw-text-opacity, 1));
}
.text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}
.text-purple-700 {
  --tw-text-opacity: 1;
  color: rgb(126 34 206 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-rose-600 {
  --tw-text-opacity: 1;
  color: rgb(225 29 72 / var(--tw-text-opacity, 1));
}
.text-rose-700 {
  --tw-text-opacity: 1;
  color: rgb(190 18 60 / var(--tw-text-opacity, 1));
}
.text-slate-300 {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity, 1));
}
.text-slate-400 {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}
.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity, 1));
}
.text-slate-600 {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}
.text-slate-700 {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}
.text-slate-800 {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}
.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity, 1));
}
.text-teal-600 {
  --tw-text-opacity: 1;
  color: rgb(13 148 136 / var(--tw-text-opacity, 1));
}
.text-teal-700 {
  --tw-text-opacity: 1;
  color: rgb(15 118 110 / var(--tw-text-opacity, 1));
}
.text-violet-600 {
  --tw-text-opacity: 1;
  color: rgb(124 58 237 / var(--tw-text-opacity, 1));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.line-through {
  text-decoration-line: line-through;
}
.opacity-0 {
  opacity: 0;
}
.opacity-75 {
  opacity: 0.75;
}
.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-2xl {
  --tw-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
  --tw-shadow-colored: 0 25px 50px -12px 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);
}
.shadow-blue-500\/20 {
  --tw-shadow-color: rgb(59 130 246 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-emerald-600\/20 {
  --tw-shadow-color: rgb(5 150 105 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-orange-500\/20 {
  --tw-shadow-color: rgb(249 115 22 / 0.2);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-orange-500\/25 {
  --tw-shadow-color: rgb(249 115 22 / 0.25);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-slate-900\/10 {
  --tw-shadow-color: rgb(15 23 42 / 0.1);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-slate-900\/5 {
  --tw-shadow-color: rgb(15 23 42 / 0.05);
  --tw-shadow: var(--tw-shadow-colored);
}
.shadow-slate-900\/\[0\.03\] {
  --tw-shadow-color: rgb(15 23 42 / 0.03);
  --tw-shadow: var(--tw-shadow-colored);
}
.outline-none {
  outline: 2px solid transparent;
  outline-offset: 2px;
}
.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);
}
.backdrop-blur-sm {
  --tw-backdrop-blur: blur(4px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-xl {
  --tw-backdrop-blur: blur(24px);
  backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.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;
}
.duration-200 {
  transition-duration: 200ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}
:root {
  --bg-main: #fcf9f5;
  --bg-card: #ffffff;
  --border-light: rgba(254, 215, 170, 0.6);
  --border-focus: #f97316;
  
  --brand-orange: #ea580c;
  --brand-orange-light: #f97316;
  --brand-orange-bg: rgba(234, 88, 12, 0.08);
  --brand-gradient: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  
  --text-title: #0f172a;
  --text-body: #475569;
  --text-muted: #94a3b8;
  
  --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-pill: 50px;
}

/* Dành cho Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: rgb(254, 215, 170) rgb(249, 250, 251);
}

/* Dành cho Chrome, Edge, Safari */
*::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

*::-webkit-scrollbar-track {
    background: rgb(249, 250, 251);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb {
    background: rgb(254, 215, 170);
    border-radius: 4px;
}

*::-webkit-scrollbar-thumb:hover {
    background: rgb(253, 186, 116); /* Màu cam đậm hơn một chút khi rê chuột vào */
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-main);
  color: var(--text-title);
  font-family: var(--font-body);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Ambient Elements */
.app-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

.ambient-glow-1 {
  position: absolute;
  top: -10%;
  left: 30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(254, 215, 170, 0.4) 0%, rgba(253, 251, 247, 0) 70%);
  border-radius: 50%;
  filter: blur(80px);
}

.ambient-glow-2 {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(254, 202, 202, 0.3) 0%, rgba(253, 251, 247, 0) 70%);
  border-radius: 50%;
  filter: blur(60px);
}

/* Container */
.container {
  margin: 0 auto;
  padding: 1.2rem 1.2rem 3rem;
}

/* Header Top Navbar */
.top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  margin-bottom: 1.5rem;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.top-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.top-brand span {
  color: #ea580c;
}

.auth-user-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ref-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-nav-login {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1.5px solid #fed7aa;
  color: #ea580c;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-nav-login:hover {
  background: #fff4ed;
}

.btn-nav-register {
  padding: 0.5rem 1.2rem;
  background: var(--brand-gradient);
  border: none;
  color: #ffffff;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.25);
  transition: all 0.2s ease;
}

.btn-nav-register:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(234, 88, 12, 0.35);
}

/* Hero Section */
.hero {
  text-align: left;
  margin-bottom: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 10px rgba(234, 88, 12, 0.05);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-title);
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #ea580c;
}

.hero-desc {
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 720px;
}

/* Main Interactive Card */
.main-card {
  background: var(--bg-card);
  border: 1px solid #ffedd5;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(234, 88, 12, 0.06), 0 4px 12px rgba(0, 0, 0, 0.02);
  margin-bottom: 2.2rem;
}

.platform-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}

.platform-label {
  font-size: 0.82rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.platform-badge.shopee {
  background: #ea580c;
  color: #fff;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
}

.platform-badge.tiktok {
  background: #0f172a;
  color: #fff;
}
.platform-badge.lazada {
  background: linear-gradient(135deg, #092f87 0%, #5a37f9 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(11, 31, 77, 0.4);
}

/* Converter Form & Input */
.search-form {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.input-box {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-icon-left {
  position: absolute;
  left: 1rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
}

.input-paste-btn {
  position: absolute;
  right: 0.8rem;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  border-radius: 6px;
  transition: color 0.2s;
}

.input-paste-btn:hover {
  color: #ea580c;
  background: #fff4ed;
}

.url-input {
  width: 100%;
  padding: 1rem 2.8rem 1rem 2.8rem;
  background: #ffffff;
  border: 1.5px solid #fdba74;
  border-radius: 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-title);
  outline: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.url-input:focus {
  border-color: #ea580c;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.15);
}

.url-input::-moz-placeholder {
  color: #94a3b8;
}

.url-input::placeholder {
  color: #94a3b8;
}

.submit-btn {
  padding: 1rem 1.6rem;
  background: var(--brand-gradient);
  border: none;
  border-radius: 16px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.3);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(234, 88, 12, 0.45);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Card Links Footer */
.card-footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px dashed #fed7aa;
  font-size: 0.88rem;
  color: #d97706;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #d97706;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.footer-link-item:hover {
  text-decoration: underline;
}

/* Result Section */
.result-section {
  background: #ffffff;
  border: 2px solid #fed7aa;
  border-radius: var(--radius-xl);
  padding: 1.8rem;
  box-shadow: 0 15px 35px rgba(234, 88, 12, 0.08);
  margin-bottom: 2.2rem;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.product-card {
  display: flex;
  gap: 1rem;
  background: #fffaf5;
  border: 1px solid #ffedd5;
  padding: 1rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.2rem;
  align-items: center;
}

.product-thumb {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 12px;
  border: 1px solid #fed7aa;
  flex-shrink: 0;
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-tag {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ea580c;
}

/* Single Cashback Box */
.single-cashback-box {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  padding: 1rem;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.06);
}

.cb-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #047857;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cb-val {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #059669;
  margin-top: 0.2rem;
}

.result-action-container {
  display: flex;
  flex-direction: column;
}

.result-input-box {
  display: flex;
  gap: 0.5rem;
  background: #f8fafc;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1.5px solid #cbd5e1;
  flex-wrap: wrap;
}

.result-input {
  flex: 1;
  min-width: 180px;
  background: transparent;
  border: none;
  color: #0284c7;
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  padding-left: 0.5rem;
  outline: none;
}

.btn-copy {
  padding: 0.6rem 1rem;
  background: #ea580c;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.open-shopee-btn {
  width: 100%;
  padding: 1rem;
  background: var(--brand-gradient);
  border: none;
  border-radius: 16px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 25px rgba(234, 88, 12, 0.35);
  transition: all 0.2s ease;
  cursor: pointer;
}

.open-shopee-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(234, 88, 12, 0.5);
  filter: brightness(1.05);
}

/* Common Section Card Style */
.section-card {
  background: var(--bg-card);
  border: 1px solid #ffedd5;
  border-radius: var(--radius-xl);
  padding: 2.2rem 1.6rem;
  box-shadow: 0 15px 40px rgba(234, 88, 12, 0.04);
  margin-bottom: 2.2rem;
}

.section-header-center {
  text-align: center;
  margin-bottom: 2rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.section-subheading {
  color: var(--text-body);
  font-size: 0.95rem;
  max-width: 620px;
  margin: 0 auto;
}

/* Timeline Process Section */
.timeline-container {
  position: relative;
  padding: 0.5rem 0;
}

.timeline-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  position: relative;
  z-index: 2;
}

.timeline-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-icon-box {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.timeline-icon-box.step-1 {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.3);
}

.timeline-icon-box.step-2 {
  background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.3);
}

.timeline-icon-box.step-3 {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
}

.timeline-step-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}

.timeline-step-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.timeline-tag {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.timeline-tag.today {
  background: #fff4ed;
  color: #ea580c;
  border: 1px solid #ffedd5;
}

.timeline-tag.tomorrow {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
}

.timeline-tag.days7 {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.timeline-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  max-width: 240px;
}

/* 3-Step Guide Grid Cards */
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.guide-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #ffedd5;
  border-radius: 18px;
  padding: 2rem 1.2rem 1.6rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(234, 88, 12, 0.04);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-number-badge {
  position: absolute;
  top: -12px;
  left: 1.2rem;
  width: 28px;
  height: 28px;
  background: #ea580c;
  color: #ffffff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.4);
}

.guide-icon-wrapper {
  width: 56px;
  height: 56px;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.guide-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.guide-card-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

/* REGISTER & LOGIN AUTH MODALS */
.auth-modal-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  width: 100%;
  max-width: 420px;
  padding: 1.8rem 1.5rem 2rem;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.12), 0 10px 30px rgba(234, 88, 12, 0.08);
  position: relative;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.auth-header-icon {
  width: 52px;
  height: 52px;
  background: #ea580c;
  color: #ffffff;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
}

.auth-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.3rem;
}

.auth-subtitle {
  font-size: 0.88rem;
  color: #64748b;
  margin-bottom: 1.4rem;
  line-height: 1.45;
}

.auth-form-group {
  text-align: left;
  margin-bottom: 0.9rem;
}

.auth-form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.3rem;
}

.auth-input-box {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-input-icon {
  position: absolute;
  left: 0.9rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
}

.auth-input {
  width: 100%;
  padding: 0.8rem 0.9rem 0.8rem 2.6rem;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.auth-input:focus {
  border-color: #ea580c;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12);
}

.auth-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 1rem 0;
  text-align: left;
  font-size: 0.82rem;
  color: #475569;
}

.auth-checkbox-row input {
  margin-top: 0.15rem;
  accent-color: #ea580c;
}

.cloudflare-badge {
  background: #27272a;
  color: #ffffff;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  margin-bottom: 1.2rem;
}

.btn-auth-submit {
  width: 100%;
  padding: 0.88rem;
  background: var(--brand-gradient);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.35);
  transition: all 0.2s ease;
}

.auth-switch-link {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.auth-switch-link a {
  color: #ea580c;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

/* POPUP MODAL STYLES */
.notice-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  animation: fadeIn 0.25s ease-out;
}

.notice-modal-card {
  background: #ffffff;
  border: 1.5px solid #ffedd5;
  border-radius: 24px;
  width: 100%;
  max-width: 650px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 65px rgba(234, 88, 12, 0.18), 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.notice-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #f1f5f9;
}

.notice-header-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.notice-alert-icon {
  width: 34px;
  height: 34px;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-close-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notice-modal-body {
  padding: 1.2rem 1.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notice-list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.5rem;
  border-radius: 12px;
}

.notice-item-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: linear-gradient(135deg, #fff4ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
  color: #ea580c;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.notice-item-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.2rem;
}

.notice-item-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.notice-modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  justify-content: flex-end;
  background: #ffffff;
}

.notice-understand-btn {
  padding: 0.75rem 1.8rem;
  background: var(--brand-gradient);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
}

/* DASHBOARD LAYOUT STYLES */
.dashboard-container {
  display: grid;
  grid-template-columns: 270px 1fr;
  min-height: 100vh;
  max-width: 100vw;       /* Giới hạn tối đa bằng chiều rộng màn hình */
  overflow-x: hidden;     /* Ẩn toàn bộ phần tràn ngang */
  background: #f8fafc;
}

/* SIDEBAR STYLES */

.user-profile-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 1rem;
}

.user-avatar-circle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.user-profile-details {
  flex: 1;
  min-width: 0;
}

.user-profile-name {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-ref-code {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  margin: 0.15rem 0;
}

.user-ref-code span {
  color: #64748b;
  font-weight: 700;
}

.user-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.12rem 0.5rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #059669;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
}

.dot-green {
  width: 6px;
  height: 6px;
  background-color: #10b981;
  border-radius: 50%;
}

.dash-menu {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.dash-menu-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  background: transparent;
  border: none;
  border-radius: 12px;
  color: #64748b;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 100%;
  text-align: left;
}

.dash-menu-item:hover {
  background: #fff4ed;
  color: #ea580c;
}

.dash-menu-item.active {
  background: #fff4ed;
  color: #ea580c;
  font-weight: 800;
}

.dash-menu-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.6rem 0;
}

.dash-promo-card {
  background: #fffaf5;
  border: 1.5px dashed #ffedd5;
  border-radius: 16px;
  padding: 1rem;
  margin-top: 1.2rem;
}

.promo-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ea580c;
  margin-bottom: 0.3rem;
}

.promo-desc {
  font-size: 0.75rem;
  color: #64748b;
  margin-bottom: 0.7rem;
  line-height: 1.35;
}

.promo-btn {
  padding: 0.4rem 0.8rem;
  background: #ffffff;
  border: 1px solid #fed7aa;
  color: #ea580c;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* MAIN CONTENT AREA STYLES */
.dash-main {
  background: #f8fafc;
}

.dash-header-title-box {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.8rem;
  flex-wrap: wrap;
}

.header-icon-box {
  width: 44px;
  height: 44px;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
}

.dash-subtitle {
  font-size: 0.85rem;
  color: #64748b;
}

/* WALLET TAB SUMMARY CARDS */
.wallet-summary-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.wallet-card {
  border-radius: 20px;
  padding: 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.wallet-card.primary-orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(234, 88, 12, 0.25);
}

.wallet-card.white {
  background: #ffffff;
  border: 1px solid #f1f5f9;
}

.w-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.w-icon-circle {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.w-icon-circle.green { background: #ecfdf5; }
.w-icon-circle.blue { background: #eff6ff; }

.w-amount {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin: 0.6rem 0;
  line-height: 1.1;
}

.w-amount.dark {
  color: #0f172a;
}

.w-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.btn-w-action {
  flex: 1;
  padding: 0.58rem 0.6rem;
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  border: none;
}

.btn-w-action.white {
  background: #ffffff;
  color: #ea580c;
}

.btn-w-action.transparent {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.w-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}

.w-tag-pill.green {
  background: #ecfdf5;
  color: #059669;
}

.w-tag-pill.blue {
  background: #eff6ff;
  color: #2563eb;
}

/* BOTTOM WALLET CARDS */
.wallet-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.content-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.c-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.c-card-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.c-card-sub {
  font-size: 0.8rem;
  color: #94a3b8;
}

.btn-pill-small {
  padding: 0.28rem 0.75rem;
  background: #fff4ed;
  border: none;
  color: #ea580c;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-pill-small.blue {
  background: #eff6ff;
  color: #2563eb;
}

.c-empty-state {
  text-align: center;
  padding: 2rem 0.8rem;
  color: #94a3b8;
  font-size: 0.88rem;
}

.empty-circle-icon {
  width: 50px;
  height: 50px;
  background: #f8fafc;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
}

/* SETTINGS TAB STYLES */
.email-verify-banner {
  background: #fffbeb;
  border: 1.5px solid #fef3c7;
  border-radius: 18px;
  padding: 1rem 1.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #92400e;
  margin-bottom: 0.2rem;
}

.banner-desc {
  font-size: 0.85rem;
  color: #b45309;
  margin-bottom: 0.3rem;
}

.banner-link {
  color: #d97706;
  font-weight: 800;
  font-size: 0.85rem;
  text-decoration: none;
}

.settings-forms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}

.setting-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 1.6rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.setting-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.s-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-icon-box.orange { background: #fff4ed; }
.s-icon-box.red { background: #fef2f2; }

.setting-card-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.setting-card-sub {
  font-size: 0.8rem;
  color: #94a3b8;
}

.setting-form-group {
  margin-bottom: 1rem;
}

.setting-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.unverified-badge {
  font-size: 0.72rem;
  color: #d97706;
  background: #fffbeb;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-weight: 700;
}

.s-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.s-input-icon {
  position: absolute;
  left: 0.9rem;
  color: #94a3b8;
}

.s-input {
  width: 100%;
  padding: 0.8rem 0.9rem 0.8rem 2.6rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #0f172a;
  outline: none;
  transition: all 0.2s ease;
}

.s-input-wrapper.disabled .s-input {
  background: #f8fafc;
  color: #64748b;
}

.btn-input-copy {
  position: absolute;
  right: 0.7rem;
  background: transparent;
  border: none;
  color: #ea580c;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

.s-error-msg {
  color: #ef4444;
  font-size: 0.82rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.btn-setting-submit {
  width: 100%;
  padding: 0.88rem;
  background: var(--brand-gradient);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.3);
  transition: all 0.2s ease;
  margin-top: 0.4rem;
}

/* Toast */
/* Toast Thông Báo Hệ Thống Nổi Bật & Sang Trọng */
.toast {
  position: fixed;
  top: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 460px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  padding: 1rem 1.3rem;
  border-radius: 20px;
  border: 1.5px solid rgba(249, 115, 22, 0.45);
  box-shadow: 0 20px 40px -10px rgba(234, 88, 12, 0.35), 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 9999;
  animation: toastBounceIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  overflow: hidden;
}

.toast-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.4);
}

.toast-body {
  flex: 1;
  overflow: hidden;
}

.toast-header-text {
  font-size: 0.72rem;
  font-weight: 800;
  color: #fb923c;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.toast-message-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  word-break: break-word;
}

.toast-close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #94a3b8;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.toast-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.toast-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #f97316 0%, #34d399 100%);
  animation: toastProgress 3.5s linear forwards;
}

@keyframes toastBounceIn {
  0% {
    transform: translate(-50%, -50px) scale(0.85);
    opacity: 0;
  }
  70% {
    transform: translate(-50%, 6px) scale(1.02);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
  }
}

@keyframes toastProgress {
  0% { width: 100%; }
  100% { width: 0%; }
}

/* ==========================================================================
   MOBILE RESPONSIVE MEDIA QUERIES (< 768px & < 480px)
   ========================================================================== */

@media (max-width: 900px) {
  .dashboard-container {
    grid-template-columns: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wallet-summary-grid {
    grid-template-columns: 1fr;
  }

  .wallet-bottom-grid {
    grid-template-columns: 1fr;
  }

  .settings-forms-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 1rem 1rem 7rem;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  .search-form {
    flex-direction: column;
    width: 100%;
  }

  .submit-btn {
    width: 100%;
  }

  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .section-card {
    padding: 1.8rem 1.2rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .main-card {
    padding: 1.4rem;
  }

  .result-section {
    padding: 1.2rem;
  }

  .product-card {
    flex-direction: column;
    text-align: center;
  }

  .product-thumb {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .top-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .auth-user-bar {
    width: 100%;
    justify-content: space-between;
  }

  .ref-code-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }

  .w-amount {
    font-size: 1.8rem;
  }

  .dash-title {
    font-size: 1.25rem;
  }

  .result-input-box {
    flex-direction: column;
  }

  .btn-copy {
    width: 100%;
  }
}

/* ==========================================================================
   APP FOOTER STYLING (MATCHING DESIGN REFERENCE)
   ========================================================================== */

.app-footer {
  background: #fbf9f4;
  border-top: 1px solid #efe8db;
  color: #475569;
  padding: 1rem 1.5rem 2rem;
  margin-top: 3rem;
  width: 100%;
}

.footer-container {
  max-width: 1060px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.8rem;
}

.footer-brand-bolt {
  color: #ea580c;
}

.footer-desc {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  max-width: 380px;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ea580c;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-email-link:hover {
  text-decoration: underline;
  opacity: 0.85;
}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: #ea580c;
}

.footer-links .link-icon {
  font-size: 1rem;
}

.footer-bottom-bar {
  border-top: 1px solid #e8dfcf;
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: #64748b;
}

.version-badge {
  color: #ea580c;
  font-weight: 700;
  margin-left: 0.3rem;
}

.heart-icon {
  color: #ef4444;
}

/* Floating Bottom-Right Bug Report Button */
.floating-report-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
  cursor: pointer;
  z-index: 990;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-report-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(234, 88, 12, 0.5);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 550px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   ZALO FLOATING BUTTON & QR POPUP MODAL
   ========================================================================== */

.floating-zalo-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  background: linear-gradient(135deg, #0068ff 0%, #0052cc 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 10px 25px rgba(0, 104, 255, 0.4);
  cursor: pointer;
  z-index: 490;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-zalo-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 32px rgba(0, 104, 255, 0.55);
}

.zalo-pulse-badge {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: zaloPulse 1.8s infinite;
}

@keyframes zaloPulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

/* Zalo Modal Popup Backdrop & Container */
.zalo-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.zalo-modal-card {
  background: linear-gradient(135deg, #0052cc 0%, #003db3 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  max-width: 440px;
  width: 100%;
  padding: 2rem 1.8rem 1.8rem;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 82, 204, 0.4);
  animation: modalZoomIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #ffffff;
}

@keyframes modalZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.zalo-modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.zalo-modal-close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

.zalo-qr-image-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 0.8rem;
  margin: 1.2rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: inline-block;
  max-width: 320px;
  width: 100%;
}

.zalo-qr-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
}

/* Nút Đăng nhập Google rực rỡ chuẩn nhận diện thương hiệu */
.btn-google-auth {
  width: 100%;
  padding: 0.85rem 1rem;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 14px;
  color: #1e293b;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  margin-bottom: 1.2rem;
}

.btn-google-auth:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #94a3b8;
  font-size: 0.82rem;
  font-weight: 700;
  margin: 1.2rem 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid #e2e8f0;
}

.auth-divider span {
  padding: 0 0.8rem;
}

/* ==========================================================================
   DASHBOARD SIDEBAR - MOBILE DRAWER MODE (< 900px)
   Desktop layout (>= 900px) giữ nguyên không đổi.
   ========================================================================== */

/* ==========================================
   CẤU HÌNH DASHBOARD RESPONSIVE MỚI
   ========================================== */

/* 1. MẶC ĐỊNH CHO MOBILE (< 901px): Ẩn hoàn toàn Sidebar, Topbar và Backdrop cũ */
.dash-sidebar,
.dash-mobile-topbar,
.dash-sidebar-backdrop,
.dash-sidebar-close-btn {
  display: none !important;
}

.dashboard-container {
  grid-template-columns: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

.dash-main {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  padding: 0.3rem;
}


/* 2. TRÊN MÁY TÍNH / MÀN HÌNH LỚN (>= 901px): Cố định Sidebar bên trái */
@media (min-width: 768px) {
  .dashboard-container {
    display: block; /* Hoặc grid tùy cấu hình gốc của bác */
  }

  .dash-sidebar {
    display: flex !important;
    flex-direction: column;
    position: absolute; /* Đổi sang absolute cho mượt khung */
    top: 0;
    left: 0;
    width: 280px;
    height: 100%; /* Hoặc 100vh tùy ý */
    background: #ffffff;
    border-right: 1px solid #f1f5f9;
    padding: 1.5rem 1.2rem;
    z-index: 10;
    box-sizing: border-box;
  }

  .dash-main {
    margin-left: 280px;
    width: calc(100% - 280px);
    padding: 2rem;
  }
}
/* ==========================================================================
   1. GLOBAL LAYOUT & UTILITIES
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   2. TOPBAR - HEADER CHUNG
   ========================================================================== */
/* ==========================================================================
   2. TOPBAR - HEADER CHUNG
   ========================================================================== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.4rem 7.5rem;
  position: sticky;
  top: 0;
  z-index: 500;
  width: 100%;
}

.topbar .brand,
.topbar .brand-mark,
.topbar .brand-copy {
  display: flex;
}

.topbar .brand {
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}

.topbar .brand-mark {
  width: 38px;
  height: 38px;
  background: var(--brand-gradient, linear-gradient(135deg, #f97316 0%, #ea580c 100%));
  color: #fff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading, inherit);
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.topbar .brand-copy {
  flex-direction: column;
  line-height: 1.25;
}

.topbar .brand-copy strong {
  font-family: var(--font-heading, inherit);
  font-size: 0.98rem;
  font-weight: 800;
  color: #0f172a;
  white-space: nowrap;
}

.topbar .brand-copy small {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.topbar .brand-copy small i {
  font-style: normal;
  color: #cbd5e1;
}

.topbar .menu-toggle {
  display: none;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.1rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Thanh điều hướng & Scrollbar */
.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  justify-content: center;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: thin;
}

.nav::-webkit-scrollbar {
  height: 4px;
}
.nav::-webkit-scrollbar-thumb {
  background: rgba(255, 87, 34, 0.3);
  border-radius: 4px;
}

.topbar .nav-grid-items {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar .nav-grid-items a {
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
  color: #475569;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.topbar .nav-grid-items a:hover {
  background: #f8fafc;
  color: #0f172a;
}

.topbar .nav-grid-items a.active {
  background: #fff4ed;
  color: #ea580c;
}

/* Khu vực User & Nút hành động */
.topbar .user-area {
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  flex-shrink: 0;
}

.topbar-login-btn,
.topbar-wallet-btn {
  padding: 6px 16px;
  background: linear-gradient(135deg, #ff6b40, #e84616);
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(233, 91, 34, 0.15);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.topbar-login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(233, 91, 34, 0.25);
}

.topbar-wallet-btn {
  padding: 6px 10px;
  background: rgba(255, 87, 34, 0.08);
  border: 1px solid rgba(255, 87, 34, 0.25);
  color: #ff5722;
  text-decoration: none;
}

/* Responsive Mobile */
@media (max-width: 1024px) {
  .topbar .menu-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 12px;
  }

  .nav.open {
    display: block;
  }

  .topbar .nav-grid-items {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   3. USER PROFILE CHIP & DROPDOWN MENU
   ========================================================================== */
.topbar-user-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 0.3rem 0.6rem 0.3rem 0.3rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.topbar-user-chip:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.topbar-user-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.topbar-user-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  max-width: 100px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.topbar-user-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: -35px;
    left: auto;
    width: 200px;
    max-width: calc(100vw - 2rem);
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 16px;
    padding: 0.5rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.topbar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  color: #475569;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  text-align: left;
}

.topbar-dropdown-item:hover {
  background: #f8fafc;
  color: #0f172a;
}

.topbar-dropdown-item.danger {
  color: #ef4444;
}

.topbar-dropdown-item.danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

.topbar-dropdown-refcode {
  padding: 0.5rem 0.8rem;
  margin-top: 0.2rem;
}

.topbar-dropdown-ref-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.3rem;
}

.topbar-dropdown-ref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
}

.topbar-dropdown-ref-row strong {
  font-size: 0.85rem;
  color: #ea580c;
  font-weight: 800;
}

.topbar-dropdown-ref-row button {
  background: transparent;
  border: none;
  color: #ea580c;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0;
}

.topbar-dropdown-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 0.4rem 0.2rem;
}

@media (max-width: 768px) {
  .dash-quick-tabs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
/* ==========================================================================
   4. MOBILE LOGGED-IN MENU EXTENSION & RESPONSIVE
   ========================================================================== */
.mobile-logged-in-section {
  display: none;
}

@media (max-width: 900px) {
  .topbar {
    position: relative;
    flex-wrap: wrap;
    align-items: center;
  }

  .topbar .menu-toggle {
    display: flex;
    order: 2;
  }

  .topbar .brand {
    order: 1;
  }

  .topbar .user-area {
    order: 3;
  }

  .topbar .nav {
    display: none;
    order: 4;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 0 0 16px 16px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
    flex-direction: column;
    align-items: stretch;
    z-index: 1000;
  }

  .topbar .nav.open {
    display: flex !important;
  }

  .topbar .nav-grid-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
  }

  .topbar .nav-grid-items a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 700;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    color: #475569;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-logged-in-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
    width: 100%;
  }
}

.mobile-user-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f9fafb;
  border-radius: 10px;
  border: 1px solid #f3f4f6;
}

.mobile-user-avatar-sm {
  width: 32px;
  height: 32px;
  background: #ea580c;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
}

.mobile-user-info-sm {
  overflow: hidden;
}

.mobile-user-name-sm {
  font-weight: 600;
  color: #1f2937;
  font-size: 13px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-user-code-sm {
  font-size: 11px;
  color: #ea580c;
  font-weight: 500;
  margin: 0;
}

.mobile-sub-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #374151;
  text-decoration: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  background: #fdfdfd;
}

.mobile-sub-link:hover {
  background: #f8fafc;
  color: #0f172a;
}

.mobile-ref-box {
  padding: 8px 10px;
  background: #fff4ed;
  border-radius: 8px;
  border: 1px solid #ffedd5;
}

.mobile-ref-label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: #94a3b8;
  font-weight: 700;
}

.mobile-ref-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2px;
}

.mobile-ref-row strong {
  font-size: 13px;
  color: #ea580c;
}

.mobile-ref-row button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #ea580c;
  display: flex;
  align-items: center;
  padding: 0;
}

.mobile-logout-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  color: #dc2626;
  background: #fef2f2;
  border: 1px solid #fee2e2;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  margin-top: 4px;
}

/* ==========================================================================
   5. BOTTOM NAVIGATION BAR - MOBILE ONLY (< 768px)
   ========================================================================== */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 0.5rem 0.4rem calc(0.5rem + env(safe-area-inset-bottom));
    z-index: 500;
    box-shadow: 0 -8px 25px rgba(15, 23, 42, 0.06);
  }

  .mobile-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    padding: 0.3rem 0.2rem;
    min-width: 56px;
  }

  .mobile-bottom-nav-item.active {
    color: #ea580c;
  }

  .mobile-bottom-nav-item.center-action {
    position: relative;
    margin-top: -1.6rem;
  }

  .bottom-nav-center-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(234, 88, 12, 0.4);
    margin-bottom: 0.1rem;
  }
}
/* ==========================================================================
   6. COMCOMING SOON PLACEHOLDER CARD
   ========================================================================== */
.coming-soon-card {
  max-width: 560px;
  margin: 3rem auto;
  text-align: center;
  background: #ffffff;
  border: 1px solid #ffedd5;
  border-radius: 24px;
  padding: 3rem 2rem;
  box-shadow: 0 15px 40px rgba(234, 88, 12, 0.05);
}

.coming-soon-icon {
  width: 64px;
  height: 64px;
  background: #fff4ed;
  border: 1px solid #ffedd5;
  color: #ea580c;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem;
  font-size: 1.8rem;
}
/* ==========================================================
   1. PHẦN BOT HỖ TRỢ (convert-bot-polish.css)
   ========================================================== */
.convert-bot {
  position: relative;
  overflow: hidden;
  border-color: #efdccf;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 14px 34px rgba(70, 47, 31, .085);
}

.convert-bot::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(242, 80, 11, .72), rgba(255, 123, 36, .4) 52%, transparent 100%);
}

.convert-bot-intro {
  position: relative;
  border-right-color: #f0e1d7;
  background:
    radial-gradient(circle at 8% 82%, rgba(255, 117, 35, .11), transparent 27%),
    linear-gradient(145deg, #fffdfb, #fff8f2);
}

.convert-bot-intro::after {
  position: absolute;
  top: 20px;
  right: 18px;
  width: 45px;
  height: 45px;
  content: "";
  border: 1px solid rgba(255, 101, 17, .08);
  border-radius: 50%;
  box-shadow: 0 0 0 12px rgba(255, 101, 17, .025);
  pointer-events: none;
}

.convert-bot-intro img {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 9px 10px rgba(74, 48, 31, .13));
}

.convert-bot-intro > div {
  position: relative;
  z-index: 1;
  min-width: 0;
  flex: 1;
}

.convert-bot h2 {
  color: #17233b;
  letter-spacing: -.35px;
}

.convert-bot h2 em {
  color: #f45b18;
}

.convert-bot-intro .bot-action {
  display: flex;
  width: -moz-fit-content;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid #ffd2b6;
  border-radius: 11px;
  background: rgba(255, 247, 241, .92);
  color: #47566d;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.45;
}

.convert-bot-intro .bot-action span {
  display: grid;
  flex: 0 0 21px;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(145deg, #ff7626, #f45109);
  color: #fff;
  font-size: 11px;
  box-shadow: 0 4px 8px rgba(235, 82, 11, .18);
}

.convert-bot-feature {
  position: relative;
  border-right-color: #f0e1d7;
  background: linear-gradient(180deg, #fff, #fffdfb);
  transition: background .22s ease, box-shadow .22s ease, transform .22s ease;
}

.convert-bot-feature::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 2px;
  content: "";
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ff7a2c, transparent);
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .22s ease, transform .22s ease;
}

.convert-bot-feature:hover {
  z-index: 1;
  background: linear-gradient(180deg, #fffaf6, #fff5ed);
  box-shadow: 0 10px 24px rgba(209, 83, 17, .09);
  transform: translateY(-2px);
}

.convert-bot-feature:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.convert-bot-feature i,
.convert-bot-feature .safe,
.convert-bot-feature .fast,
.convert-bot-feature .clear,
.convert-bot-feature .help {
  border: 1px solid #ffe0cb;
  background: linear-gradient(145deg, #fff6ef, #ffeadd);
  box-shadow: inset 0 1px 0 #fff, 0 5px 12px rgba(218, 87, 17, .08);
  color: #f45b18;
}

.convert-bot-feature h3 {
  color: #17233b;
  line-height: 1.35;
}

.convert-bot-feature p {
  color: #65748a;
}

@media (max-width: 600px) {
  .convert-bot {
    border-radius: 20px;
  }

  .convert-bot-intro,
  .convert-bot-feature {
    border-color: #f0e1d7;
  }

  .convert-bot-intro .bot-action {
    padding: 7px 9px;
    font-size: 10px;
  }
}
.convert-bot {
    display: grid;
    grid-template-columns: 2.15fr repeat(4,1fr);
    margin-top: 24px;
    border: 1px solid #e8ebf0;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 8px 22px #1720330a
}

.convert-bot-intro {
    display: flex;
    align-items: center;
    gap: 17px;
    padding: 22px;
    border-right: 1px solid #e6eaf0
}

.convert-bot-intro img {
    width: 86px;
    height: 96px;
    -o-object-fit: contain;
       object-fit: contain
}

.convert-bot h2 {
    margin: 0 0 11px;
    font-size: 18px
}

.convert-bot h2 em {
    color: #39bb49;
    font-style: normal
}

.convert-bot p {
    margin: 6px 0;
    color: #3f5373;
    font-size: 11px;
    line-height: 1.55
}

.convert-bot-intro p {
    color: #3c5374
}

.convert-bot-feature {
    padding: 24px 18px;
    border-right: 1px solid #e6eaf0
}

.convert-bot-feature:last-child {
    border-right: 0
}

.convert-bot-feature i {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    margin-bottom: 13px;
    border-radius: 50%;
    font-size: 23px;
    font-style: normal;
    font-weight: 800
}

.convert-bot-feature h3 {
    margin: 0;
    color: #172033;
    font-size: 13px
}

.convert-bot-feature .safe {
    background: #e3f7df;
    color: #42bb42
}

.convert-bot-feature .fast {
    background: #fff0e5;
    color: #ff681d
}

.convert-bot-feature .clear {
    background: #e8f0ff;
    color: #5485ef
}

.convert-bot-feature .help {
    background: #f2e8ff;
    color: #a957e3
}

@media(max-width: 950px) {
    .convert-bot {
        grid-template-columns:repeat(2,1fr)
    }

    .convert-bot-intro {
        grid-column: 1/-1
    }

    .convert-bot-feature:nth-child(3) {
        border-right: 0
    }

    .convert-bot-feature {
        border-bottom: 1px solid #e6eaf0
    }

    .convert-bot-feature:nth-last-child(-n+2) {
        border-bottom: 0
    }
}

@media(max-width: 600px) {
    .convert-bot {
        grid-template-columns:1fr
    }

    .convert-bot-intro {
        grid-column: auto;
        padding: 18px
    }

    .convert-bot-intro img {
        width: 68px;
        height: 75px
    }

    .convert-bot-feature {
        padding: 18px;
        border-right: 0
    }

    .convert-bot-feature:last-child {
        border-bottom: 0
    }
}
@media (max-width: 760px) {
  /* Keep the convert-link helper compact on phones. */
  .convert-bot {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-radius: 20px;
  }

  .convert-bot-intro {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 118px;
    padding: 15px 14px;
    border-right: 0;
    border-bottom: 1px solid #f0e1d7;
  }

  .convert-bot-intro img {
    width: 58px;
    height: 64px;
  }

  .convert-bot h2 {
    margin-bottom: 6px;
    font-size: 17px;
    line-height: 1.15;
  }

  .convert-bot-intro .bot-action {
    width: 100%;
    padding: 6px 7px;
    font-size: 9px;
    line-height: 1.35;
  }

  .convert-bot-intro .bot-action span {
    flex-basis: 20px;
    width: 20px;
    height: 20px;
  }

  .convert-bot-feature {
    min-height: 128px;
    padding: 15px 12px;
    border-right: 1px solid #f0e1d7;
    border-bottom: 1px solid #f0e1d7;
  }

  .convert-bot-feature:nth-child(3),
  .convert-bot-feature:nth-child(5) {
    border-right: 0;
  }

  .convert-bot-feature:nth-child(4),
  .convert-bot-feature:nth-child(5) {
    border-bottom: 0;
  }

  .convert-bot-feature i,
  .convert-bot-feature .safe,
  .convert-bot-feature .fast,
  .convert-bot-feature .clear,
  .convert-bot-feature .help {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
    font-size: 18px;
  }

  .convert-bot-feature h3 {
    font-size: 11px;
    line-height: 1.3;
  }

  .convert-bot-feature p {
    margin-top: 4px;
    font-size: 9px;
    line-height: 1.4;
  }
}


/* --- PHẦN QUAN TRỌNG (ACCORDION) --- */
.important-panel {
    margin-top: 24px;
    border: 1px solid #f2dfce;
    border-radius: 18px;
    background: #fff;
    overflow: hidden
}

.important-panel summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    list-style: none;
    cursor: pointer
}

.important-panel summary::-webkit-details-marker {
    display: none
}

.important-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid #ffe0bd;
    border-radius: 12px;
    background: #fff9f2;
    color: #fa5b18
}

.important-panel summary b,.important-panel summary small {
    display: block
}

.important-panel summary b {
    font-size: 14px
}

.important-panel summary small {
    margin-top: 3px;
    color: #64738a;
    font-size: 11px
}

.important-arrow {
    margin-left: auto;
    color: #f55b18;
    font-weight: 800;
    transition: transform .2s
}

.important-panel:not([open]) .important-arrow {
    transform: rotate(180deg)
}

.important-content {
    padding: 12px;
    border-top: 1px solid #f5e7db;
    background: #fffdfa
}

.important-content article {
    display: flex;
    gap: 11px;
    margin-bottom: 9px;
    padding: 12px;
    border: 1px solid #f5dfcd;
    border-radius: 13px;
    background: #fff
}

.important-content article:last-child {
    margin-bottom: 0
}

.important-content article>span {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
    border: 1px solid #ffcea5;
    border-radius: 50%;
    color: #f45b18;
    font-size: 12px
}

.important-content h3 {
    margin: 0;
    color: #ee4e13;
    font-size: 14px
}

.important-content p {
    margin: 5px 0 0;
    color: #344967;
    font-size: 13px;
    line-height: 1.5
}

.important-tips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
    margin-top: 9px
}

.important-tips span {
    padding: 8px;
    border: 1px solid #f5dfcd;
    border-radius: 9px;
    background: #fff9f2;
    color: #52627b;
    font-size: 11px
}

.important-tips b {
    color: #ec5014
}

@media(max-width: 600px) {
    .important-tips {
        grid-template-columns:1fr
    }

    .important-panel summary {
        padding: 13px
    }

    .important-content {
        padding: 9px
    }

    .important-content article {
        padding: 10px
    }

    .important-content p {
        font-size: 12px
    }
}
/* ==========================================================================
   6. Convert  --- LỊCH SỬ CHUYỂN ĐỔI GẦN ĐÂY --- 
   ========================================================================== */
.convert-history-panel {
  background: #fffdf9 !important;
  border: 1px solid #f6dec6 !important;
  border-radius: 22px !important;
  padding: 12px !important;
  box-shadow: 0 8px 22px rgba(221,107,34,.06) !important;
}

.convert-history-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 12px 14px !important;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  border: 1px solid #f8dfc8 !important;
  border-radius: 14px !important;
  background: #fffaf4 !important;
  margin-bottom: 0 !important;
  box-shadow: none !important;
}

.convert-history-header > div:first-child {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.convert-history-header > div:first-child > div {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #ffe2c2 !important;
  border-radius: 12px !important;
  background: #fff8ee !important;
  color: #ff5a27 !important;
}

.convert-history-header > div:first-child > span {
  color: #0f2746 !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.convert-history-header > div:last-child {
  display: flex !important;
  align-items: center !important;
  gap: 13px !important;
}

.convert-history-header > div:last-child > span {
  display: grid !important;
  min-width: 25px !important;
  height: 25px !important;
  padding: 0 7px !important;
  place-items: center !important;
  border: 1px solid #ffe0bf !important;
  border-radius: 10px !important;
  background: #fff9f2 !important;
  color: #ff5926 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
}

.convert-history-header > div:last-child svg {
  width: 16px !important;
  height: 16px !important;
  fill: #ff5926 !important;
}

.convert-history-content {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  padding-top: 10px !important;
}

.convert-history-content > div:first-child {
  padding: 9px 11px !important;
  border: 1px solid #ffe0bf !important;
  border-radius: 10px !important;
  background: #fffdf9 !important;
  color: #c84d1b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}

.convert-history-content > div:last-child {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

/* SỬ DỤNG BIẾN --left-color ĐỂ TỰ ĐỘNG ĐỔI MÀU VIỀN THEO TỪNG SÀN */
.convert-history-item {
  display: flex !important;
  flex-direction: column !important;
  gap: 7px !important;
  padding: 11px 12px !important;
  border: 1px solid #f1e6db !important;
  border-left: 4px solid var(--left-color, #ff5a27) !important; 
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 5px rgba(37,45,60,.035) !important;
  transition: box-shadow 0.2s;
}

.convert-history-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.convert-history-item-top {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.convert-history-item h3 {
  display: -webkit-box !important;
  overflow: hidden !important;
  margin: 0 !important;
  color: #0f2746 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

.convert-history-item-top > div {
  flex: 0 0 auto !important;
  padding: 4px 8px !important;
  border: 1px solid #c9f4dd !important;
  border-radius: 8px !important;
  background: #effcf5 !important;
  color: #00a858 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}

.convert-history-item > div:nth-child(2) {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin-top: -2px !important;
  color: #fa6425 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

.convert-history-item > div:nth-child(3) {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.convert-history-item > div:nth-child(3) > div {
  padding: 4px 7px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
}

.convert-history-actions {
  display: flex !important;
  align-items: center !important;
  gap: 7px !important;
}

.convert-history-actions .history-copy-btn {
  display: flex !important;
  flex: 1 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 36px !important;
  padding: 7px 10px !important;
  border: 1px solid #dfe6ef !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #344b68 !important;
  font: 700 11px 'Be Vietnam Pro', sans-serif !important;
  cursor: pointer;
}

.convert-history-actions a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  min-height: 36px !important;
  padding: 7px 11px !important;
  border: 1px solid #ffc991 !important;
  border-radius: 9px !important;
  background: #fff8ef !important;
  color: #ff5a27 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}

.convert-history-actions .history-delete-btn {
  display: grid !important;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  place-items: center !important;
  border: 1px solid #dfe6ef !important;
  border-radius: 9px !important;
  background: #fbfcfe !important;
  color: #7286a0 !important;
  cursor: pointer;
}

@media(max-width: 600px) {
    .convert-history-panel {
        padding: 8px !important;
        border-radius: 16px !important;
    }
    .convert-history-header {
        padding: 10px !important;
    }
    .convert-history-header > div:first-child > div {
        width: 31px !important;
        height: 31px !important;
        border-radius: 10px !important;
    }
    .convert-history-header > div:first-child > span {
        font-size: 13px !important;
    }
    .convert-history-item {
        padding: 10px !important;
    }
    .convert-history-item h3 {
        font-size: 12px !important;
    }
    .convert-history-item-top > div {
        font-size: 10px !important;
    }
    .convert-history-content > div:first-child {
        font-size: 10px !important;
    }
    .convert-history-actions a {
        padding: 7px 8px !important;
    }
    .convert-history-actions a svg {
        display: none !important;
    }
}

/* ==========================================================
   5. ZALO
   ========================================================== */

.zalo-link-overlay {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(20, 28, 43, .58);
  backdrop-filter: blur(7px);
  overflow-y: auto;
}

.zalo-link-overlay[hidden] {
  display: none;
}

.login-zalo-group {
  display: flex;
  gap: 9px;
  align-items: center;
  width: min(240px, 100%);
  box-sizing: border-box;
  margin: 14px auto 0;
  padding: 9px 10px;
  border: 1px solid #1677ee;
  border-radius: 11px;
  background: #f8fbff;
  color: #233b5b;
  text-align: left;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  animation: zaloGlow 2s infinite ease-in-out;
}

.login-zalo-group:hover {
  animation: none;
  box-shadow: 0 0 16px rgba(22, 119, 238, 0.55), 0 0 0 3px rgba(22, 119, 238, 0.2);
  border-color: #1677ee;
  transform: translateY(-1px);
}

@keyframes zaloGlow {
  0% {
    box-shadow: 0 0 4px rgba(22, 119, 238, 0.15), 0 0 0 1px rgba(22, 119, 238, 0.05);
    border-color: #d7e8ff;
  }
  50% {
    box-shadow: 0 0 12px rgba(22, 119, 238, 0.4), 0 0 0 3px rgba(22, 119, 238, 0.15);
    border-color: #8abeff;
  }
  100% {
    box-shadow: 0 0 4px rgba(22, 119, 238, 0.15), 0 0 0 1px rgba(22, 119, 238, 0.05);
    border-color: #d7e8ff;
  }
}

.login-zalo-group-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #1677ee;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.login-zalo-group > span:nth-child(2) {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.login-zalo-group b { font-size: 11px; }
.login-zalo-group small { color: #71829b; font-size: 9px; }
.login-zalo-group i { color: #1677ee; font-size: 15px; font-style: normal; font-weight: 800; }

body.zalo-link-modal-open {
  overflow: hidden;
}

.zalo-link-card-wrapper {
  position: relative;
  width: min(100%, 470px);
  max-height: min(680px, calc(100vh - 40px));
  margin: auto;
  border: 1px solid #e8e9ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 27, 48, .22);
  overflow: hidden !important;
  box-sizing: border-box;
}

.zalo-link-card {
  position: relative;
  width: 100%;
  max-height: min(680px, calc(100vh - 40px));
  margin: 0;
  padding: 24px 28px 22px;
  background: #fff;
  color: #15233a;
  text-align: center;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #1677ee transparent;
}

.zalo-link-card::-webkit-scrollbar {
  width: 6px;
}

.zalo-link-card::-webkit-scrollbar-track {
  background: transparent;
}

.zalo-link-card::-webkit-scrollbar-thumb {
  background: #1677ee;
  border-radius: 10px;
}

.zalo-link-card::-webkit-scrollbar-thumb:hover {
  background: #0c56be;
}

.zalo-mobile-drag-handle {
  display: none;
  width: 36px;
  height: 4px;
  margin: -10px auto 12px;
  border-radius: 4px;
  background: #d2dce8;
}

.zalo-link-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  border-radius: 18px;
  background: linear-gradient(145deg, #168cff, #0565e8);
  box-shadow: 0 10px 24px rgba(5, 101, 232, .25);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}

.zalo-link-eyebrow {
  margin: 0 0 6px;
  color: #f15a29;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.zalo-link-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.zalo-link-description {
  margin: 10px 0 18px;
  color: #6f7d93;
  font-size: 13px;
  line-height: 1.65;
}

.zalo-link-account {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding: 11px 13px;
  border-radius: 12px;
  background: #f5f7fb;
  color: #7787a0;
  font-size: 11px;
  text-align: left;
}

.zalo-link-account strong {
  overflow: hidden;
  color: #33425a;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#zalo-link-form {
  text-align: left;
}

#zalo-link-form label {
  display: block;
  margin-bottom: 7px;
  color: #26364f;
  font-size: 12px;
  font-weight: 800;
}

#zalo-link-id {
  width: 100%;
  height: 48px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid #dfe3eb;
  border-radius: 12px;
  outline: none;
  color: #17243a;
  font: inherit;
  font-size: 14px;
  transition: border-color .2s, box-shadow .2s;
}

#zalo-link-id:focus {
  border-color: #168cff;
  box-shadow: 0 0 0 4px rgba(22, 140, 255, .12);
}

#zalo-link-help {
  display: block;
  margin-top: 7px;
  color: #8a96a8;
  font-size: 10.5px;
  line-height: 1.45;
}

.zalo-admin-contact {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-top: 12px;
  padding: 9px 10px;
  border: 1px solid #d8e8ff;
  border-radius: 11px;
  background: #f7fbff;
  color: #2b405f;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(22, 119, 238, .32);
  animation: zalo-admin-glow 2.2s ease-in-out infinite;
  transition: border-color .2s, background .2s, transform .2s;
}

.zalo-admin-contact:hover {
  border-color: #78b7ff;
  background: #f0f8ff;
  transform: translateY(-1px);
}

.zalo-admin-contact-icon {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #1677ee;
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}

.zalo-admin-contact > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.zalo-admin-contact b {
  font-size: 11px;
}

.zalo-admin-contact small {
  color: #71829b;
  font-size: 9.5px;
}

.zalo-admin-contact i {
  color: #1677ee;
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

@keyframes zalo-admin-glow {
  0%, 100% {
    border-color: #d8e8ff;
    box-shadow: 0 0 0 0 rgba(22, 119, 238, .24), 0 3px 8px rgba(22, 119, 238, .05);
  }
  50% {
    border-color: #79b9ff;
    box-shadow: 0 0 0 5px rgba(22, 119, 238, .1), 0 6px 14px rgba(22, 119, 238, .16);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zalo-admin-contact { animation: none; }
}

.zalo-link-error {
  margin: 10px 0 0;
  padding: 9px 11px;
  border-radius: 9px;
  background: #fff1ee;
  color: #c83e1a;
  font-size: 11px;
  line-height: 1.45;
}

.zalo-link-error.is-visible {
  display: block;
}

#zalo-link-submit {
  width: 100%;
  height: 48px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6b40, #ed481b);
  box-shadow: 0 9px 20px rgba(237, 72, 27, .22);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

#zalo-link-submit:disabled {
  cursor: wait;
  opacity: .7;
}

.zalo-link-note {
  margin: 14px 0 0;
  color: #8a96a8;
  font-size: 10.5px;
}

@media (max-width: 520px) {
  .zalo-link-overlay {
    align-items: end;
    padding: 8px 8px 10px;
  }

  .zalo-link-card-wrapper {
    width: 100%;
    max-height: calc(100vh - 20px) !important;
    border-radius: 20px;
    box-shadow: 0 -10px 40px rgba(15, 27, 48, .28);
    overflow: hidden !important;
  }

  .zalo-link-card {
    max-height: calc(100vh - 20px) !important;
    padding: 14px 14px 12px !important;
    border-radius: 0;
    box-shadow: none;
    overflow-y: scroll !important;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
  }

  .zalo-link-card::-webkit-scrollbar {
    width: 6px !important;
    display: block !important;
  }

  .zalo-link-card::-webkit-scrollbar-track {
    background: rgba(22, 119, 238, 0.08) !important;
    border-radius: 10px !important;
  }

  .zalo-link-card::-webkit-scrollbar-thumb {
    background: #1677ee !important;
    border-radius: 10px !important;
  }

  .zalo-mobile-drag-handle {
    display: block;
    width: 42px;
    height: 5px;
    margin: -4px auto 8px;
    background: #1677ee;
    opacity: 0.6;
  }

  .zalo-link-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 8px;
    font-size: 13px;
    border-radius: 14px;
  }

  .zalo-link-eyebrow {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .zalo-link-card h2 {
    font-size: 17.5px;
    line-height: 1.25;
  }

  .zalo-link-description {
    margin: 6px 0 10px;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .zalo-link-account {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 7px 10px;
    font-size: 10.5px;
  }

  .zalo-link-account strong {
    margin-top: 0;
  }

  #zalo-link-form label {
    margin-bottom: 4px;
    font-size: 11.5px;
  }

  #zalo-link-id {
    height: 42px;
    font-size: 13px;
    border-radius: 10px;
  }

  #zalo-link-help {
    margin-top: 4px;
    font-size: 10px;
  }

  .zalo-id-guide-box {
    margin: 9px 0 11px;
    padding: 9px 11px;
    border-radius: 11px;
  }

  .zalo-id-guide-badge {
    margin-bottom: 5px;
    font-size: 10px;
  }

  .zalo-id-guide-steps {
    gap: 5px;
  }

  .zalo-id-step {
    font-size: 11.5px;
    line-height: 1.4;
  }

  .zalo-id-step-num {
    width: 16px;
    height: 16px;
    font-size: 9.5px;
  }

  .zalo-id-cmd-badge {
    font-size: 11px;
    padding: 1px 6px;
  }

  .zalo-admin-contact {
    margin-top: 8px;
    padding: 7px 9px;
    border-radius: 9px;
  }

  #zalo-link-submit {
    height: 44px;
    margin-top: 12px;
    border-radius: 10px;
    font-size: 13px;
  }

  .zalo-link-note {
    margin-top: 8px;
    font-size: 10px;
  }
}

/* ZALO ID GUIDANCE BOX */
.zalo-id-guide-box {
  margin: 12px 0 14px;
  padding: 13px 15px;
  border: 1px solid #d0e3ff;
  border-left: 4px solid #1677ee;
  border-radius: 14px;
  background: linear-gradient(135deg, #f0f6ff, #e6f1fe);
  text-align: left;
  box-shadow: 0 4px 16px rgba(22, 119, 238, 0.08);
}

.zalo-id-guide-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #1677ee;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.zalo-id-guide-steps {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.zalo-id-step {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #2b405f;
  font-size: 12.5px;
  line-height: 1.5;
}

.zalo-id-step-num {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 1px;
  border-radius: 50%;
  background: #1677ee;
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

.zalo-id-step strong {
  color: #0c56be;
  font-weight: 800;
}

.zalo-id-cmd-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  background: #1677ee;
  color: #ffffff;
  font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 6px rgba(22, 119, 238, 0.28);
  margin: 0 2px;
}

/* SMALL PC / LAPTOP LOW RESOLUTION SCREEN SAFEGUARDS */
@media (min-width: 521px) and (max-height: 750px) {
  .zalo-link-card {
    padding: 20px 24px 18px;
    max-height: calc(100vh - 30px);
  }

  .zalo-link-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 10px;
    font-size: 14px;
  }

  .zalo-link-card h2 {
    font-size: 19.5px;
  }

  .zalo-link-description {
    margin: 6px 0 12px;
    font-size: 12px;
    line-height: 1.5;
  }

  .zalo-link-account {
    margin-bottom: 12px;
    padding: 8px 12px;
  }

  .zalo-id-guide-box {
    margin: 9px 0 11px;
    padding: 10px 12px;
  }

  #zalo-link-submit {
    height: 44px;
    margin-top: 12px;
  }
}
/* ==========================================================
   5. referral-program
   ========================================================== */

.main:has(.referral-program) {
  max-width: 1060px;
  margin: 0 auto;
}

.referral-program {
  display: grid;
  gap: 22px;
  max-width: 100%;
  color: #17233b;
}

.ref-program-hero,
.ref-rewards-panel,
.ref-link-card,
.ref-zalo-card,
.ref-steps,
.ref-terms {
  border: 1px solid #f0dfd2;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(55, 39, 25, .07);
}

.ref-program-hero {
  position: relative;
  display: grid;
  grid-template-columns: 57% 43%;
  min-height: 278px;
  overflow: hidden;
  background: linear-gradient(115deg, #fffdfb 0%, #fff7f0 61%, #ffeddc 100%);
}

.ref-program-hero::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 5px;
  content: "";
  background: linear-gradient(90deg, #ff7321, #ffbd63);
}

.ref-program-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 34px 18px 34px 42px;
}

.ref-program-kicker,
.ref-link-copy > small,
.ref-zalo-copy small {
  display: inline-block;
  color: #e9560b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ref-program-kicker {
  padding: 6px 10px;
  border: 1px solid #ffd5b3;
  border-radius: 999px;
  background: #fff5eb;
}

.ref-program-copy h1 {
  max-width: 520px;
  margin: 12px 0 10px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.12;
  letter-spacing: -1.4px;
}

.ref-program-copy h1 em {
  color: #f45711;
  font-style: normal;
}

.ref-program-copy p {
  max-width: 470px;
  margin: 0;
  color: #65748c;
  font-size: 14px;
  line-height: 1.65;
}

.ref-program-date {
  display: inline-block;
  margin-top: 17px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(73, 45, 25, .06);
  color: #53647d;
  font-size: 11px;
  font-weight: 700;
}

.ref-program-art {
  position: relative;
  min-height: 278px;
  overflow: hidden;
}

.ref-program-art img {
  position: absolute;
  z-index: 3;
  right: 32px;
  bottom: -34px;
  width: 245px;
  height: 235px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 17px 13px rgba(147, 67, 5, .17));
  transform: rotate(-3deg);
}

.ref-program-orbit {
  position: absolute;
  border: 1px solid rgba(255, 122, 29, .14);
  border-radius: 50%;
}

.orbit-one {
  top: 21px;
  right: 68px;
  width: 193px;
  height: 193px;
  box-shadow: 0 0 0 21px rgba(255, 144, 47, .045);
}

.orbit-two {
  right: -91px;
  bottom: -99px;
  width: 285px;
  height: 285px;
}

.ref-person,
.ref-coin {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.ref-person {
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 7px 14px rgba(39, 40, 48, .14);
}

.ref-person-one {
  top: 41px;
  left: 35px;
  width: 52px;
  height: 52px;
  background: #075b59;
}

.ref-person-one::before,
.ref-person-one::after {
  position: absolute;
  left: 50%;
  content: "";
  background: #fff;
  transform: translateX(-50%);
}

.ref-person-one::before {
  top: 12px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
}

.ref-person-one::after {
  bottom: 10px;
  width: 25px;
  height: 13px;
  border-radius: 14px 14px 7px 7px;
}

.ref-person-two {
  top: 82px;
  left: 76px;
  width: 32px;
  height: 32px;
  background: #fff;
  color: #ee590d;
  font-size: 21px;
}

.ref-coin {
  width: 34px;
  height: 34px;
  border: 3px solid #fff3a5;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffd55e, #f49a05);
  box-shadow: 0 4px 10px rgba(161, 95, 0, .17);
  color: #fff6c2;
  font-size: 17px;
}

.ref-coin-one {
  right: 27px;
  top: 42px;
}

.ref-coin-two {
  left: 88px;
  bottom: 40px;
  transform: rotate(-14deg);
}

.ref-rewards-panel,
.ref-steps,
.ref-terms {
  padding: 25px;
}

.ref-rewards-panel {
  position: relative;
  overflow: hidden;
  border-color: #f4cdae;
  box-shadow: 0 11px 26px rgba(200, 93, 18, .11), inset 0 0 0 1px rgba(255, 255, 255, .7);
}

.ref-rewards-panel > :not(.ref-reward-trace) {
  position: relative;
  z-index: 1;
}

.ref-reward-trace {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 145, 49, .58);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), 0 0 14px rgba(255, 132, 41, .14);
  pointer-events: none;
}

.ref-reward-trace i {
  position: absolute;
  display: block;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, rgba(255, 191, 100, .75), #fff 50%, rgba(255, 191, 100, .75), transparent);
  box-shadow: 0 0 10px rgba(255, 121, 24, .82);
}

.ref-reward-trace i:nth-child(1),
.ref-reward-trace i:nth-child(3) {
  width: 145px;
  height: 2px;
}

.ref-reward-trace i:nth-child(1) {
  top: -1px;
  animation: ref-trace-right 4.1s linear infinite;
}

.ref-reward-trace i:nth-child(2),
.ref-reward-trace i:nth-child(4) {
  width: 2px;
  height: 95px;
  background: linear-gradient(180deg, transparent, rgba(255, 191, 100, .75), #fff 50%, rgba(255, 191, 100, .75), transparent);
}

.ref-reward-trace i:nth-child(2) {
  top: -95px;
  right: -1px;
  animation: ref-trace-down 4.1s linear infinite -1.02s;
}

.ref-reward-trace i:nth-child(3) {
  right: -145px;
  bottom: -1px;
  animation: ref-trace-left 4.1s linear infinite -2.04s;
}

.ref-reward-trace i:nth-child(4) {
  bottom: -95px;
  left: -1px;
  animation: ref-trace-up 4.1s linear infinite -3.06s;
}

@keyframes ref-trace-right {
  from { left: -145px; }
  to { left: calc(100% + 145px); }
}

@keyframes ref-trace-down {
  from { top: -95px; }
  to { top: calc(100% + 95px); }
}

@keyframes ref-trace-left {
  from { right: -145px; }
  to { right: calc(100% + 145px); }
}

@keyframes ref-trace-up {
  from { bottom: -95px; }
  to { bottom: calc(100% + 95px); }
}
/* Ref */
.ref-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ref-section-heading > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  background: #fff0e4;
  color: #ef5a0e;
  font-size: 10px;
  font-weight: 800;
}

.ref-section-heading h2,
.ref-link-copy h2,
.ref-zalo-copy h2 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -.35px;
}

.ref-section-heading p,
.ref-link-copy p,
.ref-zalo-copy p {
  margin: 4px 0 0;
  color: #748198;
  font-size: 13px;
  line-height: 1.55;
}

.ref-rewards-grid {
  display: grid;
  grid-template-columns: 31% 1fr;
  gap: 14px;
  margin-top: 20px;
}

.ref-hot-reward {
  position: relative;
  min-height: 244px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid #ffaf84;
  border-radius: 18px;
  background: linear-gradient(145deg, #ff5b18, #ff7c2b);
  color: #fff;
}

.ref-hot-reward::after {
  position: absolute;
  right: -25px;
  bottom: -45px;
  width: 132px;
  height: 132px;
  border: 15px solid rgba(255, 255, 255, .11);
  border-radius: 50%;
  content: "";
}

.ref-card-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 15px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .18);
  color: #ffefb7;
}

.ref-hot-reward > small {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}

.ref-hot-reward h3 {
  margin: 5px 0 8px;
  font-size: 29px;
  line-height: 1.1;
}

.ref-hot-reward h3 em {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  font-style: normal;
}

.ref-hot-reward p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.ref-hot-reward > div {
  position: relative;
  z-index: 1;
  margin-top: 13px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.ref-hot-reward > div b {
  margin-right: 4px;
  color: #c9ffdc;
}

.ref-tier-reward {
  padding: 19px;
  border: 1px solid #f0e2d8;
  border-radius: 18px;
  background: #fffcfa;
}

.ref-tier-title {
  display: flex;
  gap: 10px;
  align-items: center;
}

.ref-tier-title > span {
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  border-radius: 11px;
  background: #fff0e4;
  color: #f15c12;
}

.ref-tier-title small {
  color: #ee5a0e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
}

.ref-tier-title h3 {
  margin: 3px 0 0;
  font-size: 17px;
}

.ref-tier-condition {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 13px 0 0;
  padding: 8px 10px;
  border: 1px solid #f3dfc9;
  border-radius: 10px;
  background: #fff8f1;
  color: #69778c;
  font-size: 11px;
  line-height: 1.45;
}

.ref-tier-condition span {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ddf7e8;
  color: #169357;
  font-size: 10px;
  font-weight: 800;
}

.ref-tier-condition b {
  color: #e7550d;
}

.ref-tier-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 18px;
}

.ref-tier {
  min-height: 128px;
  padding: 12px 9px;
  border: 1px solid #e4ebef;
  border-radius: 13px;
  background: #fff;
  text-align: center;
}

.ref-tier > b,
.ref-tier > span,
.ref-tier > small {
  display: block;
}

.ref-tier > b {
  font-size: 15px;
}

.ref-tier > span {
  min-height: 28px;
  margin-top: 5px;
  color: #728096;
  font-size: 11px;
  line-height: 1.35;
}

.ref-tier > strong {
  display: block;
  margin: 7px 0 4px;
  font-size: 28px;
  line-height: 1;
}

.ref-tier > small {
  color: #748197;
  font-size: 9px;
  line-height: 1.35;
}

.ref-tier.mint { border-color: #b7e8cf; }
.ref-tier.mint > b, .ref-tier.mint > strong { color: #159d59; }
.ref-tier.amber { border-color: #f7d484; }
.ref-tier.amber > b, .ref-tier.amber > strong { color: #e58a08; }
.ref-tier.coral { border-color: #ffc0ad; }
.ref-tier.coral > b, .ref-tier.coral > strong { color: #ed5924; }
.ref-tier.violet { border-color: #d5c8fb; }
.ref-tier.violet > b, .ref-tier.violet > strong { color: #6a48cd; }

.ref-link-card {
  display: grid;
  grid-template-columns: auto 1fr minmax(310px, 43%);
  align-items: center;
  gap: 15px;
  padding: 20px 24px;
}

.ref-link-icon,
.ref-zalo-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 15px;
  background: #fff0e4;
  color: #ef5a0e;
  font-size: 23px;
  font-weight: 800;
}

.ref-link-copy > small {
  margin-bottom: 4px;
}

.ref-link-control {
  display: flex;
  gap: 8px;
}

.ref-link-control input {
  min-width: 0;
  width: 100%;
  padding: 12px;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  background: #fafbfc;
  color: #637188;
  font: 11px inherit;
}

.referral-program .referral-copy {
  position: relative;
  flex: 0 0 auto;
  min-height: 43px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #ff5a0b;
  box-shadow: 0 6px 12px rgba(242, 83, 11, .2);
  color: #fff;
  font: 700 12px inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.referral-program .referral-copy:hover {
  background: #ff711e;
  box-shadow: 0 9px 17px rgba(242, 83, 11, .3);
  transform: translateY(-1px);
}

.referral-program .referral-copy:active {
  transform: scale(.96);
}

.referral-program .referral-copy.copy-pop {
  animation: referral-copy-pop .68s ease both;
}

@keyframes referral-copy-pop {
  0% { transform: scale(1); box-shadow: 0 6px 12px rgba(242, 83, 11, .2); }
  35% { transform: scale(1.07); background: #ff9b37; box-shadow: 0 0 0 7px rgba(255, 160, 58, .19), 0 9px 18px rgba(242, 83, 11, .3); }
  100% { transform: scale(1); box-shadow: 0 6px 12px rgba(242, 83, 11, .2); }
}

.ref-zalo-card {
  display: grid;
  grid-template-columns: 1fr 300px;
  overflow: hidden;
  background: linear-gradient(100deg, #fff 0%, #f7fcff 100%);
}

.ref-zalo-copy {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 25px 28px;
}

.ref-zalo-icon {
  flex: 0 0 auto;
  background: #eaf5ff;
  color: #3977df;
}

.ref-zalo-copy code {
  display: block;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin-top: 13px;
  padding: 10px 12px;
  border: 1px solid #c9e8d4;
  border-radius: 10px;
  background: #f2fff6;
  color: #17884d;
  font: 700 13px "Be Vietnam Pro", sans-serif;
}

.ref-zalo-note {
  display: block;
  margin-top: 9px;
  color: #748198;
  font-size: 11px;
}

.ref-zalo-phone {
  align-self: end;
  min-height: 181px;
  overflow: hidden;
  border: 1px solid #f2ddcd;
  border-radius: 18px;
  background: #fff8f1;
  box-shadow: 0 10px 20px rgba(126, 69, 24, .1);
}

.ref-zalo-phone-head {
  display: flex;
  gap: 9px;
  align-items: center;
  min-height: 58px;
  margin: 0;
  padding: 10px 13px;
  background: linear-gradient(115deg, #f85b16, #ff8a32);
  color: #f9fbff;
}

.ref-zalo-group-mark {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, .86);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(143, 55, 7, .2);
  color: #f25a12;
  font-size: 17px;
  font-weight: 800;
}

.ref-zalo-phone-head b,
.ref-zalo-phone-head small {
  display: block;
}

.ref-zalo-phone-head b {
  overflow: hidden;
  max-width: 215px;
  color: #fff;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ref-zalo-phone-head b i {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 5px 1px 0;
  border-radius: 2px;
  background: #ffe46a;
  transform: rotate(45deg);
}

.ref-zalo-phone-head small {
  margin-top: 2px;
  color: #fff4e8;
  font-size: 9px;
  line-height: 1.2;
}

.ref-zalo-phone-head small em {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 3px -1px 5px;
  border: 1px solid #fff4e8;
  border-radius: 50%;
  font-style: normal;
}

.ref-zalo-chat {
  padding: 13px 14px 15px;
  background: linear-gradient(180deg, #fffaf5, #fff5eb);
}

.ref-zalo-chat p {
  display: inline-block;
  margin: 0 0 9px 44px;
  padding: 8px 11px;
  border-radius: 12px 12px 4px;
  background: #fff0df;
  color: #d9570d;
  font-size: 12px;
  font-weight: 700;
}

.ref-zalo-chat span {
  display: block;
  padding: 10px 11px;
  border: 1px solid #e4eaf2;
  border-radius: 11px;
  background: #fff;
  color: #596982;
  font-size: 10px;
  line-height: 1.45;
}

.ref-steps-grid,
.ref-terms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.ref-steps-grid article {
  position: relative;
  min-height: 125px;
  padding: 17px 17px 15px 56px;
  border: 1px solid #e9e6e2;
  border-radius: 16px;
  background: #fffdfb;
}

.ref-steps-grid article > b {
  position: absolute;
  top: 17px;
  left: 16px;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #fff0e4;
  color: #ed5b10;
  font-size: 12px;
}

.ref-steps-grid h3 {
  margin: 4px 0 7px;
  font-size: 14px;
}

.ref-steps-grid p {
  margin: 0;
  color: #748197;
  font-size: 11px;
  line-height: 1.5;
}

.ref-terms {
  background: linear-gradient(140deg, #fff 0%, #fff9f4 100%);
}

.ref-terms-grid p {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  min-height: 78px;
  margin: 0;
  padding: 14px;
  border: 1px solid #f0e3d9;
  border-radius: 14px;
  background: rgba(255, 255, 255, .78);
  color: #596980;
  font-size: 11px;
  line-height: 1.55;
}

.ref-terms-grid b {
  color: #ec5a0f;
  font-size: 12px;
}

@media (max-width: 820px) {
  .ref-program-hero { grid-template-columns: 1fr 37%; }
  .ref-program-copy { padding-left: 28px; }
  .ref-program-art img { right: -21px; width: 235px; }
  .ref-rewards-grid { grid-template-columns: 1fr; }
  .ref-hot-reward { min-height: 190px; }
  .ref-link-card { grid-template-columns: auto 1fr; }
  .ref-link-control { grid-column: 1 / -1; }
  .ref-zalo-card { grid-template-columns: 1fr 248px; }
}

@media (max-width: 620px) {
  .referral-program { gap: 16px; }
  .ref-program-hero { grid-template-columns: 1fr; min-height: 0; }
  .ref-program-copy { padding: 22px 18px 20px; }
  .ref-program-copy h1 { margin-top: 10px; font-size: 28px; }
  .ref-program-copy p { font-size: 13px; line-height: 1.5; }
  /* Decorative artwork is intentionally omitted on phones so the hero keeps
     a compact, predictable height and the campaign copy stays readable. */
  .ref-program-art { display: none; }
  .orbit-one { top: 2px; right: 40px; width: 150px; height: 150px; }
  .ref-person-one { left: 46px; top: 38px; }
  .ref-person-two { left: 87px; top: 80px; }
  .ref-rewards-panel, .ref-steps, .ref-terms { padding: 19px 15px; }
  .ref-tier-reward { padding: 14px; }
  .ref-tier-grid { grid-template-columns: 1fr 1fr; }
  .ref-tier { min-height: 118px; }
  .ref-link-card { grid-template-columns: auto 1fr; padding: 18px; }
  .ref-link-control { flex-direction: column; }
  .referral-program .referral-copy { min-height: 43px; }
  .ref-zalo-card { grid-template-columns: 1fr; }
  .ref-zalo-copy { padding: 20px; }
  .ref-zalo-phone { width: 235px; min-height: 155px; justify-self: center; }
  .ref-steps-grid, .ref-terms-grid { grid-template-columns: 1fr; }
  .ref-steps-grid article { min-height: 95px; }
}

/* ==========================================================================
   6. SỰ KIỆN 
   ========================================================================== */

.main:has(.event-single-view) {
  max-width: 1060px;
  margin: 0 auto;
}

.event-single-view {
  max-width: 100%;
}

/* Hero sự kiện */
.event-single-intro {
  display: none;
}

.event-single-card {
  position: relative;
  display: grid;
  grid-template-columns: 61% 39%;
  min-height: 302px;
  overflow: hidden;
  border: 1px solid #f1dccd;
  border-radius: 27px;
  background: 
    radial-gradient(circle at 80% 45%, rgba(255, 174, 91, .13), transparent 23%),
    linear-gradient(112deg, #fffdfb 0%, #fff8f1 100%);
  box-shadow: 0 15px 31px rgba(81, 51, 29, .1);
}

.event-single-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  max-width: none;
  padding: 34px 42px;
}

.event-single-copy > small {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #ffd8bc;
  border-radius: 999px;
  background: #fff5eb;
  color: #ed5a0d;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .13em;
}

.event-single-copy h2 {
  margin: 12px 0 9px;
  color: #17233b;
  font-size: clamp(32px, 3.5vw, 43px);
  line-height: 1.12;
  letter-spacing: -1.45px;
}

.event-single-copy h2 em {
  color: #f45710;
  font-style: normal;
}

.event-single-copy p {
  max-width: 525px;
  margin: 0;
  color: #66758c;
  font-size: 14px;
  line-height: 1.62;
}

.event-single-date {
  display: inline-block;
  margin-top: 16px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 9px rgba(66, 43, 24, .08);
  color: #53647d;
  font-size: 11px;
  font-weight: 700;
}

/* Ẩn bớt các phần tử không dùng trong card nếu muốn, hoặc giữ lại ul nếu cần */
.event-single-copy ul {
  display: none; 
}

.event-single-summary {
  position: relative;
  order: initial;
  min-height: 302px;
  height: auto;
  overflow: hidden;
  background: transparent;
}

.event-single-summary::before,
.event-single-summary::after {
  position: absolute;
  border-radius: 50%;
  content: "";
}

.event-single-summary::before {
  z-index: 1;
  top: 19px;
  right: 43px;
  left: auto;
  width: 185px;
  height: 185px;
  border: 1px solid rgba(255, 113, 22, .14);
  background: transparent;
  box-shadow: 0 0 0 21px rgba(255, 127, 29, .045);
  transform: none;
}

.event-single-summary::after {
  right: -93px;
  bottom: -105px;
  width: 255px;
  height: 255px;
  border: 1px solid rgba(255, 113, 22, .12);
}

.event-single-summary img {
  position: absolute;
  z-index: 2;
  top: 76px;
  right: 43px;
  left: auto;
  width: 201px;
  height: 184px;
  -o-object-fit: contain;
     object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(147, 67, 5, .18));
  transform: rotate(-3deg);
}

.event-single-amount,
.event-single-tier {
  display: none;
}

/* Phần chi tiết (Details) bên dưới */
.event-single-details {
  margin-top: 20px;
  padding: 25px;
  border: 1px solid #f0dfd2;
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(70, 48, 29, .06);
}

.event-single-details header > span {
  color: #ed5a0d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.event-single-details h2 {
  margin: 5px 0 3px;
  color: #17233b;
  font-size: 21px;
}

.event-single-details header p {
  margin: 0;
  color: #748198;
  font-size: 12px;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}

.event-detail-grid article {
  min-height: 142px;
  padding: 17px;
  border: 1px solid #ede5de;
  border-radius: 16px;
  background: #fffdfb;
}

.event-detail-grid article > span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: #fff0e4;
  color: #ed5a0d;
  font-size: 10px;
  font-weight: 800;
}

.event-detail-grid h3 {
  margin: 9px 0 3px;
  font-size: 14px;
}

.event-detail-grid article > b {
  display: block;
  color: #e9550d;
  font-size: 19px;
  line-height: 1.2;
}

.event-detail-grid article p {
  margin: 7px 0 0;
  color: #748198;
  font-size: 11px;
  line-height: 1.48;
}

.event-detail-hot {
  position: relative;
  overflow: hidden;
  border-color: #f3d8c4 !important;
  background: linear-gradient(145deg, #fffdfb, #fff4ea) !important;
  color: #17233b;
}

.event-detail-hot::after {
  position: absolute;
  right: -32px;
  bottom: -44px;
  width: 123px;
  height: 123px;
  border: 15px solid rgba(246, 116, 30, .08);
  border-radius: 50%;
  content: "";
}

.event-detail-hot small,
.event-detail-hot b,
.event-detail-hot strong,
.event-detail-hot p {
  position: relative;
  z-index: 1;
  display: block;
}

.event-detail-hot small {
  color: #e95a12;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .11em;
}

.event-detail-hot b {
  margin-top: 4px;
  color: #ec570d;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -.7px;
  text-shadow: 0 2px 8px rgba(139, 48, 0, .2);
}

.event-detail-hot strong {
  margin-top: 4px;
  color: #4f6078;
  font-size: 12px;
}

.event-detail-hot p {
  color: #748198 !important;
}

/* Nút CTA ở cuối khối chi tiết */
.event-detail-cta {
  display: block;
  width: -moz-fit-content;
  width: fit-content;
  margin: 18px auto 0;
  padding: 12px 24px;
  border: 0;
  border-radius: 12px;
  background: #ff5a0b;
  box-shadow: 0 6px 14px rgba(242, 83, 11, .2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  text-decoration: none;
}

.event-detail-cta span {
  margin-left: 8px;
  font-size: 16px;
}

.event-detail-cta:hover {
  background: #ff711e;
  box-shadow: 0 9px 17px rgba(242, 83, 11, .3);
  transform: translateY(-1px);
}

/* Responsive cho màn hình nhỏ */
@media (max-width: 700px) {
  .event-single-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .event-single-copy {
    padding: 29px 23px 18px;
  }

  .event-single-copy h2 {
    font-size: 32px;
  }

  .event-single-summary {
    min-height: 185px;
  }

  .event-single-summary::before {
    top: 1px;
    right: 41px;
    width: 154px;
    height: 154px;
  }

  .event-single-summary img {
    top: 36px;
    right: 37px;
    width: 165px;
    height: 151px;
  }

  .event-single-details {
    padding: 19px 15px;
  }

  .event-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
   5. Xếp hạng
   ========================================================== */
.main:has(.leaderboard-view) {
  max-width: 1060px;
  margin: 0 auto;
}

.leaderboard-view {
  max-width: 100%;
}

.leaderboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  /*min-height: 174px; */
  margin-bottom: 20px;
  padding: 28px 38px;
  overflow: hidden;
  border: 1px solid #f0dfd2;
  border-radius: 25px;
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 174, 87, .18), transparent 23%),
    linear-gradient(115deg, #fffdfb 0%, #fff6ee 100%);
  box-shadow: 0 11px 27px rgba(71, 47, 27, .07);
}

.leaderboard-hero > div:first-child {
  max-width: 650px;
}

.leaderboard-hero > div > span {
  color: #ed5a0d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.leaderboard-hero h1 {
  margin: 7px 0 7px;
  color: #17233b;
  font-size: clamp(31px, 3.6vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.3px;
}

.leaderboard-hero h1 em {
  color: #f35710;
  font-style: normal;
}

.leaderboard-hero p {
  margin: 0;
  color: #68778f;
  font-size: 13px;
  line-height: 1.6;
}

.leaderboard-hero-mark {
  display: grid;
  width: 184px;
  height: 100px;
  grid-template-columns: 62px 1fr;
  grid-template-rows: 1fr 1fr;
  -moz-column-gap: 9px;
       column-gap: 9px;
  align-items: center;
  flex: 0 0 auto;
  margin-right: 10px;
  padding: 14px 15px;
  border: 1px solid #f5d69b;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffdf3, #fff3d3);
  box-shadow: 0 8px 17px rgba(180, 117, 11, .1), inset 0 1px 0 #fff;
  color: #cf8500;
}

.leaderboard-hero-mark i {
  display: grid;
  width: 58px;
  height: 58px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid #f4cf7b;
  border-radius: 17px;
  background: linear-gradient(145deg, #ffd95a, #ffb927);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 4px 8px rgba(198, 129, 2, .16);
  color: #fffaf0;
  font-size: 31px;
  font-style: normal;
  line-height: 1;
}

.leaderboard-hero-mark b,
.leaderboard-hero-mark small {
  position: static;
  grid-column: 2;
  width: auto;
  text-align: left;
}

.leaderboard-hero-mark b {
  align-self: end;
  color: #28344b;
  font-size: 16px;
}

.leaderboard-hero-mark small {
  align-self: start;
  color: #9a752b;
  font-size: 10px;
}

.leaderboard-card {
  overflow: hidden;
  border: 1px solid #ebded5;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(62, 44, 29, .07);
}

.leaderboard-tools {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 21px 13px;
}

.leaderboard-metrics {
  display: flex;
  gap: 7px;
  padding: 4px;
  border: 1px solid #eee5df;
  border-radius: 13px;
  background: #fffaf6;
}

.leaderboard-metrics button,
.leaderboard-period {
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #728097;
  font: 700 12px "Be Vietnam Pro", sans-serif;
  cursor: pointer;
}

.leaderboard-metrics button {
  min-width: 108px;
  padding: 10px 12px;
}

.leaderboard-metrics button.active {
  background: #fff;
  box-shadow: 0 2px 7px rgba(58, 42, 27, .11);
  color: #ed5a0d;
}

.leaderboard-period {
  padding: 11px 13px;
  border: 1px solid #f0ddd0;
  background: #fff;
  color: #40516a;
}

.leaderboard-period span {
  margin-left: 9px;
  color: #ed5a0d;
}

.leaderboard-note {
  display: flex;
  gap: 7px;
  align-items: center;
  margin: 0 21px;
  padding: 10px 12px;
  border: 1px solid #f5e0c5;
  border-radius: 11px;
  background: #fffaf3;
  color: #8b673d;
  font-size: 11px;
}

.leaderboard-note b {
  color: #ef5a0d;
  font-size: 15px;
}

.leaderboard-podium {
  position: relative;
  display: flex;
  gap: 13px;
  align-items: flex-end;
  justify-content: center;
  padding: 43px 20px 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 189, 69, .17), transparent 47%),
    linear-gradient(180deg, #fffdfb 0%, #fff9f4 100%);
}

.leaderboard-podium::before {
  position: absolute;
  top: -148px;
  left: 50%;
  width: 380px;
  height: 280px;
  border: 1px solid rgba(255, 163, 49, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 23px rgba(255, 172, 60, .035), 0 0 0 49px rgba(255, 172, 60, .02);
  content: "";
  transform: translateX(-50%);
}

.rank-place {
  position: relative;
  z-index: 1;
  display: flex;
  width: 152px;
  min-height: 166px;
  padding: 42px 10px 15px;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e7e9ee;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 5px 11px rgba(29, 42, 57, .06);
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: visible;
}

.rank-place:hover {
  box-shadow: 0 8px 16px rgba(48, 38, 28, .11);
}

.rank-place.first {
  min-height: 198px;
  padding-top: 56px;
  border-color: #f3d679;
  background: linear-gradient(180deg, #fffdf0, #fff9df);
  box-shadow: 0 10px 22px rgba(204, 141, 5, .17);
  transform: translateY(-9px);
  box-shadow:
    0 14px 28px rgba(204, 141, 5, .25),
    0 0 0 2px #ffd85a,
    0 0 0 7px rgba(255, 211, 54, .24),
    0 0 25px 9px rgba(255, 194, 25, .32);
}

.rank-place.first:hover {
  transform: translateY(-9px);
}

.rank-place.first::before {
  position: absolute;
  z-index: 0;
  inset: -4px;
  padding: 2px;
  border-radius: 20px;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 46deg, rgba(255, 247, 190, .6) 58deg, #ffcf3f 78deg, #fff5a8 92deg, transparent 114deg, transparent 360deg);
  content: "";
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: rank-border-run 2.8s linear infinite;
}

.rank-title {
  position: absolute;
  top: 17px;
  left: 50%;
  max-width: calc(100% - 12px);
  overflow: hidden;
  padding: 3px 6px;
  border: 1px solid #f2d8c2;
  border-radius: 999px;
  background: #fffaf6;
  color: #a15c26;
  font-weight: 800;
  font-size: 8px;
  letter-spacing: .01em;
  text-overflow: ellipsis;
  transform: translateX(-50%);
  white-space: nowrap;
}

.rank-place.first .rank-title {
  top: 24px;
  border-color: #f1cf62;
  background: #fff6cd;
  color: #a56a00;
  box-shadow: 0 3px 10px rgba(224, 165, 23, .18);
}

.rank-place.first::after {
  position: absolute;
  z-index: 0;
  inset: -22px;
  border-radius: 24px;
  background: radial-gradient(circle, rgba(255, 222, 93, .48) 0%, rgba(255, 211, 54, .19) 45%, transparent 72%);
  content: "";
  filter: blur(8px);
  pointer-events: none;
}

.rank-place.first .rank-medal,
.rank-place.first .rank-title {
  z-index: 2;
}

.rank-place.first .rank-avatar,
.rank-place.first b,
.rank-place.first strong,
.rank-place.first small {
  position: relative;
  z-index: 1;
}

.rank-place.second {
  border-color: #eed8c4;
  background: linear-gradient(180deg, #fffdfb, #fff7f1);
}

.rank-place.third {
  border-color: #f2d9c6;
  background: #fffdfb;
}

.rank-medal {
  position: absolute;
  top: -14px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 50%;
  background: #fff0e2;
  color: #d06c25;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 3px 8px rgba(127, 76, 29, .1);
}

.first .rank-medal {
  top: -19px;
  width: 36px;
  height: 36px;
  background: #ffcf3f;
  box-shadow: 0 0 0 4px #fff8df, 0 4px 8px rgba(179, 113, 0, .18), 0 0 18px rgba(255, 203, 51, .55);
  color: #8a5b00;
}

.third .rank-medal {
  background: #f3ad77;
  color: #8a451c;
}

.rank-crown {
  display: none;
}

.rank-avatar {
  position: relative;
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: linear-gradient(145deg, #e87325, #b94b10);
  box-shadow: 0 3px 8px rgba(146, 58, 10, .22);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.rank-place.first .rank-avatar {
  margin-top: 0;
}

.rank-place.first .rank-avatar::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(241, 181, 24, .65);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 208, 61, .12);
  content: "";
}

@keyframes rank-border-run {
  to {
    transform: rotate(360deg);
  }
}

.rank-place.second .rank-avatar {
  background: linear-gradient(145deg, #d99a5e, #ad6431);
  box-shadow: 0 3px 8px rgba(126, 74, 34, .2);
}

.rank-place.first .rank-avatar {
  background: linear-gradient(145deg, #f4ad24, #d57900);
  box-shadow: 0 3px 8px rgba(161, 99, 0, .22);
}

.rank-place.third .rank-avatar {
  background: linear-gradient(145deg, #dc9264, #ae5731);
  box-shadow: 0 3px 8px rgba(132, 67, 34, .2);
}

.rank-place b {
  margin-top: 9px;
  color: #243249;
  font-size: 12px;
}

.rank-place strong {
  margin-top: 6px;
  color: #ea590f;
  font-size: 14px;
}

.rank-place small {
  margin-top: 3px;
  color: #8490a2;
  font-size: 10px;
}

.leaderboard-list {
  border-top: 1px solid #f0e8e2;
}

.leaderboard-list-head,
.leaderboard-list article {
  display: grid;
  grid-template-columns: 56px 1fr 128px 150px;
  gap: 10px;
  align-items: center;
  padding: 13px 21px;
}

.leaderboard-list-head {
  color: #8692a4;
  font-size: 10px;
  font-weight: 800;
}

.leaderboard-list-head span:nth-child(3),
.leaderboard-list article > span:nth-child(3) {
  text-align: center;
}

.leaderboard-list-head span:last-child,
.leaderboard-list article > span:last-child,
.leaderboard-list article > strong {
  text-align: right;
}

.leaderboard-list article {
  min-height: 67px;
  border-top: 1px solid #f1f1f2;
  color: #607088;
  font-size: 12px;
}

.member-rank {
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border-radius: 10px;
  background: #fff4e9;
  color: #ed5a0d;
  font-size: 11px;
  font-weight: 800;
}

.member-name {
  display: flex;
  gap: 9px;
  align-items: center;
}

.member-name i {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: #edf2f8;
  color: #52627a;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

.member-name b {
  color: #2d3b53;
  font-size: 13px;
}

.leaderboard-list article > strong {
  color: #ec590e;
  font-size: 14px;
}

@media (max-width: 700px) {
  .leaderboard-hero {
    min-height: 0;
    padding: 27px 22px;
  }

  .leaderboard-hero-mark {
    display: none;
  }

  .leaderboard-tools {
    align-items: stretch;
    flex-direction: column;
    padding: 15px;
  }

  .leaderboard-metrics {
    width: 100%;
  }

  .leaderboard-metrics button {
    min-width: 0;
    flex: 1;
    padding: 9px 5px;
    font-size: 10px;
  }

  .leaderboard-period {
    text-align: left;
  }

  .leaderboard-note {
    margin: 0 15px;
  }

  .leaderboard-podium {
    gap: 7px;
    padding: 42px 12px 22px;
  }

  .rank-place {
    width: 31%;
    min-height: 145px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
  }

  .rank-place.first {
    min-height: 171px;
    padding-top: 49px;
  }

  .rank-title {
    top: 17px;
    max-width: calc(100% - 6px);
    padding: 3px 4px;
    font-size: 6px;
  }

  .rank-place.first .rank-title {
    top: 20px;
  }

  .rank-avatar {
    width: 43px;
    height: 43px;
  }

  .rank-place b {
    font-size: 10px;
  }

  .rank-place strong {
    font-size: 11px;
  }

  .leaderboard-list-head,
  .leaderboard-list article {
    grid-template-columns: 38px 1fr 72px 92px;
    gap: 5px;
    padding: 12px 14px;
  }

  .leaderboard-list-head {
    font-size: 8px;
  }

  .leaderboard-list article {
    font-size: 10px;
  }

  .member-name b {
    max-width: 88px;
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .member-name i {
    display: none;
  }

  .leaderboard-list article > strong {
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rank-place.first,
  .rank-place.first .rank-avatar::after,
  .rank-place.first::before {
    animation: none;
  }

}
/* ==========================================================================
   6. Hướng dẫn 
   ========================================================================== */
.main:has(.guide-view) {
  max-width: 1060px;
  margin: 0 auto;
}

.guide-view {
  color: #172c49;
}

.guide-hero-new {
  position: relative;
  display: grid;
  min-height: 330px;
  padding: 43px 48px;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid #ffd7bd;
  border-radius: 26px;
  background: linear-gradient(118deg, #ff5a17, #ff7c1e 60%, #ffa333);
  box-shadow: 0 14px 30px rgba(225, 91, 20, .18);
  color: #fff;
}

.guide-hero-new::before {
  position: absolute;
  top: -220px;
  right: 4%;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 255, 255, .035), 0 0 0 105px rgba(255, 255, 255, .025);
  content: "";
}

.guide-hero-copy,
.guide-hero-visual {
  position: relative;
  z-index: 1;
}

.guide-kicker {
  display: inline-flex;
  gap: 7px;
  padding: 7px 10px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.guide-kicker i {
  font-size: 12px;
  font-style: normal;
}

.guide-hero-new h1 {
  margin: 16px 0 11px;
  font-size: 41px;
  line-height: 1.08;
  letter-spacing: -1.8px;
}

.guide-hero-new h1 em {
  color: #fff1a6;
  font-style: normal;
}

.guide-hero-new p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, .88);
  font-size: 13px;
  line-height: 1.72;
}

.guide-hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 21px;
}

.guide-hero-actions a {
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 13px rgba(151, 54, 0, .12);
  color: #ef5a1b;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.guide-hero-actions a + a {
  background: rgba(255, 255, 255, .1);
  box-shadow: none;
  color: #fff;
}

.guide-hero-actions span {
  margin-left: 7px;
  font-size: 15px;
}

.guide-hero-visual {
  height: 100%;
  min-height: 250px;
}

.guide-visual-phone {
  position: absolute;
  top: 11px;
  right: 72px;
  display: flex;
  width: 133px;
  height: 237px;
  align-items: center;
  flex-direction: column;
  border: 6px solid #ff7a55;
  border-radius: 28px;
  background: #fffdfb;
  box-shadow: 10px 12px 0 rgba(202, 62, 7, .16), 0 14px 23px rgba(117, 36, 0, .2);
  color: #465369;
  transform: rotate(9deg);
}

.guide-visual-phone::before {
  width: 52px;
  height: 9px;
  border-radius: 0 0 8px 8px;
  background: #f15a2b;
  content: "";
}

.guide-visual-phone i {
  display: grid;
  width: 49px;
  height: 49px;
  margin-top: 43px;
  place-items: center;
  border: 3px solid #61bd57;
  border-radius: 50%;
  color: #55ae4c;
  font-size: 29px;
  font-style: normal;
  font-weight: 800;
}

.guide-visual-phone b {
  margin-top: 13px;
  font-size: 13px;
}

.guide-visual-phone em {
  display: block;
  width: 64px;
  height: 6px;
  margin-top: 10px;
  border-radius: 5px;
  background: #e7e5e3;
}

.guide-visual-phone em + em {
  margin-top: 7px;
}

.guide-visual-phone em + em + em {
  width: 44px;
}

.guide-visual-link,
.guide-visual-cart,
.guide-visual-coin {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-weight: 800;
}

.guide-visual-link {
  top: 46px;
  left: 42px;
  width: 56px;
  height: 56px;
  background: #fff;
  box-shadow: 0 9px 16px rgba(150, 48, 0, .16);
  color: #ef5a1b;
  font-size: 28px;
  transform: rotate(-13deg);
}

.guide-visual-cart {
  right: 10px;
  bottom: 33px;
  width: 55px;
  height: 55px;
  background: #4220c4;
  box-shadow: 0 9px 16px rgba(74, 30, 151, .25);
  color: #fff;
  font-size: 25px;
  transform: rotate(10deg);
}

.guide-visual-coin {
  width: 35px;
  height: 35px;
  border: 2px solid #ffd553;
  border-radius: 50%;
  background: #ffb922;
  box-shadow: 0 5px 9px rgba(166, 96, 0, .2);
  color: #fff9d0;
  font-size: 20px;
}

.guide-visual-coin.one {
  top: 145px;
  left: 27px;
}

.guide-visual-coin.two {
  right: 14px;
  top: 82px;
  transform: scale(.72);
}

.guide-visual-orbit {
  position: absolute;
  right: 34px;
  bottom: -47px;
  width: 190px;
  height: 190px;
  border: 1px dashed rgba(255, 255, 255, .5);
  border-radius: 50%;
}

.guide-intro-new,
.guide-process-new,
.guide-tips-new {
  margin-top: 22px;
  padding: 27px;
  border: 1px solid #ece5dd;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(39, 45, 57, .05);
}

.guide-payout-new {
  display: grid;
  margin-top: 22px;
  grid-template-columns: .93fr 1.07fr;
  overflow: hidden;
  border: 1px solid #eadfd4;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 18px rgba(39, 45, 57, .05);
}

.guide-payout-copy {
  position: relative;
  padding: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #fff8ef, #fffdf8);
}

.guide-payout-copy::after {
  position: absolute;
  right: -68px;
  bottom: -88px;
  width: 220px;
  height: 220px;
  border: 1px solid #ffd8b8;
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 214, 171, .15);
  content: "";
}

.guide-payout-copy > * {
  position: relative;
  z-index: 1;
}

.guide-payout-kicker {
  display: inline-flex;
  gap: 7px;
  padding: 6px 9px;
  align-items: center;
  border: 1px solid #ffd8b9;
  border-radius: 999px;
  background: #fff;
  color: #ef5d1e;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.guide-payout-kicker i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 6px;
  background: #fff0e3;
  font-size: 11px;
  font-style: normal;
}

.guide-payout-copy h2 {
  margin: 14px 0 9px;
  font-size: 28px;
  line-height: 1.14;
  letter-spacing: -1px;
}

.guide-payout-copy h2 em {
  color: #f15c1d;
  font-style: normal;
}

.guide-payout-copy p {
  max-width: 355px;
  margin: 0;
  color: #718096;
  font-size: 11px;
  line-height: 1.6;
}

.guide-payout-commands {
  display: grid;
  gap: 7px;
  margin-top: 18px;
}

.guide-payout-commands span {
  color: #617188;
  font-size: 10px;
}

.guide-payout-commands b {
  display: inline-grid;
  width: 19px;
  height: 19px;
  margin-right: 5px;
  place-items: center;
  border-radius: 7px;
  background: #fff0e4;
  color: #f25c1b;
}

.guide-payout-commands strong {
  margin-right: 3px;
  color: #e95819;
}

.guide-payout-conditions {
  padding: 26px;
  background: #fff;
}

.guide-payout-title {
  display: flex;
  gap: 9px;
  align-items: center;
  color: #172c49;
  font-size: 13px;
}

.guide-payout-title span {
  display: grid;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 9px;
  background: #e8f9ed;
  color: #13a45f;
  font-size: 14px;
  font-weight: 800;
}

.guide-payout-conditions article {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 14px;
  align-items: flex-start;
  border: 1px solid #e5eee7;
  border-radius: 13px;
  background: linear-gradient(110deg, #fbfffb, #f4fff7);
}

.guide-payout-conditions article > span {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #dff7e6;
  color: #0fa25c;
  font-size: 9px;
  font-weight: 800;
}

.guide-payout-conditions article p {
  margin: 3px 0 0;
  color: #607187;
  font-size: 11px;
  line-height: 1.52;
}

.guide-payout-conditions article b {
  color: #34506a;
}

.guide-payout-conditions article strong {
  color: #ed5a19;
}

.guide-payout-or {
  position: relative;
  margin: 9px 0 -5px;
  color: #a6afbb;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-align: center;
}

.guide-payout-or::before,
.guide-payout-or::after {
  position: absolute;
  top: 50%;
  width: calc(50% - 25px);
  border-top: 1px dashed #e0e5e7;
  content: "";
}

.guide-payout-or::before {
  left: 0;
}

.guide-payout-or::after {
  right: 0;
}

.guide-section-heading {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.guide-section-heading > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.guide-section-heading > div > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: #fff1e6;
  color: #f45b18;
  font-size: 16px;
  font-weight: 800;
}

.guide-section-heading small,
.guide-tips-head small {
  color: #f15c1b;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .09em;
}

.guide-section-heading h2,
.guide-tips-head h2 {
  margin: 3px 0 0;
  font-size: 18px;
  letter-spacing: -.45px;
}

.guide-section-heading > p {
  max-width: 335px;
  margin: 0;
  color: #8390a2;
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
}

.guide-concept-grid {
  display: grid;
  margin-top: 21px;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.guide-concept-grid article {
  min-height: 142px;
  padding: 17px;
  border: 1px solid #eee8e2;
  border-radius: 16px;
  background: linear-gradient(140deg, #fff, #fffaf6);
}

.guide-concept-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 11px;
  background: #fff1e6;
  color: #f35b19;
  font-size: 17px;
  font-weight: 800;
}

.guide-concept-grid b {
  display: block;
  margin-top: 11px;
  font-size: 12px;
}

.guide-concept-grid p {
  margin: 6px 0 0;
  color: #7f8da0;
  font-size: 11px;
  line-height: 1.55;
}

.guide-process-new {
  background: linear-gradient(145deg, #fffdfb, #fff8ef);
}

.guide-step-list {
  display: grid;
  margin-top: 24px;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
}

.guide-step-new {
  position: relative;
  min-height: 185px;
  padding: 19px 16px;
  border: 1px solid #eddeda;
  border-radius: 17px;
  background: #fff;
}

.guide-step-number {
  position: absolute;
  top: 13px;
  right: 14px;
  color: #ffd8c1;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.guide-step-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: #fff1e6;
  color: #ef5c1d;
  font-size: 20px;
  font-weight: 800;
}

.guide-step-new b {
  display: block;
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.38;
}

.guide-step-new p {
  margin: 7px 0 0;
  color: #8190a2;
  font-size: 11px;
  line-height: 1.58;
}

.guide-step-line {
  position: absolute;
  z-index: 2;
  top: 39px;
  right: -14px;
  width: 15px;
  border-top: 1px dashed #f0aa7d;
}

.guide-tips-new {
  position: relative;
  overflow: hidden;
  border-color: #fee0be;
  background: linear-gradient(120deg, #fff8ed, #fffdf9);
}

.guide-tips-new::after {
  position: absolute;
  right: -55px;
  bottom: -88px;
  width: 230px;
  height: 230px;
  border: 1px solid #ffdfbf;
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgba(255, 222, 185, .15);
  content: "";
}

.guide-tips-head {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 11px;
  align-items: center;
}

.guide-tips-head > span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 13px;
  background: #ff6822;
  box-shadow: 0 6px 12px rgba(222, 88, 20, .17);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.guide-tips-grid {
  position: relative;
  z-index: 1;
  display: grid;
  margin-top: 19px;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.guide-tips-grid > div {
  display: flex;
  gap: 9px;
  padding: 12px;
  align-items: flex-start;
  border: 1px solid #f5e5d5;
  border-radius: 12px;
  background: rgba(255, 255, 255, .82);
}

.guide-tips-grid span {
  display: grid;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: #fff1e6;
  color: #ed6120;
  font-size: 9px;
  font-weight: 800;
}

.guide-tips-grid p {
  margin: 1px 0 0;
  color: #566b84;
  font-size: 11px;
  line-height: 1.48;
}

.guide-tips-new > a {
  position: relative;
  z-index: 1;
  display: inline-flex;
  margin-top: 18px;
  padding: 10px 13px;
  align-items: center;
  border-radius: 11px;
  background: #ff5b18;
  box-shadow: 0 7px 13px rgba(231, 85, 17, .18);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.guide-tips-new > a span {
  margin-left: 10px;
  font-size: 15px;
}

@media (max-width: 760px) {
  .guide-hero-new {
    min-height: 0;
    padding: 31px 24px 23px;
    grid-template-columns: 1fr;
  }

  .guide-hero-new h1 {
    font-size: 34px;
  }

  .guide-hero-visual {
    display: none;
  }

  .guide-intro-new,
  .guide-process-new,
  .guide-tips-new {
    padding: 20px;
  }

  .guide-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-section-heading > p {
    max-width: none;
    text-align: left;
  }

  .guide-concept-grid,
  .guide-step-list {
    grid-template-columns: 1fr;
  }

  .guide-payout-new {
    grid-template-columns: 1fr;
  }

  .guide-step-new {
    min-height: 0;
    padding-left: 70px;
  }

  .guide-step-icon {
    position: absolute;
    top: 18px;
    left: 17px;
  }

  .guide-step-new b {
    margin-top: 0;
  }

  .guide-step-line {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 36px;
    width: 1px;
    height: 13px;
    border-top: 0;
    border-left: 1px dashed #f0aa7d;
  }
}

@media (max-width: 500px) {
  .guide-hero-actions,
  .guide-tips-grid {
    grid-template-columns: 1fr;
  }

  .guide-hero-actions {
    display: grid;
  }

  .guide-hero-actions a {
    text-align: center;
  }
}

/* VIDEO TUTORIALS STYLES */
.guide-videos-new {
  margin-top: 36px;
}

.guide-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.guide-video-card {
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.guide-video-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.guide-video-wrapper {
  position: relative;
  width: 100%;
  background: #0f172a;
  aspect-ratio: 16 / 9;
}

.guide-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.guide-video-info {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-video-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 11px;
  font-weight: 700;
  width: -moz-fit-content;
  width: fit-content;
  margin-bottom: 10px;
}

.guide-video-info h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
}

.guide-video-info p {
  margin: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* ==========================================================================
   6. dash
   ========================================================================== */

/* Layout chung cho nội dung tab */
.dash-tab-content {
  padding: 0.5rem;
  background-color: #f8fafc;
  min-height: 100vh;
}

/* Header chuẩn: tiêu đề và nút đồng bộ cùng hàng, không bị tràn */
.dash-header-title-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.header-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffedd5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dash-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.dash-subtitle {
  font-size: 0.875rem;
  color: #64748b;
  margin: 0;
}

/* Nút đồng bộ hiện đại */
.sync-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.6rem 1rem;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.875rem;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.sync-btn:hover {
  background-color: #f1f5f9;
  border-color: #94a3b8;
}

/* Banner thông báo */
.notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: #fffbeb;
  border: 1px solid #fef3c7;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  color: #92400e;
  font-size: 0.875rem;
}

.notice-icon-box {
  flex-shrink: 0;
  margin-top: 2px;
}

/* 3 Thẻ thống kê ví phía trên */
.wallet-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 1024px) {
  .wallet-summary-grid {
    grid-template-columns: 1fr;
  }
}

.wallet-card {
  padding: 1.25rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  background: white;
}

.wallet-card.primary-orange {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  border: none;
}

.w-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.wallet-card.primary-orange .w-card-header span {
  color: #ffedd5;
}

.w-amount {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.w-amount.dark {
  color: #0f172a;
}

.w-icon-circle {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
}

.w-icon-circle.green { background: #d1fae5; }
.w-icon-circle.blue { background: #dbeafe; }

.w-card-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-w-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s;
}

.btn-w-action.white {
  background: white;
  color: #ea580c;
}

.btn-w-action.transparent {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.w-tag-pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 20px;
  font-weight: 500;
}
.w-tag-pill.green { background: #ecfdf5; color: #059669; }
.w-tag-pill.blue { background: #eff6ff; color: #2563eb; }

/* Bố cục 2 cột bên dưới */
.wallet-bottom-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .wallet-bottom-grid {
    grid-template-columns: 1fr;
  }
}

.content-card {
  background: white;
  border-radius: 12px;
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.c-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #f1f5f9;
}

.c-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.c-card-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.15rem 0 0 0;
}

.btn-pill-small {
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #334155;
  cursor: pointer;
  font-weight: 500;
}

.btn-pill-small.blue {
  color: #2563eb;
  border-color: #bfdbfe;
  background: #eff6ff;
}

/* 🖼️ Cố định kích thước ảnh sản phẩm (Khắc phục lỗi vỡ layout ảnh to) */
.order-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
}

.order-item-card:last-child {
  border-bottom: none;
}

.order-item-img {
  width: 48px;
  height: 48px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

.order-item-fallback-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

.order-item-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.order-item-cashback {
  font-size: 0.85rem;
  font-weight: 600;
  color: #16a34a;
}

.order-item-price {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.c-empty-state {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #64748b;
  font-size: 0.85rem;
}

.empty-circle-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}
/* Khung chứa từng item đơn hàng */
.order-item-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.order-item-card:hover {
  background-color: #f8fafc;
}

/* 🖼️ Cố định kích thước ảnh sản phẩm để không bị vỡ khung */
.order-item-img {
  width: 56px;
  height: 56px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}

/* Fallback khi không có ảnh */
.order-item-fallback-img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  flex-shrink: 0;
}

/* Tên sản phẩm (giới hạn 2 dòng tránh dài quá trôi layout) */
.order-item-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Giá tiền & Cashback */
.order-item-cashback {
  font-size: 0.875rem;
  font-weight: 600;
  color: #16a34a; /* Xanh lá biểu thị tiền thưởng */
}

.order-item-price {
  font-size: 0.75rem;
  color: #64748b;
  text-decoration: line-through; /* Hoặc bỏ nếu muốn hiện giá gốc bình thường */
  margin-top: 2px;
}


.main:has(#product-link) {
  max-width: 1060px;
  padding-top: 34px;
}

.main:has(#product-link) .page-head {
  position: relative;
  margin-bottom: 24px;
  padding-left: 4px;
}
/* ==========================================================================
   Convert
   ========================================================================== */
/* --- Header Wrapper (thay cho thẻ main cũ) --- */
.convert-app-wrapper .main {
  margin-bottom: 1.5rem;
  padding: 0 0.5rem;
}

/* --- Tiêu đề trang --- */
.convert-app-wrapper .page-head::before {
  display: block;
  margin-bottom: 8px;
  color: #f45b18;
  content: "CÔNG CỤ HOÀN TIỀN";
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
}

.convert-app-wrapper .page-title {
  margin: 0 0 7px;
  color: #17233b;
  font-size: 34px;
  line-height: 1.16;
  letter-spacing: -1.45px;
}

.convert-app-wrapper .subtitle {
  margin: 0;
  color: #6b788d;
  font-size: 14px;
}

.placeholder\:text-slate-400::-moz-placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

.placeholder\:text-slate-400::placeholder {
  --tw-text-opacity: 1;
  color: rgb(148 163 184 / var(--tw-text-opacity, 1));
}

.hover\:-translate-y-0\.5:hover {
  --tw-translate-y: -0.125rem;
  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));
}

.hover\:border-emerald-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(52 211 153 / var(--tw-border-opacity, 1));
}

.hover\:border-orange-300:hover {
  --tw-border-opacity: 1;
  border-color: rgb(253 186 116 / var(--tw-border-opacity, 1));
}

.hover\:border-orange-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(251 146 60 / var(--tw-border-opacity, 1));
}

.hover\:bg-amber-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 243 199 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}

.hover\:bg-emerald-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(209 250 229 / var(--tw-bg-opacity, 1));
}

.hover\:bg-emerald-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(4 120 87 / var(--tw-bg-opacity, 1));
}

.hover\:bg-indigo-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-orange-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 237 213 / var(--tw-bg-opacity, 1));
}

.hover\:bg-orange-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 247 237 / var(--tw-bg-opacity, 1));
}

.hover\:bg-orange-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}

.hover\:bg-orange-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(194 65 12 / var(--tw-bg-opacity, 1));
}

.hover\:bg-purple-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-rose-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 228 230 / var(--tw-bg-opacity, 1));
}

.hover\:bg-slate-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity, 1));
}

.hover\:bg-slate-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(226 232 240 / var(--tw-bg-opacity, 1));
}

.hover\:bg-slate-300:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(203 213 225 / var(--tw-bg-opacity, 1));
}

.hover\:bg-slate-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1));
}

.hover\:bg-slate-50\/50:hover {
  background-color: rgb(248 250 252 / 0.5);
}

.hover\:bg-slate-50\/70:hover {
  background-color: rgb(248 250 252 / 0.7);
}

.hover\:bg-slate-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(30 41 59 / var(--tw-bg-opacity, 1));
}

.hover\:bg-teal-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(204 251 241 / var(--tw-bg-opacity, 1));
}

.hover\:p-1:hover {
  padding: 0.25rem;
}

.hover\:text-orange-600:hover {
  --tw-text-opacity: 1;
  color: rgb(234 88 12 / var(--tw-text-opacity, 1));
}

.hover\:text-slate-600:hover {
  --tw-text-opacity: 1;
  color: rgb(71 85 105 / var(--tw-text-opacity, 1));
}

.hover\:text-slate-700:hover {
  --tw-text-opacity: 1;
  color: rgb(51 65 85 / var(--tw-text-opacity, 1));
}

.hover\:text-slate-800:hover {
  --tw-text-opacity: 1;
  color: rgb(30 41 59 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:shadow-md:hover {
  --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);
}

.focus\:border-orange-500:focus {
  --tw-border-opacity: 1;
  border-color: rgb(249 115 22 / var(--tw-border-opacity, 1));
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring-2:focus {
  --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
  --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
  box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
}

.focus\:ring-blue-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity, 1));
}

.focus\:ring-emerald-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(16 185 129 / var(--tw-ring-opacity, 1));
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:opacity-40:disabled {
  opacity: 0.4;
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  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));
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {
  .sm\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  .sm\:inline {
    display: inline;
  }
  .sm\:w-72 {
    width: 18rem;
  }
  .sm\:w-80 {
    width: 20rem;
  }
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .sm\:flex-row {
    flex-direction: row;
  }
  .sm\:items-center {
    align-items: center;
  }
  .sm\:justify-between {
    justify-content: space-between;
  }
  .sm\:p-5 {
    padding: 1.25rem;
  }
  .sm\:px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .sm\:py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
  .sm\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
  .sm\:text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }
}

@media (min-width: 768px) {
  .md\:w-72 {
    width: 18rem;
  }
  .md\:w-80 {
    width: 20rem;
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:items-center {
    align-items: center;
  }
  .md\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-2 {
    grid-column: span 2 / span 2;
  }
  .lg\:col-span-6 {
    grid-column: span 6 / span 6;
  }
  .lg\:block {
    display: block;
  }
  .lg\:hidden {
    display: none;
  }
  .lg\:grid-cols-6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .lg\:flex-row {
    flex-direction: row;
  }
  .lg\:items-center {
    align-items: center;
  }
  .lg\:justify-between {
    justify-content: space-between;
  }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .xl\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .xl\:flex-row {
    flex-direction: row;
  }
  .xl\:items-center {
    align-items: center;
  }
  .xl\:justify-between {
    justify-content: space-between;
  }
}



