/* Admin Projects Styles - matching existing design patterns */

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
  font-size: 0.875rem;
}

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

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background-color: #4b5563;
}

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

.btn-danger:hover {
  background-color: #dc2626;
}

.btn-outline {
  background-color: transparent;
  color: #6b7280;
  border-color: #d1d5db;
}

.btn-outline:hover {
  background-color: #f9fafb;
  border-color: #9ca3af;
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.625rem;
  line-height: 1;
}

/* Progress bar styles */
.progress-bar-bg {
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 0.625rem;
}

.progress-bar-fill {
  background-color: #3b82f6;
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.625rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.status-badge-completed {
  background-color: #dcfce7;
  color: #166534;
}

.status-badge-in-progress {
  background-color: #fef3c7;
  color: #92400e;
}

.status-badge-step {
  background-color: #dbeafe;
  color: #1e40af;
}

.status-badge-task {
  background-color: #dcfdf4;
  color: #065f46;
}

/* Action step and task cards */
.admin-card {
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  padding: 1.5rem;
  background-color: white;
  transition: all 0.2s;
}

.admin-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Reorder controls */
.reorder-controls {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.reorder-controls .btn-xs {
  width: 1.5rem;
  height: 1.5rem;
  justify-content: center;
  padding: 0;
}

/* Form improvements */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 4rem;
}

/* Table improvements */
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  overflow: hidden;
}

.admin-table thead {
  background-color: #f9fafb;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.admin-table th {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.admin-table tbody tr:hover {
  background-color: #f9fafb;
}

.admin-table tbody tr:last-child td {
  border-bottom: none;
}

/* User assignment section */
.user-assignment-form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-select {
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  background-color: white;
  min-width: 200px;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .admin-card {
    padding: 1rem;
  }
  
  .user-assignment-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  
  .user-select {
    min-width: auto;
  }
}

/* Error states */
.error-message {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  margin-bottom: 1rem;
}

.error-message h4 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.error-message ul {
  list-style-type: disc;
  list-style-position: inside;
  margin-top: 0.5rem;
}

.error-message li {
  margin-bottom: 0.25rem;
}
#users-table tr td {
  text-align: center;
}
*, ::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.13 | MIT License | https://tailwindcss.com
*//*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Override for button-styled links to ensure proper text color */
.bg-blue-600,
.bg-green-600,
.bg-purple-600,
.bg-gray-600,
.bg-indigo-600 {
  color: white !important;
}

.bg-blue-600:hover,
.bg-green-600:hover,
.bg-purple-600:hover,
.bg-gray-600:hover,
.bg-indigo-600:hover {
  color: white !important;
}

/*
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] {
  display: none;
}
  body {
  font-family: "Inter", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
    background-image: radial-gradient(circle at 0% 0%, #FF8FBA 0%, #FFB6D9 25%, #FFF1F8 50%, #F0F7FF 75%, #E6F0FF 100%);
    color: #1E0E3E;
    font-feature-settings: "cv01", "cv02", "cv03", "cv04", "ss01", "ss02";
}

  h1, h2, h3, h4, h5, h6 {
  font-family: "Cal Sans", "Clash Display", system-ui, sans-serif;
  font-weight: 700;
    font-feature-settings: "cv01", "cv02", "cv03", "cv04", "ss01", "ss02";
}
.pointer-events-none {
  pointer-events: none;
}
.fixed {
  position: fixed;
}
.absolute {
  position: absolute;
}
.relative {
  position: relative;
}
.inset-0 {
  inset: 0px;
}
.-right-2 {
  right: -0.5rem;
}
.-right-20 {
  right: -5rem;
}
.-top-2 {
  top: -0.5rem;
}
.-top-20 {
  top: -5rem;
}
.bottom-20 {
  bottom: 5rem;
}
.bottom-6 {
  bottom: 1.5rem;
}
.bottom-full {
  bottom: 100%;
}
.left-0 {
  left: 0px;
}
.right-0 {
  right: 0px;
}
.right-6 {
  right: 1.5rem;
}
.top-1\/2 {
  top: 50%;
}
.z-10 {
  z-index: 10;
}
.z-20 {
  z-index: 20;
}
.z-50 {
  z-index: 50;
}
.col-span-2 {
  grid-column: span 2 / span 2;
}
.col-span-4 {
  grid-column: span 4 / span 4;
}
.col-span-6 {
  grid-column: span 6 / span 6;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-12 {
  margin-bottom: 3rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-24 {
  margin-bottom: 6rem;
}
.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-2 {
  margin-right: 0.5rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mt-8 {
  margin-top: 2.0rem;
}
.mt-auto {
  margin-top: auto;
}
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.inline-block {
  display: inline-block;
}
.flex {
  display: flex;
}
.inline-flex {
  display: inline-flex;
}
.grid {
  display: grid;
}
.aspect-\[21\/9\] {
  aspect-ratio: 21/9;
}
.aspect-video {
  aspect-ratio: 16 / 9;
}
.h-0 {
  height: 0px;
}
.h-10 {
  height: 2.5rem;
}
.h-16 {
  height: 4rem;
}
.h-2 {
  height: 0.5rem;
}
.h-24 {
  height: 6rem;
}
.h-3 {
  height: 0.75rem;
}
.h-4 {
  height: 1rem;
}
.h-5 {
  height: 1.25rem;
}
.h-52 {
  height: 13rem;
}
.h-6 {
  height: 1.5rem;
}
.h-8 {
  height: 2rem;
}
.h-\[2px\] {
  height: 2px;
}
.h-\[72px\] {
  height: 72px;
}
.h-full {
  height: 100%;
}
.min-h-screen {
  min-height: 100vh;
}
.w-0 {
  width: 0px;
}
.w-10 {
  width: 2.5rem;
}
.w-16 {
  width: 4rem;
}
.w-24 {
  width: 6rem;
}
.w-3 {
  width: 0.75rem;
}
.w-4 {
  width: 1rem;
}
.w-48 {
  width: 12rem;
}
.w-5 {
  width: 1.25rem;
}
.w-52 {
  width: 13rem;
}
.w-6 {
  width: 1.5rem;
}
.w-8 {
  width: 2rem;
}
.w-\[280px\] {
  width: 280px;
}
.w-\[72px\] {
  width: 72px;
}
.w-full {
  width: 100%;
}
.max-w-7xl {
  max-width: 80rem;
}
.flex-1 {
  flex: 1 1 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));
}
.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-x-\[-25\%\] {
  --tw-translate-x: -25%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.translate-y-\[25\%\] {
  --tw-translate-y: 25%;
  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-90 {
  --tw-rotate: -90deg;
  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-180 {
  --tw-rotate: 180deg;
  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));
}
.cursor-pointer {
  cursor: pointer;
}
.resize {
  resize: both;
}
.grid-cols-10 {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}
.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-rows-3 {
  grid-template-rows: repeat(3, minmax(0, 1fr));
}
.flex-col {
  flex-direction: column;
}
.items-end {
  align-items: flex-end;
}
.items-center {
  align-items: center;
}
.items-stretch {
  align-items: stretch;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}
.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-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-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * 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));
}
.overflow-hidden {
  overflow: hidden;
}
.whitespace-nowrap {
  white-space: nowrap;
}
.rounded {
  border-radius: 0.25rem;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-lg {
  border-radius: 0.5rem;
}
.rounded-md {
  border-radius: 0.375rem;
}
.rounded-xl {
  border-radius: 0.75rem;
}
.border {
  border-width: 1px;
}
.border-4 {
  border-width: 4px;
}
.border-b-\[20px\] {
  border-bottom-width: 20px;
}
.border-l-\[32px\] {
  border-left-width: 32px;
}
.border-t-2 {
  border-top-width: 2px;
}
.border-t-\[20px\] {
  border-top-width: 20px;
}
.border-b-transparent {
  border-bottom-color: transparent;
}
.border-t-transparent {
  border-top-color: transparent;
}
.bg-gray-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}
.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}
.bg-gradient-to-t {
  background-image: linear-gradient(to top, var(--tw-gradient-stops));
}
.from-black\/60 {
  --tw-gradient-from: rgb(0 0 0 / 0.6) var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}
.to-transparent {
  --tw-gradient-to: transparent var(--tw-gradient-to-position);
}
.fill-current {
  fill: currentColor;
}
.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}
.p-12 {
  padding: 3rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-4 {
  padding: 1rem;
}
.p-6 {
  padding: 1.5rem;
}
.p-8 {
  padding: 2rem;
}
.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-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-8 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.pl-4 {
  padding-left: 1rem;
}
.pl-16 {
  padding-left: 4rem;
}
.text-left {
  text-align: left;
}
.text-center {
  text-align: center;
}
.font-display {
  font-family: "Cal Sans", "Clash Display", system-ui, sans-serif;
}
.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}
.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
  line-height: 1;
}
.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}
.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}
.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}
.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.font-bold {
  font-weight: 700;
}
.font-extrabold {
  font-weight: 800;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-\[\#1D2D35\] {
  --tw-text-opacity: 1;
  color: rgb(29 45 53 / var(--tw-text-opacity));
}
.text-black {
  --tw-text-opacity: 1;
  color: rgb(0 0 0 / var(--tw-text-opacity));
}
.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}
.line-through {
  text-decoration-line: line-through;
}
.opacity-80 {
  opacity: 0.8;
}
.shadow {
  --tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-lg {
  --tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}
.shadow-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);
}
.ring {
  --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(3px + 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);
}
.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);
}
.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-2xl {
  --tw-backdrop-blur: blur(40px);
  -webkit-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-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, -webkit-backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-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-shadow {
  transition-property: box-shadow;
  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);
}

/* Glassmorphism */
.glass {
  --tw-backdrop-blur: blur(40px);
  -webkit-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-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);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-card {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
  --tw-backdrop-blur: blur(40px);
  -webkit-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-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);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-card:hover {
  --tw-translate-y: -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));
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.2);
}

/* Custom animations */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-10px) rotate(-1deg);
  }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

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

.animate-pulse-soft {
  animation: pulse-soft 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Progress bar animation */
.progress-stripes {
  background-image: linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.2) 75%,
    transparent 75%,
    transparent
  );
  background-size: 1rem 1rem;
  animation: progress-bar-stripes 1s linear infinite;
}

@keyframes progress-bar-stripes {
  0% { background-position: 1rem 0; }
  100% { background-position: 0 0; }
}

/* Custom utilities */
.text-shadow-sm {
  text-shadow: 0 1px 2px rgba(30, 14, 62, 0.1);
}

.text-shadow {
  text-shadow: 0 2px 4px rgba(30, 14, 62, 0.15);
}

.text-gradient {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
  --tw-gradient-from: #FF3366 var(--tw-gradient-from-position);
  --tw-gradient-to: rgb(255 51 102 / 0) var(--tw-gradient-to-position);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
  --tw-gradient-to: #6366F1 var(--tw-gradient-to-position);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* Interactive states */
.hover-lift {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 300ms;
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 48px rgba(31, 38, 135, 0.2);
}

.press-effect:active {
  transform: translateY(-2px);
  transition: all 0.1s cubic-bezier(0.65, 0, 0.35, 1);
}

.hover\:-translate-y-1:hover {
  --tw-translate-y: -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));
}

.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-\[1\.02\]:hover {
  --tw-scale-x: 1.02;
  --tw-scale-y: 1.02;
  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\:transform:hover {
  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\:bg-gray-50:hover {
  --tw-bg-opacity: 1;
  background-color: rgb(249 250 251 / var(--tw-bg-opacity));
}

.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);
}

.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));
}
#blogs-table a {
	font-weight: 600;
	text-decoration: underline;
}

#blog-content {
	background: #fafafa;
	border: 2px solid #efefef;
	padding: 20px;
}

#blog-content ul, 
#blog-content ol {
	margin: unset;
	padding: unset;
	list-style: unset;
	padding-left: 40px;
	margin: 20px 0 20px 0;
}

