*, ::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.18 | 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: Inter, sans-serif; /* 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;
}
.visible {
  visibility: visible;
}
.static {
  position: static;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.sticky {
  position: sticky;
}
.-inset-4 {
  inset: -1rem;
}
.inset-0 {
  inset: 0px;
}
.-bottom-1 {
  bottom: -0.25rem;
}
.-bottom-6 {
  bottom: -1.5rem;
}
.-left-6 {
  left: -1.5rem;
}
.-right-1 {
  right: -0.25rem;
}
.-right-6 {
  right: -1.5rem;
}
.-top-4 {
  top: -1rem;
}
.-top-6 {
  top: -1.5rem;
}
.bottom-10 {
  bottom: 2.5rem;
}
.bottom-20 {
  bottom: 5rem;
}
.left-0 {
  left: 0px;
}
.left-1\/2 {
  left: 50%;
}
.left-1\/4 {
  left: 25%;
}
.left-10 {
  left: 2.5rem;
}
.right-0 {
  right: 0px;
}
.right-10 {
  right: 2.5rem;
}
.right-4 {
  right: 1rem;
}
.top-0 {
  top: 0px;
}
.top-1\/2 {
  top: 50%;
}
.top-10 {
  top: 2.5rem;
}
.top-16 {
  top: 4rem;
}
.top-20 {
  top: 5rem;
}
.top-4 {
  top: 1rem;
}
.top-full {
  top: 100%;
}
.-z-10 {
  z-index: -10;
}
.z-10 {
  z-index: 10;
}
.z-40 {
  z-index: 40;
}
.z-\[1001\] {
  z-index: 1001;
}
.z-\[1002\] {
  z-index: 1002;
}
.col-span-3 {
  grid-column: span 3 / span 3;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.ml-2 {
  margin-left: 0.5rem;
}
.ml-4 {
  margin-left: 1rem;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-0\.5 {
  margin-top: 0.125rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-3 {
  margin-top: 0.75rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2rem;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.block {
  display: block;
}
.inline-block {
  display: inline-block;
}
.inline {
  display: inline;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.table {
  display: table;
}
.grid {
  display: grid;
}
.contents {
  display: contents;
}
.hidden {
  display: none;
}
.aspect-\[3\/4\] {
  aspect-ratio: 3/4;
}
.aspect-square {
  aspect-ratio: 1 / 1;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.h-1 {
  height: 0.25rem;
}
.h-10 {
  height: 2.5rem;
}
.h-12 {
  height: 3rem;
}
.h-14 {
  height: 3.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-20 {
  height: 5rem;
}
.h-24 {
  height: 6rem;
}
.h-3 {
  height: 0.75rem;
}
.h-32 {
  height: 8rem;
}
.h-4 {
  height: 1rem;
}
.h-48 {
  height: 12rem;
}
.h-5 {
  height: 1.25rem;
}
.h-6 {
  height: 1.5rem;
}
.h-72 {
  height: 18rem;
}
.h-8 {
  height: 2rem;
}
.h-80 {
  height: 20rem;
}
.h-96 {
  height: 24rem;
}
.h-auto {
  height: auto;
}
.h-full {
  height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.w-0\.5 {
  width: 0.125rem;
}
.w-1\/2 {
  width: 50%;
}
.w-1\/3 {
  width: 33.333333%;
}
.w-1\/4 {
  width: 25%;
}
.w-10 {
  width: 2.5rem;
}
.w-12 {
  width: 3rem;
}
.w-14 {
  width: 3.5rem;
}
.w-16 {
  width: 4rem;
}
.w-2 {
  width: 0.5rem;
}
.w-2\/3 {
  width: 66.666667%;
}
.w-20 {
  width: 5rem;
}
.w-24 {
  width: 6rem;
}
.w-3\/4 {
  width: 75%;
}
.w-32 {
  width: 8rem;
}
.w-4 {
  width: 1rem;
}
.w-4\/5 {
  width: 80%;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-5\/6 {
  width: 83.333333%;
}
.w-6 {
  width: 1.5rem;
}
.w-64 {
  width: 16rem;
}
.w-72 {
  width: 18rem;
}
.w-8 {
  width: 2rem;
}
.w-80 {
  width: 20rem;
}
.w-96 {
  width: 24rem;
}
.w-full {
  width: 100%;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.max-w-5xl {
  max-width: 64rem;
}
.max-w-6xl {
  max-width: 72rem;
}
.max-w-7xl {
  max-width: 80rem;
}
.max-w-md {
  max-width: 28rem;
}
.max-w-none {
  max-width: none;
}
.flex-1 {
  flex: 1 1 0%;
}
.flex-shrink {
  flex-shrink: 1;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.flex-grow {
  flex-grow: 1;
}
.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.-rotate-12 {
  --tw-rotate: -12deg;
  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));
}
.rotate-12 {
  --tw-rotate: 12deg;
  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));
}
.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));
}
.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 bounce {

  0%, 100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8,0,1,1);
  }

  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0,0,0.2,1);
  }
}
.animate-bounce {
  animation: bounce 1s infinite;
}
@keyframes ping {

  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}
.animate-ping {
  animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}
@keyframes pulse {

  50% {
    opacity: .5;
  }
}
.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes spin {

  to {
    transform: rotate(360deg);
  }
}
.animate-spin {
  animation: spin 1s linear infinite;
}
.cursor-pointer {
  cursor: pointer;
}
.resize-none {
  resize: none;
}
.list-disc {
  list-style-type: disc;
}
.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.flex-row-reverse {
  flex-direction: row-reverse;
}
.flex-col {
  flex-direction: column;
}
.flex-wrap {
  flex-wrap: wrap;
}
.items-start {
  align-items: flex-start;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-stretch {
  align-items: stretch;
}
.justify-start {
  justify-content: flex-start;
}
.justify-end {
  justify-content: flex-end;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-1 {
  gap: 0.25rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.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-x-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(0.75rem * var(--tw-space-x-reverse));
  margin-left: calc(0.75rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-4 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1rem * var(--tw-space-x-reverse));
  margin-left: calc(1rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-x-6 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 0;
  margin-right: calc(1.5rem * var(--tw-space-x-reverse));
  margin-left: calc(1.5rem * calc(1 - var(--tw-space-x-reverse)));
}
.space-y-12 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(3rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(3rem * var(--tw-space-y-reverse));
}
.space-y-16 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(4rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(4rem * var(--tw-space-y-reverse));
}
.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}
.space-y-3 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.75rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.75rem * var(--tw-space-y-reverse));
}
.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));
}
.space-y-8 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(2rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(2rem * var(--tw-space-y-reverse));
}
.space-x-reverse > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}
.self-end {
  align-self: flex-end;
}
.overflow-hidden {
  overflow: hidden;
}
.overflow-y-auto {
  overflow-y: auto;
}
.whitespace-pre-line {
  white-space: pre-line;
}
.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-xl {
  border-radius: 0.75rem;
}
.rounded-b-2xl {
  border-bottom-right-radius: 1rem;
  border-bottom-left-radius: 1rem;
}
.rounded-t-2xl {
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}
.rounded-tl-none {
  border-top-left-radius: 0px;
}
.rounded-tr-none {
  border-top-right-radius: 0px;
}
.border {
  border-width: 1px;
}
.border-2 {
  border-width: 2px;
}
.border-4 {
  border-width: 4px;
}
.border-b {
  border-bottom-width: 1px;
}
.border-b-2 {
  border-bottom-width: 2px;
}
.border-l-4 {
  border-left-width: 4px;
}
.border-t {
  border-top-width: 1px;
}
.border-t-2 {
  border-top-width: 2px;
}
.border-dashed {
  border-style: dashed;
}
.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-blue-300 {
  --tw-border-opacity: 1;
  border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
}
.border-blue-500 {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}
.border-blue-600 {
  --tw-border-opacity: 1;
  border-color: rgb(37 99 235 / var(--tw-border-opacity, 1));
}
.border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity, 1));
}
.border-gray-200 {
  --tw-border-opacity: 1;
  border-color: rgb(229 231 235 / var(--tw-border-opacity, 1));
}
.border-gray-300 {
  --tw-border-opacity: 1;
  border-color: rgb(209 213 219 / var(--tw-border-opacity, 1));
}
.border-gray-800 {
  --tw-border-opacity: 1;
  border-color: rgb(31 41 55 / var(--tw-border-opacity, 1));
}
.border-green-100 {
  --tw-border-opacity: 1;
  border-color: rgb(220 252 231 / var(--tw-border-opacity, 1));
}
.border-green-200 {
  --tw-border-opacity: 1;
  border-color: rgb(187 247 208 / var(--tw-border-opacity, 1));
}
.border-green-400 {
  --tw-border-opacity: 1;
  border-color: rgb(74 222 128 / var(--tw-border-opacity, 1));
}
.border-green-500 {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}
.border-green-600 {
  --tw-border-opacity: 1;
  border-color: rgb(22 163 74 / var(--tw-border-opacity, 1));
}
.border-indigo-100 {
  --tw-border-opacity: 1;
  border-color: rgb(224 231 255 / var(--tw-border-opacity, 1));
}
.border-indigo-200 {
  --tw-border-opacity: 1;
  border-color: rgb(199 210 254 / var(--tw-border-opacity, 1));
}
.border-indigo-500 {
  --tw-border-opacity: 1;
  border-color: rgb(99 102 241 / var(--tw-border-opacity, 1));
}
.border-indigo-600 {
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity, 1));
}
.border-orange-100 {
  --tw-border-opacity: 1;
  border-color: rgb(255 237 213 / var(--tw-border-opacity, 1));
}
.border-purple-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 232 255 / var(--tw-border-opacity, 1));
}
.border-purple-500 {
  --tw-border-opacity: 1;
  border-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}
.border-purple-600 {
  --tw-border-opacity: 1;
  border-color: rgb(147 51 234 / var(--tw-border-opacity, 1));
}
.border-red-100 {
  --tw-border-opacity: 1;
  border-color: rgb(254 226 226 / var(--tw-border-opacity, 1));
}
.border-red-200 {
  --tw-border-opacity: 1;
  border-color: rgb(254 202 202 / var(--tw-border-opacity, 1));
}
.border-red-400 {
  --tw-border-opacity: 1;
  border-color: rgb(248 113 113 / var(--tw-border-opacity, 1));
}
.border-transparent {
  border-color: transparent;
}
.border-white {
  --tw-border-opacity: 1;
  border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}
.border-white\/20 {
  border-color: rgb(255 255 255 / 0.2);
}
.border-yellow-100 {
  --tw-border-opacity: 1;
  border-color: rgb(254 249 195 / var(--tw-border-opacity, 1));
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-blue-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}
.bg-blue-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(96 165 250 / var(--tw-bg-opacity, 1));
}
.bg-blue-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}
.bg-blue-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / var(--tw-bg-opacity, 1));
}
.bg-blue-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity, 1));
}
.bg-blue-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(29 78 216 / var(--tw-bg-opacity, 1));
}
.bg-cyan-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 211 238 / 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-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(6 182 212 / var(--tw-bg-opacity, 1));
}
.bg-gray-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}
.bg-gray-200 {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}
.bg-gray-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(209 213 219 / var(--tw-bg-opacity, 1));
}
.bg-gray-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(156 163 175 / var(--tw-bg-opacity, 1));
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity, 1));
}
.bg-gray-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(75 85 99 / var(--tw-bg-opacity, 1));
}
.bg-gray-700 {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}
.bg-gray-800 {
  --tw-bg-opacity: 1;
  background-color: rgb(31 41 55 / var(--tw-bg-opacity, 1));
}
.bg-gray-900 {
  --tw-bg-opacity: 1;
  background-color: rgb(17 24 39 / var(--tw-bg-opacity, 1));
}
.bg-green-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}
.bg-green-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(74 222 128 / var(--tw-bg-opacity, 1));
}
.bg-green-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}
.bg-green-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
}
.bg-green-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(22 163 74 / var(--tw-bg-opacity, 1));
}
.bg-indigo-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(224 231 255 / var(--tw-bg-opacity, 1));
}
.bg-indigo-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(165 180 252 / var(--tw-bg-opacity, 1));
}
.bg-indigo-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(129 140 248 / 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-indigo-600\/90 {
  background-color: rgb(79 70 229 / 0.9);
}
.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-600 {
  --tw-bg-opacity: 1;
  background-color: rgb(234 88 12 / var(--tw-bg-opacity, 1));
}
.bg-pink-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(252 231 243 / var(--tw-bg-opacity, 1));
}
.bg-purple-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(243 232 255 / var(--tw-bg-opacity, 1));
}
.bg-purple-300 {
  --tw-bg-opacity: 1;
  background-color: rgb(216 180 254 / var(--tw-bg-opacity, 1));
}
.bg-purple-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(192 132 252 / var(--tw-bg-opacity, 1));
}
.bg-purple-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}
.bg-red-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 226 226 / var(--tw-bg-opacity, 1));
}
.bg-red-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 242 242 / var(--tw-bg-opacity, 1));
}
.bg-red-500 {
  --tw-bg-opacity: 1;
  background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
}
.bg-teal-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(204 251 241 / var(--tw-bg-opacity, 1));
}
.bg-transparent {
  background-color: transparent;
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}
.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}
.bg-white\/20 {
  background-color: rgb(255 255 255 / 0.2);
}
.bg-white\/50 {
  background-color: rgb(255 255 255 / 0.5);
}
.bg-white\/70 {
  background-color: rgb(255 255 255 / 0.7);
}
.bg-white\/90 {
  background-color: rgb(255 255 255 / 0.9);
}
.bg-yellow-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(254 249 195 / var(--tw-bg-opacity, 1));
}
.bg-yellow-400 {
  --tw-bg-opacity: 1;
  background-color: rgb(250 204 21 / var(--tw-bg-opacity, 1));
}
.bg-gradient-to-br {
  background-image: linear-gradient(to bottom right, var(--tw-gradient-stops));
}
.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
.from-blue-400 {
  --tw-gradient-from: #60a5fa var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(96 165 250 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-50 {
  --tw-gradient-from: #eff6ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 246 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-500 {
  --tw-gradient-from: #3b82f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(59 130 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-blue-600 {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-cyan-500 {
  --tw-gradient-from: #06b6d4 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(6 182 212 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-100 {
  --tw-gradient-from: #f3f4f6 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(243 244 246 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-200 {
  --tw-gradient-from: #e5e7eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(229 231 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-50 {
  --tw-gradient-from: #f9fafb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 250 251 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-gray-900 {
  --tw-gradient-from: #111827 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(17 24 39 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-50 {
  --tw-gradient-from: #f0fdf4 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(240 253 244 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-500 {
  --tw-gradient-from: #22c55e var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(34 197 94 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-green-600 {
  --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-100 {
  --tw-gradient-from: #e0e7ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(224 231 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-200 {
  --tw-gradient-from: #c7d2fe var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(199 210 254 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-400 {
  --tw-gradient-from: #818cf8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(129 140 248 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-50 {
  --tw-gradient-from: #eef2ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(238 242 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-500 {
  --tw-gradient-from: #6366f1 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(99 102 241 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-indigo-600 {
  --tw-gradient-from: #4f46e5 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(79 70 229 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-50 {
  --tw-gradient-from: #fff7ed var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 247 237 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-orange-500 {
  --tw-gradient-from: #f97316 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(249 115 22 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-pink-500 {
  --tw-gradient-from: #ec4899 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(236 72 153 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-400 {
  --tw-gradient-from: #c084fc var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(192 132 252 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-50 {
  --tw-gradient-from: #faf5ff var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(250 245 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-500 {
  --tw-gradient-from: #a855f7 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(168 85 247 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-purple-600 {
  --tw-gradient-from: #9333ea var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(147 51 234 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-50 {
  --tw-gradient-from: #fef2f2 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 242 242 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-red-500 {
  --tw-gradient-from: #ef4444 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(239 68 68 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-white\/20 {
  --tw-gradient-from: rgb(255 255 255 / 0.2) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 255 255 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-50 {
  --tw-gradient-from: #fefce8 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(254 252 232 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.from-yellow-500 {
  --tw-gradient-from: #eab308 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 179 8 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.via-blue-200 {
  --tw-gradient-to: rgb(191 219 254 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #bfdbfe var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-indigo-50 {
  --tw-gradient-to: rgb(238 242 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #eef2ff var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-pink-600 {
  --tw-gradient-to: rgb(219 39 119 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #db2777 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-purple-200 {
  --tw-gradient-to: rgb(233 213 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #e9d5ff var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-red-50 {
  --tw-gradient-to: rgb(254 242 242 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fef2f2 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-red-500 {
  --tw-gradient-to: rgb(239 68 68 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #ef4444 var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-teal-50 {
  --tw-gradient-to: rgb(240 253 250 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #f0fdfa var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.via-white {
  --tw-gradient-to: rgb(255 255 255 / 0)  var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), #fff var(--tw-gradient-via-position), var(--tw-gradient-to);
}
.to-blue-50 {
  --tw-gradient-to: #eff6ff var(--tw-gradient-to-position);
}
.to-blue-600 {
  --tw-gradient-to: #2563eb var(--tw-gradient-to-position);
}
.to-cyan-200 {
  --tw-gradient-to: #a5f3fc var(--tw-gradient-to-position);
}
.to-cyan-400 {
  --tw-gradient-to: #22d3ee var(--tw-gradient-to-position);
}
.to-cyan-50 {
  --tw-gradient-to: #ecfeff var(--tw-gradient-to-position);
}
.to-cyan-500 {
  --tw-gradient-to: #06b6d4 var(--tw-gradient-to-position);
}
.to-cyan-600 {
  --tw-gradient-to: #0891b2 var(--tw-gradient-to-position);
}
.to-emerald-50 {
  --tw-gradient-to: #ecfdf5 var(--tw-gradient-to-position);
}
.to-emerald-500 {
  --tw-gradient-to: #10b981 var(--tw-gradient-to-position);
}
.to-gray-100 {
  --tw-gradient-to: #f3f4f6 var(--tw-gradient-to-position);
}
.to-gray-200 {
  --tw-gradient-to: #e5e7eb var(--tw-gradient-to-position);
}
.to-gray-300 {
  --tw-gradient-to: #d1d5db var(--tw-gradient-to-position);
}
.to-green-50 {
  --tw-gradient-to: #f0fdf4 var(--tw-gradient-to-position);
}
.to-green-600 {
  --tw-gradient-to: #16a34a var(--tw-gradient-to-position);
}
.to-indigo-50 {
  --tw-gradient-to: #eef2ff var(--tw-gradient-to-position);
}
.to-indigo-600 {
  --tw-gradient-to: #4f46e5 var(--tw-gradient-to-position);
}
.to-indigo-900 {
  --tw-gradient-to: #312e81 var(--tw-gradient-to-position);
}
.to-orange-50 {
  --tw-gradient-to: #fff7ed var(--tw-gradient-to-position);
}
.to-orange-500 {
  --tw-gradient-to: #f97316 var(--tw-gradient-to-position);
}
.to-orange-600 {
  --tw-gradient-to: #ea580c var(--tw-gradient-to-position);
}
.to-pink-400 {
  --tw-gradient-to: #f472b6 var(--tw-gradient-to-position);
}
.to-pink-50 {
  --tw-gradient-to: #fdf2f8 var(--tw-gradient-to-position);
}
.to-pink-500 {
  --tw-gradient-to: #ec4899 var(--tw-gradient-to-position);
}
.to-pink-600 {
  --tw-gradient-to: #db2777 var(--tw-gradient-to-position);
}
.to-purple-100 {
  --tw-gradient-to: #f3e8ff var(--tw-gradient-to-position);
}
.to-purple-400 {
  --tw-gradient-to: #c084fc var(--tw-gradient-to-position);
}
.to-purple-50 {
  --tw-gradient-to: #faf5ff var(--tw-gradient-to-position);
}
.to-purple-500 {
  --tw-gradient-to: #a855f7 var(--tw-gradient-to-position);
}
.to-purple-600 {
  --tw-gradient-to: #9333ea var(--tw-gradient-to-position);
}
.to-red-50 {
  --tw-gradient-to: #fef2f2 var(--tw-gradient-to-position);
}
.to-red-500 {
  --tw-gradient-to: #ef4444 var(--tw-gradient-to-position);
}
.to-red-600 {
  --tw-gradient-to: #dc2626 var(--tw-gradient-to-position);
}
.to-rose-50 {
  --tw-gradient-to: #fff1f2 var(--tw-gradient-to-position);
}
.to-rose-500 {
  --tw-gradient-to: #f43f5e var(--tw-gradient-to-position);
}
.to-teal-50 {
  --tw-gradient-to: #f0fdfa var(--tw-gradient-to-position);
}
.to-teal-500 {
  --tw-gradient-to: #14b8a6 var(--tw-gradient-to-position);
}
.to-teal-600 {
  --tw-gradient-to: #0d9488 var(--tw-gradient-to-position);
}
.to-white {
  --tw-gradient-to: #fff var(--tw-gradient-to-position);
}
.to-white\/5 {
  --tw-gradient-to: rgb(255 255 255 / 0.05) var(--tw-gradient-to-position);
}
.bg-clip-text {
  -webkit-background-clip: text;
          background-clip: text;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-12 {
  padding: 3rem;
}
.p-3 {
  padding: 0.75rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.px-1 {
  padding-left: 0.25rem;
  padding-right: 0.25rem;
}
.px-10 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
.px-12 {
  padding-left: 3rem;
  padding-right: 3rem;
}
.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
.px-3 {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}
.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-32 {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-5 {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pb-12 {
  padding-bottom: 3rem;
}
.pb-16 {
  padding-bottom: 4rem;
}
.pb-20 {
  padding-bottom: 5rem;
}
.pb-4 {
  padding-bottom: 1rem;
}
.pb-5 {
  padding-bottom: 1.25rem;
}
.pb-8 {
  padding-bottom: 2rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-6 {
  padding-left: 1.5rem;
}
.pl-8 {
  padding-left: 2rem;
}
.pr-3 {
  padding-right: 0.75rem;
}
.pt-1 {
  padding-top: 0.25rem;
}
.pt-2 {
  padding-top: 0.5rem;
}
.pt-24 {
  padding-top: 6rem;
}
.pt-32 {
  padding-top: 8rem;
}
.pt-4 {
  padding-top: 1rem;
}
.pt-6 {
  padding-top: 1.5rem;
}
.pt-8 {
  padding-top: 2rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-7xl {
  font-size: 4.5rem;
  line-height: 1;
}
.text-8xl {
  font-size: 6rem;
  line-height: 1;
}
.text-9xl {
  font-size: 8rem;
  line-height: 1;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}
.font-bold {
  font-weight: 700;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.uppercase {
  text-transform: uppercase;
}
.capitalize {
  text-transform: capitalize;
}
.italic {
  font-style: italic;
}
.leading-relaxed {
  line-height: 1.625;
}
.leading-tight {
  line-height: 1.25;
}
.text-blue-500 {
  --tw-text-opacity: 1;
  color: rgb(59 130 246 / 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-cyan-300 {
  --tw-text-opacity: 1;
  color: rgb(103 232 249 / var(--tw-text-opacity, 1));
}
.text-gray-100 {
  --tw-text-opacity: 1;
  color: rgb(243 244 246 / var(--tw-text-opacity, 1));
}
.text-gray-200 {
  --tw-text-opacity: 1;
  color: rgb(229 231 235 / var(--tw-text-opacity, 1));
}
.text-gray-300 {
  --tw-text-opacity: 1;
  color: rgb(209 213 219 / var(--tw-text-opacity, 1));
}
.text-gray-400 {
  --tw-text-opacity: 1;
  color: rgb(156 163 175 / var(--tw-text-opacity, 1));
}
.text-gray-500 {
  --tw-text-opacity: 1;
  color: rgb(107 114 128 / var(--tw-text-opacity, 1));
}
.text-gray-600 {
  --tw-text-opacity: 1;
  color: rgb(75 85 99 / var(--tw-text-opacity, 1));
}
.text-gray-700 {
  --tw-text-opacity: 1;
  color: rgb(55 65 81 / var(--tw-text-opacity, 1));
}
.text-gray-800 {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}
.text-gray-900 {
  --tw-text-opacity: 1;
  color: rgb(17 24 39 / var(--tw-text-opacity, 1));
}
.text-green-300 {
  --tw-text-opacity: 1;
  color: rgb(134 239 172 / var(--tw-text-opacity, 1));
}
.text-green-400 {
  --tw-text-opacity: 1;
  color: rgb(74 222 128 / 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-green-800 {
  --tw-text-opacity: 1;
  color: rgb(22 101 52 / var(--tw-text-opacity, 1));
}
.text-indigo-400 {
  --tw-text-opacity: 1;
  color: rgb(129 140 248 / 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-pink-600 {
  --tw-text-opacity: 1;
  color: rgb(219 39 119 / var(--tw-text-opacity, 1));
}
.text-purple-300 {
  --tw-text-opacity: 1;
  color: rgb(216 180 254 / 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-purple-900 {
  --tw-text-opacity: 1;
  color: rgb(88 28 135 / var(--tw-text-opacity, 1));
}
.text-red-500 {
  --tw-text-opacity: 1;
  color: rgb(239 68 68 / var(--tw-text-opacity, 1));
}
.text-red-600 {
  --tw-text-opacity: 1;
  color: rgb(220 38 38 / var(--tw-text-opacity, 1));
}
.text-red-700 {
  --tw-text-opacity: 1;
  color: rgb(185 28 28 / var(--tw-text-opacity, 1));
}
.text-red-800 {
  --tw-text-opacity: 1;
  color: rgb(153 27 27 / var(--tw-text-opacity, 1));
}
.text-teal-600 {
  --tw-text-opacity: 1;
  color: rgb(13 148 136 / var(--tw-text-opacity, 1));
}
.text-transparent {
  color: transparent;
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}
.text-white\/40 {
  color: rgb(255 255 255 / 0.4);
}
.text-white\/60 {
  color: rgb(255 255 255 / 0.6);
}
.text-white\/80 {
  color: rgb(255 255 255 / 0.8);
}
.text-white\/90 {
  color: rgb(255 255 255 / 0.9);
}
.text-yellow-300 {
  --tw-text-opacity: 1;
  color: rgb(253 224 71 / var(--tw-text-opacity, 1));
}
.text-yellow-500 {
  --tw-text-opacity: 1;
  color: rgb(234 179 8 / var(--tw-text-opacity, 1));
}
.text-yellow-600 {
  --tw-text-opacity: 1;
  color: rgb(202 138 4 / var(--tw-text-opacity, 1));
}
.text-yellow-800 {
  --tw-text-opacity: 1;
  color: rgb(133 77 14 / var(--tw-text-opacity, 1));
}
.underline {
  text-decoration-line: underline;
}
.line-through {
  text-decoration-line: line-through;
}
.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.opacity-0 {
  opacity: 0;
}
.opacity-10 {
  opacity: 0.1;
}
.opacity-20 {
  opacity: 0.2;
}
.opacity-25 {
  opacity: 0.25;
}
.opacity-40 {
  opacity: 0.4;
}
.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-inner {
  --tw-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
  --tw-shadow-colored: inset 0 2px 4px 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-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);
}
.blur {
  --tw-blur: blur(8px);
  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);
}
.blur-2xl {
  --tw-blur: blur(40px);
  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);
}
.blur-3xl {
  --tw-blur: blur(64px);
  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);
}
.grayscale {
  --tw-grayscale: grayscale(100%);
  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);
}
.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-md {
  --tw-backdrop-blur: blur(12px);
  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-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);
}
.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-opacity {
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
.duration-200 {
  transition-duration: 200ms;
}
.duration-300 {
  transition-duration: 300ms;
}
.duration-500 {
  transition-duration: 500ms;
}
.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: 'Inter', system-ui, Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  width: 100%;
  min-height: 100vh;
}

.hover\:-translate-y-2:hover {
  --tw-translate-y: -0.5rem;
  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\:scale-105:hover {
  --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));
}

.hover\:scale-110:hover {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  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-blue-300:hover {
  --tw-border-opacity: 1;
  border-color: rgb(147 197 253 / var(--tw-border-opacity, 1));
}

.hover\:border-blue-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(96 165 250 / var(--tw-border-opacity, 1));
}

.hover\:border-blue-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(59 130 246 / var(--tw-border-opacity, 1));
}

.hover\:border-green-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(74 222 128 / var(--tw-border-opacity, 1));
}

.hover\:border-green-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(34 197 94 / var(--tw-border-opacity, 1));
}

.hover\:border-indigo-400:hover {
  --tw-border-opacity: 1;
  border-color: rgb(129 140 248 / var(--tw-border-opacity, 1));
}

.hover\:border-purple-500:hover {
  --tw-border-opacity: 1;
  border-color: rgb(168 85 247 / var(--tw-border-opacity, 1));
}

.hover\:bg-blue-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(239 246 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-blue-500:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(59 130 246 / 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-blue-800:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(30 64 175 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(229 231 235 / var(--tw-bg-opacity, 1));
}

.hover\:bg-gray-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(55 65 81 / var(--tw-bg-opacity, 1));
}

.hover\:bg-green-100:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 252 231 / var(--tw-bg-opacity, 1));
}

.hover\:bg-green-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(240 253 244 / var(--tw-bg-opacity, 1));
}

.hover\:bg-green-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(21 128 61 / 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-indigo-200:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(199 210 254 / var(--tw-bg-opacity, 1));
}

.hover\:bg-indigo-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(238 242 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-indigo-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(67 56 202 / 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-700:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(194 65 12 / var(--tw-bg-opacity, 1));
}

.hover\:bg-pink-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(253 242 248 / 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-purple-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(250 245 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-red-600:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(220 38 38 / var(--tw-bg-opacity, 1));
}

.hover\:bg-white:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity, 1));
}

.hover\:bg-white\/15:hover {
  background-color: rgb(255 255 255 / 0.15);
}

.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:bg-yellow-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(254 252 232 / var(--tw-bg-opacity, 1));
}

.hover\:from-blue-600:hover {
  --tw-gradient-from: #2563eb var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(37 99 235 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:from-green-600:hover {
  --tw-gradient-from: #16a34a var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(22 163 74 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:from-orange-600:hover {
  --tw-gradient-from: #ea580c var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(234 88 12 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.hover\:to-cyan-600:hover {
  --tw-gradient-to: #0891b2 var(--tw-gradient-to-position);
}

.hover\:to-emerald-600:hover {
  --tw-gradient-to: #059669 var(--tw-gradient-to-position);
}

.hover\:to-purple-700:hover {
  --tw-gradient-to: #7e22ce var(--tw-gradient-to-position);
}

.hover\:to-red-600:hover {
  --tw-gradient-to: #dc2626 var(--tw-gradient-to-position);
}

.hover\:text-cyan-300:hover {
  --tw-text-opacity: 1;
  color: rgb(103 232 249 / var(--tw-text-opacity, 1));
}

.hover\:text-gray-800:hover {
  --tw-text-opacity: 1;
  color: rgb(31 41 55 / var(--tw-text-opacity, 1));
}

.hover\:text-indigo-300:hover {
  --tw-text-opacity: 1;
  color: rgb(165 180 252 / var(--tw-text-opacity, 1));
}

.hover\:text-indigo-600:hover {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}

.hover\:text-indigo-700:hover {
  --tw-text-opacity: 1;
  color: rgb(67 56 202 / var(--tw-text-opacity, 1));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}

.hover\:underline:hover {
  text-decoration-line: underline;
}

.hover\:shadow-2xl:hover {
  --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);
}

.hover\:shadow-lg:hover {
  --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);
}

.hover\:shadow-xl:hover {
  --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);
}

.focus\:border-indigo-600:focus {
  --tw-border-opacity: 1;
  border-color: rgb(79 70 229 / var(--tw-border-opacity, 1));
}

.focus\:border-transparent:focus {
  border-color: transparent;
}

.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-green-500:focus {
  --tw-ring-opacity: 1;
  --tw-ring-color: rgb(34 197 94 / var(--tw-ring-opacity, 1));
}

.focus\:ring-offset-2:focus {
  --tw-ring-offset-width: 2px;
}

.disabled\:cursor-not-allowed:disabled {
  cursor: not-allowed;
}

.disabled\:bg-gray-100:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(243 244 246 / var(--tw-bg-opacity, 1));
}

.disabled\:bg-indigo-400:disabled {
  --tw-bg-opacity: 1;
  background-color: rgb(129 140 248 / var(--tw-bg-opacity, 1));
}

.disabled\:opacity-50:disabled {
  opacity: 0.5;
}

.group:hover .group-hover\:translate-x-1 {
  --tw-translate-x: 0.25rem;
  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\:translate-x-2 {
  --tw-translate-x: 0.5rem;
  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\:scale-110 {
  --tw-scale-x: 1.1;
  --tw-scale-y: 1.1;
  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\:text-blue-600 {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:text-green-600 {
  --tw-text-opacity: 1;
  color: rgb(22 163 74 / var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:text-indigo-600 {
  --tw-text-opacity: 1;
  color: rgb(79 70 229 / var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:text-purple-600 {
  --tw-text-opacity: 1;
  color: rgb(147 51 234 / var(--tw-text-opacity, 1));
}

.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

@media (min-width: 640px) {

  .sm\:h-96 {
    height: 24rem;
  }

  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .sm\:text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }

  .sm\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .sm\:text-base {
    font-size: 1rem;
    line-height: 1.5rem;
  }

  .sm\:text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 768px) {

  .md\:mt-0 {
    margin-top: 0px;
  }

  .md\:block {
    display: block;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .md\:flex-row-reverse {
    flex-direction: row-reverse;
  }
}

@media (min-width: 1024px) {

  .lg\:block {
    display: block;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

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

  .lg\:flex-row-reverse {
    flex-direction: row-reverse;
  }

  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .lg\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
    line-height: 1;
  }
}

@media (min-width: 1280px) {

  .xl\:text-7xl {
    font-size: 4.5rem;
    line-height: 1;
  }
}
/* Auth Container */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
}