#blog-content ul ul,
#blog-content ol ol,
#blog-content ul ol,
#blog-content ol ul {
	margin-top: 0;
}

#blog-content blockquote {
	border-left: 4px solid #000;
	margin: 20px auto;
	padding: 8px 0px 8px 10px;
	background: #ececec;
}

.blog-content table,
.blog-content th,
.blog-content td {
  border: 1px solid #000;
}

.blog-content th {
  background: #666;
  color: #fff;
  padding: 10px 16px;
}

.blog-content table {
  margin: 16px 0;
}

/* New Blog Tool Styles (inspired by radar tool) */

.blog-instructions {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border: 2px solid #93c5fd;
}

.instruction-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2563eb;
}

.instruction-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e40af;
}

.instruction-content p {
  margin: 0;
  color: #1e3a8a;
  line-height: 1.6;
}

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

.blog-input-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.blog-keyword-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.blog-keyword-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.blog-write-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.blog-write-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.blog-write-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.blog-error-message {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 6px;
  font-size: 0.875rem;
}

.blog-list-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.blog-list-section h2 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.blog-list {
  min-height: 200px;
}

.blog-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.blog-row:hover {
  background: #f9fafb;
}

.blog-row:last-child {
  border-bottom: none;
}

.blog-icon {
  width: 60px;
  height: 60px;
  margin-right: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-placeholder {
  color: #9ca3af;
}

.icon-completed {
  color: #10b981;
  background: #d1fae5;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.blog-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.blog-link {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.blog-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.blog-keyword {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.blog-date {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
}

.blog-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  justify-content: flex-end;
}

.status-container {
  display: flex;
  justify-content: flex-end;
}

.status-text {
  font-size: 0.875rem;
  padding: 0.375rem 0.75rem;
  border-radius: 6px;
  font-weight: 500;
  text-transform: capitalize;
}

.status-text.pending {
  background: #fef3c7;
  color: #92400e;
}

.status-text.processing {
  background: #dbeafe;
  color: #1e40af;
}

.status-text.completed {
  background: #d1fae5;
  color: #065f46;
}

.status-text.failed {
  background: #fee2e2;
  color: #991b1b;
}

.remove-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.blog-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.empty-state-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.blog-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.blog-empty-state p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Loading states */
.blog-form.loading .blog-write-btn {
  opacity: 0.6;
  cursor: not-allowed;
}

.blog-form.loading .blog-keyword-input {
  opacity: 0.6;
}

/* Blog show page styles */
.blog-content-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.blog-meta {
  background: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid #3b82f6;
}

.blog-meta p {
  margin: 0.5rem 0;
  font-size: 0.875rem;
}

.blog-meta strong {
  color: #374151;
  font-weight: 600;
}

.blog-content {
  line-height: 1.7;
  color: #374151;
}

.blog-content h1,
.blog-content h2,
.blog-content h3,
.blog-content h4 {
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.blog-content h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid #e5e7eb;
  padding-bottom: 0.5rem;
}

.blog-content h2 {
  font-size: 2.0rem;
}

.blog-content h3 {
  font-size: 1.5rem;
}

.blog-content p {
  margin-bottom: 1rem;
}

.blog-content ul,
.blog-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
  list-style: disc !important;
}

.blog-content li {
  margin-bottom: 0.5rem;
}

.blog-content blockquote {
  border-left: 4px solid #3b82f6;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background: #f8fafc;
  font-style: italic;
}

.blog-content code {
  background: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.875rem;
}

.blog-content pre {
  background: #f1f5f9;
  padding: 1rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1rem 0;
}

.blog-content pre code {
  background: none;
  padding: 0;
}

/* Blog status states for show page */
.blog-pending,
.blog-processing,
.blog-failed {
  text-align: center;
  padding: 3rem 2rem;
}

.pending-icon,
.processing-icon,
.failed-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.pending-icon {
  color: #f59e0b;
}

.processing-icon {
  color: #3b82f6;
}

.failed-icon {
  color: #ef4444;
}

.blog-pending h3,
.blog-processing h3,
.blog-failed h3 {
  margin-bottom: 1rem;
  color: #374151;
}

.blog-pending p,
.blog-processing p,
.blog-failed p {
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
}

/* Instant Yes Email Start Screen */

.instant-yes-start-screen {
  background: white;
  padding: 4rem 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.start-icon {
  width: 80px;
  height: 80px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.start-icon svg {
  color: #3b82f6;
}

.start-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.start-description {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 400px;
}

.start-button {
  background: #3b82f6;
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.start-button:hover {
  background: #2563eb;
}

/* Instant Yes Email Wizard Styles */

.instant-yes-wizard-section {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  overflow: hidden;
}

.instant-yes-form {
  max-width: 1000px;
  margin: 0 auto;
}

.wizard-progress {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e5e7eb;
}

.progress-text {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.progress-bar {
  background: #e5e7eb;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  max-width: 600px;
  margin: 0 auto;
}

.progress-fill {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  height: 100%;
  transition: width 0.3s ease;
}

.wizard-step {
  margin-bottom: 2rem;
}

.wizard-step[style*="display: none"] {
  display: none !important;
}

.wizard-step-two-column {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.wizard-instructions {
  /* Left column - contains question and input */
}

.wizard-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1rem 0;
  text-align: left;
}

.wizard-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.wizard-example {
  background: #f0fdf4;
  border-left: 3px solid #10b981;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  color: #065f46;
  line-height: 1.5;
}

.wizard-example strong {
  color: #047857;
  display: block;
  margin-bottom: 0.25rem;
}

.wizard-input-column {
  /* Right column - contains description and example */
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.wizard-input {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.wizard-input:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.wizard-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
  resize: vertical;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}

.wizard-textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.wizard-navigation {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.wizard-back-btn,
.wizard-next-btn {
  padding: 0.875rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  font-size: 1rem;
}

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

.wizard-back-btn:hover {
  background: #e5e7eb;
}

.wizard-next-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  margin-left: auto;
}

.wizard-next-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.wizard-next-btn:disabled,
.wizard-back-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.wizard-error-message {
  background: #fee2e2;
  color: #b91c1c;
  padding: 0.875rem;
  border-radius: 6px;
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
}

/* Instant Yes Email List Styles */

.instant-yes-list-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.instant-yes-list-section h2 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.instant-yes-list {
  min-height: 200px;
}

.instant-yes-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.instant-yes-row:hover {
  background: #f9fafb;
}

.instant-yes-row:last-child {
  border-bottom: none;
}

.email-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.instant-yes-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.instant-yes-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.instant-yes-empty-state p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Email show page styles */

.email-flow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  overflow-x: hidden;
}

.email-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.email-flow-header h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

.header-actions {
  display: flex;
  gap: 1rem;
}

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

.answers-section {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.answers-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.5rem 0;
}

.answer-grid {
  display: grid;
  gap: 1.5rem;
}

.answer-item {
  background: #f9fafb;
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 4px solid #10b981;
}

.answer-item strong {
  display: block;
  color: #374151;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.answer-item p {
  margin: 0;
  color: #111827;
  line-height: 1.6;
}

.variations-section {
  margin-bottom: 3rem;
}

.variations-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 1.5rem 0;
}

.variations-grid {
  display: grid;
  gap: 1.25rem;
}

.variation-card {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  transition: all 0.2s;
}

.variation-card:hover {
  border-color: #10b981;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.variation-content {
  flex: 1;
}

.variation-content p {
  margin: 0;
  color: #111827;
  line-height: 1.6;
  font-weight: 500;
}

.email-body-text {
  white-space: pre-wrap;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: #111827;
  line-height: 1.7;
}

.copy-btn {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  padding: 0.625rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-weight: 500;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #10b981;
  border-color: #10b981;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.copy-btn.copied {
  background: #10b981;
  border-color: #10b981;
  color: white;
}

.copy-btn.copy-error {
  background: #ef4444;
  border-color: #ef4444;
  color: white;
}

.copy-btn svg {
  width: 1.125rem;
  height: 1.125rem;
}

.email-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

.email-pending,
.email-processing,
.email-failed {
  text-align: center;
  padding: 4rem 2rem;
}

.email-pending h3,
.email-processing h3,
.email-failed h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
  color: #374151;
}

.email-pending p,
.email-processing p,
.email-failed p {
  color: #6b7280;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Email info styles (matching blog pattern) */
.email-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.email-link {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s;
}

.email-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.email-client {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0.25rem 0;
}

.email-date {
  color: #9ca3af;
  font-size: 0.75rem;
  margin: 0;
}

.email-status {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  min-width: 150px;
  justify-content: flex-end;
}

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

.btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-secondary {
  background: #f3f4f6;
  color: #374151;
  border: 2px solid #e5e7eb;
}

.btn-secondary:hover {
  background: #e5e7eb;
}

/* Icon animations */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-spin {
  animation: spin 2s linear infinite;
}

/* Rewrite Modal */
.rewrite-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rewrite-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.rewrite-modal-content {
  position: relative;
  background: white;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  text-align: center;
  max-width: 400px;
  z-index: 10000;
}

.modal-spinner {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #3b82f6;
}

.rewrite-modal-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.5rem 0;
}

.rewrite-modal-content p {
  color: #6b7280;
  margin: 0;
  font-size: 1rem;
}

/* Web Analytics Styles */
.web-analytics-content {
  max-width: 900px;
  margin: 0 auto;
}

.analytics-not-connected {
  text-align: center;
  padding: 4rem 2rem;
}

.not-connected-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 2rem;
  color: #9ca3af;
}

.analytics-not-connected h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 1rem;
}

.connect-description {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.connect-btn {
  display: inline-flex;
  align-items: center;
  font-size: 1.125rem;
  padding: 1rem 2rem;
}

.setup-instructions {
  max-width: 600px;
  margin: 3rem auto 0;
  text-align: left;
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
}

.setup-instructions h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #111827;
}

.setup-instructions ol {
  padding-left: 1.5rem;
  color: #374151;
}

.setup-instructions li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.analytics-connected-section {
  padding: 2rem;
}

.connection-status {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.875rem;
}

.status-badge.connected {
  background: #d1fae5;
  color: #065f46;
}

.connected-property {
  font-weight: 600;
  color: #111827;
  margin: 0;
  flex: 1;
}

.connected-date {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.analytics-data-section {
  margin-bottom: 2rem;
}

.analytics-data-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #111827;
}

.analytics-metric-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
}

.metric-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  color: #3b82f6;
}

.metric-header h4 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0;
  color: #111827;
}

.metric-period {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

.metric-value {
  text-align: center;
  padding: 2rem 0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-number {
  font-size: 4rem;
  font-weight: 700;
  color: #3b82f6;
  line-height: 1;
}

.metric-error {
  color: #ef4444;
  font-weight: 600;
}

.loading-spinner {
  display: flex;
  justify-content: center;
  color: #9ca3af;
}

.fetch-data-btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

.analytics-actions {
  display: flex;
  justify-content: center;
  padding-top: 2rem;
  border-top: 2px solid #e5e7eb;
}

/* API Activation Notice */
.api-activation-notice {
  text-align: left;
  padding: 2rem;
  background: #fef3c7;
  border: 2px solid #fbbf24;
  border-radius: 8px;
}

.api-activation-notice h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.75rem;
}

.api-activation-notice p {
  font-size: 1rem;
  color: #78350f;
  margin-bottom: 1rem;
}

.activation-steps {
  background: white;
  padding: 1.5rem;
  border-radius: 6px;
  margin: 1.5rem 0;
  list-style-position: inside;
}

.activation-steps li {
  font-size: 0.95rem;
  color: #374151;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.activation-steps li:last-child {
  border-bottom: none;
}

.activation-link {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
}

/* Property Selection Styles */
.property-selection-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.selection-instruction {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 2rem;
  text-align: center;
}

.properties-list {
  display: grid;
  gap: 1rem;
}

.property-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}