.auth-card-wide {
  background: white;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  padding: 2.5rem;
  width: 100%;
  max-width: 1200px;
}

.back-button {
  background: transparent;
  border: none;
  color: #4299e1;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.5rem 0;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.back-button:hover {
  color: #3182ce;
}

.auth-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.auth-subtitle {
  font-size: 1rem;
  color: #718096;
  margin: 0 0 2rem 0;
  text-align: center;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d3748;
}

.required {
  color: #e53e3e;
}

.form-input {
  padding: 0.75rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.2s;
  outline: none;
}

.form-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input.error {
  border-color: #e53e3e;
}

.form-input:disabled {
  background-color: #f7fafc;
  cursor: not-allowed;
  opacity: 0.6;
}

.error-message {
  font-size: 0.875rem;
  color: #e53e3e;
  margin-top: -0.25rem;
}

/* Password Input */
.password-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrapper .form-input {
  flex: 1;
  padding-right: 3rem;
}

.password-toggle {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 0.25rem;
}

.password-toggle:hover {
  opacity: 1;
}

/* Password Requirements */
.password-requirements {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f7fafc;
  border-radius: 6px;
  margin-top: 0.25rem;
}

.requirement {
  font-size: 0.875rem;
  color: #718096;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.requirement.valid {
  color: #38a169;
  font-weight: 500;
}

/* Password Strength */
.password-strength {
  margin-top: 0.5rem;
}

.strength-bar {
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.strength-fill {
  height: 100%;
  transition: width 0.3s, background-color 0.3s;
}

.strength-fill.strength-very-weak {
  background-color: #e53e3e;
}

.strength-fill.strength-weak {
  background-color: #dd6b20;
}

.strength-fill.strength-fair {
  background-color: #d69e2e;
}

.strength-fill.strength-good {
  background-color: #38a169;
}

.strength-fill.strength-strong {
  background-color: #38a169;
}

.strength-fill.strength-very-strong {
  background-color: #2f855a;
}

.strength-label {
  font-size: 0.75rem;
  color: #718096;
  text-transform: capitalize;
}

/* Checkbox */
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: #2d3748;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  flex-shrink: 0;
}

.checkbox-label a {
  color: #667eea;
  text-decoration: none;
}

.checkbox-label a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn {
  padding: 0.875rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-outline {
  background: white;
  border: 2px solid #e2e8f0;
  color: #2d3748;
}

.btn-outline:hover:not(:disabled) {
  border-color: #cbd5e0;
  background: #f7fafc;
}

.btn-text {
  background: none;
  color: #667eea;
  padding: 0.5rem 1rem;
}

.btn-text:hover:not(:disabled) {
  text-decoration: underline;
}

.btn-block {
  width: 100%;
  display: flex;
}

/* Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 1.5rem 0;
}

.divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: #e2e8f0;
}

.divider span {
  position: relative;
  background: white;
  padding: 0 1rem;
  color: #718096;
  font-size: 0.875rem;
}

/* Form Row */
.form-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.link-text {
  text-align: right;
  color: #667eea;
  text-decoration: none;
}

.link-text:hover {
  text-decoration: underline;
}

/* OTP Input */
.otp-input-group {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin: 2rem 0;
}

.otp-input {
  width: 3rem;
  height: 3.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  outline: none;
  transition: all 0.2s;
}

.otp-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.otp-input.filled {
  border-color: #667eea;
  background: #f7fafc;
}

.otp-input.error {
  border-color: #e53e3e;
  animation: shake 0.3s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.otp-input:disabled {
  background: #f7fafc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Resend Section */
.resend-section {
  text-align: center;
  margin-top: 1rem;
}

.resend-timer {
  color: #718096;
  font-size: 0.875rem;
}

.resend-timer strong {
  color: #2d3748;
  font-weight: 600;
}

/* Alerts */
.alert {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.alert-error {
  background: #fed7d7;
  color: #c53030;
  border: 1px solid #fc8181;
}

.alert-success {
  background: #c6f6d5;
  color: #22543d;
  border: 1px solid #9ae6b4;
}

/* Footer */
.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
  color: #718096;
  font-size: 0.875rem;
}

.auth-footer a {
  color: #667eea;
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 640px) {
  .auth-card {
    padding: 2rem 1.5rem;
  }

  .auth-title {
    font-size: 1.5rem;
  }

  .otp-input {
    width: 2.5rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .otp-input-group {
    gap: 0.5rem;
  }
}
/* Plan Selector Container */
.plan-selector-container {
  width: 100%;
  padding: 2rem 0;
}

.plan-selector-header {
  text-align: center;
  margin-bottom: 3rem;
}

.plan-selector-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.5rem;
}

.plan-selector-header p {
  font-size: 1.125rem;
  color: #718096;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Plan Card */
.plan-card {
  position: relative;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  border-color: #4299e1;
}

.plan-card.selected {
  border-color: #4299e1;
  background: #ebf8ff;
  box-shadow: 0 10px 25px rgba(66, 153, 225, 0.2);
}

.plan-card.popular {
  border-color: #ed8936;
  position: relative;
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: linear-gradient(135deg, #ed8936 0%, #dd6b20 100%);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 6px rgba(237, 137, 54, 0.3);
}

/* Plan Header */
.plan-header {
  margin-bottom: 2rem;
  text-align: center;
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 1rem;
}

.plan-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 1rem;
}

.price-free {
  font-size: 2rem;
  font-weight: 700;
  color: #48bb78;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
}

.price-period {
  font-size: 1rem;
  color: #718096;
  margin-left: 0.25rem;
}

.plan-description {
  font-size: 0.875rem;
  color: #718096;
  line-height: 1.5;
  min-height: 2.5rem;
}

/* Plan Features */
.plan-features {
  flex: 1;
  margin-bottom: 2rem;
}

.plan-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plan-features li {
  display: flex;
  align-items: start;
  padding: 0.625rem 0;
  font-size: 0.9375rem;
  color: #4a5568;
  line-height: 1.5;
}

.checkmark {
  width: 20px;
  height: 20px;
  color: #48bb78;
  margin-right: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Plan Footer */
.plan-footer {
  margin-top: auto;
}

.select-plan-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #4299e1 0%, #3182ce 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.select-plan-btn:hover {
  background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(66, 153, 225, 0.4);
}

.select-plan-btn.selected {
  background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
}

.select-plan-btn.selected:hover {
  background: linear-gradient(135deg, #38a169 0%, #2f855a 100%);
}

/* Loading & Error States */
.loading-spinner {
  text-align: center;
  padding: 3rem;
  font-size: 1.125rem;
  color: #718096;
}

.error-message {
  text-align: center;
  padding: 2rem;
  color: #e53e3e;
  background: #fff5f5;
  border: 1px solid #fc8181;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.retry-btn {
  display: block;
  margin: 0 auto;
  padding: 0.75rem 2rem;
  background: #4299e1;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.retry-btn:hover {
  background: #3182ce;
}
.stripe-payment-form {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.payment-summary {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.payment-summary h4 {
  margin: 0 0 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #1e293b;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  color: #64748b;
  font-size: 0.9375rem;
}

.summary-row.total {
  border-top: 2px solid #e2e8f0;
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-weight: 600;
  color: #1e293b;
  font-size: 1.125rem;
}

.summary-value {
  font-weight: 600;
  color: #1e293b;
}

.card-element-wrapper {
  margin-bottom: 1.5rem;
}

.card-element-wrapper label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #1e293b;
  font-size: 0.9375rem;
}

.card-element-container {
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px;
  background: white;
  transition: border-color 0.2s;
}

.card-element-container:hover {
  border-color: #94a3b8;
}

.card-element-container:focus-within {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.payment-error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #dc2626;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.payment-error svg {
  flex-shrink: 0;
}

.payment-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.875rem;
}

.payment-security svg {
  flex-shrink: 0;
  color: #10b981;
}

.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  outline: none;
}

.btn-primary {
  background: #3b82f6;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-primary:disabled {
  background: #94a3b8;
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-block {
  width: 100%;
  display: block;
}
/* Upgrade Modal Overlay */
.upgrade-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  animation: fadeIn 0.2s ease-out;
}

/* Upgrade Modal Content */
.upgrade-modal-content {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  animation: slideUp 0.3s ease-out;
}

/* Modal Header */
.upgrade-modal-header {
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
}

.upgrade-modal-header h3 {
  margin: 12px 0 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
}

/* Icon Wrapper */
.modal-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upgrade-icon {
  background-color: #fef3c7;
  color: #f59e0b;
}

.modal-icon {
  width: 32px;
  height: 32px;
}

/* Modal Body */
.upgrade-modal-body {
  padding: 24px;
}

.upgrade-message {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Upgrade Details */
.upgrade-details {
  background-color: #f9fafb;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.upgrade-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.upgrade-detail-item:first-child {
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 8px;
  padding-bottom: 12px;
}

.upgrade-detail-label {
  font-weight: 500;
  color: #6b7280;
  font-size: 0.9rem;
}

.upgrade-detail-value {
  font-weight: 600;
  font-size: 1rem;
}

.current-plan {
  color: #6b7280;
}

.required-plan {
  color: #2563eb;
}

.upgrade-cta {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

/* Modal Actions */
.upgrade-modal-actions {
  padding: 20px 24px;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.btn-modal {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-cancel {
  background-color: #f3f4f6;
  color: #374151;
}

.btn-cancel:hover {
  background-color: #e5e7eb;
}

.btn-confirm {
  background-color: #2563eb;
  color: white;
}

.btn-confirm:hover {
  background-color: #1d4ed8;
}

.btn-upgrade {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.btn-upgrade:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

.btn-modal:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 640px) {
  .upgrade-modal-content {
    width: 95%;
    max-width: none;
  }

  .upgrade-modal-header h3 {
    font-size: 1.25rem;
  }

  .upgrade-modal-body {
    padding: 20px;
  }

  .upgrade-modal-actions {
    flex-direction: column;
  }

  .btn-modal {
    width: 100%;
  }
}
.smart-textarea-wrapper {
  position: relative;
  width: 100%;
}

.smart-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  resize: vertical;
  transition: border-color 0.2s;
}

.smart-textarea:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.smart-textarea:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

.smart-textarea.error {
  border-color: #dc3545;
}

.smart-textarea-hint {
  margin-top: 6px;
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 4px;
}

.smart-textarea-hint code {
  background-color: #f0f0f0;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #0066cc;
}

/* CV Dropdown Styles */
.cv-dropdown {
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000;
  max-width: 400px;
  min-width: 300px;
  max-height: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cv-dropdown-header {
  padding: 12px 16px;
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-size: 13px;
  font-weight: 600;
  color: #495057;
}

.cv-dropdown-loading,
.cv-dropdown-empty {
  padding: 24px 16px;
  text-align: center;
  color: #6c757d;
  font-size: 14px;
}

.cv-dropdown-list {
  overflow-y: auto;
  max-height: 250px;
}

.cv-dropdown-item {
  padding: 12px 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
}

.cv-dropdown-item:last-child {
  border-bottom: none;
}

.cv-dropdown-item:hover {
  background-color: #f8f9fa;
}

.cv-item-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cv-item-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.cv-item-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
}

.cv-item-name {
  font-size: 14px;
  font-weight: 500;
  color: #212529;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cv-item-status {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 12px;
  display: inline-block;
  width: -moz-fit-content;
  width: fit-content;
}

.cv-status-published {
  background-color: #d4edda;
  color: #155724;
}

.cv-status-draft {
  background-color: #fff3cd;
  color: #856404;
}

.cv-status-archived {
  background-color: #f8d7da;
  color: #721c24;
}

/* Scrollbar styling */
.cv-dropdown-list::-webkit-scrollbar {
  width: 6px;
}

.cv-dropdown-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

.cv-dropdown-list::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 3px;
}

.cv-dropdown-list::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-dropdown {
    max-width: 90vw;
    min-width: 250px;
  }
}
.ai-cv-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  animation: fadeIn 0.2s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.ai-cv-modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.ai-cv-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.ai-cv-modal-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-cv-modal-title svg {
  color: #FF6B6B;
}

.ai-cv-modal-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #111827;
}

.ai-cv-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #6b7280;
  transition: all 0.2s;
}

.ai-cv-modal-close:hover {
  background: #f3f4f6;
  color: #111827;
}

.ai-cv-modal-close:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ai-cv-modal-form {
  padding: 24px;
}

.ai-cv-form-intro {
  margin-bottom: 24px;
  padding: 16px;
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  border-radius: 6px;
}

.ai-cv-form-intro p {
  margin: 0;
  color: #1e40af;
  font-size: 14px;
  line-height: 1.6;
}

.ai-cv-user-info {
  margin-bottom: 20px;
  padding: 16px;
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  border-radius: 6px;
}

.user-info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  color: #047857;
}

.user-info-item:last-of-type {
  margin-bottom: 12px;
}

.user-info-item svg {
  flex-shrink: 0;
}

.user-info-item strong {
  font-weight: 600;
}

.user-info-note {
  margin: 0;
  font-size: 12px;
  color: #059669;
  font-style: italic;
}

.ai-cv-error-banner {
  margin-bottom: 20px;
  padding: 12px 16px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 6px;
  color: #991b1b;
  font-size: 14px;
}

.ai-cv-form-group {
  margin-bottom: 20px;
}

.ai-cv-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #374151;
  font-size: 14px;
}

.ai-cv-form-group .required {
  color: #ef4444;
}

.ai-cv-form-group input,
.ai-cv-form-group select,
.ai-cv-form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
  transition: all 0.2s;
  font-family: inherit;
}

.ai-cv-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.ai-cv-form-group input:focus,
.ai-cv-form-group select:focus,
.ai-cv-form-group textarea:focus {
  outline: none;
  border-color: #FF6B6B;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

.ai-cv-form-group input.error,
.ai-cv-form-group select.error,
.ai-cv-form-group textarea.error {
  border-color: #ef4444;
}

.ai-cv-form-group input:disabled,
.ai-cv-form-group select:disabled,
.ai-cv-form-group textarea:disabled {
  background: #f9fafb;
  cursor: not-allowed;
}

.error-message {
  display: block;
  margin-top: 6px;
  color: #ef4444;
  font-size: 13px;
}

.field-hint {
  display: block;
  margin-top: 6px;
  color: #6b7280;
  font-size: 12px;
}

.ai-cv-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ai-cv-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.ai-cv-btn-secondary,
.ai-cv-btn-primary {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-cv-btn-secondary {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.ai-cv-btn-secondary:hover {
  background: #f9fafb;
}

.ai-cv-btn-primary {
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.ai-cv-btn-primary:hover {
  background: linear-gradient(135deg, #FF8E53 0%, #FFB347 100%);
  box-shadow: 0 6px 16px rgba(255, 107, 107, 0.5);
  transform: translateY(-1px);
}

.ai-cv-btn-secondary:disabled,
.ai-cv-btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Progress Container */
.ai-cv-progress-container {
  padding: 60px 40px;
  text-align: center;
}

.ai-cv-progress-icon {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

.sparkle-animate {
  color: #FF6B6B;
  animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1) rotate(180deg);
  }
}

.ai-cv-progress-container h3 {
  margin: 0 0 24px 0;
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.ai-cv-progress-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 12px;
}

.ai-cv-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #FF6B6B 0%, #FF8E53 100%);
  border-radius: 4px;
  transition: width 0.5s ease-in-out;
  position: relative;
  overflow: hidden;
}

.ai-cv-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.ai-cv-progress-percentage {
  font-size: 24px;
  font-weight: 700;
  color: #FF6B6B;
  margin: 0 0 12px 0;
}

.ai-cv-progress-note {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

/* Responsive */
@media (max-width: 640px) {
  .ai-cv-modal-content {
    max-width: 100%;
    margin: 0;
    border-radius: 0;
    max-height: 100vh;
  }

  .ai-cv-form-row {
    grid-template-columns: 1fr;
  }

  .ai-cv-modal-actions {
    flex-direction: column-reverse;
  }

  .ai-cv-btn-secondary,
  .ai-cv-btn-primary {
    width: 100%;
    justify-content: center;
  }

  .ai-cv-progress-container {
    padding: 40px 20px;
  }
}
.cv-list-widget {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.widget-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.widget-header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.btn-create-ai {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
}

.btn-create-ai:hover {
  background: linear-gradient(135deg, #FF8E53 0%, #FFB347 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.btn-create-new {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

.btn-create-new span {
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
}

.btn-create-new:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4A90E2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 12px 0;
}

.empty-state p {
  color: #718096;
  font-size: 15px;
  margin: 0 0 28px 0;
}

.empty-state-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary-ai {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(255, 107, 107, 0.4);
  flex: 1;
}

.btn-primary-ai:hover {
  background: linear-gradient(135deg, #FF8E53 0%, #FFB347 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
  flex: 1;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.cv-card {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: visible;
  text-align: left;
}

.cv-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cv-card:hover::before {
  opacity: 1;
}

.cv-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
  transform: translateY(-4px);
}

.cv-card-header {
  margin-bottom: 16px;
  position: static;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-right: 40px;
}

/* Three-dot menu */
.more-menu-wrapper {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 10;
}

.btn-more-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.btn-more-menu:hover {
  background: #f3f4f6;
  color: #667eea;
}

.more-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 4px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 4px;
  min-width: 160px;
  z-index: 1000;
}

.menu-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #1a202c;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}

.menu-option:hover:not(:disabled) {
  background: #f7fafc;
  color: #667eea;
}

.menu-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.menu-option svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.menu-option-danger {
  color: #ef4444;
}

.menu-option-danger:hover:not(:disabled) {
  background: #fef2f2;
  color: #dc2626;
}

.cv-name-and-status-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cv-name-wrapper {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.cv-name-display {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
}

.cv-name-display h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1a202c;
  flex: 1;
  word-break: break-word;
  line-height: 1.4;
  text-align: left;
}

.btn-edit-name {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cv-name-display:hover .btn-edit-name {
  display: flex;
}

.btn-edit-name:hover {
  background: #f3f4f6;
  color: #667eea;
}

.btn-edit-name svg {
  width: 14px;
  height: 14px;
}

.cv-name-edit {
  width: 100%;
}

.cv-name-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  border: 2px solid #667eea;
  border-radius: 8px;
  background: white;
  outline: none;
  transition: all 0.2s ease;
}

.cv-name-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cv-name-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cv-status-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.cv-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cv-status:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cv-status:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status-dropdown-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.cv-status.active .status-dropdown-icon {
  transform: rotate(180deg);
}

.status-draft {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  box-shadow: 0 2px 4px rgba(230, 81, 0, 0.1);
}

.status-published {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  box-shadow: 0 2px 4px rgba(46, 125, 50, 0.1);
}

.status-archived {
  background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
  color: #616161;
  box-shadow: 0 2px 4px rgba(97, 97, 97, 0.1);
}

.status-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  z-index: 1000;
  overflow: hidden;
  animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  color: #374151;
}

.status-option:hover {
  background: #f9fafb;
}

.status-option.selected {
  background: #f0f4ff;
  color: #667eea;
  font-weight: 600;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator.status-draft {
  background: #e65100;
}

.status-indicator.status-published {
  background: #2e7d32;
}

.status-indicator.status-archived {
  background: #616161;
}

.cv-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid #f0f4f8;
  border-bottom: 1px solid #f0f4f8;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.info-label {
  color: #718096;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-value {
  color: #2d3748;
  font-weight: 500;
}

.cv-card-actions {
  display: flex;
  gap: 8px;
  padding-top: 4px;
}

.btn-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-edit-primary {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: #10b981;
  border: 1.5px solid #10b981;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-edit-primary:hover {
  background: #10b981;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.btn-edit-primary svg {
  width: 16px;
  height: 16px;
}

.btn-action svg {
  width: 16px;
  height: 16px;
  position: relative;
  z-index: 1;
}

.btn-action .btn-label {
  position: relative;
  z-index: 1;
}

.btn-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.btn-action:hover:not(:disabled)::before {
  opacity: 1;
}

.btn-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-edit {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.25);
}

.btn-edit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.35);
}

.btn-preview {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.btn-preview:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.btn-download {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
}

.btn-download:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

.btn-delete {
  background: white;
  color: #ef4444;
  border: 1.5px solid #fee2e2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-delete:hover:not(:disabled) {
  background: #fef2f2;
  border-color: #fecaca;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.btn-delete::before {
  display: none;
}

/* More Menu Dropdown */
.more-menu-wrapper {
  position: relative;
}

.more-menu-dropdown {
  /* position is set via inline style to 'fixed' */
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 200px;
  z-index: 9999;
  overflow: visible;
  animation: dropdownSlide 0.2s ease-out;
}

.more-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  color: #374151;
}

.more-menu-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  stroke: currentColor;
}

.more-menu-item:hover:not(:disabled) {
  background: #f9fafb;
  color: #667eea;
}

.more-menu-item:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.more-menu-item-danger {
  color: #dc2626;
}

.more-menu-item-danger:hover:not(:disabled) {
  background: #fef2f2;
  color: #dc2626;
}

.more-menu-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 4px 0;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ef9a9a;
}

/* Delete Confirmation Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 28px 28px 20px;
  text-align: center;
  border-bottom: 1px solid #f0f4f8;
}

.modal-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  margin-bottom: 16px;
}

.modal-icon {
  width: 32px;
  height: 32px;
  color: #d97706;
}

.modal-icon-wrapper.email-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.modal-icon-wrapper.email-icon .modal-icon {
  color: #f59e0b;
}

.modal-icon-wrapper.download-icon {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.modal-icon-wrapper.download-icon .modal-icon {
  color: #10b981;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
}

.modal-body {
  padding: 24px 28px;
}

.modal-body p {
  margin: 0 0 12px 0;
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body strong {
  color: #1a202c;
  font-weight: 600;
}

.modal-warning {
  color: #d97706 !important;
  font-size: 13px !important;
  font-weight: 500;
}

.modal-actions {
  padding: 20px 28px 28px;
  display: flex;
  gap: 12px;
}

.btn-modal {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel {
  background: #f7fafc;
  color: #4a5568;
  border: 1.5px solid #e2e8f0;
}

.btn-cancel:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
}

.btn-confirm {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-confirm:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.btn-download-confirm {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-download-confirm:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* Form elements for email modal */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #1f2937;
  transition: all 0.3s ease;
  background: white;
}

.form-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::-moz-placeholder {
  color: #9ca3af;
}

.form-input::placeholder {
  color: #9ca3af;
}

@media (max-width: 768px) {
  .widget-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .btn-create-new {
    width: 100%;
    justify-content: center;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }

  .cv-card-actions {
    flex-wrap: wrap;
  }

  .btn-action {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .btn-action .btn-label {
    display: none;
  }

  .btn-action {
    justify-content: center;
    padding: 12px;
  }

  .modal-content {
    width: 95%;
  }

  .modal-header,
  .modal-body,
  .modal-actions {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 36px;
  height: 36px;
  color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
}
.member-layout {
  display: flex;
  min-height: 100vh;
  background: #f7fafc;
}

/* Mobile Header */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #2c3e50;
  color: white;
  align-items: center;
  padding: 0 1rem;
  z-index: 999;
  gap: 1rem;
}

.mobile-logo {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
  color: #667eea;
}

.menu-toggle {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: #2c3e50;
  color: #e5e5e5;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.sidebar-header {
  padding: 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.close-sidebar {
  display: none;
  background: transparent;
  border: none;
  color: #e5e5e5;
  cursor: pointer;
  padding: 0.5rem;
}

/* Navigation */
.sidebar-nav {
  flex: 1;
  padding: 1rem 0.5rem;
  overflow-y: auto;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: #b3b3b3;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  text-align: left;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.nav-item.active {
  background: rgba(102, 126, 234, 0.2);
  color: #ffffff;
  border-left: 3px solid #667eea;
}

.nav-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-label {
  flex: 1;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-badge {
  display: inline-block;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Sidebar Footer */
.sidebar-footer {
  padding: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0.5rem 0;
}

.logout-btn {
  color: #ef4444;
}

.logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ff6b6b;
}

/* User Profile */
.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  margin: 0.5rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  width: calc(100% - 1rem);
  cursor: pointer;
  transition: background 0.2s;
  text-align: left;
}

.user-profile:hover {
  background: rgba(255, 255, 255, 0.1);
}

.user-profile.expanded {
  background: rgba(255, 255, 255, 0.05);
}

.user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: white;
  flex-shrink: 0;
}

.user-info {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-bottom: 2px;
}

.user-status {
  font-size: 0.75rem;
  color: #b3b3b3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* User Submenu */
.user-submenu {
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.submenu-item {
  padding-left: 2.5rem;
  font-size: 0.875rem;
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  background: #f7fafc;
}

/* Overlay for mobile */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .mobile-header {
    display: flex;
  }

  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .sidebar-header .close-sidebar {
    display: flex;
  }

  .overlay {
    display: block;
  }

  .main-content {
    margin-left: 0;
    padding-top: 60px;
  }

  .nav-item {
    padding: 0.875rem 1rem;
    font-size: 1rem;
  }

  .nav-label {
    font-size: 0.95rem;
  }

  .user-profile {
    padding: 1rem;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }

  .user-name {
    font-size: 0.95rem;
  }
}

/* Tablet Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .sidebar {
    width: 240px;
  }

  .main-content {
    margin-left: 240px;
  }
}

/* Scrollbar styling for sidebar */
.sidebar::-webkit-scrollbar,
.sidebar-nav::-webkit-scrollbar {
  width: 6px;
}

.sidebar::-webkit-scrollbar-track,
.sidebar-nav::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb,
.sidebar-nav::-webkit-scrollbar-thumb {
  background: #2d2d2d;
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover,
.sidebar-nav::-webkit-scrollbar-thumb:hover {
  background: #404040;
}
.dashboard-page {
  padding: 2rem;
  min-height: 100vh;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: #1a202c;
  font-weight: 700;
}

.page-subtitle {
  margin: 0;
  font-size: 1rem;
  color: #718096;
}

.dashboard-content {
  max-width: 1200px;
}

.dashboard-section {
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 1.5rem;
  color: #1a202c;
  margin: 0 0 1.5rem 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.dashboard-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.dashboard-card:hover::before {
  opacity: 1;
}

.dashboard-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(102, 126, 234, 0.2);
  border-color: #667eea;
}

/* AI Card - Special Styling */
.dashboard-card.ai-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: 2px solid transparent;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.dashboard-card.ai-card::before {
  display: none;
}

.dashboard-card.ai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(102, 126, 234, 0.5);
  border-color: rgba(255, 255, 255, 0.3);
}

.dashboard-card.ai-card .card-icon {
  background: rgba(255, 255, 255, 0.2);
}

.dashboard-card.ai-card .card-icon svg {
  stroke: white;
}

.dashboard-card.ai-card .card-content h2,
.dashboard-card.ai-card .card-content p {
  color: white;
}

.dashboard-card.ai-card .card-arrow {
  color: white;
}

/* Highlighted Cards */
.dashboard-card.highlighted-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8faff 100%);
  border: 2px solid #e6ecff;
}

.dashboard-card.highlighted-card:hover {
  background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
  border-color: #667eea;
  box-shadow: 0 12px 32px rgba(102, 126, 234, 0.25);
}

.dashboard-card.highlighted-card .card-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dashboard-card.highlighted-card .card-icon svg {
  stroke: white;
}

/* Card Badge */
.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.7);
  }
}

.card-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 14px;
  background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
  transition: all 0.3s ease;
}