.property-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.property-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
  color: #111827;
}

.property-account {
  color: #6b7280;
  margin: 0 0 0.25rem 0;
  font-size: 0.875rem;
}

.property-id {
  color: #9ca3af;
  margin: 0;
  font-size: 0.75rem;
  font-family: monospace;
}

.no-properties {
  text-align: center;
  padding: 3rem 2rem;
}

.no-properties p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Responsive design */
@media (max-width: 768px) {
  .blog-input-container {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-write-btn {
    margin-top: 0.5rem;
  }

  .blog-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .blog-status {
    width: 100%;
    justify-content: space-between;
  }

  .blog-input-section,
  .blog-content-section {
    padding: 1.5rem;
  }

  .blog-list-section h2 {
    padding: 1rem 1.5rem;
  }

  .blog-row {
    padding: 1rem 1.5rem;
  }

  .instant-yes-wizard-section,
  .instant-yes-content-section {
    padding: 1.5rem;
  }

  .instant-yes-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .email-status {
    width: 100%;
  }

  .wizard-question {
    font-size: 1.25rem;
  }

  .wizard-step-two-column {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .wizard-instructions {
    padding-right: 0;
  }

  .variation-card {
    flex-direction: column;
  }

  .email-flow-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
/* app/assets/stylesheets/calendar.css */

.calendar-container {
  min-height: 100vh;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding-right: 2px;
  min-width: 0; /* Important for preventing expansion */
}

.calendar-container > div {
  display: grid;
}

.calendar-grid {
  display: grid;
  grid-template-columns: 60px 1fr 1fr 1fr 1fr 1fr 60px; /* Sunday and Saturday thinner */
  width: 100%;
  gap: 8px;
  /*max-width: 1400px;*/
  margin: 0 auto;
  margin-bottom: 80px;
}

.calendar-day {
  height: 360px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden; /* Prevents content from expanding the container */
  transition: all 0.3s ease;
}

.calendar-day-number {
  font-weight: 600;
/*
  font-size: 14px;
  margin-bottom: 8px;
  color: #374151;
*/
  pointer-events: none; /* Prevent interfering with drag */
  color: rgba(0, 0, 0, 0.15);
  font-style: italic;
  font-size: 32px;
  left: 16px;
  margin: 0;
}

.calendar-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  padding: 4px 2px 4px 0;
  min-width: 0;
}

/* Header row for day names */
.calendar-header-day {
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  color: #6b7280;
  background: transparent;
  border: none;
  min-height: auto;
  height: auto;
}

/* Weekend header styling */
.calendar-header-day.weekend {
  padding: 12px 4px;
  font-size: 14px;
}

/* Weekend day styling */
.calendar-day.weekend {
  padding: 6px 4px;
  background: #f6f6f6;
}

/* Current date highlighting */
.calendar-day.current-date {
  background: rgba(255, 255, 0, 0.1) !important;
}

.calendar-day.weekend .calendar-day-number {
  text-align: center;
  margin-bottom: 6px;
}

/* Task and event cards */
.task-card {
  font-size: 18px;
  line-height: 1.4;
  cursor: move;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  margin-bottom: 2px;
  user-select: none;
  position: relative;
  overflow: visible;
  color: white;
  grid-template-columns: unset !important;
  background: white;
  border-radius: 6px;
  padding: 6px; /* Reduced padding for more space */
  line-height: 1.3; /* Tighter line height */
  /*cursor: move;*/
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  margin-bottom: 2px;
  user-select: none;
  position: relative;
  min-width: 0;
  overflow: visible;
}

/* TODO: BUG: THis is a bug. .content is a different class but this task-card has a child class for a "content" type of card and it adds a margin-bottom*/
.task-card.content {
	margin-bottom: unset !important;
}


.task-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.event-card {
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
  color: white;
  border-radius: 6px;
  padding: 8px;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  user-select: none;
}

/* Drag and Drop States */
.dragging .calendar-day {
  transition: all 0.2s ease;
}

.drop-zone-active {
  background-color: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(59, 130, 246, 0.6) !important;
  border-width: 2px !important;
  box-shadow: 
    0 0 0 4px rgba(59, 130, 246, 0.1),
    0 4px 12px rgba(59, 130, 246, 0.15) !important;
  /* Remove any transform: scale() */
}

.drop-zone-active .drop-indicator {
  /*display: flex !important;*/
  display: none !important;
}

.task-card.dragging {
  opacity: 0.5;
  transform: scale(0.95) rotate(5deg);
  z-index: 1000;
}

.drop-indicator {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent; /* Remove grey background */
  border: 1px solid rgba(59, 130, 246, 0.6);
  border-radius: 6px;
  pointer-events: none;
}

.drop-indicator span {
  background: rgba(59, 130, 246, 0.9);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Drag handle */
.drag-handle {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
  color: #9ca3af;
}

.task-card:hover .drag-handle {
  opacity: 1;
}

/* Loading state */
.calendar-day.loading::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  z-index: 10;
}

/* Scrollbar styling */
.calendar-content::-webkit-scrollbar {
  width: 4px;
}

.calendar-content::-webkit-scrollbar-track {
  background: transparent;
}
.calendar-content::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 2px;
}

.calendar-content::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.3);
}

/* Prevent text selection during drag */
.dragging * {
  user-select: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .calendar-day {
    height: 200px;
  }
}

@media (max-width: 768px) {
  .calendar-grid {
    gap: 4px;
  }
  
  .calendar-day {
    height: 160px;
    padding: 6px;
  }
  
  .task-card {
    padding: 6px;
    font-size: 11px;
  }
}

/* Success animation for dropped card */
.task-card.just-dropped {
  animation: dropSuccess 0.6s ease-out;
}

@keyframes dropSuccess {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(1deg) scale(1.02); }
  50% { transform: rotate(-1deg) scale(1.02); }
  75% { transform: rotate(0.5deg); }
  100% { transform: rotate(0deg) scale(1); }
}

.task-card .font-medium {
/*
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
*/
}

.task-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  width: 100%;
}

/* Task title styling - full width */
.task-title {
  font-weight: 600;
  pointer-events: none;
  overflow: hidden;
  display: -webkit-box;
  /*-webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  word-break: break-word;
  order: 1; /* Ensure it's always first */
}

/* Task details styling - always below title */
.task-details {
  font-size: 14px;
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  order: 2; /* Ensure it's always second */
}