.dashboard-card:hover .card-icon {
  transform: scale(1.05);
}

.card-icon svg {
  stroke: #667eea;
  transition: all 0.3s ease;
}

.card-content {
  flex: 1;
}

.card-content h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.3;
}

.card-content p {
  margin: 0;
  color: #718096;
  font-size: 0.925rem;
  line-height: 1.5;
}

.card-arrow {
  font-size: 2rem;
  color: #667eea;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.dashboard-card:hover .card-arrow {
  transform: translateX(8px);
}

/* Active Session Banner */
.active-session-banner {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.active-session-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.banner-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 2;
  padding: 0;
}

.banner-close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.banner-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  z-index: 1;
}

.banner-icon svg {
  stroke: white;
}

.banner-content {
  flex: 1;
  z-index: 1;
}

.banner-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.banner-content p {
  margin: 0 0 0.75rem 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.progress-bar-mini {
  width: 100%;
  max-width: 300px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-mini-fill {
  height: 100%;
  background: white;
  border-radius: 3px;
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.banner-button {
  flex-shrink: 0;
  padding: 0.875rem 1.75rem;
  background: white;
  color: #667eea;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.banner-button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Success Message Banner */
.success-message-banner {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.success-message-banner.warning-banner {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.3);
}

.success-message-banner .banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.success-message-banner .banner-content {
  flex: 1;
}

.success-message-banner .banner-content p {
  margin: 0;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
}

.banner-cv-info {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  font-size: 0.925rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-cv-info strong {
  font-weight: 600;
}

.banner-match-score {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
}

.match-score-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.925rem;
  font-weight: 600;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.success-message-banner .banner-close {
  width: 28px;
  height: 28px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .dashboard-page {
    padding: 1rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .dashboard-content {
    padding: 0;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .card-content h2 {
    font-size: 1.25rem;
  }

  .card-arrow {
    display: none;
  }

  .active-session-banner {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .banner-content p {
    font-size: 0.875rem;
  }

  .progress-bar-mini {
    max-width: 100%;
  }
}
.profile-page {
  padding: 2rem;
  min-height: 100vh;
}

.profile-content {
  max-width: 900px;
}

.profile-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Profile Header Card */
.profile-header-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.profile-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  flex-shrink: 0;
  border: 4px solid rgba(255, 255, 255, 0.3);
}

.profile-header-info h2 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  font-weight: 700;
}

.profile-email {
  margin: 0 0 1rem 0;
  opacity: 0.9;
  font-size: 1rem;
}

.profile-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
}

/* Settings Tabs */
.settings-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
  overflow-x: auto;
}

.tab-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: #718096;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-button:hover {
  color: #667eea;
  background: #f7fafc;
}

.tab-button.active {
  color: #667eea;
  border-bottom-color: #667eea;
}

/* Settings Card */
.settings-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tab-content h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  color: #1a202c;
  font-weight: 700;
}

.tab-content h4 {
  margin: 0 0 0.75rem 0;
  font-size: 1.125rem;
  color: #1a202c;
  font-weight: 600;
}

/* Divider */
.divider {
  height: 1px;
  background: #e2e8f0;
  margin: 2rem 0;
}

/* Profile Form */
.profile-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2d3748;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group input:disabled,
.form-group textarea:disabled {
  background: #f7fafc;
  color: #718096;
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
}

.form-group small {
  font-size: 0.8rem;
  color: #718096;
}

/* Form Actions */
.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.95rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  background: #e2e8f0;
  color: #2d3748;
}

.btn-secondary:hover:not(:disabled) {
  background: #cbd5e0;
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-danger {
  background: #f56565;
  color: white;
}

.btn-danger:hover:not(:disabled) {
  background: #e53e3e;
}

.btn-danger:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Info Section */
.info-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f7fafc;
  border-radius: 8px;
}

.info-label {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.info-value {
  color: #718096;
  font-size: 0.95rem;
}

/* Subscription Styles */
.loading-state {
  text-align: center;
  padding: 2rem;
  color: #718096;
  font-size: 1.1rem;
}

.no-subscription {
  text-align: center;
  padding: 2rem;
  color: #718096;
  font-size: 1rem;
  background: #f7fafc;
  border-radius: 8px;
}

.subscription-current {
  background: #f7fafc;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.subscription-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.subscription-header h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #1a202c;
}

.subscription-price {
  margin: 0;
  color: #667eea;
  font-size: 1.125rem;
  font-weight: 600;
}

.subscription-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.detail-label {
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
}

.detail-value {
  font-size: 1rem;
  color: #1a202c;
  font-weight: 600;
}

.usage-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.usage-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.usage-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.usage-label {
  font-weight: 600;
  color: #2d3748;
  font-size: 0.95rem;
}

.usage-count {
  font-size: 0.95rem;
  color: #667eea;
  font-weight: 600;
}

.usage-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.usage-bar-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.subscription-actions {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.plan-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
}

.plan-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  transform: translateY(-4px);
}

.plan-card.current-plan {
  border-color: #667eea;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
}

.plan-header {
  margin-bottom: 1rem;
}

.plan-header h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: #1a202c;
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.plan-price .price {
  font-size: 1.75rem;
  font-weight: 700;
  color: #667eea;
}

.plan-price .period {
  font-size: 0.875rem;
  color: #718096;
}

.plan-description {
  margin: 0 0 1.5rem 0;
  color: #718096;
  font-size: 0.95rem;
  line-height: 1.5;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

.plan-features li {
  padding: 0.5rem 0;
  color: #2d3748;
  font-size: 0.95rem;
  border-bottom: 1px solid #f7fafc;
  display: flex;
  align-items: center;
}

.plan-features li:before {
  content: "✓";
  color: #48bb78;
  font-weight: bold;
  margin-right: 0.75rem;
  font-size: 1.125rem;
}

.plan-features li:last-child {
  border-bottom: none;
}

/* Toggle Switch */
.toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
  flex-shrink: 0;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #cbd5e0;
  transition: 0.3s;
  border-radius: 28px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.toggle input:checked + .toggle-slider {
  background-color: #667eea;
}

.toggle input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

.toggle input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Settings Form */
.settings-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Security Info */
.security-info {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.security-info p {
  margin: 0 0 1rem 0;
  color: #718096;
  font-size: 0.95rem;
}

/* Notification Settings */
.notification-settings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f7fafc;
  border-radius: 8px;
  gap: 1rem;
}

.notification-info {
  flex: 1;
}

.notification-info strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1a202c;
  font-size: 0.95rem;
}

.notification-info p {
  margin: 0;
  color: #718096;
  font-size: 0.875rem;
}

/* Privacy Settings */
.privacy-settings {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.privacy-item {
  padding: 1.5rem;
  background: #f7fafc;
  border-radius: 8px;
}

.privacy-item:has(.privacy-info) {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.privacy-label {
  display: block;
  font-weight: 600;
  color: #1a202c;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.privacy-description {
  margin: 0 0 1rem 0;
  color: #718096;
  font-size: 0.875rem;
}

.privacy-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  background: white;
  cursor: pointer;
}

.custom-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23667eea' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.5rem;
  transition: all 0.2s;
}

.custom-select:hover {
  border-color: #667eea;
}

.custom-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.privacy-info {
  flex: 1;
}

.privacy-info strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #1a202c;
  font-size: 0.95rem;
}

.privacy-info p {
  margin: 0;
  color: #718096;
  font-size: 0.875rem;
}

/* Danger Zone */
.danger-zone {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 2px solid #feb2b2;
  border-radius: 8px;
  background: #fff5f5;
}

.danger-zone h4 {
  color: #c53030;
  margin: 0 0 0.5rem 0;
}

.danger-zone p {
  margin: 0 0 1rem 0;
  color: #742a2a;
  font-size: 0.95rem;
}

.delete-confirm {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #feb2b2;
}

.delete-password-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.delete-password-input:focus {
  outline: none;
  border-color: #f56565;
  box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.1);
}

.delete-actions {
  display: flex;
  gap: 0.75rem;
}

.delete-actions .btn {
  flex: 1;
}

/* Message Banner */
.message-banner {
  margin-bottom: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

.message-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 600;
}

.badge-free {
  background: #e2e8f0;
  color: #2d3748;
}

.badge-success {
  background: #c6f6d5;
  color: #22543d;
}

.badge-warning {
  background: #feebc8;
  color: #7c2d12;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .profile-page {
    padding: 1rem;
  }

  .profile-header-card {
    flex-direction: column;
    text-align: center;
  }

  .profile-header-info h2 {
    font-size: 1.5rem;
  }

  .profile-stats {
    justify-content: center;
    gap: 1rem;
  }

  .settings-tabs {
    gap: 0;
  }

  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }

  .tab-button svg {
    width: 16px;
    height: 16px;
  }

  .settings-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .info-row {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .notification-item,
  .privacy-item:has(.privacy-info) {
    flex-direction: column;
    align-items: flex-start;
  }

  .toggle {
    align-self: flex-end;
  }

  .subscription-details {
    grid-template-columns: 1fr;
  }

  .plans-grid {
    grid-template-columns: 1fr;
  }

  .subscription-actions {
    justify-content: stretch;
  }

  .subscription-actions .btn {
    width: 100%;
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 2rem 2rem 1rem;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.modal-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-wrapper.upgrade-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.modal-icon-wrapper.cancel-icon {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.modal-icon {
  color: white;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
}

.modal-body {
  padding: 1.5rem 2rem;
}

.modal-body p {
  margin: 0 0 1rem 0;
  color: #4b5563;
  line-height: 1.6;
}

.modal-body ul {
  list-style: none;
  padding: 0;
}

.modal-body ul li {
  padding: 0.5rem 0;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal-body ul li:before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 1.2rem;
}

.modal-actions {
  padding: 1rem 2rem 2rem;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

.modal-actions .btn {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  font-size: 0.95rem;
}

.modal-actions .btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.modal-actions .btn-secondary:hover:not(:disabled) {
  background: #e5e7eb;
}

.modal-actions .btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modal-actions .btn-primary:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.modal-actions .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .modal-content {
    max-width: 100%;
    margin: 1rem;
  }

  .modal-header,
  .modal-body,
  .modal-actions {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
  }
}
.ats-checker-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.page-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert i {
  font-size: 1.25rem;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* ATS Sections */
.ats-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.ats-section {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* CV Grid */
.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.section-description {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.cv-card {
  position: relative;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s;
  overflow: hidden;
}

.cv-card:hover {
  border-color: #6366f1;
  box-shadow: 0 6px 12px rgba(99, 102, 241, 0.15);
  transform: translateY(-2px);
}

.cv-card-selected {
  border-color: #10b981 !important;
  border-width: 3px !important;
  box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3) !important;
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%) !important;
}

.cv-card-checkmark {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 48px;
  height: 48px;
  background: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: checkmarkPop 0.3s ease-out;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
  z-index: 10;
}

.cv-card-checkmark i {
  color: white;
  font-size: 1.5rem;
}

@keyframes checkmarkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.cv-card:hover .cv-card-action {
  opacity: 1;
  transform: translateX(0);
}

.cv-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cv-card-header i {
  font-size: 1.5rem;
  color: #6366f1;
}

.cv-card-header h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
}

.cv-score-display {
  margin: 1.5rem 0 1rem 0;
  text-align: center;
}

.cv-score-large {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cv-score-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-analyze-now {
  width: 100%;
  padding: 0.875rem 1.25rem;
  margin: 1.5rem 0 1rem 0;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.9375rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-analyze-now:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
}

.btn-analyze-now i {
  font-size: 1.125rem;
}

.cv-card-action {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  color: #6366f1;
  font-weight: 600;
  font-size: 0.875rem;
  opacity: 0.7;
  transform: translateX(-5px);
  transition: all 0.3s;
}

.cv-card-action i {
  font-size: 1rem;
}

/* Calculate Box */
.calculate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 1rem;
  color: white;
  text-align: center;
}

.calculate-box p {
  font-size: 1.125rem;
  margin: 0;
}

/* Buttons */
.btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: white;
  color: #6366f1;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  background: #6366f1;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background: #4f46e5;
}

.btn-success {
  background: #10b981;
  color: white;
}

.btn-success:hover:not(:disabled) {
  background: #059669;
}

/* Score Display */
.score-display {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.score-circle {
  width: 180px;
  height: 180px;
  border: 8px solid;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.score-value {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.score-grade {
  font-size: 1.5rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

.score-info {
  flex: 1;
}

.score-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.score-info p {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

/* Section Breakdown */
.sections-breakdown {
  margin-top: 2rem;
}

.sections-breakdown h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
}

.section-card {
  background: #f9fafb;
  border-left: 4px solid #6366f1;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-header h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0;
  text-transform: uppercase;
}

.section-score {
  font-size: 1.25rem;
  font-weight: 700;
}

.section-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.section-items.strengths {
  color: #10b981;
}

.section-items.issues {
  color: #ef4444;
  margin-top: 0.75rem;
}

.section-items .item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.section-items .item i {
  margin-top: 0.25rem;
  flex-shrink: 0;
}

/* Keyword Analysis */
.keyword-analysis {
  margin-top: 2rem;
  padding: 1.5rem;
  background: #eff6ff;
  border-radius: 0.75rem;
}

.keyword-analysis h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
}

.keyword-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Recommendations */
.recommendations {
  margin-top: 2rem;
}

.recommendations h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.recommendation-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  border-radius: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.recommendation-item i {
  color: #f59e0b;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.recommendation-item span {
  flex: 1;
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.action-note {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* Loading & Empty States */
.loading-spinner {
  text-align: center;
  padding: 3rem;
  color: #6b7280;
  font-size: 1.125rem;
}

.empty-state {
  text-align: center;
  padding: 3rem;
  color: #9ca3af;
}

.empty-state i {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #d1d5db;
}

.empty-state p {
  font-size: 1.125rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  .ats-checker-page {
    padding: 1rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .ats-section {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .score-display {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .score-circle {
    width: 150px;
    height: 150px;
  }

  .score-value {
    font-size: 2.5rem;
  }

  .score-grade {
    font-size: 1.25rem;
  }

  .score-info h3 {
    font-size: 1.25rem;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }

  .action-buttons {
    flex-direction: column;
  }

  .action-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .keyword-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h4 {
    font-size: 1rem;
  }

  .section-score {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .ats-checker-page {
    padding: 0.75rem;
  }

  .ats-section {
    padding: 1rem;
  }

  .keyword-stats {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 1.5rem;
  }
}
.ats-detail-page {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 80px);
}

/* Header */
.detail-header {
  margin-bottom: 2rem;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #f3f4f6;
  border: none;
  border-radius: 0.5rem;
  color: #4b5563;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1.5rem;
}

.back-button:hover {
  background: #e5e7eb;
  color: #1f2937;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.cv-subtitle {
  color: #6b7280;
  font-size: 1.125rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.alert i {
  font-size: 1.25rem;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Action Bar */
.action-bar {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 1rem;
  padding: 2.5rem 3rem;
  margin-bottom: 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(99, 102, 241, 0.2);
}

.action-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.action-bar-icon {
  font-size: 1.75rem;
  color: white;
  opacity: 0.9;
}

.action-bar-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  margin: 0;
  opacity: 0.95;
}

.btn-calculate-primary {
  padding: 1rem 2.5rem;
  background: rgba(255, 255, 255, 0.95);
  color: #6366f1;
  border: none;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-calculate-primary:hover:not(:disabled) {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-calculate-primary:disabled {
  opacity: 0.8;
  cursor: not-allowed;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Overall Score Card */
.overall-score-card {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.score-visual {
  display: flex;
  justify-content: center;
}

.score-circle {
  width: 220px;
  height: 220px;
  border: 10px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  position: relative;
}

.score-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.score-number {
  font-size: 2.8rem; /* 20% smaller: 3.5rem * 0.8 */
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.score-grade {
  font-size: 1.75rem;
  color: #6b7280;
  font-weight: 600;
  margin-top: 0.5rem;
}

.score-label {
  font-size: 0.95rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  font-weight: 500;
}

/* CV Info Header */
.cv-info-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e5e7eb;
  flex-wrap: wrap;
  gap: 1rem;
}

.cv-name-display {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #1f2937;
  font-size: 1.125rem;
  font-weight: 600;
}

.cv-name-display i {
  color: #6366f1;
  font-size: 1.25rem;
}

.btn-edit-cv {
  padding: 0.625rem 1.25rem;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.btn-edit-cv:hover {
  background: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-edit-cv i {
  font-size: 1rem;
}

.score-summary h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
}

.score-description {
  color: #6b7280;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.action-buttons-top {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Buttons */
.btn {
  padding: 0.875rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  transition: all 0.2s;
  text-decoration: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #4f46e5 0%, #4338ca 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
  background: white;
  color: #6366f1;
  border: 2px solid #6366f1;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.btn-secondary:hover:not(:disabled) {
  background: #f5f3ff;
  border-color: #4f46e5;
  color: #4f46e5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-recalculate-urgent {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
  animation: pulse-urgent 2s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-recalculate-urgent:hover:not(:disabled) {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245, 158, 11, 0.5);
}

@keyframes pulse-urgent {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  }
  50% {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
  }
}

/* Parameters Section */
.parameters-section {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title i {
  font-size: 1.5rem;
  color: #6366f1;
}

.section-subtitle {
  color: #6b7280;
  font-size: 1.0625rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.parameters-grid {
  display: grid;
  gap: 1.5rem;
}

/* Parameter Card */
.parameter-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.75rem;
  transition: all 0.3s;
}

.parameter-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.1);
}

.parameter-header {
  margin-bottom: 1.5rem;
}

.parameter-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.parameter-title h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0;
}

.score-badge {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  color: white;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.score-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.score-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s ease-in-out;
  position: relative;
}

.score-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Feedback Sections */
.parameter-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feedback-section {
  padding: 1.25rem;
  border-radius: 0.5rem;
}

.feedback-section.strengths {
  background: #d1fae5;
  border-left: 4px solid #10b981;
}

.feedback-section.issues {
  background: #fee2e2;
  border-left: 4px solid #ef4444;
}

.feedback-section.no-feedback {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  text-align: center;
}

.feedback-title {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.875rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feedback-section.strengths .feedback-title {
  color: #065f46;
}

.feedback-section.issues .feedback-title {
  color: #991b1b;
}

.feedback-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.feedback-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9875rem;
  line-height: 1.6;
}

.feedback-section.strengths .feedback-item {
  color: #065f46;
}

.feedback-section.issues .feedback-item {
  color: #991b1b;
}

.feedback-item i {
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 1.125rem;
}

/* Keyword Section */
.keyword-section {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.keyword-section .section-subtitle {
  color: #1e40af !important;
  font-weight: 500;
}

.keyword-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.keyword-stat-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  transition: all 0.3s;
}

.keyword-stat-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 8px rgba(99, 102, 241, 0.1);
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.75rem;
  flex-shrink: 0;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #1f2937;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: #6b7280;
  font-weight: 500;
}

/* Keyword section specific stat colors - using !important to override all other styles */
.keyword-section .stat-value {
  color: #1e40af !important;
}

.keyword-section .stat-label {
  color: #1e40af !important;
  font-weight: 600;
}

.keywords-display-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.keywords-found {
  background: #d1fae5;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid #a7f3d0;
}

.keywords-found h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #065f46 !important;
  margin-bottom: 1rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.keywords-found h4 i {
  color: #10b981;
  font-size: 1.25rem;
}

.keywords-missing {
  background: #fef3c7;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid #fde68a;
}

.keywords-missing h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #92400e !important;
  margin-bottom: 0.75rem;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.keywords-missing h4 i {
  color: #f59e0b;
  font-size: 1.25rem;
}

.keywords-missing-description {
  color: #92400e !important;
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.keyword-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.keyword-tag {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s;
}

.keyword-tag-found {
  background: #10b981;
  color: white;
}

.keyword-tag-found:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(16, 185, 129, 0.3);
}

.keyword-tag-found i {
  font-size: 0.875rem;
}

.keyword-tag-missing {
  background: #fbbf24;
  color: #78350f;
}

.keyword-tag-missing:hover {
  background: #f59e0b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.3);
}

.keyword-tag-missing i {
  font-size: 0.875rem;
}

.stat-description {
  font-size: 0.8125rem;
  color: #6b7280;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.keyword-tips {
  margin-top: 2rem;
  background: #f0f9ff;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid #bae6fd;
}

.keyword-tips h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #0c4a6e;
  margin: 0 0 1rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.keyword-tips h4 i {
  color: #0ea5e9;
  font-size: 1.25rem;
}

.keyword-tips ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.keyword-tips li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #0c4a6e;
  font-size: 0.9875rem;
  line-height: 1.6;
}

.keyword-tips li i {
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: #0ea5e9;
  font-size: 1.125rem;
}

/* Formatting Section */
.formatting-section {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.formatting-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 2rem;
}

.formatting-score {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.score-circle-small {
  width: 100px;
  height: 100px;
  border: 6px solid;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  flex-shrink: 0;
}

.score-circle-small span {
  font-size: 1.4rem; /* 20% smaller: 1.75rem * 0.8 */
  font-weight: 800;
  text-align: center;
}

.formatting-score h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.5rem 0;
}

.formatting-score p {
  color: #6b7280;
  margin: 0;
}

.formatting-issues {
  background: #fef3c7;
  padding: 1.25rem;
  border-radius: 0.5rem;
  border-left: 4px solid #f59e0b;
}

.formatting-issues h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 0.875rem 0;
}

.formatting-issues ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.formatting-issues li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #92400e;
  font-size: 0.9875rem;
  line-height: 1.6;
}

.formatting-issues li i {
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: #f59e0b;
}

/* Recommendations Section */
.recommendations-section {
  background: white;
  border-radius: 1rem;
  padding: 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.recommendations-list {
  display: grid;
  gap: 1rem;
}

.recommendation-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fed7aa 100%);
  border-left: 4px solid #f59e0b;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.recommendation-card:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 8px rgba(245, 158, 11, 0.2);
}

.rec-number {
  width: 40px;
  height: 40px;
  background: #f59e0b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.125rem;
  flex-shrink: 0;
}

.rec-content {
  flex: 1;
}

.rec-content p {
  color: #92400e;
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0;
  font-weight: 500;
}

/* Bottom Actions */
.bottom-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

/* Loading & Error States */
.loading-spinner {
  text-align: center;
  padding: 4rem;
  color: #6b7280;
}

.loading-spinner i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #6366f1;
}

.loading-spinner p {
  font-size: 1.125rem;
  margin: 0;
}

.error-state {
  text-align: center;
  padding: 4rem;
  color: #9ca3af;
}

.error-state i {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: #ef4444;
}

.error-state h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .overall-score-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .action-buttons-top {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .ats-detail-page {
    padding: 1rem;
  }

  .header-content h1 {
    font-size: 1.5rem;
  }

  .cv-subtitle {
    font-size: 1rem;
  }

  .action-bar {
    padding: 1.5rem;
  }

  .action-bar-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .action-bar-text {
    font-size: 1rem;
  }

  .btn-calculate-primary {
    width: 100%;
    justify-content: center;
  }

  .overall-score-card {
    padding: 1.5rem;
  }

  .score-circle {
    width: 180px;
    height: 180px;
    border-width: 8px;
  }

  .score-number {
    font-size: 2.75rem;
  }

  .score-grade {
    font-size: 1.5rem;
  }

  .score-summary h2 {
    font-size: 1.5rem;
  }

  .parameters-section,
  .keyword-section,
  .formatting-section,
  .recommendations-section {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .parameter-card {
    padding: 1.25rem;
  }

  .keyword-stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .action-buttons-top,
  .bottom-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .formatting-score {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .ats-detail-page {
    padding: 0.75rem;
  }

  .overall-score-card,
  .parameters-section,
  .keyword-section,
  .formatting-section,
  .recommendations-section {
    padding: 1rem;
  }

  .score-circle {
    width: 150px;
    height: 150px;
  }

  .score-number {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.25rem;
  }

  .parameter-title h3 {
    font-size: 1.0625rem;
  }

  .score-badge {
    font-size: 1rem;
    padding: 0.375rem 0.75rem;
  }
}
/* Basic Template - Entry Level Professional CV Design */
.basic-template {
  font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
  font-size: 11pt;
  color: #000000;
  line-height: 1.3;
  max-width: 8.5in;
  margin: 0 auto;
  padding: 0.75in 0.75in;
  background: white;
  --accent-color: #333333;
}

/* Header Section */
.basic-template .cv-header {
  text-align: center;
  margin-bottom: 0.3in;
  padding-bottom: 0;
  border-bottom: none;
}

.basic-template .header-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.basic-template .header-text {
  flex: 1;
  text-align: center;
}

.basic-template .cv-name {
  font-size: 18pt;
  font-weight: bold;
  color: var(--accent-color, #333333);
  margin: 0 0 4pt 0;
  letter-spacing: 0.5pt;
  text-transform: uppercase;
}

.basic-template .cv-contact-line {
  font-size: 10pt;
  color: #000000;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 8pt;
  flex-wrap: wrap;
}

.basic-template .cv-contact-line span {
  white-space: nowrap;
}

.basic-template .cv-contact-line span:not(:last-child)::after {
  content: '|';
  margin-left: 8pt;
  color: #666666;
}

/* Photo */
.basic-template .header-photo {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid var(--accent-color, #333333);
}

.basic-template .header-photo img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

/* Section Styles */
.basic-template .cv-section {
  margin-bottom: 18pt;
}

.basic-template .section-title {
  font-size: 12pt;
  font-weight: bold;
  color: #000000;
  margin: 0 0 8pt 0;
  padding-bottom: 2pt;
  text-transform: uppercase;
  letter-spacing: 0.5pt;
  border-bottom: 1pt solid var(--accent-color, #333333);
}

/* Education & Experience Items */
.basic-template .experience-item,
.basic-template .education-item,
.basic-template .certification-item {
  margin-bottom: 14pt;
  page-break-inside: avoid;
}

.basic-template .item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12pt;
  margin-bottom: 4pt;
}

.basic-template .item-left {
  flex: 1;
}

.basic-template .item-right {
  text-align: right;
  flex-shrink: 0;
  min-width: 120px;
}

/* Institution / Company Names */
.basic-template .item-institution,
.basic-template .item-company,
.basic-template .item-org {
  font-size: 11pt;
  font-weight: bold;
  color: var(--accent-color, #333333);
  margin: 0 0 2pt 0;
  letter-spacing: 0.3pt;
}

/* Degree / Job Title */
.basic-template .item-degree,
.basic-template .item-job-title,
.basic-template .item-cert-name {
  font-size: 10.5pt;
  font-style: italic;
  color: #000000;
  margin: 0 0 2pt 0;
}

/* Field of Study / Additional Details */
.basic-template .item-field,
.basic-template .item-coursework {
  font-size: 10pt;
  color: #000000;
  margin: 2pt 0 0 0;
  line-height: 1.4;
}

/* Location and Date */
.basic-template .item-location {
  font-size: 10pt;
  color: #000000;
  margin: 0 0 2pt 0;
  text-align: right;
}

.basic-template .item-date {
  font-size: 10pt;
  color: #000000;
  white-space: nowrap;
  text-align: right;
}

/* Responsibilities / Bullet Points */
.basic-template .item-responsibilities {
  margin-top: 6pt;
  width: 100%;
}

.basic-template .responsibility-item {
  display: flex;
  gap: 6pt;
  margin-bottom: 3pt;
  font-size: 10pt;
  line-height: 1.4;
  color: #000000;
  width: 100%;
}

.basic-template .responsibility-item .bullet {
  flex-shrink: 0;
  font-weight: bold;
}

.basic-template .responsibility-item span:last-child {
  flex: 1;
}

/* Skills Section */
.basic-template .skills-section {
  display: flex;
  gap: 6pt;
  font-size: 10pt;
}

.basic-template .skills-label {
  font-weight: bold;
  color: var(--accent-color, #333333);
  flex-shrink: 0;
}

.basic-template .skills-content {
  flex: 1;
  color: #000000;
}

.basic-template .skills-content span {
  display: inline;
}

/* Skills Grid - Two Columns */
.basic-template .skills-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6pt 12pt;
  font-size: 10pt;
}

.basic-template .skill-item-inline {
  display: flex;
  gap: 6pt;
  align-items: flex-start;
  color: #000000;
}

.basic-template .skill-item-inline .bullet {
  flex-shrink: 0;
  font-weight: bold;
}

.basic-template .skill-proficiency {
  font-size: 9pt;
  font-style: italic;
  color: #4b5563;
}

/* Professional Summary */
.basic-template .summary-text {
  font-size: 10pt;
  color: #000000;
  line-height: 1.5;
  margin: 0;
  text-align: justify;
}

/* Full width sections */
.basic-template .cv-section-full-width {
  width: 100%;
}

/* Print Styles */
@media print {
  .basic-template {
    max-width: 100%;
    padding: 0.5in 0.75in;
    font-size: 11pt;
  }

  .basic-template .cv-section {
    page-break-inside: avoid;
  }

  .basic-template .experience-item,
  .basic-template .education-item {
    page-break-inside: avoid;
  }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .basic-template {
    padding: 1rem;
    font-size: 10pt;
  }

  .basic-template .header-content {
    flex-direction: column;
    align-items: center;
  }

  .basic-template .header-text {
    text-align: center;
  }

  .basic-template .item-header {
    flex-direction: column;
  }

  .basic-template .item-right {
    text-align: left;
    margin-top: 4pt;
  }
}
.mid-level-template {
  font-family: Georgia, serif;
  font-size: 14px;
  color: #1a1a1a;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: white;
}

.mid-level-template .cv-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 3px double #2563eb;
}

.mid-level-template .cv-name {
  font-size: 32px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 0.5rem 0;
  letter-spacing: 1px;
}

.mid-level-template .cv-title {
  font-size: 18px;
  font-weight: normal;
  color: #2563eb;
  margin: 0 0 1rem 0;
  font-style: italic;
}

.mid-level-template .cv-contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 13px;
  color: #555555;
}

.mid-level-template .contact-item {
  display: inline-block;
  position: relative;
}

.mid-level-template .contact-item:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -0.85rem;
  color: #cccccc;
}

.mid-level-template .cv-section {
  margin-bottom: 2rem;
}

.mid-level-template .section-title {
  font-size: 20px;
  font-weight: bold;
  color: #2563eb;
  margin: 0 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e5e7eb;
}

.mid-level-template .summary-text {
  margin: 0;
  color: #1a1a1a;
  text-align: justify;
}

.mid-level-template .experience-item,
.mid-level-template .education-item,
.mid-level-template .certification-item {
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid #e5e7eb;
}

.mid-level-template .item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.mid-level-template .item-title {
  font-size: 16px;
  font-weight: bold;
  color: #1a1a1a;
  margin: 0 0 0.25rem 0;
}

.mid-level-template .item-date {
  font-size: 13px;
  color: #555555;
  white-space: nowrap;
  font-style: italic;
}

.mid-level-template .item-company {
  font-size: 14px;
  color: #555555;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.mid-level-template .item-description-wrapper {
  width: 100%;
  margin-top: 0.5rem;
}

.mid-level-template .item-description {
  margin: 0;
  color: #1a1a1a;
  width: 100%;
}

.mid-level-template .skills-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.mid-level-template .skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.mid-level-template .skill-name {
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 500;
}

.mid-level-template .skill-level {
  font-size: 12px;
  color: #2563eb;
  font-weight: 600;
  text-transform: uppercase;
}

/* Skills Grid - Two Columns */
.mid-level-template .skills-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.mid-level-template .skill-item-inline {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: #1a1a1a;
}

.mid-level-template .skill-item-inline .bullet {
  flex-shrink: 0;
  font-weight: bold;
  color: #2563eb;
}

.mid-level-template .skill-proficiency {
  font-size: 12px;
  font-style: italic;
  color: #4b5563;
  font-weight: normal;
}

/* Full width sections */
.mid-level-template .cv-section-full-width {
  width: 100%;
}

/* Experience Bullet Points */
.mid-level-template .experience-bullet-list {
  margin: 0;
  padding-left: 1.25rem;
  list-style-type: disc;
}

.mid-level-template .experience-bullet-item {
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  line-height: 1.7;
}

.mid-level-template .experience-bullet-item:last-child {
  margin-bottom: 0;
}
.professional-template {
  font-family: Garamond, Georgia, "Times New Roman", serif;
  font-size: 11pt;
  color: #000000;
  line-height: 1.5;
  max-width: 850px;
  margin: 0 auto;
  padding: 2.5rem;
  background: white;
}

.professional-template .cv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  /* Removed border-bottom as per requirement */
}

.professional-template .header-content {
  flex: 1;
}

.professional-template .cv-name {
  font-family: Garamond, Georgia, "Times New Roman", serif;
  font-size: 18pt;
  font-weight: 700;
  color: #000000;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.5px;
}

.professional-template .cv-title {
  font-size: 18px;
  font-weight: 400;
  color: #dc2626;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.professional-template .cv-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  font-size: 13px;
  color: #444444;
}

.professional-template .contact-item {
  text-align: right;
}

.professional-template .cv-section {
  margin-bottom: 2.5rem;
}

/* Add extra spacing after SKILLS section */
.professional-template .cv-section:has(.skills-grid-two-col) {
  margin-bottom: 3rem;
}

.professional-template .section-title {
  font-size: 12pt;
  font-weight: 700;
  color: #000000;
  margin: 0 0 1.25rem 0;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding-left: 0;
  border-left: none;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #dc2626;
}

/* Remove bottom border from Professional Summary section title */
.professional-template .cv-section:first-of-type .section-title {
  border-bottom: none;
  padding-bottom: 0;
}

.professional-template .section-content {
  padding-left: 0;
}

.professional-template .summary-text {
  margin: 0 0 1.5rem 0;
  color: #000000;
  font-size: 11pt;
  line-height: 1.5;
}

.professional-template .experience-item,
.professional-template .education-item,
.professional-template .certification-item {
  margin-bottom: 1.75rem;
  position: relative;
}

.professional-template .item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.professional-template .item-left {
  flex: 1;
}

.professional-template .item-right {
  flex-shrink: 0;
}

.professional-template .item-title {
  font-size: 11pt;
  font-weight: 700;
  color: #000000;
  margin: 0 0 0.25rem 0;
}

.professional-template .item-date {
  font-size: 10pt;
  color: #444444;
  white-space: nowrap;
  font-weight: 600;
}

.professional-template .item-company {
  font-size: 11pt;
  color: #dc2626;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.professional-template .item-job-title {
  font-size: 11pt;
  color: #000000;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.professional-template .item-location {
  font-size: 10pt;
  color: #444444;
  font-weight: 600;
  text-align: right;
}

.professional-template .item-company-cert {
  font-size: 15px;
  color: #000000;
  margin-bottom: 0.5rem;
}

.professional-template .item-description-wrapper {
  width: 100%;
  margin-top: 0.75rem;
}

.professional-template .item-description {
  margin: 0;
  color: #000000;
  line-height: 1.5;
  width: 100%;
}

.professional-template .skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.professional-template .skill-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #f9fafb;
  border-left: 3px solid #dc2626;
}

.professional-template .skill-name {
  font-size: 11pt;
  color: #000000;
  font-weight: 600;
}

.professional-template .skill-level {
  font-size: 12px;
  color: #dc2626;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Skills Grid - Two Columns */
.professional-template .skills-grid-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
}

.professional-template .skill-item-inline {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  color: #000000;
}

.professional-template .skill-item-inline .bullet {
  flex-shrink: 0;
  font-weight: bold;
  color: var(--accent-color, #dc2626);
}

.professional-template .skill-proficiency {
  font-size: 13px;
  font-style: italic;
  color: #666666;
  font-weight: normal;
}

/* Full width sections */
.professional-template .cv-section-full-width {
  width: 100%;
}

/* Experience Bullet Points */
.professional-template .experience-bullet-list {
  margin: 0;
  padding-left: 0;
  list-style-type: disc;
}

.professional-template .experience-bullet-item {
  margin-bottom: 0.5rem;
  color: #000000;
  line-height: 1.5;
}

.professional-template .experience-bullet-item:last-child {
  margin-bottom: 0;
}
/* Creative Template - Sidebar Layout */
.creative-template {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10pt;
  line-height: 1.5;
  color: #2c2c2c;
}

.creative-layout {
  display: flex;
  min-height: 100%;
}

/* Sidebar - 35% width */
.cv-sidebar {
  width: 35%;
  padding: 0.5in 0.4in;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 20pt;
}

.sidebar-photo {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 10pt;
}

.sidebar-photo img {
  width: 120pt;
  height: 120pt;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 3pt solid white;
}

.sidebar-section {
  margin-bottom: 16pt;
}

.sidebar-title {
  font-size: 11pt;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5pt;
  margin-bottom: 10pt;
  padding-bottom: 6pt;
  border-bottom: 2pt solid rgba(255, 255, 255, 0.5);
}

.sidebar-content {
  font-size: 9.5pt;
  line-height: 1.5;
}

.contact-item {
  margin-bottom: 8pt;
}

.contact-label {
  font-weight: bold;
  font-size: 8.5pt;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 2pt;
}

.contact-value {
  font-size: 9pt;
  word-wrap: break-word;
}

.skill-tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 4pt 8pt;
  border-radius: 3pt;
  display: inline-block;
  margin: 3pt 3pt 3pt 0;
  font-size: 9pt;
}

.sidebar-edu-item {
  margin-bottom: 12pt;
}

.sidebar-edu-degree {
  font-weight: bold;
  font-size: 10pt;
  margin-bottom: 2pt;
}

.sidebar-edu-institution {
  font-size: 9pt;
  margin-bottom: 2pt;
  opacity: 0.95;
}

.sidebar-edu-year {
  font-size: 8.5pt;
  opacity: 0.85;
}

/* Content Area - 65% width */
.cv-content {
  width: 65%;
  padding: 0.5in 0.5in;
  background: white;
}

.content-header {
  margin-bottom: 20pt;
  padding-bottom: 10pt;
  border-bottom: 2pt solid #e0e0e0;
}

.cv-name {
  font-size: 24pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 4pt;
  text-transform: uppercase;
  letter-spacing: 1pt;
}

.cv-title {
  font-size: 12pt;
  color: #666666;
  font-weight: 500;
}

.content-section {
  margin-bottom: 18pt;
}

.section-title {
  font-size: 13pt;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5pt;
  margin-bottom: 10pt;
  padding-bottom: 4pt;
  border-bottom: 2pt solid currentColor;
}

.summary-text {
  font-size: 10pt;
  line-height: 1.6;
  text-align: justify;
  color: #3a3a3a;
}

.experience-item {
  margin-bottom: 14pt;
  page-break-inside: avoid;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 3pt;
}

.exp-title {
  font-size: 11pt;
  font-weight: bold;
  color: #1a1a1a;
}

.exp-date {
  font-size: 9pt;
  color: #888888;
  font-style: italic;
}

.exp-company {
  font-size: 10pt;
  color: #444444;
  font-weight: 600;
  margin-bottom: 2pt;
}

.exp-location {
  font-size: 9pt;
  color: #666666;
  margin-bottom: 6pt;
}

.exp-responsibilities {
  margin-top: 6pt;
}

.responsibility-item {
  display: flex;
  gap: 6pt;
  margin-bottom: 3pt;
  font-size: 9.5pt;
  line-height: 1.5;
}

.responsibility-item .bullet {
  color: currentColor;
  flex-shrink: 0;
}

.cert-item {
  margin-bottom: 10pt;
}

.cert-name {
  font-size: 10.5pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2pt;
}

.cert-org {
  font-size: 9.5pt;
  color: #555555;
  margin-bottom: 2pt;
}

.cert-date {
  font-size: 9pt;
  color: #888888;
  font-style: italic;
}

/* Print styles */
@media print {
  .creative-template {
    width: 8.5in;
    min-height: 11in;
  }

  .creative-layout {
    display: flex;
  }

  .cv-sidebar {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
/* Modern Template - Two Column with Accent Bar */
.modern-template {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  font-size: 10pt;
  line-height: 1.5;
  color: #2c2c2c;
}

.modern-container {
  padding: 0.6in 0.7in;
}

/* Accent Bar */
.accent-bar {
  height: 8pt;
  width: 100%;
  margin-bottom: 16pt;
}

/* Header */
.cv-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12pt;
  padding-bottom: 12pt;
  border-bottom: 1pt solid #e0e0e0;
}

.header-left {
  flex: 1;
}

.cv-name {
  font-size: 24pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 4pt;
  text-transform: uppercase;
  letter-spacing: 1pt;
}

.cv-title {
  font-size: 13pt;
  font-weight: 600;
  margin-top: 4pt;
}

.header-photo {
  width: 80pt;
  height: 80pt;
  margin-left: 16pt;
}

.header-photo img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2pt solid #e0e0e0;
}

/* Contact Bar */
.contact-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12pt;
  font-size: 9pt;
  color: #666666;
  margin-bottom: 18pt;
  padding-bottom: 12pt;
  border-bottom: 1pt solid #e0e0e0;
}

.contact-item {
  display: flex;
  align-items: center;
}

.contact-item:not(:last-child)::after {
  content: '|';
  margin-left: 12pt;
  color: #cccccc;
}

/* Two Column Layout */
.modern-layout {
  display: flex;
  gap: 20pt;
}

.main-content {
  width: 62%;
}

.sidebar-content {
  width: 38%;
}

/* Content Sections */
.content-section {
  margin-bottom: 18pt;
}

.section-title {
  font-size: 12pt;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5pt;
  margin-bottom: 10pt;
  padding-bottom: 4pt;
  border-bottom: 2pt solid currentColor;
}

.summary-text {
  font-size: 10pt;
  line-height: 1.6;
  text-align: justify;
  color: #3a3a3a;
}

/* Experience Items */
.experience-item {
  margin-bottom: 14pt;
  page-break-inside: avoid;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2pt;
}

.exp-title {
  font-size: 11.5pt;
  font-weight: bold;
  color: #1a1a1a;
}

.exp-date {
  font-size: 9pt;
  color: #888888;
  font-style: italic;
}

.exp-company {
  font-size: 10.5pt;
  font-weight: 600;
  margin-bottom: 2pt;
}

.exp-location {
  font-size: 9pt;
  color: #666666;
  margin-bottom: 6pt;
}

.exp-responsibilities {
  margin-top: 6pt;
}

.responsibility-item {
  display: flex;
  gap: 6pt;
  margin-bottom: 3pt;
  font-size: 9.5pt;
  line-height: 1.5;
}

.responsibility-item .bullet {
  flex-shrink: 0;
}

/* Sidebar Sections */
.sidebar-section {
  margin-bottom: 18pt;
}

.skills-list {
  display: flex;
  flex-direction: column;
  gap: 4pt;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 6pt;
  font-size: 9.5pt;
}

.skill-bullet {
  width: 6pt;
  height: 6pt;
  border-radius: 50%;
  flex-shrink: 0;
}

.skill-name {
  font-weight: 500;
  color: #1a1a1a;
}

.skill-level {
  font-size: 8.5pt;
  color: #888888;
}

/* Education Items */
.edu-item {
  margin-bottom: 12pt;
  padding-bottom: 10pt;
  border-bottom: 1pt solid #e0e0e0;
}

.edu-item:last-child {
  border-bottom: none;
}

.edu-degree {
  font-size: 10.5pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2pt;
}

.edu-institution {
  font-size: 9.5pt;
  color: #444444;
  margin-bottom: 2pt;
}

.edu-field {
  font-size: 9pt;
  color: #666666;
  margin-bottom: 2pt;
}

.edu-year {
  font-size: 9pt;
  color: #888888;
}

.edu-gpa {
  font-size: 8.5pt;
  color: #888888;
  margin-top: 2pt;
}

/* Certification Items */
.cert-item {
  margin-bottom: 10pt;
  padding-bottom: 8pt;
  border-bottom: 1pt solid #e0e0e0;
}

.cert-item:last-child {
  border-bottom: none;
}

.cert-name {
  font-size: 10pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2pt;
}

.cert-org {
  font-size: 9pt;
  color: #555555;
  margin-bottom: 2pt;
}

.cert-date {
  font-size: 8.5pt;
  color: #888888;
  font-style: italic;
}

/* Print styles */
@media print {
  .modern-template {
    width: 8.5in;
    min-height: 11in;
  }

  .accent-bar {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  .modern-layout {
    display: flex;
  }
}
/* Executive Template - Elegant Serif Design */
.executive-template {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 11pt;
  line-height: 1.5;
  color: #1a1a1a;
}

.executive-container {
  padding: 0.75in;
}

/* Centered Header */
.cv-header {
  text-align: center;
  padding-bottom: 20pt;
  margin-bottom: 20pt;
  border-bottom: 3pt double;
}

.cv-name {
  font-size: 26pt;
  font-weight: bold;
  margin-bottom: 8pt;
  letter-spacing: 2pt;
}

.cv-title {
  font-size: 14pt;
  color: #444444;
  margin-bottom: 12pt;
  font-style: italic;
  font-weight: normal;
}

.cv-contact {
  font-size: 10pt;
  color: #666666;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8pt;
}

.cv-contact span:not(:last-child)::after {
  content: ' • ';
  font-weight: bold;
  margin-left: 8pt;
}

/* Section Titles */
.cv-section {
  margin-bottom: 20pt;
}

.section-title {
  font-size: 14pt;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1.5pt;
  margin-bottom: 12pt;
  padding-bottom: 6pt;
  border-bottom: 2pt solid;
}

/* Summary */
.summary-text {
  font-size: 11pt;
  line-height: 1.6;
  text-align: justify;
  color: #2d2d2d;
  font-style: italic;
}

/* Experience Items */
.experience-item {
  margin-bottom: 16pt;
  page-break-inside: avoid;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6pt;
}

.exp-left {
  flex: 1;
}

.exp-right {
  text-align: right;
  margin-left: 16pt;
}

.exp-title {
  font-size: 12pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 3pt;
}

.exp-company {
  font-size: 11pt;
  font-weight: 600;
  margin-bottom: 3pt;
}

.exp-location {
  font-size: 10pt;
  color: #888888;
}

.exp-date {
  font-size: 10pt;
  color: #666666;
  font-style: italic;
}

.exp-responsibilities {
  margin-top: 6pt;
  margin-left: 16pt;
}

.responsibility-item {
  display: flex;
  gap: 8pt;
  margin-bottom: 4pt;
  font-size: 10.5pt;
  line-height: 1.5;
  text-align: justify;
}

.responsibility-item .bullet {
  font-weight: bold;
  flex-shrink: 0;
  margin-left: -16pt;
  margin-right: 8pt;
}

/* Education Items */
.edu-item {
  margin-bottom: 12pt;
}

.edu-degree {
  font-size: 11.5pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 3pt;
}

.edu-institution {
  font-size: 10.5pt;
  font-weight: 600;
  margin-bottom: 2pt;
}

.edu-details {
  font-size: 10pt;
  color: #666666;
}

/* Skills - Two Columns */
.skills-container {
  -moz-column-count: 2;
       column-count: 2;
  -moz-column-gap: 24pt;
       column-gap: 24pt;
}

.skill-item {
  -moz-column-break-inside: avoid;
       break-inside: avoid;
  margin-bottom: 6pt;
  font-size: 10.5pt;
}

.skill-name {
  font-weight: 600;
  color: #1a1a1a;
}

.skill-level {
  font-size: 9.5pt;
  color: #888888;
  font-style: italic;
}

/* Certifications */
.cert-item {
  margin-bottom: 10pt;
}

.cert-name {
  font-size: 11pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2pt;
}

.cert-details {
  font-size: 10pt;
  color: #666666;
}

/* Print styles */
@media print {
  .executive-template {
    width: 8.5in;
    min-height: 11in;
  }

  .cv-header {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
/* Minimalist Template - Clean Spacious Design */
.minimalist-template {
  font-family: 'Helvetica', 'Arial', sans-serif;
  font-size: 10.5pt;
  line-height: 1.5;
  color: #2c2c2c;
}

.minimalist-container {
  padding: 0.8in 0.9in;
}

/* Simple Header */
.cv-header {
  margin-bottom: 24pt;
  padding-bottom: 12pt;
  border-bottom: 1pt solid #e0e0e0;
}

.cv-name {
  font-size: 28pt;
  font-weight: 300;
  color: #1a1a1a;
  margin-bottom: 6pt;
  letter-spacing: -0.5pt;
}

.cv-title {
  font-size: 12pt;
  color: #666666;
  margin-bottom: 10pt;
  font-weight: 400;
}

.cv-contact {
  font-size: 9.5pt;
  color: #888888;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  gap: 16pt;
}

.contact-item {
  display: inline-block;
}

/* Section Titles */
.cv-section {
  margin-bottom: 20pt;
}

.section-title {
  font-size: 11pt;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2pt;
  margin-bottom: 12pt;
}

/* Summary */
.summary-text {
  font-size: 10.5pt;
  line-height: 1.6;
  color: #3a3a3a;
}

/* Experience Items */
.experience-item {
  margin-bottom: 14pt;
  page-break-inside: avoid;
}

.exp-header,
.exp-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2pt;
}

.exp-left {
  flex: 1;
}

.exp-right {
  text-align: right;
  margin-left: 16pt;
}

.exp-title {
  font-size: 11.5pt;
  font-weight: 600;
  color: #1a1a1a;
}

.exp-company {
  font-size: 10.5pt;
  color: #555555;
}

.exp-date {
  font-size: 9.5pt;
  color: #888888;
}

.exp-location {
  font-size: 9.5pt;
  color: #999999;
}

.exp-responsibilities {
  margin-top: 6pt;
}

.responsibility-item {
  display: flex;
  gap: 6pt;
  margin-bottom: 4pt;
  font-size: 10pt;
  line-height: 1.5;
}

.responsibility-item .dash {
  color: #cccccc;
  flex-shrink: 0;
}

/* Education Items */
.edu-item {
  margin-bottom: 12pt;
}

.edu-header {
  display: flex;
  justify-content: space-between;
}

.edu-left {
  flex: 1;
}

.edu-right {
  text-align: right;
  margin-left: 16pt;
}

.edu-degree {
  font-size: 11pt;
  font-weight: 600;
  color: #1a1a1a;
}

.edu-institution {
  font-size: 10pt;
  color: #555555;
}

.edu-details {
  font-size: 9.5pt;
  color: #666666;
  margin-top: 2pt;
}

.edu-date {
  font-size: 9.5pt;
  color: #888888;
}

/* Skills - Inline */
.skills-inline {
  font-size: 10pt;
  line-height: 1.8;
  color: #3a3a3a;
}

.skill-item-inline {
  display: inline;
}

.separator {
  color: #cccccc;
  margin: 0 6pt;
}

/* Certifications */
.cert-item {
  margin-bottom: 10pt;
}

.cert-header {
  display: flex;
  justify-content: space-between;
}

.cert-left {
  flex: 1;
}

.cert-right {
  text-align: right;
  margin-left: 16pt;
}

.cert-name {
  font-size: 10.5pt;
  font-weight: 600;
  color: #1a1a1a;
}

.cert-org {
  font-size: 10pt;
  color: #555555;
}

.cert-date {
  font-size: 9.5pt;
  color: #888888;
}

/* Print styles */
@media print {
  .minimalist-template {
    width: 8.5in;
    min-height: 11in;
  }
}
/* Technical Template - Code-Inspired Layout */
.technical-template {
  font-family: 'Courier New', 'Consolas', monospace;
  font-size: 10pt;
  line-height: 1.4;
  color: #1a1a1a;
}

.technical-container {
  padding: 0.6in 0.7in;
}

/* Technical Header with Border */
.cv-header {
  border: 2pt solid;
  padding: 16pt;
  margin-bottom: 20pt;
  background: #fafafa;
}

.cv-name {
  font-size: 20pt;
  font-weight: bold;
  margin-bottom: 4pt;
  letter-spacing: 1pt;
  text-transform: uppercase;
}

.cv-title {
  font-size: 11pt;
  color: #444444;
  margin-bottom: 10pt;
  font-weight: bold;
}

.cv-contact-grid {
  font-size: 9pt;
  color: #555555;
}

.contact-row {
  display: flex;
  margin-bottom: 2pt;
}

.contact-label {
  width: 20%;
  font-weight: bold;
  color: #666666;
}

.contact-value {
  flex: 1;
}

/* Technical Section Titles */
.cv-section {
  margin-bottom: 18pt;
}

.section-title {
  font-size: 12pt;
  font-weight: bold;
  color: white;
  padding: 6pt 10pt;
  margin-bottom: 12pt;
  text-transform: uppercase;
  letter-spacing: 1pt;
}

/* Summary */
.summary-text {
  font-size: 10pt;
  line-height: 1.5;
  color: #2d2d2d;
  border-left: 3pt solid;
  padding-left: 12pt;
}

/* Experience Items */
.experience-item {
  margin-bottom: 14pt;
  padding-bottom: 14pt;
  border-bottom: 1pt dashed #d0d0d0;
  page-break-inside: avoid;
}

.experience-item:last-child {
  border-bottom: none;
}

.item-header {
  background: #f5f5f5;
  padding: 8pt;
  margin-bottom: 6pt;
  border-left: 3pt solid;
}

.item-title {
  font-size: 11pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2pt;
}

.item-meta {
  font-size: 9pt;
  color: #666666;
}

.item-company {
  font-weight: bold;
  color: #444444;
}

.exp-responsibilities {
  margin-top: 6pt;
  padding-left: 20pt;
}

.responsibility-item {
  display: flex;
  gap: 6pt;
  margin-bottom: 3pt;
  font-size: 9.5pt;
  line-height: 1.5;
}

.responsibility-item .bullet {
  font-weight: bold;
  flex-shrink: 0;
}

/* Skills - Technical Grid */
.skills-technical {
  border: 1pt solid #d0d0d0;
}

.skill-row {
  padding: 6pt 8pt;
  border-bottom: 1pt solid #e0e0e0;
}

.skill-row:last-child {
  border-bottom: none;
}

.skill-cell {
  font-size: 9.5pt;
}

.skill-name {
  font-weight: bold;
  color: #1a1a1a;
}

.skill-level {
  color: #666666;
  font-size: 9pt;
}

/* Education */
.edu-item {
  margin-bottom: 12pt;
  padding: 10pt;
  background: #f7f7f7;
  border-left: 3pt solid;
}

.edu-degree {
  font-size: 10.5pt;
  font-weight: bold;
  color: #1a1a1a;
  margin-bottom: 2pt;
}

.edu-institution {
  font-size: 10pt;
  color: #444444;
  margin-bottom: 2pt;
}

.edu-details {
  font-size: 9pt;
  color: #666666;
}

/* Certifications */
.cert-grid {
  border: 1pt solid #d0d0d0;
}

.cert-row {
  display: flex;
  border-bottom: 1pt solid #e0e0e0;
}

.cert-row:last-child {
  border-bottom: none;
}

.cert-cell {
  padding: 8pt;
  font-size: 9.5pt;
}

.cert-name-col {
  width: 50%;
  font-weight: bold;
  color: #1a1a1a;
}

.cert-org-col {
  width: 35%;
  color: #555555;
}

.cert-date-col {
  width: 15%;
  color: #666666;
  text-align: right;
}

/* Print styles */
@media print {
  .technical-template {
    width: 8.5in;
    min-height: 11in;
  }

  .cv-header,
  .section-title {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
/* Compact Template - Two-Column CV Design with Icon Headers */
.compact-template {
  font-family: 'Calibri', 'Arial', sans-serif;
  font-size: 11pt;
  color: #000000;
  line-height: 1.4;
  max-width: 8.5in;
  margin: 0 auto;
  padding: 0.5in 0.6in;
  background: white;
}

/* Header Section */
.compact-header {
  text-align: left;
  margin-bottom: 0.08in;
}

.compact-name {
  font-size: 28pt;
  font-weight: 400;
  color: #2c3e50;
  margin: 0 0 0.03in 0;
  letter-spacing: 0.5pt;
  line-height: 1.1;
}

.compact-tagline {
  font-size: 11pt;
  color: var(--accent-color, #16a085);
  margin: 0;
  font-weight: 400;
  line-height: 1.2;
}

/* Professional Summary Banner */
.compact-summary-banner {
  background: #2c3e50;
  color: white;
  padding: 0.12in 0.18in;
  margin-bottom: 0;
  text-align: justify;
  line-height: 1.3;
}

.compact-summary-banner p {
  margin: 0;
  font-size: 9.5pt;
}

/* Contact Info Bar */
.compact-contact-bar {
  background: var(--accent-color, #16a085);
  color: white;
  padding: 0.1in 0.18in;
  margin-bottom: 0.18in;
}

.contact-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.12in;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.06in;
  font-size: 8.5pt;
}

.contact-item svg {
  flex-shrink: 0;
}

.contact-item span {
  white-space: nowrap;
}

/* Two Column Layout */
.compact-two-column {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 0.2in;
}

.compact-left-column {
  padding-right: 0.12in;
}

.compact-right-column {
  padding-left: 0.12in;
  border-left: 1px solid #e0e0e0;
}

/* Section Styles */
.compact-section {
  margin-bottom: 0.2in;
  page-break-inside: avoid;
}

.section-header-with-icon {
  display: flex;
  align-items: center;
  gap: 0.08in;
  margin-bottom: 0.1in;
}

.section-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compact-section-title {
  font-size: 12pt;
  font-weight: bold;
  color: #2c3e50;
  margin: 0;
  letter-spacing: 0.5pt;
}

/* Work Experience Items */
.compact-experience-item {
  margin-bottom: 0.15in;
  page-break-inside: avoid;
}

.exp-title {
  font-size: 10.5pt;
  font-weight: bold;
  color: #000000;
  margin: 0 0 0.02in 0;
}

.exp-company {
  font-size: 10pt;
  color: #000000;
  margin: 0 0 0.02in 0;
}

.exp-meta {
  display: flex;
  gap: 0.12in;
  font-size: 9pt;
  font-style: italic;
  margin-bottom: 0.05in;
}

.exp-date {
  font-weight: 600;
}

.exp-location {
  color: #666666;
}

.exp-responsibilities {
  margin: 0;
  padding-left: 0.18in;
  list-style-type: disc;
}

.exp-responsibilities li {
  margin-bottom: 0.025in;
  font-size: 9.5pt;
  line-height: 1.3;
  color: #000000;
}

/* Education Items */
.compact-education-item {
  margin-bottom: 0.12in;
  page-break-inside: avoid;
}

.edu-degree {
  font-size: 10.5pt;
  font-weight: bold;
  color: #000000;
  margin: 0 0 0.02in 0;
}

.edu-institution {
  font-size: 9.5pt;
  color: #000000;
  margin: 0 0 0.02in 0;
}

.edu-meta {
  font-size: 9pt;
  font-style: italic;
  margin-bottom: 0.02in;
}

.edu-date {
  font-weight: 600;
}

.edu-field {
  font-size: 9pt;
  color: #666666;
  font-style: italic;
}

/* Skills List */
.compact-skills-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-skills-list li {
  font-size: 9.5pt;
  color: #000000;
  margin-bottom: 0.05in;
  line-height: 1.25;
}

/* Certification Items */
.compact-certification-item {
  margin-bottom: 0.1in;
  page-break-inside: avoid;
}

.cert-name {
  font-size: 10pt;
  font-weight: 600;
  color: #000000;
  margin: 0 0 0.015in 0;
}

.cert-org {
  font-size: 9pt;
  margin: 0 0 0.015in 0;
  color: var(--accent-color, #16a085);
  font-style: italic;
}

.cert-date {
  font-size: 8.5pt;
  color: #666666;
  font-style: italic;
}

/* Print Styles */
@media print {
  .compact-template {
    max-width: 100%;
    padding: 0;
  }

  .compact-section,
  .compact-experience-item,
  .compact-education-item,
  .compact-certification-item {
    page-break-inside: avoid;
  }

  .compact-contact-bar,
  .compact-summary-banner {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}

/* Responsive adjustments for preview */
@media screen and (max-width: 768px) {
  .compact-two-column {
    grid-template-columns: 1fr;
  }

  .compact-right-column {
    border-left: none;
    border-top: 1px solid #e0e0e0;
    padding-left: 0;
    padding-top: 0.15in;
  }

  .contact-items {
    flex-direction: column;
    align-items: flex-start;
  }
}
.cv-preview-container {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #f5f5f5;
}

.cv-preview-wrapper {
  min-height: 100%;
  padding: 2rem;
}

.cv-preview-loading,
.cv-preview-error,
.cv-preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 400px;
  padding: 2rem;
  text-align: center;
}

.cv-preview-loading .spinner {
  border: 3px solid #f3f3f3;
  border-top: 3px solid #4f46e5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cv-preview-loading p,
.cv-preview-error p,
.cv-preview-empty p {
  color: #666;
  font-size: 14px;
}

.cv-preview-error p {
  color: #dc2626;
}

/* Ensure templates render nicely in preview */
.cv-preview-wrapper .cv-template {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  min-height: 800px;
}
.template-selection-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-description {
  margin-bottom: 20px;
  text-align: center;
  padding: 0 20px;
}

.section-description p {
  font-size: 16px;
  color: #666;
}

/* Split-pane layout */
.template-split-layout {
  display: flex;
  flex: 1;
  gap: 0;
  overflow: hidden;
  height: calc(100vh - 350px);
  min-height: 600px;
}

/* Left column - Templates list (25%) */
.templates-list-column {
  width: 25%;
  min-width: 280px;
  max-width: 350px;
  border-right: 2px solid #e0e0e0;
  overflow-y: auto;
  background: #f9fafb;
}

.templates-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.template-list-item {
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.template-list-item:hover {
  border-color: #4A90E2;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
  transform: translateX(4px);
}

.template-list-item.selected {
  border-color: #4A90E2;
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.25);
}

.template-list-item.premium {
  border-color: #ffa726;
}

.template-list-item.premium.selected {
  border-color: #ffa726;
  background: #fff8e1;
}

/* Right column - Preview (75%) */
.template-preview-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid #e0e0e0;
  background: white;
}

.preview-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.preview-template-name {
  font-size: 14px;
  color: #4A90E2;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: #f0f7ff;
  border-radius: 20px;
}

.preview-content {
  flex: 1;
  overflow-y: auto;
  background: #f5f5f5;
}

.preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  font-size: 16px;
}

.template-selection-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.template-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.premium-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff8e1;
  box-shadow: 0 1px 4px rgba(255, 167, 38, 0.3);
}

.template-info {
  flex: 1;
}

.template-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}

.template-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.selected-indicator-right {
  background: #4A90E2;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

.section-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ef9a9a;
}

/* Color Picker Section - Horizontal at top */
.color-picker-section-top {
  margin-bottom: 20px;
  padding: 0 20px;
}

.color-options-horizontal {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 0 12px 8px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
}

.color-options-horizontal::-webkit-scrollbar {
  height: 6px;
}

.color-options-horizontal::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 3px;
}

.color-options-horizontal::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.color-options-horizontal::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.color-option-horizontal {
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.color-option-horizontal:hover .color-circle-horizontal {
  transform: scale(1.15);
}

.color-option-horizontal.selected .color-circle-horizontal {
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.color-circle-horizontal {
  width: 32.4px;
  height: 32.4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.color-option-horizontal.selected .color-circle-horizontal {
  border-color: white;
}

@media (max-width: 1024px) {
  .template-split-layout {
    flex-direction: column;
    height: auto;
  }

  .templates-list-column {
    width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
    max-height: 300px;
  }

  .templates-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .template-list-item {
    min-width: 250px;
  }

  .template-preview-column {
    min-height: 600px;
  }
}

@media (max-width: 768px) {
  .section-description {
    padding: 0 10px;
  }

  .templates-list-column {
    max-height: 250px;
  }

  .template-list-item {
    min-width: 200px;
    padding: 1rem;
  }

  .preview-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }
}
.review-download-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.congratulations-message {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: white;
  color: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.congratulations-message h2 {
  font-size: 32px;
  margin: 0 0 12px 0;
}

.congratulations-message p {
  font-size: 16px;
  margin: 0;
  opacity: 0.95;
}

.action-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
}

.action-card h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
  color: #333;
}

.action-card > p {
  color: #666;
  margin: 0 0 24px 0;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.format-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  position: relative;
}

.format-button:hover:not(:disabled) {
  border-color: #4A90E2;
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.format-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.primary-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: white;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.5);
}

.format-icon {
  font-size: 32px;
}

.format-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.format-info strong {
  font-size: 16px;
  color: #333;
}

.format-info small {
  font-size: 13px;
  color: #666;
}

.template-styled-badge {
  display: block;
  margin-top: 4px;
  color: #667eea !important;
  font-weight: 600 !important;
  font-size: 11px !important;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #4A90E2;
}

.form-group input:disabled,
.form-group select:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.success-message {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #81c784;
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-message::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #2e7d32;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #ef9a9a;
}

.section-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  margin-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.btn-finish {
  min-width: 200px;
}

/* Loading Modal Styles */
.loading-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-modal {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
}

.spinner-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-circle-inner {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 8px;
  left: 8px;
  border: 3px solid transparent;
  border-bottom: 3px solid #764ba2;
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-title {
  font-size: 26px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.loading-description {
  font-size: 16px;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.loading-tip {
  font-size: 14px;
  color: #999;
  margin: 0 0 24px 0;
}

.loading-progress {
  width: 100%;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-animated {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 100%;
  animation: progressSlide 1.5s ease-in-out infinite;
}

@keyframes progressSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .congratulations-message {
    padding: 30px 16px;
  }

  .congratulations-message h2 {
    font-size: 24px;
  }

  .action-card {
    padding: 20px;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section-actions {
    flex-direction: column;
  }

  .section-actions button {
    width: 100%;
  }

  .loading-modal {
    padding: 36px 28px;
  }

  .loading-title {
    font-size: 22px;
  }

  .loading-description {
    font-size: 15px;
  }
}
.cv-wizard-container {
  min-height: 100vh;
  background: #f7fafc;
  padding: 2rem;
}

/* Wizard Header */
.wizard-header {
  background: white;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid #e2e8f0;
  margin: -2rem -2rem 0 -2rem;
  padding-left: 2rem;
  padding-right: 2rem;
}

.back-to-dashboard-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: none;
  color: #667eea;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.back-to-dashboard-link:hover {
  background: #f7fafc;
  color: #5568d3;
}

.back-to-dashboard-link svg {
  transition: transform 0.2s ease;
}

.back-to-dashboard-link:hover svg {
  transform: translateX(-3px);
}

.cv-wizard-loading,
.cv-wizard-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background: #f7fafc;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #e2e8f0;
  border-top-color: #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.cv-wizard-error {
  text-align: center;
  max-width: 500px;
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.error-icon-wrapper {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background-color: #fee2e2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-icon {
  width: 32px;
  height: 32px;
  color: #dc2626;
}

.cv-wizard-error h2 {
  color: #1a202c;
  margin: 0 0 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.error-message {
  color: #4b5563;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Progress Bar */
.wizard-progress {
  background: white;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  margin: 0 -2rem;
}

.progress-bar {
  margin: 0 0 2rem 0;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.progress-steps {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.progress-step {
  flex: 1;
  text-align: center;
  opacity: 0.4;
  transition: all 0.3s ease;
}

.progress-step.active {
  opacity: 1;
}

.progress-step.current {
  opacity: 1;
}

.progress-step.current .step-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
  border: 3px solid white;
  outline: 2px solid #667eea;
}

.progress-step.current .step-title {
  font-weight: 700;
  color: #667eea;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #a0aec0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin: 0 auto 0.75rem;
  transition: all 0.3s ease;
  position: relative;
}

.progress-step.active:not(.current) .step-number {
  background: #10b981;
  color: white;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.progress-step.active:not(.current) .step-number::after {
  content: '✓';
  position: absolute;
  font-size: 18px;
  font-weight: bold;
}

.step-title {
  font-size: 0.875rem;
  color: #9ca3af;
  font-weight: 500;
  transition: all 0.3s ease;
}

.progress-step.active:not(.current) .step-title {
  color: #10b981;
  font-weight: 600;
}

/* Wizard Content */
.wizard-content {
  margin: 2rem 0;
  padding: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h1 {
  font-size: 2rem;
  color: #1a202c;
  margin: 0 0 0.5rem 0;
}

.section-subtitle {
  color: #718096;
  font-size: 1rem;
}

/* Navigation */
.wizard-navigation {
  margin: 2rem 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.btn-primary,
.btn-secondary {
  padding: 0.875rem 2.25rem;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(102, 126, 234, 0.35);
  flex: 1;
  justify-content: center;
  min-width: 200px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
  background: white;
  color: #6b7280;
  border: 2px solid #e5e7eb;
  font-weight: 600;
  box-shadow: none;
}

.btn-secondary:hover {
  background: #f9fafb;
  border-color: #d1d5db;
  color: #374151;
}

/* Section Container */
.section-container {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2d3748;
  font-weight: 500;
}

.form-label.required::after {
  content: ' *';
  color: #e53e3e;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
}

.form-textarea {
  min-height: 360px;
  resize: vertical;
}

.form-error {
  color: #e53e3e;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

/* Checkbox */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Multiple Entries */
.entries-list {
  margin-bottom: 2rem;
}

.entry-item {
  background: #f7fafc;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 2px solid #e2e8f0;
}

.entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.entry-title {
  font-weight: 600;
  color: #1a202c;
}

.entry-actions {
  display: flex;
  gap: 0.5rem;
}

.btn-icon {
  padding: 0.5rem 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: white;
}

.btn-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.btn-add {
  width: 100%;
  padding: 1rem;
  background: white;
  border: 2px dashed #cbd5e0;
  border-radius: 8px;
  color: #667eea;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-add:hover {
  border-color: #667eea;
  background: #f7fafc;
}

/* Responsive */
@media (max-width: 768px) {
  .wizard-header {
    padding: 1rem;
  }

  .back-to-dashboard-link {
    font-size: 0.875rem;
    padding: 0.4rem 0.75rem;
  }

  .back-to-dashboard-link svg {
    width: 18px;
    height: 18px;
  }

  .progress-steps {
    flex-wrap: wrap;
  }

  .step-title {
    font-size: 0.75rem;
  }

  .wizard-content,
  .wizard-navigation {
    padding: 0;
  }

  .cv-wizard-container {
    padding: 1rem;
  }

  .section-header h1 {
    font-size: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .wizard-navigation {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}
/* CV Tailor Container */
.cv-tailor-container {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

/* Header */
.tailor-header {
  margin-bottom: 2rem;
}

.tailor-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.tailor-header p {
  font-size: 1.125rem;
  color: #6b7280;
  margin: 0;
}

/* Error Alert */
.error-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.5rem;
  color: #991b1b;
  margin-bottom: 1.5rem;
}

.error-alert svg {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

/* Form Card */
.tailor-form-card {
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  padding: 2rem;
}

/* Form Sections */
.form-section {
  margin-bottom: 2.5rem;
}

.form-section:last-child {
  margin-bottom: 0;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.5rem 0;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.required {
  color: #dc2626;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.tall-textarea {
  min-height: 240px;
}

.form-help {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* CV Grid */
.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.cv-card {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cv-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.cv-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.cv-card-content h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.75rem 0;
}

.cv-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cv-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 500;
  text-transform: capitalize;
}

.status-draft {
  background: #f3f4f6;
  color: #4b5563;
}

.status-published {
  background: #d1fae5;
  color: #065f46;
}

.status-archived {
  background: #fef3c7;
  color: #92400e;
}

.cv-ats {
  font-size: 0.75rem;
  color: #6b7280;
}

.cv-date {
  font-size: 0.875rem;
  color: #9ca3af;
  margin: 0;
}

.cv-selected-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: #667eea;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed #d1d5db;
  border-radius: 0.75rem;
}

.empty-state p {
  color: #6b7280;
  margin-bottom: 1rem;
}

/* Selection Grid (Page Count) */
.selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.selection-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.selection-card:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.selection-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.selection-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.selection-description {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Tone Grid */
.tone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.tone-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tone-card:hover {
  border-color: #667eea;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
}

.tone-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  box-shadow: 0 2px 12px rgba(102, 126, 234, 0.2);
}

.tone-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.tone-description {
  font-size: 0.75rem;
  color: #6b7280;
}

/* Toggle Button */
.toggle-wrapper {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1rem;
}

.toggle-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
}

.toggle-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #111827;
}

.toggle-button {
  position: relative;
  width: 52px;
  height: 28px;
  background: #d1d5db;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.toggle-button.active {
  background: #667eea;
}

.toggle-slider {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: white;
  border-radius: 50%;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.toggle-button.active .toggle-slider {
  transform: translateX(24px);
}

/* Form Actions */
.form-actions {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}

.btn-tailor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-tailor:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-tailor:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-tailor svg {
  flex-shrink: 0;
}

/* Spinner */
.spinner {
  animation: spin 1s linear infinite;
  width: 20px;
  height: 20px;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  max-width: 32rem;
  width: 100%;
  padding: 2rem;
}

.warning-modal {
  text-align: center;
}

.modal-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.warning-icon {
  background: #fef3c7;
  color: #d97706;
}

.modal-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1rem 0;
}

.match-score-display {
  margin: 1.5rem 0;
}

.score-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #d97706;
  line-height: 1;
}

.score-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.warning-text {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.btn-primary,
.btn-secondary {
  flex: 1;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

/* Selected CV Display */
.selected-cv-display {
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  border: 2px solid #667eea;
  border-radius: 0.75rem;
  padding: 1.25rem;
  margin-top: 1rem;
}

.selected-cv-display label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.selected-cv-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #667eea;
  padding: 0.5rem;
  background: white;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.selected-cv-name::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #667eea;
  color: white;
  border-radius: 50%;
  font-weight: bold;
  font-size: 1rem;
}

/* Form Help Row */
.form-help-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-warning {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: #d97706;
  background: #fef3c7;
  padding: 0.5rem 0.75rem;
  border-radius: 0.375rem;
  font-weight: 500;
}

/* Progress Modal */
.progress-modal {
  text-align: center;
  min-width: 400px;
}

.progress-icon {
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  color: #667eea;
}

.spinner-large {
  width: 48px;
  height: 48px;
  animation: spin 1s linear infinite;
}

.progress-message {
  font-size: 1rem;
  color: #6b7280;
  margin: 1rem 0;
  font-weight: 500;
  min-height: 1.5rem;
}

.progress-bar-container {
  margin: 1.5rem 0;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #e5e7eb;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  border-radius: 6px;
  transition: width 0.5s ease-in-out;
  box-shadow: 0 0 10px rgba(102, 126, 234, 0.5);
}

.progress-percentage {
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
  margin-top: 0.75rem;
}

.progress-note {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
  .cv-tailor-container {
    padding: 1rem 0.5rem;
  }

  .tailor-form-card {
    padding: 1.5rem;
  }

  .tailor-header h1 {
    font-size: 1.75rem;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }

  .selection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tone-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    flex-direction: column;
  }

  .progress-modal {
    min-width: auto;
    width: 90%;
  }

  .selected-cv-display {
    padding: 1rem;
  }

  .form-help-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
/* Page wrapper to match dashboard spacing */
.cover-letter-page {
  padding: 2rem;
  min-height: 100vh;
}

.cover-letter-list-widget {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #f0f0f0;
}

.widget-header h2 {
  margin: 0;
  font-size: 24px;
  color: #333;
}

.btn-create-new {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-create-new span {
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
}

.btn-create-new:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.widget-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  color: #666;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #4A90E2;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 64px 20px;
}

.empty-icon {
  font-size: 64px;
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 20px;
  font-weight: 600;
  color: #1a202c;
  margin: 0 0 12px 0;
}

.empty-state p {
  color: #718096;
  font-size: 15px;
  margin: 0 0 28px 0;
}

.cover-letter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.cover-letter-card {
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 24px;
  transition: all 0.3s ease;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.cover-letter-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cover-letter-card:hover::before {
  opacity: 1;
}

.cover-letter-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
  transform: translateY(-4px);
}

.cover-letter-card-header {
  margin-bottom: 16px;
}

.cover-letter-name-and-status-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cover-letter-name-wrapper {
  flex: 1;
  min-width: 0;
}

.cover-letter-name-display {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cover-letter-name-display h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  flex: 1;
  word-break: break-word;
  line-height: 1.4;
}

.btn-edit-name {
  display: none;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  background: transparent;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.cover-letter-name-display:hover .btn-edit-name {
  display: flex;
}

.btn-edit-name:hover {
  background: #f3f4f6;
  color: #667eea;
}

.btn-edit-name svg {
  width: 14px;
  height: 14px;
}

.cover-letter-name-edit {
  width: 100%;
}

.cover-letter-name-input {
  width: 100%;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: 600;
  color: #1a202c;
  border: 2px solid #667eea;
  border-radius: 8px;
  background: white;
  outline: none;
  transition: all 0.2s ease;
}

.cover-letter-name-input:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.cover-letter-name-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cover-letter-status-wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
}

.cover-letter-status {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  white-space: nowrap;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cover-letter-status:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.cover-letter-status:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status-dropdown-icon {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.cover-letter-status.active .status-dropdown-icon {
  transform: rotate(180deg);
}

.status-draft {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  color: #e65100;
  box-shadow: 0 2px 4px rgba(230, 81, 0, 0.1);
}

.status-final {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #2e7d32;
  box-shadow: 0 2px 4px rgba(46, 125, 50, 0.1);
}

.status-archived {
  background: linear-gradient(135deg, #f5f5f5 0%, #eeeeee 100%);
  color: #616161;
  box-shadow: 0 2px 4px rgba(97, 97, 97, 0.1);
}

.status-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  background: white;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  z-index: 1000;
  overflow: hidden;
  animation: dropdownSlide 0.2s ease-out;
}

@keyframes dropdownSlide {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  color: #374151;
}

.status-option:hover {
  background: #f9fafb;
}

.status-option.selected {
  background: #f0f4ff;
  color: #667eea;
  font-weight: 600;
}

.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-indicator.status-draft {
  background: #e65100;
}

.status-indicator.status-final {
  background: #2e7d32;
}

.status-indicator.status-archived {
  background: #616161;
}

.cover-letter-card-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  padding: 16px 0;
  border-top: 1px solid #f0f4f8;
  border-bottom: 1px solid #f0f4f8;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}

.info-label {
  color: #718096;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-value {
  color: #2d3748;
  font-weight: 500;
}

.cover-letter-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-action {
  flex: 1;
  min-width: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1.5px solid;
  border-radius: 10px;
  background: white;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-action svg {
  width: 16px;
  height: 16px;
}

.btn-edit {
  color: #667eea;
  border-color: #667eea;
}

.btn-edit:hover:not(:disabled) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-download {
  color: #10b981;
  border-color: #10b981;
}

.btn-download:hover:not(:disabled) {
  background: #10b981;
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-email {
  color: #f59e0b;
  border-color: #f59e0b;
}

.btn-email:hover:not(:disabled) {
  background: #f59e0b;
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.btn-delete {
  color: #ef4444;
  border-color: #ef4444;
}

.btn-delete:hover:not(:disabled) {
  background: #ef4444;
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-action:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ef9a9a;
}

/* Delete Confirmation Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  padding: 28px 28px 20px;
  text-align: center;
  border-bottom: 1px solid #f0f4f8;
}

.modal-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  margin-bottom: 16px;
}

.modal-icon {
  width: 32px;
  height: 32px;
  color: #d97706;
}

.modal-icon-wrapper.email-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.modal-icon-wrapper.email-icon .modal-icon {
  color: #f59e0b;
}

.modal-icon-wrapper.download-icon {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.modal-icon-wrapper.download-icon .modal-icon {
  color: #10b981;
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
}

.modal-body {
  padding: 24px 28px;
}

.modal-body p {
  margin: 0 0 12px 0;
  color: #4a5568;
  font-size: 15px;
  line-height: 1.6;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.modal-body strong {
  color: #1a202c;
  font-weight: 600;
}

.modal-warning {
  color: #d97706 !important;
  font-size: 13px !important;
  font-weight: 500;
}

.modal-actions {
  padding: 20px 28px 28px;
  display: flex;
  gap: 12px;
}

.btn-modal {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cancel {
  background: #f7fafc;
  color: #4a5568;
  border: 1.5px solid #e2e8f0;
}

.btn-cancel:hover {
  background: #edf2f7;
  border-color: #cbd5e0;
}

.btn-confirm {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-confirm:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
  transform: translateY(-1px);
}

.btn-download-confirm {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-download-confirm:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  transform: translateY(-1px);
}

/* Form elements for email modal */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-size: 14px;
  font-weight: 600;
}

.form-input,
.form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #1f2937;
  transition: all 0.3s ease;
  background: white;
}

.form-select {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
  cursor: pointer;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::-moz-placeholder {
  color: #9ca3af;
}

.form-input::placeholder {
  color: #9ca3af;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
  .cover-letter-page {
    padding: 1rem;
  }

  .widget-header {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .btn-create-new {
    width: 100%;
    justify-content: center;
  }

  .cover-letter-grid {
    grid-template-columns: 1fr;
  }

  .cover-letter-card-actions {
    flex-direction: column;
  }

  .btn-action {
    width: 100%;
  }

  .modal-content {
    width: 95%;
  }

  .modal-header,
  .modal-body,
  .modal-actions {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.cover-letter-editor,
.cover-letter-cv-selector {
  background: white;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.cover-letter-editor-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  color: #666;
}

/* Header */
.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: #4a5568;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-back:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.editor-actions {
  display: flex;
  gap: 12px;
}

/* Form */
.editor-form {
  margin-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2d3748;
  font-size: 14px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.2s;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: #667eea;
}

select.form-input {
  background: white;
  cursor: pointer;
}

/* CV Selector */
.cover-letter-cv-selector {
  min-height: 400px;
}

.cv-selector-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.cv-selector-content h2 {
  margin: 0 0 12px 0;
  font-size: 28px;
  color: #1a202c;
}

.cv-selector-content .subtitle {
  color: #718096;
  font-size: 16px;
  margin-bottom: 32px;
}

.cv-options {
  margin-top: 32px;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.cv-option-card {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.cv-option-card:hover {
  border-color: #667eea;
  box-shadow: 0 8px 24px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.cv-option-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #1a202c;
}

.cv-option-card p {
  margin: 0;
  font-size: 14px;
  color: #718096;
}

.no-cvs {
  text-align: center;
  color: #718096;
  font-size: 15px;
  margin: 40px 0;
}

.full-width {
  width: 100%;
}

/* Buttons */
.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #5568d3 0%, #6a3f8f 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #4a5568;
  border: 2px solid #e2e8f0;
}

.btn-secondary:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 140px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  z-index: 1;
  overflow: hidden;
  right: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #4a5568;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s;
}

.dropdown-content a:hover {
  background-color: #f7fafc;
  color: #667eea;
}

/* Alert */
.alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
}

.alert-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #c33;
}

/* TinyMCE Container */
.tox-tinymce {
  border: 2px solid #e2e8f0 !important;
  border-radius: 8px !important;
}

.tox-tinymce:focus-within {
  border-color: #667eea !important;
}

/* Spinner */
.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
  .cover-letter-editor,
  .cover-letter-cv-selector {
    padding: 20px;
  }

  .editor-header {
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
  }

  .editor-actions {
    flex-direction: column;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cv-grid {
    grid-template-columns: 1fr;
  }
}
.select-cv-section {
  position: relative;
}

.select-cv-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alert-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: inherit;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.alert-close:hover {
  opacity: 1;
}

.section-intro {
  margin-bottom: 30px;
}

.intro-text {
  color: #6b7280;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

.cv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.cv-card {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.cv-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
  transform: translateY(-2px);
}

.cv-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.cv-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  color: white;
}

.cv-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.cv-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
  margin: 0;
  line-height: 1.3;
}

.cv-card p {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

.cv-template-badge {
  display: inline-block;
  padding: 4px 10px;
  background-color: #dbeafe;
  color: #1e40af;
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
}

.cv-date {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.cv-color-preview {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.color-label {
  font-size: 13px;
  color: #6b7280;
  font-weight: 500;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 2px solid #e5e7eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.selected-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.no-cvs-message {
  text-align: center;
  padding: 60px 20px;
  color: #6b7280;
}

.no-cvs-message svg {
  margin: 0 auto 20px;
  color: #9ca3af;
}

.no-cvs-message h3 {
  font-size: 20px;
  color: #374151;
  margin: 0 0 12px 0;
}

.no-cvs-message p {
  font-size: 16px;
  margin: 0;
  max-width: 400px;
  margin: 0 auto;
}

.saving-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  background-color: #f3f4f6;
  border-radius: 8px;
  color: #667eea;
  font-size: 14px;
  font-weight: 500;
  margin-top: 20px;
}

.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top: 2px solid #667eea;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@media (max-width: 768px) {
  .cv-grid {
    grid-template-columns: 1fr;
  }
}
.cover-letter-info-section {
  position: relative;
}

.form-container {
  width: 100%;
}

.form-group {
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.required {
  color: #ef4444;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 15px;
  color: #111827;
  transition: all 0.2s;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input.error {
  border-color: #ef4444;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.error-message {
  display: block;
  color: #ef4444;
  font-size: 13px;
  margin-top: 6px;
}

.field-hint {
  color: #6b7280;
  font-size: 13px;
  margin-top: 6px;
  margin-bottom: 0;
}

.section-divider {
  margin: 40px 0 24px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e5e7eb;
}

.section-divider h3 {
  font-size: 18px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px 0;
}

.section-subtitle {
  font-size: 16px;
  font-weight: 600;
  color: #374151;
  margin: 8px 0 4px 0;
}

.section-description {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
}

.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 15px;
  color: #374151;
}

.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: #667eea;
}

.working-styles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.working-style-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
}

.working-style-card:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.working-style-card.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.2);
}

.working-style-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.working-style-card p {
  font-size: 14px;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

/* Strengths Grid */
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.strength-option {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.strength-option:hover {
  border-color: #667eea;
  background: #f9fafb;
}

.strength-option.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  color: #667eea;
  font-weight: 600;
}

.strength-option.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.strength-option.disabled:hover {
  border-color: #e5e7eb;
  background: white;
}

.strength-option .check-icon {
  flex-shrink: 0;
  color: #667eea;
}

.selected-strengths-summary {
  margin-top: 16px;
  padding: 12px 16px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 8px;
  font-size: 14px;
  color: #0c4a6e;
  line-height: 1.6;
}

.selected-strengths-summary strong {
  color: #0369a1;
}

/* AI Generation Section */
.ai-generation-container {
  margin-top: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 2px solid #e2e8f0;
  border-radius: 12px;
}

.btn-generate-ai {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-generate-ai:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.btn-generate-ai:active:not(:disabled) {
  transform: translateY(0);
}

.btn-generate-ai:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-generate-ai svg {
  flex-shrink: 0;
}

.ai-success-message {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 12px 16px;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  color: #15803d;
  font-size: 14px;
  font-weight: 500;
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ai-success-message svg {
  flex-shrink: 0;
  color: #16a34a;
}

.ai-generation-hint {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 13px;
  color: #64748b;
  line-height: 1.5;
}

/* Experience Grid - matching Top Strengths style */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.experience-option {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.experience-option:hover {
  border-color: #667eea;
  background: #f9fafb;
}

.experience-option.selected {
  border-color: #667eea;
  background: linear-gradient(135deg, #f3f4ff 0%, #faf5ff 100%);
  color: #667eea;
  font-weight: 600;
}

.experience-option .check-icon {
  flex-shrink: 0;
  color: #667eea;
}

/* Content Generation Notice */
.content-generation-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: #fef3c7;
  border: 1px solid #fbbf24;
  border-radius: 8px;
  color: #92400e;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.content-generation-notice svg {
  flex-shrink: 0;
  color: #f59e0b;
}

/* Generation Buttons */
.generation-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-generate-default {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-generate-default:hover:not(:disabled) {
  background-color: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.btn-generate-default:active:not(:disabled) {
  transform: translateY(0);
}

.btn-generate-default:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-generate-default svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .working-styles-grid {
    grid-template-columns: 1fr;
  }

  .strengths-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
  }

  .strength-option {
    padding: 10px 12px;
    font-size: 13px;
  }

  .ai-generation-container {
    padding: 16px;
  }

  .btn-generate-ai {
    width: 100%;
    justify-content: center;
  }
}
.cover-letter-template-section {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-description {
  margin-bottom: 20px;
  text-align: center;
  padding: 0 20px;
}

.section-description p {
  font-size: 16px;
  color: #666;
}

/* Split-pane layout */
.template-split-layout {
  display: flex;
  flex: 1;
  gap: 0;
  overflow: hidden;
  height: calc(100vh - 350px);
  min-height: 600px;
}

/* Left column - Templates list (25%) */
.templates-list-column {
  width: 25%;
  min-width: 280px;
  max-width: 350px;
  border-right: 2px solid #e0e0e0;
  overflow-y: auto;
  background: #f9fafb;
}

.templates-list {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.template-list-item {
  position: relative;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.template-list-item:hover {
  border-color: #4A90E2;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.15);
  transform: translateX(4px);
}

.template-list-item.selected {
  border-color: #4A90E2;
  background: #f0f7ff;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.25);
}

.template-list-item.premium {
  border-color: #ffa726;
}

.template-list-item.premium.selected {
  border-color: #ffa726;
  background: #fff8e1;
}

/* Right column - Preview (75%) */
.template-preview-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: white;
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 2px solid #e0e0e0;
  background: white;
}

.preview-header h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: #333;
}

.preview-template-name {
  font-size: 14px;
  color: #4A90E2;
  font-weight: 600;
  padding: 0.5rem 1rem;
  background: #f0f7ff;
  border-radius: 20px;
}

.preview-content {
  flex: 1;
  overflow-y: auto;
  background: #f5f5f5;
  padding: 2rem;
}

.preview-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #999;
  font-size: 16px;
}

.template-section-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.template-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.premium-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff8e1;
  box-shadow: 0 1px 4px rgba(255, 167, 38, 0.3);
}

.template-info {
  flex: 1;
}

.template-info h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px 0;
  color: #333;
}

.template-info p {
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.selected-indicator-right {
  background: #4A90E2;
  color: white;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ef9a9a;
}

/* Color Picker Section - Horizontal at top */
.color-picker-section-top {
  margin-bottom: 20px;
  padding: 0 20px;
}

.color-options-horizontal {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 12px 0 12px 8px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e0 #f7fafc;
}

.color-options-horizontal::-webkit-scrollbar {
  height: 6px;
}

.color-options-horizontal::-webkit-scrollbar-track {
  background: #f7fafc;
  border-radius: 3px;
}

.color-options-horizontal::-webkit-scrollbar-thumb {
  background: #cbd5e0;
  border-radius: 3px;
}

.color-options-horizontal::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}

.color-option-horizontal {
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.color-option-horizontal:hover .color-circle-horizontal {
  transform: scale(1.15);
}

.color-option-horizontal.selected .color-circle-horizontal {
  transform: scale(1.2);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
}

.color-circle-horizontal {
  width: 32.4px;
  height: 32.4px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.color-option-horizontal.selected .color-circle-horizontal {
  border-color: white;
}

/* Cover Letter Preview Styles */
.cover-letter-preview-placeholder {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
}

.preview-document {
  width: 100%;
  max-width: 800px;
  background: white;
  padding: 3rem 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-top: 4px solid #4A90E2;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.preview-header-section {
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.preview-header-section h2 {
  margin: 0 0 0.5rem 0;
  font-size: 24px;
  font-weight: 700;
}

.preview-header-section p {
  margin: 0;
  color: #6b7280;
  font-size: 14px;
}

.preview-date {
  margin-bottom: 1.5rem;
  color: #374151;
  font-size: 14px;
}

.preview-recipient {
  margin-bottom: 1.5rem;
}

.preview-recipient p {
  margin: 0.25rem 0;
  color: #374151;
  font-size: 14px;
}

.preview-content-section {
  color: #374151;
  font-size: 15px;
  line-height: 1.7;
}

.preview-content-section p {
  margin: 0 0 18px 0;
}

.preview-content-section p:last-child {
  margin-bottom: 0;
}

.saving-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: white;
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e7eb;
  border-top-color: #4A90E2;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 1024px) {
  .template-split-layout {
    flex-direction: column;
    height: auto;
  }

  .templates-list-column {
    width: 100%;
    max-width: 100%;
    border-right: none;
    border-bottom: 2px solid #e0e0e0;
    max-height: 300px;
  }

  .templates-list {
    flex-direction: row;
    overflow-x: auto;
  }

  .template-list-item {
    min-width: 250px;
  }

  .template-preview-column {
    min-height: 600px;
  }

  .preview-document {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-description {
    padding: 0 10px;
  }

  .templates-list-column {
    max-height: 250px;
  }

  .template-list-item {
    min-width: 200px;
    padding: 1rem;
  }

  .preview-header {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  .preview-document {
    padding: 1.5rem 1rem;
  }

  .preview-header-section h2 {
    font-size: 20px;
  }
}
.cover-letter-download-section {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.congratulations-message {
  text-align: center;
  padding: 40px 20px;
  margin-bottom: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 16px;
  color: white;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: white;
  color: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  font-weight: bold;
  margin: 0 auto 20px;
}

.congratulations-message h2 {
  font-size: 32px;
  margin: 0 0 12px 0;
}

.congratulations-message p {
  font-size: 16px;
  margin: 0;
  opacity: 0.95;
}

.action-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 24px;
}

.action-card h3 {
  font-size: 20px;
  margin: 0 0 8px 0;
  color: #333;
}

.action-card > p {
  color: #666;
  margin: 0 0 24px 0;
}

.title-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.format-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.format-button:hover:not(:disabled) {
  border-color: #4A90E2;
  background: #f0f7ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.format-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.format-icon {
  font-size: 32px;
}

.format-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.format-info strong {
  font-size: 16px;
  color: #333;
}

.format-info small {
  font-size: 13px;
  color: #666;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.form-group input,
.form-group select,
.form-input {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-input:focus {
  outline: none;
  border-color: #4A90E2;
}

.form-group input:disabled,
.form-group select:disabled {
  background: #f5f5f5;
  cursor: not-allowed;
}

.success-message {
  background: #e8f5e9;
  color: #2e7d32;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #81c784;
  display: flex;
  align-items: center;
  gap: 12px;
}

.success-message::before {
  content: '✓';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #2e7d32;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
}

.error-message {
  background: #ffebee;
  color: #c62828;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  border: 1px solid #ef9a9a;
  display: flex;
  align-items: center;
  gap: 12px;
}

.error-message::before {
  content: '✕';
  display: inline-block;
  width: 24px;
  height: 24px;
  background: #c62828;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-weight: bold;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.btn-primary {
  background: #667eea;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background: #5568d3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover:not(:disabled) {
  background: #f0f7ff;
  transform: translateY(-1px);
}

.btn-primary:disabled,
.btn-secondary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Loading Modal Styles */
.loading-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.loading-modal {
  background: white;
  border-radius: 20px;
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.loading-spinner {
  position: relative;
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
}

.spinner-circle {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 4px solid #f0f0f0;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.spinner-circle-inner {
  position: absolute;
  width: 64px;
  height: 64px;
  top: 8px;
  left: 8px;
  border: 3px solid transparent;
  border-bottom: 3px solid #764ba2;
  border-radius: 50%;
  animation: spin 0.8s linear infinite reverse;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-title {
  font-size: 26px;
  font-weight: 600;
  color: #333;
  margin: 0 0 16px 0;
}

.loading-description {
  font-size: 16px;
  color: #666;
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.loading-tip {
  font-size: 14px;
  color: #999;
  margin: 0 0 24px 0;
}

.loading-progress {
  width: 100%;
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-bar-animated {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #667eea 100%);
  background-size: 200% 100%;
  animation: progressSlide 1.5s ease-in-out infinite;
}

@keyframes progressSlide {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 768px) {
  .congratulations-message {
    padding: 30px 16px;
  }

  .congratulations-message h2 {
    font-size: 24px;
  }

  .action-card {
    padding: 20px;
  }

  .formats-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .loading-modal {
    padding: 36px 28px;
  }

  .loading-title {
    font-size: 22px;
  }

  .loading-description {
    font-size: 15px;
  }
}
.cover-letter-wizard-container {
  max-width: 1200px;
  padding: 2rem;
}

.cover-letter-wizard-loading,
.cover-letter-wizard-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px;
  text-align: center;
}

.spinner {
  border: 4px solid #f3f4f6;
  border-top: 4px solid #667eea;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.error-icon-wrapper {
  margin-bottom: 20px;
}

.error-icon {
  width: 64px;
  height: 64px;
  color: #ef4444;
}

.error-message {
  color: #6b7280;
  margin: 15px 0;
  font-size: 16px;
}

.error-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

/* Header */
.wizard-header {
  margin-bottom: 30px;
}

.back-to-list-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #667eea;
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.back-to-list-link:hover {
  background-color: #f3f4f6;
}

/* Progress Bar */
.wizard-progress {
  margin-bottom: 40px;
}

.progress-bar {
  height: 8px;
  background-color: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 20px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e5e7eb;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s;
}

.progress-step.active .step-number {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.progress-step.current .step-number {
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.2);
}

.step-title {
  font-size: 13px;
  color: #9ca3af;
  font-weight: 500;
  text-align: center;
}

.progress-step.active .step-title {
  color: #374151;
}

/* Section Content */
.wizard-content {
  background: white;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  min-height: 400px;
}

.section-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.section-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 8px 0;
}

.section-subtitle {
  color: #6b7280;
  font-size: 14px;
  margin: 0;
}

/* Navigation */
.wizard-navigation {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.btn-primary,
.btn-secondary {
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background-color: #f3f4f6;
}

/* Responsive */
@media (max-width: 768px) {
  .cover-letter-wizard-container {
    padding: 15px;
  }

  .wizard-content {
    padding: 25px 20px;
  }

  .progress-steps {
    flex-wrap: wrap;
  }

  .step-title {
    font-size: 11px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .section-header h1 {
    font-size: 24px;
  }

  .wizard-navigation {
    flex-direction: column-reverse;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }
}
/* Gradient background animation */
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.gradient-animate {
  background: linear-gradient(-45deg, #4F46E5, #7C3AED, #2563EB, #06B6D4);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Particle effect */
@keyframes particle {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particle 15s linear infinite;
}

/* Card flip effect */
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 1rem;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Custom button hover effect */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

/* Timeline connector */
.timeline-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, #4F46E5, #7C3AED, #2563EB, #06B6D4);
  z-index: -1;
}
.cv-create-options-page {
  padding: 2rem;
  min-height: 100vh;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.option-card {
  position: relative;
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
}

.option-card:hover:not(.disabled) {
  border-color: #8b5cf6;
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
  transform: translateY(-4px);
}

.option-card.selected {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
}

.option-card.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.option-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.option-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 20px;
  color: white;
  transition: transform 0.3s ease;
}

.option-card:hover:not(.disabled) .option-icon {
  transform: scale(1.1);
}

.option-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
}

.option-card p {
  font-size: 1rem;
  color: #6b7280;
  line-height: 1.5;
  margin: 0;
}

.unavailable-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 1rem;
  color: white;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cv-create-options-container {
    padding: 1rem;
  }

  .cv-create-options-header h1 {
    font-size: 2rem;
  }

  .cv-create-options-header .subtitle {
    font-size: 1rem;
  }

  .options-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .option-card {
    padding: 2rem;
  }

  .option-icon {
    width: 80px;
    height: 80px;
  }

  .option-card h2 {
    font-size: 1.25rem;
  }

  .option-card p {
    font-size: 0.875rem;
  }
}
.cv-upload-page {
  padding: 2rem;
  min-height: 100vh;
  max-width: 900px;
}

.upload-content {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.upload-dropzone {
  border: 3px dashed #d1d5db;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #f9fafb;
}

.upload-dropzone:hover {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
}

.upload-dropzone.drag-active {
  border-color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.upload-icon {
  color: #8b5cf6;
  margin-bottom: 1rem;
}

.upload-dropzone h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.upload-dropzone > p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 1.5rem;
}

.file-requirements {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 1.5rem;
}

.file-requirements p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0.25rem 0;
}

.file-requirements strong {
  color: #374151;
}

.file-preview {
  text-align: center;
}

.file-preview-header {
  margin-bottom: 2rem;
}

.success-icon {
  color: #10b981;
  margin-bottom: 1rem;
}

.file-preview-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.file-icon {
  color: #8b5cf6;
  flex-shrink: 0;
}

.file-details {
  flex: 1;
  text-align: left;
}

.file-name {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
  word-break: break-word;
}

.file-size {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.remove-button {
  background: #fee2e2;
  border: none;
  border-radius: 8px;
  padding: 0.5rem;
  cursor: pointer;
  color: #dc2626;
  transition: all 0.2s;
  flex-shrink: 0;
}

.remove-button:hover:not(:disabled) {
  background: #fecaca;
}

.remove-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.upload-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
}

.upload-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
}

.upload-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.error-message {
  background: #fee2e2;
  border: 2px solid #fecaca;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.error-message p {
  color: #dc2626;
  font-weight: 500;
  margin: 0;
}

.upload-info {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.upload-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.upload-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.upload-info li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: #6b7280;
  line-height: 1.5;
}

.upload-info li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: bold;
  font-size: 1.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cv-upload-container {
    padding: 1rem;
  }

  .cv-upload-header h1 {
    font-size: 2rem;
  }

  .cv-upload-header .subtitle {
    font-size: 1rem;
  }

  .upload-content {
    padding: 1.5rem;
  }

  .upload-dropzone {
    padding: 2rem 1rem;
  }

  .upload-dropzone h3 {
    font-size: 1.25rem;
  }

  .file-info {
    flex-direction: column;
    text-align: center;
  }

  .file-details {
    text-align: center;
  }

  .upload-button {
    max-width: 100%;
  }
}
/* Loading Screen */
.loading-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}