/* Default styling */
.task-card {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* Track color classes - these take precedence over category colors */
.task-card.track-color-1 {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.task-card.track-color-2 {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.task-card.track-color-3 {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.task-card.track-color-4 {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.task-card.track-color-5 {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.task-card.track-color-6 {
  background: linear-gradient(135deg, #14b8a6 0%, #0f766e 100%);
}

.task-card.track-color-7 {
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
}

.task-card.track-color-8 {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.task-card.track-color-9 {
  background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
}

.task-card.track-color-10 {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* Category-specific gradients (fallback for non-track tasks) */
.task-card.strategy {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.task-card.campaigns {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.task-card.content {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.task-card.analytics {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.task-card.operations {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Adjust complete button for white text */
.task-card .complete-form button {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.task-card .complete-form button:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* End Task Card Colors */

/* For a darker overlay */
.bg-black.bg-opacity { 
  background-color: rgba(0, 0, 0, 0.4); 
}

/* For a blur effect */
.modal-overlay {
  backdrop-filter: blur(2px);
}

/* Track task highlighting animation */
.track-task-highlight {
  animation: trackTaskPulse 2s ease-in-out;
  border: 2px solid #10b981;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

@keyframes trackTaskPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.login-card.card {
	padding: 4rem;
	max-width: 800px;
	margin: auto;
}

.login-card h2,
.login-card form {
	max-width: 600px;
	margin: auto;
}

.login-card h2 {
	font-size: 2.2rem;
	text-align: center;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 2px solid #000;
}

.login-card input[type=text],
.login-card input[type=email],
.login-card input[type=password] {
	background: #f0f0f0;
	border: 1px solid #dedede;
	border-radius: 8px;
}
/* app/assets/stylesheets/email_flows.css */

/* ==========================================================================
   Email Flow Layout
   ========================================================================== */

.email-flow-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.email-flow-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #e9ecef;
}

.email-flow-header h1 {
  color: #333;
  font-size: 2rem;
  margin: 0;
}

.email-flow-canvas {
  background: #f8f9fa;
  border: 2px dashed #dee2e6;
  border-radius: 8px;
  padding: 40px;
  min-height: 400px;
  position: relative;
}

.flow-steps-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.empty-flow {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 1.2rem;
}

/* ==========================================================================
   Email Steps
   ========================================================================== */

.email-step {
  background: white;
  border: 2px solid #007bff;
  border-radius: 8px;
  padding: 16px;
  min-width: 280px;
  max-width: 320px;
  cursor: grab;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  position: relative;
}

.email-step:hover:not(.dragging) {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.email-step-delay {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 8px;
  text-align: center;
}

.email-step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.email-step-name {
  font-weight: bold;
  color: #333;
  font-size: 1.1rem;
}

.email-step-body {
  color: #666;
}

.email-step-subject {
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-style: italic;
}

.email-step-meta {
  font-size: 0.8rem;
  color: #999;
}


/* ==========================================================================
   Drag and Drop (SortableJS)
   ========================================================================== */

.sortable-chosen {
  cursor: grabbing;
}

.sortable-ghost {
  opacity: 0.4;
}

/* Hide the connection line that comes after the ghost element during drag */
.sortable-ghost + .connection-line {
  display: none;
}

.sortable-drag {
  cursor: grabbing;
}


/* Wobble animation after drop */
.email-step.wobble {
  animation: wobble 0.6s ease-in-out;
}

@keyframes wobble {
  0% { transform: scale(1.0) rotate(0deg); }
  15% { transform: scale(1.0) rotate(-2deg); }
  30% { transform: scale(1.0) rotate(2deg); }
  45% { transform: scale(1.0) rotate(-1deg); }
  60% { transform: scale(1.0) rotate(1deg); }
  75% { transform: scale(1.0) rotate(-0.5deg); }
  100% { transform: scale(1.0) rotate(0deg); }
}

/* ==========================================================================
   Connection Lines
   ========================================================================== */

.connection-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin: 10px 0;
  width: 100%;
  min-height: 60px;
  padding: 10px 0;
}

.line {
  width: 3px;
  height: 40px;
  background: #007bff;
  position: relative;
}

.line::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #007bff;
}

.add-step-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  width: 100px;
  height: 28px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: all 0.2s ease;
  opacity: 0;
  visibility: hidden;
  z-index: 10;
  white-space: nowrap;
}

.connection-line:hover .add-step-btn {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1.05);
}

.add-step-btn:hover {
  background: #218838;
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
}

.modal.show {
  display: block;
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
}

.modal-lg {
  max-width: 800px;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #dee2e6;
}

.modal-header .close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
}

.modal-header .close:hover {
  color: #333;
}

.modal-body {
  padding: 1rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 1rem;
  border-top: 1px solid #dee2e6;
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-control {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
}

.text-muted {
  color: #6c757d;
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s ease;
  font-weight: 500;
}

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

.btn-primary {
  background-color: #007bff;
  color: white;
}

.btn-primary:hover:not(:disabled) {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover:not(:disabled) {
  background-color: #545b62;
}

.btn-success {
  background-color: #28a745;
  color: white;
}

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 768px) {
  .email-flow-container {
    padding: 15px;
  }
  
  .email-flow-canvas {
    padding: 20px;
  }
  
  .email-step {
    min-width: 240px;
    max-width: 280px;
  }
  
  .add-step-btn {
    right: -30px;
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  
  .modal-dialog {
    margin: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .email-flow-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .email-step {
    min-width: 200px;
    max-width: 240px;
  }
}

/* ==========================================================================
   Template Management Styles
   ========================================================================== */

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.template-card {
  background: white;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
}

.template-card:hover {
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transform: translateY(-2px);
}

.template-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.template-name {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2rem;
}

.template-name:hover {
  text-decoration: underline;
}

.template-actions {
  display: flex;
  gap: 8px;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.template-description {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.4;
}

.template-tags {
  margin-bottom: 15px;
}

.template-tags h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
}

.tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  background: #e3f2fd;
  color: #1565c0;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
}

.template-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: #666;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.step-count {
  font-weight: 500;
}

/* Template Form Styles */
.template-form {
  max-width: 600px;
  margin: 20px auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template-info-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 2fr 3fr 2fr 1fr;
  gap: 15px;
  align-items: end;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: #333;
}

.form-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

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

.calendar-month {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  padding: 0 15px;
}

/* ==========================================================================
   Task Template Specific Styles
   ========================================================================== */

.task-template {
  border-color: #17a2b8; /* Different color for task templates */
}

.task-template.anchor {
  border-color: #ffc107; /* Gold color for anchor */
  border-width: 3px; /* Thicker border for anchor */
  box-shadow: 0 2px 8px rgba(255, 193, 7, 0.3); /* Gold shadow */
}

.task-template.anchor:hover:not(.dragging) {
  box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4); /* Enhanced gold shadow on hover */
}

.anchor-pin {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ffc107;
  color: #333;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  z-index: 10;
}

.task-template-delay {
  background: #d1ecf1;
  color: #0c5460;
}

.task-template-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-top: 4px;
  color: #666;
}

.task-template-meta .estimated-time {
  font-weight: 500;
  color: #28a745;
}

.task-template-meta .frequency {
  font-style: italic;
  color: #6c757d;
}

/* Template Info Display */
.template-info {
  background: white;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.template-info h3 {
  margin-bottom: 10px;
  color: #333;
  font-size: 1.1rem;
}

.template-info .template-description p {
  margin: 0;
  line-height: 1.5;
}

.template-stats {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
}

/* Read-only Flow Styles */
.email-flow-canvas.readonly {
  pointer-events: none;
}

.email-step.readonly {
  cursor: default;
}

.email-step.readonly:hover {
  transform: none;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.connection-line.readonly .add-step-btn {
  display: none;
}

.email-step-preview {
  margin-top: 8px;
  font-size: 0.8rem;
  color: #999;
  font-style: italic;
}

/* Alert Styles */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
}

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

.alert h4 {
  margin-bottom: 10px;
}

.alert ul {
  margin: 0;
  padding-left: 20px;
}

@media (max-width: 768px) {
  .templates-grid {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .header-actions {
    flex-direction: column;
  }
  
  .modal-lg {
    max-width: 95%;
    margin: 1rem;
  }
}

/* Template Chooser Modal Styles */
.template-card.clickable {
  cursor: pointer;
  margin-bottom: 15px;
}

.template-card.clickable:hover {
  border-color: #007bff;
}

#templatesContainer {
  max-height: 60vh;
  overflow-y: auto;
}

.text-center {
  text-align: center;
}
/* Home Page Styles */

.home-video-section {
}

.home-video-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.video-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.loom-embed-wrapper {
  width: 80%;
  max-width: 900px;
  position: relative;
  padding-bottom: 45%; /* 16:9 aspect ratio (9/16 = 0.5625, but 80% width so 45%) */
  height: 0;
  overflow: hidden;
}

.loom-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.home-divider {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
  margin: 1rem 0 3rem 0;
}

.home-cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  align-items: stretch;
}

.home-calendar-card,
.home-action-card {
  background: white;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.2s;
  min-width: 280px;
  flex: 1;
  max-width: 350px;
}

.home-calendar-card:hover,
.home-action-card:hover {
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.calendar-icon,
.action-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.calendar-icon {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: #1e40af;
}

.action-icon.slack-icon {
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  color: #92400e;
}

.action-icon.tools-icon {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #065f46;
}

.action-icon.playbooks-icon {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #3730a3;
}

.calendar-icon.office-hours-icon {
  background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
  color: #6b21a8;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.75rem 0;
}

.card-date {
  font-size: 1.125rem;
  color: #374151;
  margin: 0 0 1.5rem 0;
  font-weight: 500;
}

.card-description {
  font-size: 1rem;
  color: #6b7280;
  margin: 0 0 1.5rem 0;
  line-height: 1.5;
}

.add-calendar-btn,
.action-card-btn {
  padding: 0.875rem 1.75rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  margin-top: auto;
}

.add-calendar-btn {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
}

.add-calendar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.action-card-btn.slack-btn {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.action-card-btn.slack-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.action-card-btn.tools-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
}

.action-card-btn.tools-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.action-card-btn.playbooks-btn {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: white;
}

.action-card-btn.playbooks-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.add-calendar-btn.office-hours-btn {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  color: white;
}

.add-calendar-btn.office-hours-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

/* Calendar Modal Styles */

.calendar-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-modal.hidden {
  display: none;
}

.calendar-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.calendar-modal-content {
  position: relative;
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  z-index: 10000;
}

.calendar-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: all 0.2s;
}

.calendar-modal-close:hover {
  background: #f3f4f6;
  color: #374151;
}

.calendar-modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 0.5rem 0;
  text-align: center;
}

.calendar-modal-subtitle {
  color: #6b7280;
  text-align: center;
  margin: 0 0 2rem 0;
}

.calendar-options {
  display: grid;
  gap: 1rem;
}

.calendar-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.calendar-option:hover {
  background: white;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
  transform: translateY(-2px);
}

.calendar-option-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-icon {
  background: #f8fafc;
}

.outlook-icon {
  background: #dbeafe;
  color: #0078d4;
}

.office365-icon {
  background: #fee2e2;
  color: #dc2626;
}

.apple-icon {
  background: #f3f4f6;
  color: #374151;
}

.calendar-option-name {
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
}

/* Office Hours Options */

.office-hours-options {
  text-align: center;
}

.office-hours-options.hidden {
  display: none;
}

.office-hours-note {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.office-hours-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-hours-day-btn {
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.office-hours-day-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Responsive design */
@media (max-width: 768px) {
  /* Home page responsive */
  .loom-embed-wrapper {
    width: 100%;
    padding-bottom: 56.25%; /* Full 16:9 on mobile */
  }

  .home-cards-container {
    flex-direction: column;
  }

  .home-calendar-card,
  .home-action-card {
    max-width: 100%;
  }

  /* Calendar modal responsive */
  .calendar-modal-content {
    padding: 2rem 1.5rem;
    width: 95%;
  }

  .calendar-modal-title {
    font-size: 1.5rem;
  }

  .calendar-option {
    padding: 0.875rem 1rem;
  }

  .calendar-option-icon {
    width: 40px;
    height: 40px;
  }

  .calendar-option-name {
    font-size: 0.9375rem;
  }
}
/* ICP Tool Styles */

/* ===== LAYOUT & CONTAINER ===== */
.icp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* ===== HEADERS ===== */
.icp-header,
.quiz-header,
.test-header,
.content-header {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.header-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.icp-meta {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.industry-tag,
.job-title-tag {
  background: #f3f4f6;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
}

.industry-tag {
  background: #dbeafe;
  color: #1e40af;
}

.job-title-tag {
  background: #d1fae5;
  color: #065f46;
}

/* ===== BUTTONS ===== */
.icp-container .btn,
.quiz-content .btn,
.question-navigation .btn,
input[type="submit"].btn,
button.btn,
.btn {
  display: inline-flex !important;
  align-items: center !important;
  padding: 0.75rem 1.5rem !important;
  border: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  font-size: 0.875rem !important;
  margin: 0 !important;
}

.icp-container .btn-primary,
.quiz-content .btn-primary,
.question-navigation .btn-primary,
input[type="submit"].btn-primary,
button.btn-primary,
.btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  color: white !important;
  border: none !important;
}

.icp-container .btn-primary:hover,
.quiz-content .btn-primary:hover,
.question-navigation .btn-primary:hover,
input[type="submit"].btn-primary:hover,
button.btn-primary:hover,
.btn-primary:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3) !important;
}

.btn-primary-large {
  padding: 1rem 2rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}

.btn-primary-large:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.icp-container .btn-secondary,
.quiz-content .btn-secondary,
.question-navigation .btn-secondary,
input[type="submit"].btn-secondary,
button.btn-secondary,
.btn-secondary {
  background: #f9fafb !important;
  color: #374151 !important;
  border: 1px solid #d1d5db !important;
}

.icp-container .btn-secondary:hover,
.quiz-content .btn-secondary:hover,
.question-navigation .btn-secondary:hover,
input[type="submit"].btn-secondary:hover,
button.btn-secondary:hover,
.btn-secondary:hover {
  background: #f3f4f6 !important;
  border-color: #9ca3af !important;
}

.btn-secondary.small {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* ===== WELCOME PAGE ===== */
.welcome-content {
  background: white;
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.welcome-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.welcome-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.welcome-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
}

.welcome-content p {
  font-size: 1.25rem;
  color: #6b7280;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.feature-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  text-align: left;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* ===== QUIZ INTERFACE ===== */
.icp-container .quiz-content,
.quiz-content {
  background: white !important;
  padding: 2rem !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 2rem !important;
}

.icp-container .progress-bar-container,
.progress-bar-container {
  margin-bottom: 2rem !important;
}

.icp-container .progress-info,
.progress-info {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 1rem !important;
}

.icp-container .progress-text,
.progress-text {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.icp-container .question-count,
.question-count {
  font-size: 0.875rem !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
}

.icp-container .progress-bar,
.progress-bar {
  width: 100% !important;
  height: 8px !important;
  background: #f3f4f6 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.icp-container .progress-fill,
.progress-fill {
  height: 100% !important;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%) !important;
  transition: width 0.3s ease !important;
  border-radius: 4px !important;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  transition: all 0.2s;
}

.step-circle.active {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.step-circle.completed {
  background: #10b981;
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

/* Question Form */
.question-form {
  max-width: 600px;
  margin: 0 auto;
}

.question-content {
  margin-bottom: 2rem;
}

.question-number {
  font-size: 0.875rem;
  color: #3b82f6;
  font-weight: 600;
  margin-bottom: 1rem;
}

.question-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

.question-input {
  width: 100%;
  margin-bottom: 1rem;
}

.icp-container .form-input,
.icp-container .form-textarea,
.icp-container .form-select,
.quiz-content .form-input,
.quiz-content .form-textarea,
.quiz-content .form-select,
.form-input,
.form-textarea,
.form-select {
  width: 100% !important;
  padding: 1rem 1.5rem !important;
  border: 2px solid #e5e7eb !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: border-color 0.2s !important;
  font-family: inherit !important;
  background: white !important;
  box-sizing: border-box !important;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: #fef2f2;
  border-radius: 6px;
  border-left: 4px solid #ef4444;
}

.question-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}

.nav-spacer {
  flex: 1;
}

/* Quiz Completion */
.quiz-completed {
  text-align: center;
  padding: 3rem 2rem;
}

.completion-icon {
  width: 80px;
  height: 80px;
  background: #10b981;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.completion-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.quiz-completed h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.quiz-completed p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ===== ICP GRID ===== */
.icp-content {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.grid-header {
  text-align: center;
  margin-bottom: 2rem;
}

.grid-header h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.grid-subtitle {
  color: #6b7280;
  margin: 0;
}

/* Accordion Styles */
.attributes-accordions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.accordion-item {
  background: white;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item.wants {
  border-left: 4px solid #3b82f6;
}

.accordion-item.aspirations {
  border-left: 4px solid #10b981;
}

.accordion-item.frustrations {
  border-left: 4px solid #f59e0b;
}

.accordion-item.fears {
  border-left: 4px solid #ef4444;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f9fafb;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.accordion-header:hover {
  background: #f3f4f6;
}

.accordion-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.25rem 0;
}

.accordion-title p {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
}

.accordion-icon {
  flex-shrink: 0;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-item.is-open .accordion-content {
  max-height: 2000px;
  padding: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

/* Two column grid for attributes */
.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

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

.section-header h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.section-header p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

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

.two-column-grid.attributes-list {
  display: grid;
}

.attribute-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #e5e7eb;
}

.attribute-item:hover {
  background: #f8fafc;
  border-color: #3b82f6;
}

.attribute-checkbox {
  margin: 0;
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
  cursor: pointer;
}

.checkmark {
  position: relative;
  flex-shrink: 0;
}

.attribute-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #374151;
}

.saved-attribute {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}

.saved-attribute:hover {
  border-color: #d1d5db;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.saved-attribute .checkmark-icon {
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.saved-attribute span {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.4;
  flex-grow: 1;
}

.delete-attribute-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: #ef4444;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
  z-index: 10;
}

.saved-attribute:hover .delete-attribute-btn {
  opacity: 1;
  transform: scale(1);
}

.delete-attribute-btn:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.delete-attribute-btn svg {
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Grid Actions */
.grid-actions,
.saved-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: #f9fafb;
  border-radius: 8px;
  margin-top: 2rem;
}

.selection-info,
.icp-summary {
  color: #6b7280;
  font-size: 0.875rem;
}

.icp-summary strong {
  color: #1f2937;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 1rem;
}

/* ===== CONTENT IDEAS ===== */
.content-body {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.content-ideas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.content-cell {
  background: #f9fafb;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

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

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

.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.refresh-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.refresh-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

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

.refresh-btn svg {
  color: #6b7280;
}

.copy-all-btn,
.copy-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-all-btn:hover,
.copy-btn:hover {
  background: #e5e7eb;
  border-color: #9ca3af;
}

.copy-all-btn svg,
.copy-btn svg {
  color: #6b7280;
}

.content-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.item-text {
  flex: 1;
  font-size: 0.875rem;
  line-height: 1.4;
  color: #374151;
}

.copy-btn {
  padding: 0.25rem;
  flex-shrink: 0;
}

/* Buyer's Journey */
.buyers-journey {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #e5e7eb;
}

.buyers-journey h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
  text-align: center;
}

.journey-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 2rem;
}

.journey-stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.stage-card {
  background: #f9fafb;
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid #3b82f6;
}

.stage-card:nth-child(2) {
  border-left-color: #10b981;
}

.stage-card:nth-child(3) {
  border-left-color: #f59e0b;
}

.stage-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.stage-description {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.stage-content {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* No Content State */
.no-content-state {
  text-align: center;
  padding: 4rem 2rem;
}

.no-content-icon {
  width: 80px;
  height: 80px;
  background: #f3f4f6;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem auto;
}

.no-content-icon svg {
  width: 40px;
  height: 40px;
  color: #9ca3af;
}

.no-content-state h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.no-content-state p {
  color: #6b7280;
  margin-bottom: 2rem;
}

/* ===== CHAT INTERFACE ===== */
.test-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.chat-section,
.validation-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.section-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
  background: #f9fafb;
}

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

.section-header p {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
}

/* Chat Container */
.chat-container {
  display: flex;
  flex-direction: column;
  height: 500px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  max-width: 85%;
}

.user-message {
  align-self: flex-end;
}

.assistant-message {
  align-self: flex-start;
}

.message-content {
  background: #f3f4f6;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  position: relative;
}

.user-message .message-content {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.message-text {
  font-size: 0.875rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.message-time {
  font-size: 0.75rem;
  opacity: 0.7;
}

.user-message .message-time {
  color: rgba(255, 255, 255, 0.8);
}

.assistant-message .message-time {
  color: #6b7280;
}

/* Chat Input */
.chat-input-container {
  border-top: 1px solid #e5e7eb;
  padding: 1rem;
}

.chat-form .input-group {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

.chat-input {
  flex: 1;
  min-height: 80px;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  resize: none;
  font-family: inherit;
  font-size: 0.875rem;
}

.chat-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.send-button {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
}

.send-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.send-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.input-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.typing-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  font-size: 0.75rem;
}

.typing-dots {
  display: flex;
  gap: 0.25rem;
}

.typing-dots span {
  width: 4px;
  height: 4px;
  background: #6b7280;
  border-radius: 50%;
  animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(1) {
  animation-delay: -0.32s;
}

.typing-dots span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ===== VALIDATION INTERFACE ===== */
.validation-container {
  padding: 1.5rem;
}

.validation-input {
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.validation-results {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.validation-result {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

.result-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.result-score {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  border-radius: 8px;
  min-width: 80px;
}

.score-excellent {
  background: #d1fae5;
  color: #065f46;
}

.score-good {
  background: #dbeafe;
  color: #1e40af;
}

.score-fair {
  background: #fef3c7;
  color: #92400e;
}

.score-poor {
  background: #fee2e2;
  color: #991b1b;
}

.score-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.score-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.result-category {
  flex: 1;
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.result-feedback,
.result-suggestions {
  margin-bottom: 1.5rem;
}

.result-feedback:last-child,
.result-suggestions:last-child {
  margin-bottom: 0;
}

.result-feedback h4,
.result-suggestions h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.result-feedback p {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}

.result-suggestions ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.result-suggestions li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.4;
  position: relative;
  padding-left: 1rem;
}

.result-suggestions li:before {
  content: "•";
  color: #3b82f6;
  position: absolute;
  left: 0;
}

.result-suggestions li:last-child {
  border-bottom: none;
}

.validation-error {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 8px;
  border: 1px solid #fecaca;
}

.validation-error svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

/* Recent Validations */
.recent-validations {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e5e7eb;
}

.recent-validations h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 1rem;
}

.validations-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.validation-item {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  transition: all 0.2s;
  cursor: pointer;
}

.validation-item:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.validation-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.validation-score {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}

.validation-meta {
  flex: 1;
}

.validation-type {
  font-size: 0.75rem;
  color: #3b82f6;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.validation-date {
  font-size: 0.75rem;
  color: #9ca3af;
}

.validation-preview {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* ===== UTILITIES ===== */
.loading-spinner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.loading-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;
}

.loading-overlay .loading-spinner {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.loading-overlay .loading-spinner svg {
  width: 32px;
  height: 32px;
  color: #3b82f6;
}

.loading-overlay .loading-spinner svg.animate-spin {
  animation: spin 1s linear infinite !important;
  transform-origin: center;
}

/* Ensure the spinner animation works properly */
.loading-overlay svg.animate-spin {
  animation: spin 1s linear infinite !important;
  transform-origin: center;
}

.loading-overlay .loading-spinner span {
  color: #374151;
  font-weight: 500;
}

.autosave-indicator {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #10b981;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
}

.copy-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #3b82f6;
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 1000;
  transition: all 0.3s ease;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .test-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .content-ideas-grid {
    grid-template-columns: 1fr;
  }
  
  .journey-stages {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .icp-container {
    padding: 0.5rem;
  }
  
  .icp-header,
  .quiz-header,
  .test-header,
  .content-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1.5rem;
  }
  
  /* Accordion responsive */
  .two-column-grid {
    grid-template-columns: 1fr;
  }
  
  .accordion-header {
    padding: 1rem;
  }
  
  .accordion-item.is-open .accordion-content {
    padding: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grid-actions,
  .saved-actions {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .action-buttons {
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .chat-container {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .welcome-content {
    padding: 2rem 1.5rem;
  }
  
  .welcome-content h1 {
    font-size: 2rem;
  }
  
  .welcome-content p {
    font-size: 1rem;
  }
  
  .header-content h1 {
    font-size: 1.5rem;
  }
  
  .question-title {
    font-size: 1.25rem;
  }
  
  .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  .btn-primary-large {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }
}

/* Animation utilities */
.animate-spin {
  animation: spin 1s linear infinite !important;
  transform-origin: center;
}

.animate-pulse-vertical {
  animation: pulse-vertical 2s ease-in-out infinite;
}

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

@keyframes pulse-vertical {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-2px);
  }
}

/* Custom scrollbar for chat */
.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* ===== VALIDATE PAGE STYLES ===== */
.validate-header {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  background: white;
  border-radius: 12px 12px 0 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 0;
}

.tab-btn {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2px solid transparent;
}

.tab-btn:first-child {
  border-radius: 12px 0 0 0;
}

.tab-btn:last-child {
  border-radius: 0 12px 0 0;
}

.tab-btn:hover {
  background: #f9fafb;
  color: #374151;
}

.tab-btn.active {
  background: #f3f4f6;
  color: #1f2937;
  border-bottom-color: #3b82f6;
}

.tab-btn.active svg {
  color: #3b82f6;
}

/* Tab Content */
.tab-content {
  background: white;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.tab-pane {
  padding: 2rem;
}

.tab-pane:not(.active) {
  display: none;
}

.validate-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.validation-inputs,
.validation-feedback {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Feedback Grid Layout */
.feedback-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.feedback-section,
.suggestions-section {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1.5rem;
  border: 1px solid #e5e7eb;
}

/* Grid header spans both columns */
.grid-header {
  grid-column: 1 / -1;
  margin-bottom: 2rem;
}

/* Thinking hats items in 2-column grid */
.thinking-hats-section {
  grid-column: 1 / -1;
}

.thinking-hats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.thinking-hat-section {
  margin-bottom: 0;
}

/* Thinking Hat List Styles */
.thinking-hat-list {
  list-style: disc !important;
  list-style-type: disc !important;
  padding: 0;
  margin: 0;
}

.thinking-hat-item {
  list-style-type: disc !important;
  display: list-item !important;
  margin-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Fallback for existing thinking-hat-section ul li selector */
.thinking-hat-section ul li {
  list-style-type: disc !important;
  display: list-item !important;
  margin-left: 1.2rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Responsive design for feedback grid */
@media (max-width: 768px) {
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.validation-inputs .section-header,
.validation-feedback .section-header {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.validation-form-container {
  padding: 1.5rem;
}

.validation-form .form-group {
  margin-bottom: 1.5rem;
}

.validation-form .form-label {
  display: block;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.validation-form .form-textarea,
.validation-form .form-select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 0.875rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.validation-form .form-textarea:focus,
.validation-form .form-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.validation-form .form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

/* No Feedback State */
.no-feedback-state {
  padding: 3rem 1.5rem;
  text-align: center;
}

.empty-state {
  max-width: 300px;
  margin: 0 auto;
}

.empty-icon {
  width: 4rem;
  height: 4rem;
  color: #9ca3af;
  margin: 0 auto 1rem;
}

.empty-state h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #6b7280;
  margin: 0 0 0.5rem 0;
}

.empty-state p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.5;
}

/* Validation Results */
.validation-results {
  padding: 1.5rem;
}

.validation-score-section {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.score-display {
  margin-bottom: 1rem;
}

.score-number {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.score-label {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.score-description {
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

/* Score Colors */
.score-excellent .score-number { color: #059669; }
.score-good .score-number { color: #3b82f6; }
.score-average .score-number { color: #f59e0b; }
.score-poor .score-number { color: #ef4444; }
.score-very-poor .score-number { color: #dc2626; }

.feedback-section,
.strengths-section,
.weaknesses-section,
.suggestions-section {
  margin-bottom: 1.5rem;
}

.feedback-section h3,
.strengths-section h3,
.weaknesses-section h3,
.suggestions-section h3 {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin: 0 0 0.75rem 0;
}

.feedback-text {
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.strengths-list,
.weaknesses-list,
.suggestions-list {
  list-style-type: disc;
  padding: 0;
  margin: 0;
}

.strength-item,
.weakness-item,
.suggestion-item {
  /*padding: 0.75rem;*/
  background: #f8fafc;
  border-radius: 6px;
  margin-left: 2.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
}

.strength-item {
  /*border-left: 3px solid #10b981;*/
}

.weakness-item {
  /*border-left: 3px solid #f59e0b;*/
}

.suggestion-item {
  /*border-left: 3px solid #3b82f6;*/
}

/* Recent Validations Section */
.recent-validations-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.recent-validations-section .section-header {
  background: #f8fafc;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.validations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  padding: 1.5rem;
}

.validation-card {
  background: #fafafa;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.validation-card:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
  transform: translateY(-1px);
}

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

.validation-card .validation-score {
  background: white;
  border-radius: 6px;
  padding: 0.5rem;
  font-weight: 700;
  font-size: 1.125rem;
  min-width: 3rem;
  text-align: center;
}

.validation-card .validation-meta {
  flex: 1;
}

.validation-card .validation-type {
  font-weight: 600;
  color: #374151;
  font-size: 0.875rem;
}

.validation-card .validation-date {
  color: #6b7280;
  font-size: 0.75rem;
}

.validation-card .validation-preview {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Loading Overlay */
.loading-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;
}

.loading-spinner {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-spinner span {
  color: #6b7280;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
  .validate-content {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .validations-grid {
    grid-template-columns: 1fr;
  }
  
  .validate-header {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  /* Tab responsive design */
  .tab-btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  
  .tab-pane {
    padding: 1rem;
  }
  
  .feedback-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .thinking-hats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
}
.job-listing strong {
  font-size: 1.4rem;
}

.job-listing-company {
  display: inline-flex;
  align-items: center;
}

.job-listing-company, .job-listing-company strong {
  font-size: 0.8rem;
}

.job-listing-company > div {
}

.job-listing a {
  color: rgba(128, 128, 255, 0.9);
}

.job-listing a svg {
  max-width: 16px;
  display: inline;
  margin-right: 8px;
}

.job-listing > div:nth-child(3) div {
  font-size: 0.8rem;
  border-bottom: 1px solid #efefef;
  padding: 8px 8px 8px 8px;
}

.job-listing > div:nth-child(3) div svg {
  max-width: 16px;
  float: left;
  margin-right: 8px;
}

.job-listings .filters .filter-controls {
  width: 80%;
}

.job-listings .filters .filter-controls > div {
  float: left;
}

.job-listings .filters .filter-controls > div label {
  display: block;
}

.job-listings .filters .filter-apply {
  width: 20%;
  text-align: center;
  vertical-align: middle;
}

.input-container {
  position: relative;
  width: 300px; /* Adjust width as necessary */
}

.job-listings .filters .search-box {
  width: 100%;
  padding: 8px 30px 8px 10px !important; /* Padding accounts for the icon */
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  font-size: 14px;
}

.clear-icon {
  position: absolute;
  right: 10px;
  top: 35%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  cursor: pointer;
  pointer-events: auto;
  display: none; /* Initially hidden */
  color: #888;
}





.job-listings .filters {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #efefef;
    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);*/
    margin: 20px auto;
}

.job-listings .filters form {
    display: flex;
    flex-direction: column;
}

.job-listings .filters label {
    margin-bottom: 5px;
    font-weight: bold;
    font-size: 14px;
}

.job-listings .filters .form-control {
    padding: 8px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.job-listings .filters .form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

.job-listings .filters .z-button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: fit-content;
    align-self: flex-start;
}

.job-listings .filters .z-button:hover {
    background-color: #0056b3;
}

.job-listings .filters a {
    margin-top: 10px;
    text-decoration: none;
    color: #007bff;
    font-size: 14px;
}

.job-listings .filters a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .job-listings .filters form {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .job-listings .filters .mb-3, .filters .form-group {
        flex-basis: calc(50% - 20px);
        margin-right: 20px;
    }

    .job-listings .filters .mb-3:last-child, .filters .form-group:last-child {
        margin-right: 0;
    }
}

/* Newsletter Styles */

.newsletter-editor {
  min-height: 100vh;
  background-color: #f7fafc;
}

.newsletter-version-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-version-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.newsletter-content {
  line-height: 1.6;
  height: fit-content !important;
}

.newsletter-content p {
  margin-bottom: 1rem;
}

.newsletter-content p:last-child {
  margin-bottom: 0;
}

/* Edit mode styles */
.edit-mode textarea {
  font-family: inherit;
  resize: vertical;
  min-height: 1000px;
}

.edit-mode input[type="text"],
.edit-mode textarea {
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.edit-mode input[type="text"]:focus,
.edit-mode textarea:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Flash message animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.flash-message {
  animation: slideIn 0.3s ease-out;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .newsletter-version-card {
    margin-bottom: 1rem;
  }
  
  /* Stack versions vertically on mobile */
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

/* Loading indicator styles */
.animate-spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Newsletter editor specific styles */
#newsletter-editor div.prose p {
	margin-bottom: 20px;
}

/* Markdown content styles */
.markdown-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
}

.markdown-content h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
}

.markdown-content h3 {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
}

.markdown-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.markdown-content ul, .markdown-content ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.markdown-content li {
  margin-bottom: 0.25rem;
}

.markdown-content strong {
  font-weight: bold;
}

.markdown-content em {
  font-style: italic;
}

.markdown-content code {
  background-color: #f3f4f6;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
}

.markdown-content pre {
  background-color: #f3f4f6;
  padding: 1rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin-bottom: 1rem;
}

.markdown-content blockquote {
  border-left: 4px solid #d1d5db;
  padding-left: 1rem;
  margin-bottom: 1rem;
  font-style: italic;
  color: #6b7280;
}

.newsletter-container-body,
.newsletter-container-body .newsletter-content,
.newsletter-container-body .edit-mode,
.newsletter-container-body .edit-mode textarea {
  height: 100%;
}

.newsletter-final-preview {
  max-height: calc(100vh - 300px);
  overflow: auto;
}

.subject-lines-container {
  height: fit-content;
}

/* Subject line selection styles */
.subject-line-item.selected {
  background-color: #eff6ff !important;
  border-left: 4px solid #3b82f6 !important;
}


.subject-line-item.max-reached:not(.selected) {
  opacity: 0.5;
  cursor: not-allowed;
}

.subject-line-item.max-reached:not(.selected):hover {
  background-color: #f9fafb !important;
}

/* Icon hover effects */
.edit-subject-icon:hover {
  background-color: #eff6ff !important;
}

.delete-subject-icon:hover {
  background-color: #fef2f2 !important;
}

/* Edit mode styling */
.subject-line-item .edit-mode {
  margin-top: 8px;
}

.subject-line-item .edit-mode input {
  font-size: 14px;
}

/* Selection counter styling */
#selection-counter {
  color: #3b82f6;
}

/* Transition effects */
.subject-line-item {
  transition: all 0.2s ease;
}
/* Radar Competitor Tracking Styles */

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

.radar-input-container {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.radar-url-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.radar-url-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.radar-scan-btn {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.radar-scan-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.radar-scan-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.radar-error-message {
  margin-top: 0.5rem;
  padding: 0.75rem;
  background: #fee2e2;
  color: #b91c1c;
  border-radius: 6px;
  font-size: 0.875rem;
}

.radar-competitors-section {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.radar-competitors-section h2 {
  padding: 1.5rem 2rem;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #111827;
  border-bottom: 1px solid #e5e7eb;
}

.radar-competitors-list {
  min-height: 200px;
}

.radar-competitor-row {
  display: flex;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.radar-competitor-row:hover {
  background: #f9fafb;
}

.radar-competitor-row:last-child {
  border-bottom: none;
}

.competitor-screenshot {
  width: 300px;
  height: 168px;
  margin-right: 1.5rem;
  border-radius: 6px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.competitor-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screenshot-placeholder {
  color: #9ca3af;
}

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

.competitor-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin: 0 0 0.25rem 0;
}

.competitor-url {
  color: #6b7280;
  font-size: 0.875rem;
  margin: 0;
  word-break: break-all;
}

.competitor-status {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 200px;
  justify-content: flex-end;
}

.radar-competitor-row .progress-container {
  flex: 1;
  max-width: 150px;
}

.radar-competitor-row .progress-bar {
  position: relative;
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.radar-competitor-row .progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981 0%, #059669 100%);
  transition: width 0.3s ease;
  border-radius: 4px;
}

.radar-competitor-row .progress-fill.in-queue {
  background: linear-gradient(90deg, #6b7280 0%, #4b5563 100%);
}

.radar-competitor-row .progress-fill.processing {
  background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.radar-competitor-row .progress-fill.failed {
  background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
}

.status-text {
  font-size: 0.875rem;
  color: #6b7280;
  text-align: center;
}

.remove-btn {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
}

.remove-btn:hover {
  background: #fee2e2;
  color: #b91c1c;
}

.radar-empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: #6b7280;
}

.empty-state-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.radar-empty-state h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #374151;
}

.radar-empty-state p {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.btn-secondary {
  background: #6b7280;
  color: white;
}

.btn-secondary:hover {
  background: #4b5563;
}

/* Loading states */
.radar-form.loading .radar-scan-btn {
  opacity: 0.6;
  cursor: not-allowed;
}

.radar-form.loading .radar-url-input {
  opacity: 0.6;
}

/* Responsive design */
@media (max-width: 768px) {
  .radar-input-container {
    flex-direction: column;
    align-items: stretch;
  }
  
  .radar-scan-btn {
    margin-top: 0.5rem;
  }
  
  .radar-competitor-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .competitor-status {
    width: 100%;
    justify-content: space-between;
  }
}
#order-success {
}

#order-success img {
	display: block;
	margin: auto;
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --color-primary: #00AD6A;
  --color-primary-hover: #00C77A;
  --color-secondary: #283C46;
  --color-secondary-hover: #334956;
  --color-background: #F5F3F0;
  --color-header: #1D2D35;
  --color-border: #3D4D56;
  --color-text-primary: #1D2D35;
  --color-text-secondary: #66757F;
  --color-text-muted: #98A4AE;
  --color-accent-background: #E5F5EF;
  --color-accent-heart: #FF5A6E;
  --color-accent-success: #00AD6A;
  --color-accent-warning: #FFB800;
  --color-accent-info: #3D4D56;
  --shadow-card: 0 2px 0 rgba(40, 60, 70, 0.1);
  --shadow-card-hover: 0 4px 0 rgba(40, 60, 70, 0.1);
  --shadow-button: 0 2px 0 #008F57;
  --shadow-button-hover: 0 4px 0 #008F57;
  --shadow-button-secondary: 0 2px 0 #1D2D35;
  --shadow-button-secondary-hover: 0 4px 0 #1D2D35;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  background: var(--color-background);
  color: var(--color-text-primary);
}

.header {
  background: var(--color-header);
  padding: 2rem;
  color: white;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.user-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 1rem;
  border: 4px solid var(--color-border);
  position: relative;
}

.badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 2rem;
  height: 2rem;
  background: var(--color-accent-success);
  border-radius: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid var(--color-background);
  font-weight: bold;
}

.stats {
  display: flex;
  gap: 1rem;
}

.stat-button {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-secondary);
  border-radius: 0.75rem;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: var(--shadow-button-secondary);
}

.stat-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-secondary-hover);
}

.main {
  padding: 3rem 0;
  padding-top: 0;
}

.card {
  background: white;
  border-radius: 1rem;
  padding: 1rem 2rem 2rem 2rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s;
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.hero-image {
  width: 100%;
  height: auto;
  aspect-ratio: 11/8.5;
  object-fit: cover;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
}

.title {
  font-size: 3.75rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

.card.lesson-overview .title {
  /*
  text-align: center;
  */
}

.tags {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tag {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--color-accent-background);
  border-radius: 9999px;
  color: var(--color-accent-info);
}

.lesson-overview-tags {
  display: grid;
  grid-template-columns: 6fr 4fr;
  grid-template-columns: 3fr 7fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.button.full-width-btn {
  display: block;
  width: 100%;
  text-align: center;
}

.lesson-overview-hero-description {
  display: grid;
  grid-template-columns: 5fr 4fr;
  gap: 4rem;
}

.content {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.description {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
}

.description ul.list {
  margin-top: 2rem;
}

/*
.description ul {
  list-style-type: disc;
  margin-left: 1rem;
  margin-top: 2rem;
}

.description ul li {
  color: var(--color-text-secondary);
}
*/

.description strong {
  color: var(--color-text-primary);
  font-weight: bold;
}

.button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-button);
  transition: all 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-button-hover);
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--color-text-primary);
}

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

.list li {
  margin-bottom: 0.75rem;
  color: var(--color-text-secondary);
}

.list li::before {
  content: "•";
  margin-right: 0.5rem;
  color: var(--color-accent-info);
}

.divider {
  position: relative;
  text-align: center;
  margin: 3rem 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(29, 45, 53, 0.2);
}

.divider span {
  position: relative;
  background: var(--color-accent-background);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  color: var(--color-text-primary);
}

.grid {
  display: grid;
}

.grid-card {
  background: white;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: var(--shadow-card);
}

.grid-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.grid-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.grid-card-content {
  padding: 1.5rem;
}

.grid-card-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0;
  color: var(--color-text-primary);
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 6rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: all 0.2s;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: var(--shadow-card-hover);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 1.25rem solid transparent;
  border-left: 2rem solid var(--color-primary);
  border-bottom: 1.25rem solid transparent;
  margin-left: 0.5rem;
}

.feature-card {
  background: var(--color-accent-background);
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-accent-info);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: white;
}

.header-content h1 {
  color: #fff;
  margin-bottom: 0;
}

.header-content .user-info p {
  color: rgb(102, 117, 127);
}

.header-content .stats button span {
  color: #fff;
}

.header-content #nav-links {
  text-align: center;
}

.header-content #nav-links a {
  display: inline-block;
  margin: 0 20px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: bold;
  font-size: 1.4rem;
  /*
  border-bottom: 2px solid transparent;
  border: 2px solid transparent;
  */
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
}

.header-content #nav-links a:hover {
  display: inline-block;
  margin: 0 20px;
  color: rgba(255, 255, 255, 1);
  font-weight: bold;
  font-size: 1.4rem;
  /*
  border-bottom: 2px solid #fff;
  border: 2px solid #fff;
  */
  background-color: var(--color-primary);
  color: #fff;
  transition: all 0.2s;
}

.lesson-overview {
  margin-bottom: 2rem;
}

.key-takeaways {
  margin-bottom: 2rem;
}

#weekly-update-video {
  box-shadow: unset !important;
}

.video-container {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.video-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6rem;
  height: 6rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.play-button::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 1.25rem solid transparent;
  border-left: 2rem solid var(--color-primary);
  border-bottom: 1.25rem solid transparent;
  margin-left: 0.5rem;
}

.checkbox-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--color-accent-background);
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--color-text-primary);
  font-weight: 500;
}

.checkbox-item:hover {
  transform: translateY(-2px);
  background: var(--color-primary);
  color: white;
}

.checkbox {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid currentColor;
  border-radius: 0.375rem;
  transition: all 0.2s;
}

.checkbox-item:hover .checkbox {
  border-color: white;
}

/* Progress bar styles */
.progress {
  position: relative;
  height: 2rem;
  margin: 3rem 0;
}

.progress-bar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 0.5rem;
  background: var(--color-accent-background);
  border-radius: 0.25rem;
  width: 100%;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 20%;
  background: var(--color-primary);
  border-radius: 0.25rem;
  transition: width 0.3s ease;
}

.progress-dots {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.5rem;
}

.dot {
  width: 2rem;
  height: 2rem;
  background: white;
  border: 2px solid var(--color-border);
  border-radius: 50%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: white;
}


.col-span-2 {
    grid-column: span 2 / span 2;
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.w-full {
	width: 100%;
}

.h-full {
	height: 100%;
}

.overflow-hidden {
	overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: "Cal Sans", "Clash Display", system-ui, sans-serif;
    font-weight: 700;
    font-feature-settings: "cv01", "cv02", "cv03", "cv04", "ss01", "ss02";
}

.flex-grow {
    flex-grow: 1;
}

.ml-4 {
    margin-left: 1rem;
}

.border-t-2 {
    border-top-width: 2px;
}

.-translate-y-1\/2 {
    --tw-translate-y: -50%;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.h-2 {
    height: 0.5rem;
}

.top-1\/2 {
    top: 50%;
}

.right-0 {
    right: 0px;
}

.left-0 {
    left: 0px;
}

.absolute {
    position: absolute;
}

.inset-0 {
    inset: 0px;
}

.duration-300 {
    transition-duration: 300ms;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.-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));
}

.w-8 {
    width: 2rem;
}

.h-8 {
    height: 2rem;
}

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

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

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

.lesson-steps-bar {
}

.lesson-steps-bar .step-complete {
    background: rgb(0, 173, 106);
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 2px;
    border-radius: 50%;
    align-items: center;
    display: flex;
    position: absolute;
    height: 2rem;
    width: 2rem;
}

.lesson-steps-bar .step-complete svg {
	width: 100%;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

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

.relative {
	position: relative;
}

.justify-center {
    justify-content: center;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-4 {
    margin-top: 1rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}
.pl-4 {
  padding-left: 1rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}
.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-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-5 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(1.25rem * 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));
}

button.checked {
	background: rgb(0, 173, 106);
	color: rgb(255, 255, 255);
	text-decoration-line: line-through;
}

button.checked > div {
	background: rgb(255, 255, 255);
}

button.checked svg {
	color: rgb(0, 0, 0);
}

button.unchecked {
	background: rgb(229, 245, 239);
	color: rgb(29, 45, 53);
	text-decoration-line: unset;
}

button.unchecked > div {
	background: transparent;
}

button.unchecked svg {
	color: rgb(29, 45, 53);
}

.align-right {
	text-align: right;
}

.instant-yes-wizard-section .wizard-progress .progress-text {
  display: block !important;
}

.instant-yes-wizard-section .wizard-progress .progress-bar {
  position: relative;
}
trix-editor {
	min-height: 500px !important;
}

trix-editor.lesson-description {
	min-height: unset !important;
	max-height: 200px !important;
}

trix-editor ul {
	list-style: unset;
	margin: 0 2rem;
}
/* Base styles */
:root {
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: var(--gray-900);
}

.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: white;
}

/* Navigation */
nav {
  border-bottom: 1px solid var(--gray-200);
}

.max-w-7xl {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .max-w-7xl {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .max-w-7xl {
    padding: 0 2rem;
  }
}

.flex {
  display: flex;
}

.justify-between {
  justify-content: space-between;
}

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

.h-16 {
  height: 4rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-500);
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.2s;
}

.nav-button:hover {
  color: var(--gray-700);
}

.nav-button.active {
  color: var(--blue-600);
  border-bottom: 2px solid var(--blue-600);
}

.nav-button i {
  width: 1.25rem;
  height: 1.25rem;
  margin-right: 0.5rem;
}

/* Main Content */
main {
  padding-top: 6rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-4xl {
  max-width: 56rem;
}

/* Wins Page */
.trophy-icon {
  width: 4rem;
  height: 4rem;
  color: var(--blue-600);
  margin: 0 auto 1rem;
}

.wins-textarea {
  width: 100%;
  height: 16rem;
  padding: 1rem;
  font-size: 1.125rem;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  resize: none;
  transition: border-color 0.2s;
}

.wins-textarea:focus {
  outline: none;
  border-color: var(--blue-500);
}

.record-button {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  font-size: 1.25rem;
  font-weight: 500;
  color: white;
  background-color: var(--blue-600);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.record-button:hover {
  background-color: var(--blue-700);
}

/* Settings Page */
.time-picker-container {
  display: flex;
  border: 2px solid var(--gray-200);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.time-picker-container:hover,
.time-picker-container:focus-within {
  border-color: var(--blue-500);
}

.time-picker-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  background-color: var(--gray-50);
  border-right: 2px solid var(--gray-200);
}

.time-picker-icon i {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-500);
}

.time-picker {
  flex: 1;
  padding: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--gray-700);
  border: none;
  background: white;
  cursor: pointer;
  appearance: none;
}

.time-picker:focus {
  outline: none;
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--gray-400);
  pointer-events: none;
}

.save-button {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 1.125rem;
  font-weight: 500;
  color: white;
  background-color: var(--blue-600);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.save-button:hover {
  background-color: var(--blue-700);
}

/* Wins Log */
.win-entry {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--gray-100);
}

.win-entry:first-child {
  padding-top: 0;
}

.win-entry:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.win-day-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
}

.win-day {
  padding-top: 0.25rem;
}

.day-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blue-800);
  background-color: var(--blue-100);
  border-radius: 9999px;
}

.win-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.win-item {
  display: flex;
  gap: 0.5rem;
}

.bullet {
  margin-top: 0.5rem;
  width: 0.375rem;
  height: 0.375rem;
  background-color: var(--gray-400);
  border-radius: 9999px;
  flex-shrink: 0;
}

.win-item p {
  font-size: 1.125rem;
  color: var(--gray-700);
  line-height: 1.75;
}

.week-section {
  border-bottom: 1px solid var(--gray-200);
}

.week-section:last-child {
  border-bottom: none;
}

.week-header {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  background: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.week-header:hover {
  background-color: var(--gray-50);
}

.week-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.week-arrow {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.week-section.expanded .week-arrow {
  transform: rotate(90deg);
}

/* Week content styles */
.week-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--gray-50);
}

.week-section.expanded .week-content {
  display: block;
}

/* Utility Classes */
.hidden {
  display: none;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.text-center {
  text-align: center;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.p-6 {
  padding: 1.5rem;
}

.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));
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Reset some default styles */
* {
    /*
     margin: 0;
    padding: 0;
    */
    box-sizing: border-box;
    font-family: Inter, Open Sans, sans-serif;
    /*font-size: 1.1rem;*/
}

a {
	border: 0;
}

h1 {
	font-size: 2rem;
	margin-bottom: 20px;
}

h2 {
	font-size: 1.5rem;
	margin-bottom: 20px;
}

label {
	font-weight: bold;
	margin: 10px 0;
}

div.field {
	margin-bottom: 20px;
}

input[type=text], input[type=email], input[type=password] {
	padding: 10px;
	width: 100%;
	font-size: 1.4rem;
}

form input[type=submit] {
	/*
	margin-top: 20px;
	margin-bottom: 20px;
	max-width: fit-content;
	font-weight: bold;
	padding: 10px 20px;
	background: #000;
	color: #fff;
	border: 0;
	*/
	cursor: pointer;
}

#header-row {
	background: #000;
}

/* Style the full-width rows */
.full-width-row {
    padding: 20px 0; /* Adjust the padding as needed */
}

/* Centered section with fixed width */
.centered-section {
	background: #fff;
    max-width: 1200px;
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add padding as needed */
    background-color: #ffffff;
}

/* Make the layout responsive */
@media screen and (max-width: 1200px) {
    .centered-section {
        width: 90%; /* Adjust the width as needed for smaller screens */
    }
}

.header-right button {
	background: transparent;
	border: 0;
	cursor: pointer;
	color: #aeaeae;
	text-decoration: none;
}


#header {
    max-width: 1200px;
    margin: 0 auto; /* Center the header horizontally */
    padding: 20px; /* Add padding as needed */
    display: flex; /* Use flexbox to split into two horizontal sections */
    justify-content: space-between; /* Space between the two sections */
	background: #000;
	color: #fff;
	text-align: center;
}

#header img {
	max-width: 300px;
}

/* Additional responsive styles can be added for smaller screens */

.admin_lesson {
	display: block;
	padding: 20px;
}

/* Container for the lesson grid */
.lesson-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Adjust the gap between lessons as needed */
    justify-content: center; /* Center the lessons horizontally */
}

.lesson-grid * {
  text-decoration: none;	
}

.pl-4 {
  padding-left: 1rem;
}

/* Style for each lesson box */
.lesson-box {
    width: 300px;
    height: 200px;
    border: 1px solid #ddd; /* Add borders as desired */
    padding: 10px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content vertically */
    text-align: center; /* Center text horizontally */
}

.lesson-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
}

/* Style for lesson images */
.lesson-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover; /* Maintain image aspect ratio and cover the box */
}

/* Style for lesson captions */
.lesson-title {
	font-weight: bold;
	font-size: 14px;
    margin-top: 10px; /* Adjust spacing between image and caption */
}

.pagination {
	text-align: center;
	font-size: 1.6rem;
}

.pagination .pagination * {
    padding: 0px 0.8rem;
}

#lesson-description {
	margin: 20px 0;
	padding: 20px 40px;
	background: #f0f0f0;
}

#sign-out-footer {
	display: block;
	margin: auto;
	text-align: center;
}

input[type=text],
input[type=email],
input[type=password],
select,
textarea {
	background: #f0f0f0;
	border: 1px solid #dedede;
	border-radius: 8px;
}

select,
textarea {
	font-size: 1.4rem;
	padding: 10px;
}

textarea {
	font-size: 1.1rem;
	display: block;
	width: 100%;
}

select {
}

blockquote {
	padding: 10px;
	border-left: 4px solid green;
	background: rgba(195, 225, 193, 0.5);
	margin: 10px 0;
}

/* Fix for button visibility - override inherit color for colored buttons */
/*
a[class*="bg-blue-600"],
a[class*="bg-green-600"],
a[class*="bg-purple-600"],
a[class*="bg-gray-600"],
a[class*="bg-indigo-600"] {
	color: white !important;
	background-color: inherit !important;
}

a[class*="bg-blue-600"]:hover,
a[class*="bg-green-600"]:hover,
a[class*="bg-purple-600"]:hover,
a[class*="bg-gray-600"]:hover,
a[class*="bg-indigo-600"]:hover {
	color: white !important;
}
*/

/* Additional more specific override for coaching calls buttons */
.coaching-calls a.bg-green-600 {
	color: white !important;
}

/* More specific selectors to override Tailwind classes */
.coaching-calls .media-button {
  padding: 12px 16px !important;
  font-size: 14px !important;
  color: white;
  justify-content: center;
}

.coaching-calls .media-button.video-button {
  background: #2563eb !important;
  margin-right: 10px;
}
.coaching-calls .media-button.audio-button {
  background: #16a34a !important;
  margin-left: 10px;
}
.coaching-calls .media-button.highlights-button {
  background: #9333ea;
}

.coaching-calls .media-button svg {
  margin-right: 10px !important;
}

.job-details-button {
  background: #2563eb !important;
}
.job-apply-button {
  background: #16a34a !important;
}

div.pagination a, 
div.pagination em {
    margin-left: 10px;
    margin-right: 10px;
}

#six-proj-title {
  font-size: 2.8rem;
  font-weight: 800;
}

.six-proj-pad {
  padding: 24px;
}

.six-proj-progress {
  background: #f6f6f6;
  border-radius: 0 0.75rem 0 0;
  border-left: 1px solid #e0e0e0;
}

#six-proj-progress-steps > div {
  margin-bottom: 16px;
}

.six-proj-progress-icon {
  width: 32px;
  height: 32px;
}

.six-proj-progress-icon.completed {
  background: #9fcf75;
  /*border: 1px solid #76945C;*/
}
.six-proj-progress-icon.current {
  background: #7B78E0;
  /*border: 1px solid #585697;*/
}

.six-proj-progress-icon svg {
  width: 26px;
  height: 26px;
}

.six-proj-progress div.connector {
  margin-left: 1px !important;
  border-width: 1px;
  margin-top: 4px;
  height: 16px;
}

.six-proj-progress span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

.six-proj-shadow {
  box-shadow: 4px 4px 17.8px rgba(0, 0, 0,  0.11);
}

#six-proj-main,
#six-proj-side {
  border: 1px solid #e0e0e0;
  border-radius: 0.75rem;
}

#six-proj-main > div:first-child {
  border-radius: 12px 12px 0 0;
  margin-bottom: 0;
}

#six-proj-main > div:last-child {
  border-radius: 0 0 0.75rem 0.75rem;
  margin-top: 0;
  border-top: 1px solid #e0e0e0;
}

/* Fix for single child (no project state) - override first-child rule */
#six-proj-main > div:only-child {
  border-radius: 0.75rem;
  margin-bottom: 0;
  margin-top: 0;
  border-top: none;
}

#nav-bar {
  background: #2563EB;
  border-radius: 0.75rem;
}

#nav-bar a {
  font-size: 1.6rem !important;
}

#six-proj-resources, 
#six-proj-support {
  position: relative;
  border: 1px solid #e0e0e0;

  /* tweakable ribbon vars */
  --ribbon-color: #2d3eff;
  --ribbon-right: 35px;  /* distance from right edge */
  --ribbon-width: 19px;
  --ribbon-height: 33px;
  --notch-depth: 10px;
}

#six-proj-resources .text-xl.font-bold, 
#six-proj-support .text-xl.font-bold {
  font-size: 1.6rem;
}

#six-proj-support .font-bold {
  font-size: 1rem;
}

/* Bookmark ribbon */
#six-proj-resources::before,
#six-proj-support::before {
  content: "";
  position: absolute;
  top: 0;
  right: var(--ribbon-right);
  width: var(--ribbon-width);
  height: var(--ribbon-height);
  background: var(--ribbon-color);
  border-radius: 0 0 3px 3px;

  background: #3333cc;
}

#six-proj-support::before {
  background: #ff4c4c !important;
}

/* the “cut-out” notch */
#six-proj-resources::after,
#six-proj-support::after {
  content: "";
  position: absolute;
  right: var(--ribbon-right);
  top: calc(var(--ribbon-height) - var(--notch-depth));
  width: 0; height: 0;
  border-left: calc(var(--ribbon-width) / 2) solid transparent;
  border-right: calc(var(--ribbon-width) / 2) solid transparent;
  border-bottom: var(--notch-depth) solid #fff; /* match .card background */
}

#six-proj-support a > div {
  transition: transform 0.3s ease-out, box-shadow 0.3s ease-out;
}

#six-proj-support a > div:hover {
  transform: translateY(-4px) scale(1.05) rotate(2deg);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

#six-proj-support a:first-child > div:hover {
  transform: translateY(-4px) scale(1.05) rotate(-2deg);
}

#six-proj-resources a {
  border-bottom: 1px solid #dadada;
  padding-bottom: 20px;
  font-weight: 400;
}

#six-proj-resources a svg {
  color: #2D34FF;
}

#six-proj-resources a svg, 
#six-proj-resources a span {
  transition: transform 0.2s ease;
}

#six-proj-resources a:hover svg {
  transform: scale(1.1) rotate(-15deg);
}

#six-proj-resources a:hover span {
  transform: scale(1.025);
}

/* Custom layout classes for 60/40 split */
@media (min-width: 1024px) {
  .custom-sixty-percent {
    width: 60%;
  }
  .custom-forty-percent {
    width: 40%;
  }
}

.emoji-btn {
  font-size: 2.8rem !important;
}

#xp-count {
  font-size: 2.4rem;
}

.six-proj-task.current {
  background: rgba(37, 99, 235, 0.05);
}

.six-proj-checkbox {
  width: 32px;
  height: 32px;
  box-shadow: inset 2.38px 2.38px 3.8px rgba(0, 0, 0, 0.11);
  cursor: pointer;
}

.six-proj-checkbox svg {
  width: 24px;
  height: 24px;
}

.six-proj-task.completed {
  background: rgba(169, 206, 127, 0.05);
}

.six-proj-task.completed .six-proj-checkbox {
  box-shadow: unset;
  background: #9fcf75;
  /*border: 1px solid #76945C;*/
}

.line-through strong {
  color: unset;
}

.text-gray-500 strong {
  /*color: unset;*/
}

#six-proj-step-desc {
  font-size: 1.2rem;
  line-height: 1.8rem;
}

body {
  background: #f5f5f5;
}

/* New Lessons Layout Styles */
.lessons-layout {
  display: flex;
  min-height: 600px;
  background: transparent;
}

/* Left Sidebar */
.lessons-sidebar {
  width: 20%;
  min-width: 250px;
  position: sticky;
  top: 0;
  height: fit-content;
  max-height: 80vh;
  overflow-y: auto;
  background: rgba(255, 255, 255, 0.7);
  border-right: 1px solid rgba(229, 229, 229, 0.5);
  border-radius: 8px;
  margin-right: 2rem;
}

.lessons-sidebar-content {
  padding: 2rem 1.5rem;
}

.sidebar-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #333;
}

.category-button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.category-button:hover {
  background: #e9ecef;
  border-color: #dae0e5;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.category-button.active {
  background: #007bff;
  border-color: #007bff;
  color: white;
  box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.category-button.active:hover {
  background: #0056b3;
  border-color: #0056b3;
}

.lesson-count {
  float: right;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Scrollable Right Content */
.lessons-content {
  flex: 1;
  min-width: 0;
}

.lessons-header {
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.7);
  padding: 0;
}

.lessons-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.5rem;
}

.lessons-count {
  font-size: 1.1rem;
  color: #666;
  margin: 0;
}

/* Lessons List */
.lessons-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.lesson-row {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
  box-shadow: 0px 3px 20px 4px #eee;
  min-height: 232px;
  display: flex;
}

.lesson-row:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(229, 229, 229, 0.8);
}

.lesson-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  align-items: stretch;
  flex: 1;
}

.lesson-thumbnail-container {
  flex-shrink: 0;
  width: 300px;
  height: 232px;
  margin-right: 2rem;
}

.lesson-thumbnail {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 16px 0 0 16px;
  background-color: #f8f9fa;
}

.lesson-thumbnail-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 100%);
}

.placeholder-icon {
  width: 48px;
  height: 48px;
  color: #adb5bd;
}

.lesson-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.lesson-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.lesson-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.lesson-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  margin-bottom: 1.5rem;
}

.lesson-category {
  background: #e3f2fd;
  color: #1565c0;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
}

.lesson-price {
  background: #e8f5e8;
  color: #2e7d32;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* No Lessons State */
.no-lessons {
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  border: 1px solid rgba(229, 229, 229, 0.5);
}

.no-lessons-icon {
  width: 64px;
  height: 64px;
  color: #adb5bd;
  margin: 0 auto 1.5rem;
}

.no-lessons h3 {
  font-size: 1.5rem;
  color: #495057;
  margin-bottom: 0.75rem;
}

.no-lessons p {
  font-size: 1rem;
  color: #6c757d;
  margin: 0;
}

/* Pagination */
.lessons-pagination {
  margin-top: 3rem;
  text-align: center;
}

.lessons-pagination .pagination {
  display: inline-flex;
  gap: 0.5rem;
}

.lessons-pagination .pagination a,
.lessons-pagination .pagination em {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(229, 229, 229, 0.5);
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-style: normal;
  transition: all 0.3s ease;
}

.lessons-pagination .pagination a:hover {
  background: #e9ecef;
  border-color: #dae0e5;
}

.lessons-pagination .pagination em {
  background: #007bff;
  border-color: #007bff;
  color: white;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .lessons-sidebar {
    width: 25%;
    min-width: 200px;
  }
  
  .lesson-thumbnail-container {
    width: 160px;
    height: 100px;
    margin-right: 1.5rem;
  }
  
  .lesson-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .lessons-layout {
    flex-direction: column;
  }
  
  .lessons-sidebar {
    width: 100%;
    position: relative;
    height: auto;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
  
  .lesson-link {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }
  
  .lesson-thumbnail-container {
    width: 100%;
    height: 200px;
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .lessons-header {
    padding: 1.5rem;
  }
  
  .lessons-header h1 {
    font-size: 2rem;
  }
}
