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

:root {
    --vh: 1vh;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #cbd5e1;
    overflow-x: hidden;
}

html, body {
  overscroll-behavior: none;
  -webkit-overflow-scrolling: auto !important;
}

#apple-radio img,#google-radio img,#credit-radio img
{
    display: none;
}

#apple-radio,#google-radio,#credit-radio
{
 justify-content: center;
}

#apple-radio-popup img,#google-radio-popup img,#credit-radio-popup img
{
    display: none;
}

#apple-radio-popup,#google-radio-popup,#credit-radio-popup
{
 justify-content: center;
}

#my-forms-menu-btn
{
    position: relative;
}
#page-counter
{
    text-align: center;
    font-weight: 700;
    color: white;
    margin-bottom: 10px;
}
#my-forms-btn .transparent-button
{
    position: relative;
}
.red-bubble
{
    padding: 5px;
    position: absolute;
    background: red;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    top: -5px;
    right: -5px;
    color: white;
    font-size: 12px;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

#pdf-preview-img
{
    width: 100%;
    border-radius: 24px;
    cursor: pointer;
}

#in-chat-plan-popup
{
    background-color: white;
    width: 800px;
}
#in-chat-plan-popup #inline-email,#in-chat-plan-popup #card-holder-name,#in-chat-plan-popup #zip-code
{
    color: black;
}
#in-chat-plan-popup .plans-header
{
    color: black;
    font-weight: 100;
}

#in-chat-plan-popup .plans-body
{
    color: black;
    font-weight: 100;
    margin: 0px 30px 0px 30px;
    gap: 10px;
    justify-content: space-between;
}
#in-chat-plan-popup .ribbon
{
    background-color: rgb(234 246 255);
    padding: 5px 10px;
    border-radius: 6px;
    color: rgb(82 117 198);
    font-size: 12px;
}
#in-chat-plan-popup .plan-sub-body
{
    padding: 10px 20px;
    color: gray;
}
#in-chat-plan-popup .plan-sub-body b
{
    font-weight: bold;
    font-size: 40px;
    color: black;
}
#in-chat-plan-popup .plans-footer
{
    border:none;
    padding: 20px 30px 30px 30px;
}

#in-chat-plan-popup .plan-left,#in-chat-plan-popup .plan-right
{
    border-radius: 10px;
    border: 2px solid lightgray;
    padding: 0px;
    gap: 0;
}
#in-chat-plan-popup .plan-title
{
    padding: 10px 20px;
    border-bottom: 2px solid lightgray;
    font-weight: bold;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
#in-chat-plan-popup .plan-sub-footer
{
    padding: 10px 20px;
    color: gray;
}
#in-chat-plan-popup .payment-plan.selected
{
    border:2px solid rgb(179 194 221);
    border-color: rgb(179 194 221) !important;
    background: white !important;
    cursor: auto;
}

#in-chat-plan-popup .payment-plan:hover
{
    background-color: whitesmoke;
}

#in-chat-plan-popup #in-chat-subscribe
{
    color:black;
    display: flex;
    padding-top: 0px !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
}
#in-chat-plan-popup .notice a
{
    color:black;
}
#in-chat-plan-popup .radio-options label
{
    background-color: white;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    color:black;
    border-radius: 10px;
    border:2px solid lightgray;
}
#in-chat-plan-popup .radio-options label:hover
{
    background-color: rgb(243 248 254);
}
#in-chat-plan-popup .inchat-top-border
{
    display: none;
}



.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.circular-loader {
  position: relative;
  width: 120px;
  height: 120px;
}

/* Main spinner with erratic rotation */
.circular-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: erratic-rotate 7.3s ease-in-out infinite;
}

.circular-spinner circle {
  fill: none;
  stroke: url(#shimmerGradient);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 283;
  animation: erratic-dash 11.7s ease-in-out infinite;
}

/* Second spinner layer - counter rotation */
.circular-spinner-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: erratic-rotate-2 13.1s ease-in-out infinite reverse;
  opacity: 0.5;
}

.circular-spinner-2 circle {
  fill: none;
  stroke: url(#shimmerGradient2);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 283;
  animation: erratic-dash-2 8.9s ease-in-out infinite;
}

/* Animated gradient definition */
.gradient-animator {
  animation: gradient-shift 2.3s linear infinite;
}

.gradient-animator-2 {
  animation: gradient-shift 3.1s linear infinite reverse;
}

/* Document icon in center */
.document-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 50px;
  animation: doc-wobble 5.7s ease-in-out infinite;
}

.doc-body {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a73e8 0%, #1a73e8 100%);
  border-radius: 3px 8px 3px 3px;
  box-shadow: 0 4px 12px rgb(26 115 232 / 25%);
}

.doc-fold {
  position: absolute;
  width: 12px;
  height: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  right: 0;
  top: 0;
  border-radius: 0 0 0 6px;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
}

.doc-lines {
  position: absolute;
  left: 8px;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.doc-line {
  height: 3px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 2px;
}

.doc-line:nth-child(1) { width: 22px; }
.doc-line:nth-child(2) { width: 18px; }
.doc-line:nth-child(3) { width: 20px; }

.loader-text {
  color: #5b21b6;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* Erratic rotation - irregular speed changes */
@keyframes erratic-rotate {
  0% { transform: rotate(0deg); }
  7% { transform: rotate(45deg); }
  12% { transform: rotate(50deg); }
  23% { transform: rotate(140deg); }
  31% { transform: rotate(150deg); }
  38% { transform: rotate(190deg); }
  45% { transform: rotate(280deg); }
  52% { transform: rotate(290deg); }
  61% { transform: rotate(340deg); }
  69% { transform: rotate(480deg); }
  74% { transform: rotate(500deg); }
  82% { transform: rotate(600deg); }
  89% { transform: rotate(640deg); }
  93% { transform: rotate(680deg); }
  100% { transform: rotate(720deg); }
}

@keyframes erratic-rotate-2 {
  0% { transform: rotate(0deg); }
  11% { transform: rotate(70deg); }
  18% { transform: rotate(75deg); }
  27% { transform: rotate(180deg); }
  35% { transform: rotate(200deg); }
  44% { transform: rotate(310deg); }
  53% { transform: rotate(320deg); }
  62% { transform: rotate(420deg); }
  71% { transform: rotate(500deg); }
  79% { transform: rotate(550deg); }
  88% { transform: rotate(650deg); }
  100% { transform: rotate(720deg); }
}

/* Erratic dash - irregular arc length changes */
@keyframes erratic-dash {
  0% { stroke-dasharray: 20, 283; stroke-dashoffset: 0; }
  6% { stroke-dasharray: 80, 283; stroke-dashoffset: -10; }
  13% { stroke-dasharray: 40, 283; stroke-dashoffset: -30; }
  19% { stroke-dasharray: 180, 283; stroke-dashoffset: -50; }
  27% { stroke-dasharray: 100, 283; stroke-dashoffset: -90; }
  33% { stroke-dasharray: 200, 283; stroke-dashoffset: -100; }
  41% { stroke-dasharray: 60, 283; stroke-dashoffset: -140; }
  48% { stroke-dasharray: 150, 283; stroke-dashoffset: -160; }
  54% { stroke-dasharray: 30, 283; stroke-dashoffset: -190; }
  62% { stroke-dasharray: 170, 283; stroke-dashoffset: -200; }
  68% { stroke-dasharray: 90, 283; stroke-dashoffset: -230; }
  76% { stroke-dasharray: 140, 283; stroke-dashoffset: -250; }
  83% { stroke-dasharray: 50, 283; stroke-dashoffset: -260; }
  91% { stroke-dasharray: 120, 283; stroke-dashoffset: -275; }
  100% { stroke-dasharray: 20, 283; stroke-dashoffset: -283; }
}

@keyframes erratic-dash-2 {
  0% { stroke-dasharray: 50, 283; stroke-dashoffset: 0; }
  9% { stroke-dasharray: 120, 283; stroke-dashoffset: -20; }
  17% { stroke-dasharray: 30, 283; stroke-dashoffset: -60; }
  26% { stroke-dasharray: 160, 283; stroke-dashoffset: -80; }
  34% { stroke-dasharray: 70, 283; stroke-dashoffset: -120; }
  43% { stroke-dasharray: 190, 283; stroke-dashoffset: -140; }
  51% { stroke-dasharray: 40, 283; stroke-dashoffset: -170; }
  59% { stroke-dasharray: 130, 283; stroke-dashoffset: -190; }
  68% { stroke-dasharray: 80, 283; stroke-dashoffset: -220; }
  77% { stroke-dasharray: 150, 283; stroke-dashoffset: -240; }
  86% { stroke-dasharray: 60, 283; stroke-dashoffset: -260; }
  100% { stroke-dasharray: 50, 283; stroke-dashoffset: -283; }
}

/* Gradient color shift for shimmer effect */
@keyframes gradient-shift {
  0%   { stop-color: #e8f0fe; }  /* very light blue */
  25%  { stop-color: #4285f4; }  /* lighter blue */
  50%  { stop-color: #1a73e8; }  /* main color */
  75%  { stop-color: #4285f4; }
  100% { stop-color: #e8f0fe; }
}

/* Subtle document wobble */
@keyframes doc-wobble {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  14% { transform: translate(-50%, -50%) rotate(1deg) scale(1.02); }
  29% { transform: translate(-50%, -50%) rotate(-0.5deg) scale(0.99); }
  43% { transform: translate(-50%, -50%) rotate(0.8deg) scale(1.01); }
  57% { transform: translate(-50%, -50%) rotate(-1deg) scale(1); }
  71% { transform: translate(-50%, -50%) rotate(0.3deg) scale(1.02); }
  86% { transform: translate(-50%, -50%) rotate(-0.7deg) scale(0.98); }
}

.home-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: white;
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.hero {
    text-align: center;
    padding: 80px 0 40px 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 60px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.search-container {
    max-width: 800px;
    margin: 0 auto 60px auto;
    position: relative;
}

.search-box {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    transform: translateY(-2px);
    border-color: rgba(71, 85, 105, 0.5);
}

.search-icon {
    width: 40px;
    height: 40px;
    background: rgba(71, 85, 105, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 18px;
    margin-left: 8px;
}

.search-input {
    flex: 1;
    border: none;
    background: none;
    font-size: 1.1rem;
    padding: 16px 20px;
    outline: none;
    color: #cbd5e1;
    font-weight: 500;
    resize: none;
    overflow: hidden;
    min-height: 52px;
}

.search-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.generate-btn {
    background: rgba(71, 85, 105, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.5);
    padding: 10px 20px;
    border-radius: 32px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.generate-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.generate-btn:hover {
    background: rgba(100, 116, 139, 0.9);
    border-color: rgba(148, 163, 184, 0.7);
    color: #f1f5f9;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.generate-btn:hover::before {
    left: 100%;
}

.generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    margin-top: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(71, 85, 105, 0.3);
    max-height: 400px;
    overflow-y: auto;
    z-index: 10;
    display: none;
}

.suggestions.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.suggestion-item {
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.2);
}

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

.suggestion-item:hover {
    background: rgba(71, 85, 105, 0.3);
}

.suggestion-item.selected {
    background: rgba(71, 85, 105, 0.4);
}

.suggestion-icon {
    width: 36px;
    height: 36px;
    background: rgba(71, 85, 105, 0.4);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.suggestion-content {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 2px;
}

.suggestion-description {
    font-size: 0.85rem;
    color: #64748b;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.indicator-icon {
    width: 20px;
    height: 20px;
    background: rgba(34, 197, 94, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.popular-contracts {
    text-align: center;
    margin-top: 40px;
}

.popular-title {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 500;
}

.popular-tags {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.popular-tag {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(71, 85, 105, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.popular-tag:hover {
    background: rgba(71, 85, 105, 0.5);
    border-color: rgba(100, 116, 139, 0.6);
    color: #f1f5f9;
    transform: translateY(-2px);
}

.features {
    margin-top: 120px;
    text-align: center;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.features p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(71, 85, 105, 0.3);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(100, 116, 139, 0.4);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(71, 85, 105, 0.4);
    border-radius: 16px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin-bottom: 12px;
}

.feature-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer {
    margin-top: 80px;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}



.sidebar {
    width: 280px;
    background: white;
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(71, 85, 105, 0.3);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar.collapsed {
    width: 0;
    overflow: hidden;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(71, 85, 105, 0.3);
}

.sidebar-logo {
    font-size: 20px;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: auto;
    margin-bottom: 20px;
    justify-content: center;
    width: 90px;
}

.sidebar-logo-icon {
    width: 28px;
    height: 28px;
    background: rgba(71, 85, 105, 0.8);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.new-chat-btn {
    width: 100%;
    background: #fff;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    font-family: inherit;
}

.new-chat-btn:hover {
 background: var(--option-hover-bg);
 border-color: var(--text-muted);
}

.chat-history {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.history-section {
    margin-bottom: 25px;
}

.history-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.chat-item {
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

.chat-item:hover {
    background: var(--option-hover-bg);
}

.chat-item.active {
    background: var(--sidebar-active);
}
.chat-item.active .chat-title
{
    color: var(--sidebar-active-text);
}

.chat-title {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
}

.chat-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.main-content {
    flex: 1;
    margin-left: 280px;
    transition: all 0.3s ease;
    min-height: 100vh;
}

.main-content.expanded {
    margin-left: 0;
}

.toggle-sidebar {
    position: fixed;
    top: 20px;
    /*left: 20px;*/
    right: 20px;
    z-index: 101;
    background: white;
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    padding: 8px;
    cursor: pointer;
    color: #cbd5e1;
    transition: all 0.3s ease;
    display: none;
}

.toggle-sidebar:hover {
    background: rgba(71, 85, 105, 0.7);
}

input[type="date"] {
  /* Remove default styling */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-size: 16px; /* Prevents iOS zoom on focus */
  font-family: inherit;
}

/* Calendar icon styling */
input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.6;
  filter: invert(0.5);
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

@media (min-width: 769px) {
    .toggle-sidebar {
        display: none;/*wgz*/
        left: 20px;
        right: unset;
        position: fixed;
    }
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px 20px 20px 20px;
    margin: 0 auto;
}

.progress-container {
    padding: 20px 40px;
    margin-bottom: 20px; 
}

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

.progress-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.progress-steps {
    font-size: 0.9rem;
    color: #64748b;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--progress-track);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--progress-fill);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.question-container {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.question-title {
    font-size: 2rem;
    font-weight: 700;
    color: black;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: left;
}

.question-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 40px;
    line-height: 1.5;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.input-container {
    margin-bottom: 20px;
    position: relative;
    margin-top: 20px;
}

.main-input {
    width: 100%;
    background: white;
    border: 1px solid rgba(71, 85, 105, 0.5);
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 1.2rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
    height: 61px;
    resize: none;
    line-height: 1.5;
    overflow: hidden;
}

.main-input:focus {
    outline: none;
    background: var(--option-hover-bg);
    border-color: var(--text-muted);

}

.main-input::placeholder {
    color: #64748b;
    font-weight: 400;
}

.help-text {
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 12px;
    line-height: 1.4;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.navigation-buttons-two
{
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}
.navigation-buttons-two button img 
{
    width: 10px;
    margin-left: 5px;
    filter: brightness(0) saturate(100%) invert(39%) sepia(6%) saturate(410%) hue-rotate(183deg) brightness(92%) contrast(87%);
}

.navigation-buttons-two .btn-secondary
{
    flex: 1;
    max-width: 200px;
}


.btn {
    padding: 14px 28px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-secondary {
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--option-hover-bg);
    border-color: var(--text-muted);
}

.btn-primary {
    background: var(--action-blue);
    color: white;
    position: relative;
    overflow: hidden;
    flex: 1;
    max-width: 200px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    background: var(--action-blue-hover);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.button-green
{
    background: linear-gradient(135deg, #3e9101, #48a900);
}

.question-number {
    display: inline-block;
    background: rgba(79, 70, 229, 0.2);
    color: #a78bfa;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

#msg-id
{
    margin-bottom: 20px;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    left: 80%;
    animation-delay: 2s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.download-document
{
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 20px;
}
.download-document img
{
    width: 50px;
}
#copy-document
{
    cursor: pointer;
}
.typing-animation {
  padding-left: 10px;
  display: inline-flex;
}
.typing-animation .typing-dot {
  height: 7px;
  width: 7px;
  border-radius: 50%;
  margin: 0 3px;
  opacity: 0.7;
  background: gray;
  animation: animateDots 1.5s var(--delay) ease-in-out infinite;
}
.typing-animation .typing-dot:first-child {
  margin-left: 0;
}
@keyframes animateDots {
  0%,
  44% {
    transform: translateY(0);
}
28% {
    opacity: 0.4;
    transform: translateY(-6px);
}
44% {
    opacity: 0.2;
}
}
.loading-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}
.loading-text {
  color: var(--sidebar-active-text);
  transition: opacity 0.3s;
  font-weight: 500;
  font-size: 16px;
}
.spinner {
  width: 24px;
  height: 24px;
  border: 4px solid white;
  border-top-color: var(--sidebar-active-text);
  border-radius: 50%;
  animation: 0.8s linear infinite spinner;
}
@keyframes spinner {
  to {
    transform: rotate(360deg);
}
}

.plan,
.plans-body,
.typing-controls,
label {
  display: flex;
}
.plans-popup {
  width: 600px;
  background-color: white;
  border: 1px solid var(--border);
  border-radius: 10px;
}
.plans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 30px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 22px;
  font-weight: 800;
}
.plan,
.plan-left {
  flex-direction: column;
  border-right: 1px solid #3d3d3d;
}
.plan {
  width: 50%;
  padding: 20px 40px 40px;
  gap: 20px;
}
.plan-left,
.plan-right {
  width: 50%;
  padding: 20px 40px;
  gap: 20px;
  display: flex;
}
.plan > button.selected-plan {
  cursor: default;
  background-color: var(--placeholder-color);
  color: var(--border-color);
}
.plan:last-child {
  border-right: none;
}
.plan-left > span:first-child,
.plan-right > span:first-child,
.plan > span:first-child {
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
}
.plan-left > span:nth-child(2),
.plan-right > span:nth-child(2),
.plan > span:nth-child(2) {
  font-weight: 400;
  font-size: 14px;
  color: var(--subtitle-color);
}
.plan > button {
  cursor: pointer;
  padding: 10px 0;
  border: 0;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-color);
  background-color: #1392ec;
}
.plan-left > ul,
.plan-right > ul,
.plan > ul {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 30px;
  list-style-type: "\2713";
}
.plan-left > ul > li,
.plan-right > ul > li,
.plan > ul > li,
.settings li:first-child {
  padding-left: 10px;
}
.chat .chat-details p,
.msg p:first-child {
  white-space: pre-wrap;
  line-height: 1.5rem;
  padding: 0 50px 0 10px;
  word-break: break-word;
}


#checkout,
#checkout-modal,
#inline-signup,
.plan-right > button {
  background-color: #1392ec;
}
.plan-right {
  flex-direction: column;
}
.plan-right > button {
  cursor: pointer;
  padding: 10px 20px;
  border: 0;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-color);
}
.card-holder-name,
.email-address {
  background-color: transparent;
  outline: 0;
}
#free-plan {
  cursor: pointer;
  margin-top: 20px;
  align-self: center;
}
#card-element,
#inline-signup,
.card-holder-name,
.email-address {
  color: var(--text-primary);
  height: 48px;
}
.checkout-info {
  display: flex;
  width: 100%;
  padding-top: 30px;
  gap: 40px;
  color: whitesmoke;
  flex-direction: column;
}
.billing-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 50%;
  color: black;
}
.billing-address,
.inline-signup {
  display: flex;
  gap: 8px;
}
.billing-details > span,
.order-summary > span:first-child {
  font-size: 16px;
  font-weight: 600;
}
.check-options > label,
.radio-options > label,
.select-options > select {
  padding: 10px;
  max-width: 500px;
  font-size: 1rem;
  font-weight: 200;
  cursor: pointer;
}
.email-address {
  width: 100%;
  border-radius: 10px;
  padding: 0 12px;
  border: 1px solid #3d3d3d;
}
#inline-signup {
  cursor: pointer;
  width: 40%;
  padding: 10px;
  border-radius: 10px;
}
#checkout:disabled,
#inline-signup:disabled {
  cursor: default;
  background-color: var(--buttons-hover);
  color: var(--outgoing-chat-border);
}
#card-element {
  padding: 14px 10px;
  border: 1px solid #3d3d3d;
  border-radius: 10px;
}
#card-icon {
  padding-right: 10px;
  font-size: 24px;
}
.card-creds > input {
  height: 100%;
  border: none;
  outline: 0;
}
.card-number {
  width: 50%;
}
.card-cvv,
.card-expiry {
  width: 20%;
}
.card-holder-name {
  border-radius: 10px;
  padding: 0 12px;
  border: 1px solid #3d3d3d;
}
.billing-address {
  height: 48px;
  width: 100%;
  justify-content: space-between;
}
#country,
.zip-code {
  background-color: transparent;
  height: 100%;
  padding: 0 20px;
  width: 100%;
  color: var(--text-primary);
  outline: 0;
}
.msg,
.order-summary {
  flex-direction: column;
  display: flex;
}
.zip-code {
  border-radius: 10px;
  border: 1px solid #3d3d3d;
}
#country {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 10px;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
  linear-gradient(135deg, gray 50%, transparent 50%),
  linear-gradient(to right, #3d3d3d, #3d3d3d);
  background-position: calc(100% - 20px) calc(1em + 7px),
  calc(100% - 15px) calc(1em + 7px), calc(100% - 2.9em) 0;
  background-size: 5px 5px, 5px 5px, 1px 3.5em;
  background-repeat: no-repeat;
  border: 1px solid #3d3d3d;
}
.order-summary {
  justify-content: space-between;
  min-height: 190px;
}
#checkout {
  cursor: pointer;
  padding: 16px 40px;
  border: 0;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: var(--text-color);
}
.payment-options .radio-options label {
  align-items: center;
  justify-content: space-between;
}
.radio-options>label {
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--sidebar-active-text);
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  width: 49%;
  margin-bottom: 2%;
  background: white;
}
.radio-options label span {
  display: flex;
}
.notice {
  font-weight: normal !important;
  font-size: 12px !important;
}
#checkout:disabled, #checkout-modal:disabled {
  cursor: not-allowed;
  background-color: gray;
}
#checkout, #checkout-modal {
  cursor: pointer;
  padding: 16px 40px;
  border: 0;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  color: whitesmoke;
}
.notice a {
  color: var(--sidebar-active-text);
  text-decoration: underline;
}
#in-chat-subscribe
{
  padding-top: 15px!important;
}
#question-label
{
  margin-left: 10px;
}
.radio-options
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
    gap: 2%;
}
.copied 
{
    display: flex;
    text-align: center;
    justify-content: center;
    margin-top: 5px;
}

.options-group
{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}
.option-item
{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: flex-start;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 17.6px 20px;
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    color: var(--text-primary);
}
.option-item.selected
{
    background: var(--option-selected-bg);
    border-color: var(--option-selected-border);
}
.options-group input,.option-item label
{
    cursor: pointer;
    outline: none;
}
.input-guide
{
 margin-bottom: 20px;
 font-size: 14px; 
}

.pac-container {
    border-radius: 8px;
    border-width: 2px;
    border-style: solid;
    border-color: var(--border);
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.pac-container:after
{
    display: none;
}
.pac-icon-marker
{
    display: none;
}
.pac-item
{
    background: white;
    color:black;
    border-color: var(--border);
    padding: 10px 15px 10px 15px;
    display: flex;
    flex-direction: column;
}
.pac-item-query
{
    color:black;
    line-height: 1.4;
    font-weight: 800;
}
.pac-item > span:nth-of-type(3) 
{
    color:black;
    line-height: 1.4;
} 
.pac-item:hover
{
    background: var(--sidebar-active);
}
.pac-item.pac-item-selected
{
   background: var(--sidebar-active);
}
.pac-matched
{
    font-weight: 800;
    color: var(--action-blue);
}
.no-copy
{
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    cursor: default;
}
.screenshot-blocker-container {
    position: relative;
}

.screenshot-blocker-overlay {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #2b364ae0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999;
    pointer-events: none;
    user-select: none;
    border-radius: 24px;
}

.white-frame-wrapper {
    position: relative;
    display: inline-block;
}

.white-frame-button {
    display: flex;
    align-items: center;
    border: 1px solid black;
    border-radius: 6px;
    padding: 8px 14px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-content: center;
    background-color: white;
}

.white-frame-button:hover {
    background-color: var(--border);
}

.white-frame-button img.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background: black;
    mix-blend-mode: difference;
}

.white-frame-button label {
    font-size: 14px;
    cursor: pointer;
    color: black;
    font-weight: 600;
}

.white-frame-button img.arrow {
    width: 20px;
    height: 20px;
    margin-left: 8px;
    background: black;
    mix-blend-mode: difference;
}

/* Dropdown */
.drop-down {
    display: none;
    position: absolute;
    top: calc(100% + 0px); /* Below the button */
    left: 0;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 8px 0;
    z-index: 999;
    min-width: 175px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

/* Keep dropdown visible on hover */
.white-frame-wrapper:hover .drop-down {
    display: block;
}
.download-document.with-margin {
    margin-bottom: 150px;
}

.drop-down-item {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.drop-down-item img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: black;
    mix-blend-mode: difference;
}

.drop-down-item span {
    font-size: 14px;
    color: black;
    font-weight: 600;
}

.drop-down-item:hover {

    background: var(--option-hover-bg);

}

.download-controls
{
    margin-bottom: 150px;
}

.payment-plans
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: space-between;
    align-items: stretch;
    gap: 2%;
}


.payment-plan
{
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 49%;
    margin-bottom: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: border 0.3s;
    background: var(--option-hover-bg);
}
.payment-plan:hover
{
    background: var(--sidebar-active);
}
.payment-plan.selected
{
    background: var(--sidebar-active)!important;
    cursor: normal;
}
.payment-plan-header
{
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: space-between;
    align-items: center;
}
.payment-plan-left
{
    font-weight: bold;
    color: var(--sidebar-active-text);
}
.payment-plan-right b
{
    color: var(--sidebar-active-text);
}
.payment-plan-right span
{
   font-size: 12px;
}
.payment-plan-footer
{
    font-size: 12px;
}
.payment-plan-footer b
{
    color: var(--sidebar-active-text);
}
.payment-plan-before-footer
{
    font-size: 12px;
}

.radio-options input
{
    margin-right: 5px;
}


.radio-options label:hover
{
    background-color: var(--sidebar-active);
}

.success
{
    color:#078002!important;
}


.notice-text
{
    margin: 0 auto 60px auto;
    text-align: center;
    font-size: 14px;
}
.notice-text a
{
    color: white;
}


.currency-icon
{
    margin-right: 10px;
    position: absolute;
    left: -20px;
    top: 24px;
}

.init-radio {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.social-buttons
{
    display: flex;
    gap: 10px;
}
.social-buttons .sm-btn
{
    color:black;
    background-color: white;
    margin: 0px;
    font-size: 16px;
}
.social-buttons .sm-btn:hover
{
    background-color: whitesmoke;
}
.in-chat-login-signup
{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-logo
{
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 101;
    cursor: pointer;
    display: none;
}

#generated-document > div:last-of-type > div:last-of-type 
{
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.thinking-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Transparent background */
    background: transparent;
}

.thinking-text {
    font-size: 24px;
    font-weight: 500;
    display: inline-flex;
    align-items: baseline;
}

/* All characters including periods as part of the same wave */
.char {
    display: inline-block;
    color: var(--action-blue); /* Brighter purple for dark background */
    animation: wave 1.5s ease-in-out infinite;
}

/* Stagger the animation for each character in sequence */
.char:nth-child(1) { animation-delay: 0s; }       /* T */
.char:nth-child(2) { animation-delay: 0.05s; }    /* h */
.char:nth-child(3) { animation-delay: 0.10s; }    /* i */
.char:nth-child(4) { animation-delay: 0.15s; }    /* n */
.char:nth-child(5) { animation-delay: 0.20s; }    /* k */
.char:nth-child(6) { animation-delay: 0.25s; }    /* i */
.char:nth-child(7) { animation-delay: 0.30s; }    /* n */
.char:nth-child(8) { animation-delay: 0.35s; }    /* g */
.char:nth-child(9) { animation-delay: 0.40s; }    /* . */
.char:nth-child(10) { animation-delay: 0.45s; }   /* . */
.char:nth-child(11) { animation-delay: 0.50s; }   /* . */
.char:nth-child(12) { animation-delay: 0.55s; }   /* . */
.char:nth-child(13) { animation-delay: 0.60s; }   /* . */

/* Wave animation - smooth highlighting and bouncing */
@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
        color: var(--action-blue);
        text-shadow: none;
        filter: brightness(1);
    }
    30% {
        transform: translateY(-10px);
        color: var(--sidebar-active); /* Even brighter on highlight */
        text-shadow: 0 0 15px var(--action-blue),
        0 6px 25px rgba(167, 139, 250, 0.5);
        filter: brightness(1.3);
    }
}

/* Container safety */
#invoices-popup .user-invoices-table-wrapper{
  width:100%;
  overflow-x:auto;
}

/* Table */
.user-invoices-table{
  width:100%;
  border-collapse:collapse;
  font-family:inherit;
  font-size:14px;
  background:#fff;
}

/* Header */
.user-invoices-table thead{
  background:#f7f7f9;
}

.user-invoices-table th{
  text-align:left;
  padding:12px 14px;
  font-weight:600;
  border-bottom:2px solid #e5e7eb;
  color:#333;
}

/* Body rows */
.user-invoices-table td{
  padding:12px 14px;
  border-bottom:1px solid #eee;
  color:#444;
}

/* Hover effect */
.user-invoices-table tbody tr:hover{
  background:#fafafa;
}

/* Status styling */
.user-invoices-table .status-paid{
  color:#16a34a;
  font-weight:600;
}

.user-invoices-table .status-open{
  color:#f59e0b;
  font-weight:600;
}

.user-invoices-table .status-unpaid{
  color:#dc2626;
  font-weight:600;
}

/* Download button */
.user-invoices-table a{
  display:inline-block;
  padding:6px 10px;
  font-size:13px;
  text-decoration:none;
  background:#2563eb;
  color:#fff;
  border-radius:4px;
  transition:background .2s;
}

.user-invoices-table a:hover{
  background:#1e4fd1;
}

/* Zebra rows */
.user-invoices-table tbody tr:nth-child(even){
  background:#fcfcfc;
}

/* ========================= */
/* MOBILE RESPONSIVE TABLE */
/* ========================= */

@media (max-width: 700px){

  .user-invoices-table thead{
    display:none;
  }

  .user-invoices-table,
  .user-invoices-table tbody,
  .user-invoices-table tr,
  .user-invoices-table td{
    display:block;
    width:100%;
  }

  .user-invoices-table tr{
    margin-bottom:15px;
    border:1px solid #e5e7eb;
    border-radius:6px;
    overflow:hidden;
  }

  .user-invoices-table td{
    display:flex;
    justify-content:space-between;
    padding:10px 14px;
    border-bottom:1px solid #eee;
	gap: 65px;
  }

  .user-invoices-table td:last-child{
    border-bottom:none;
  }

  .user-invoices-table td::before{
    font-weight:600;
    color:#555;
  }

  .user-invoices-table td:nth-child(1)::before{
    content:"Date";
  }

  .user-invoices-table td:nth-child(2)::before{
    content:"Description";
  }

  .user-invoices-table td:nth-child(3)::before{
    content:"Amount";
  }

  .user-invoices-table td:nth-child(4)::before{
    content:"Status";
  }

  .user-invoices-table td:nth-child(5)::before{
    content:"Invoice";
  }

}

@media(max-width: 1200px)
{
    .container
    {
        padding: 60px 20px 20px 20px;
    }
}

@media (max-width: 768px) 
{

    .navigation-buttons-two .btn-secondary
    {
        max-width: none;
    }
    .mobile-logo
    {
        display: block;
    }
    .social-buttons
    {
        flex-direction: column;
    }
    .currency-icon
    {
     left: -16px;
 }

 .auth-buttons > div:first-child {
    display: none;
}
#upgrade-plan .plans-body .checkout-info
{
    margin: auto;
    padding-left: 30px;
    padding-right: 30px;
}
.plan-left,
.plan-right 
{
    width: 100%;
}
.hero h1 {
    font-size: 1.8rem;
}

.hero p {
    font-size: 1.1rem;
}

.search-container {
    max-width: 95%;
}

.search-box {
    padding: 12px;
    border-radius: 20px;


}
.search-box:focus-within
{
 border: 2px solid rgba(71, 85, 105, 0.5);
 border-color: #4f46e5;
}

.search-input {
    order: 1;
    text-align: left;
    width: 100%;
    min-height: 52px;
    padding: 16px 10px;
    font-size: 0.9rem;
}

.generate-btn {
    order: 2;
    border-radius: 12px;
    padding: 10px;
}
.generate-btn::before
{
    display: none;
}
.search-icon {
    order: 0;
    margin: 0 auto 8px auto;
    display: none;
}

.trust-indicators {
    /*flex-direction: column;*/
    flex-direction: row;
    gap: 20px;
    justify-content: flex-start;
    width: 95%;
    margin: auto;
}

.popular-tags {
    justify-content: center;
}

.payment-plans,.radio-options
{
   flex-direction: column;
}
.payment-plan,.radio-options>label
{
    width: 100%;
}
.sidebar {
    width: 100%;
    transform: translateX(-100%);
}

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

.sidebar:not(.collapsed) {
    transform: translateX(0);
}

.main-content {
    margin-left: 0;
}

.main-content.expanded {
    margin-left: 0;
}

.container {
    padding: 80px 15px 15px 15px;
}

.question-container {
    padding: 40px 25px;
}

.question-title {
    font-size: 1.6rem;
}

.main-input {
    font-size: 1.05rem;
    padding: 12px 16px;
    height: 52px;
}/*aiw-mobinput-h*/

.navigation-buttons,.navigation-buttons-two {
    /*flex-direction: column-reverse;*/
    gap: 15px;
}

.confirmation-buttons-container .btn {
    width: 100%;
}

.btn-primary {
    /*max-width: none;*/
}

.toggle-sidebar {
    display: block;
    position: absolute;
}
.download-document
{
    flex-direction: column;
    align-items: stretch;
    max-width: 175px;
    margin: 30px auto;
}
#generated-document div
{
 flex-direction: column;
}
.auth-buttons .transparent-button {
    display: none;
}

.auth-buttons .transparent-button:first-child {
    display: flex;
}
.generate-btn-text
{
    display: none;
}

.notice-text
{
    text-align: left;
    width: 95%;
}


}


/* GREENHOVER1 */
.button-green:hover, .button-green:focus { background: linear-gradient(135deg, rgb(44, 104, 1), rgb(52, 122, 0)) !important; }

/* FOCUSBLUE1 */
.main-input:focus, .section-question textarea:focus, .section-question input[type="text"]:focus, .section-question input[type="date"]:focus { background: var(--option-selected-bg) !important; border-color: var(--option-selected-border) !important; }

/* FOOTERSPACE1 */
.inner-footer{display:flex;flex-direction:column;align-items:center}.inner-footer .segement-toggle-container{margin-top:18px}.inner-footer .segement-toggle-container{align-items:center}.inner-footer .segement-toggle-container span{line-height:1.2}

/* BULLETIND1 */
#generated-document ul, #generated-document ol, .generated-document ul, .generated-document ol { padding-left: 2.2em !important; margin: 0.6em 0 !important; list-style-position: outside !important; }
#generated-document ul, .generated-document ul { list-style-type: disc !important; }
#generated-document ol, .generated-document ol { list-style-type: decimal !important; }
#generated-document li, .generated-document li { margin: 0.25em 0 !important; display: list-item !important; }

/* SLIDEANIMCSS1 */
@keyframes swInFwd{from{transform:translateX(42px);opacity:0}to{transform:none;opacity:1}}@keyframes swOutFwd{from{transform:translateX(0);opacity:1}to{transform:translateX(-70px);opacity:0}}@keyframes swInBack{from{transform:translateX(-42px);opacity:0}to{transform:none;opacity:1}}@keyframes swOutBack{from{transform:translateX(0);opacity:1}to{transform:translateX(70px);opacity:0}}
.section-wrapper.sw-in-fwd{animation:swInFwd .34s cubic-bezier(.22,.61,.36,1) both}
.section-wrapper.sw-out-fwd{animation:swOutFwd .30s ease-in both}
.section-wrapper.sw-in-back{animation:swInBack .34s cubic-bezier(.22,.61,.36,1) both}
.section-wrapper.sw-out-back{animation:swOutBack .30s ease-in both}

/* LOGINBOTTOMCSS1 */
#sidebar{display:flex;flex-direction:column}#sidebar .inner-footer{margin-top:auto}.new-chat-btn.sidebar-login-bottom{margin:6px 12px 8px!important;width:calc(100% - 24px)}

/* SLIDEANIMCSS2 */
#msg-id{overflow-x:hidden}
.section-wrapper.sw-in-fwd,.section-wrapper.sw-in-back{will-change:transform,opacity}
@keyframes swInFwd{from{transform:translateX(34px);opacity:0}to{transform:translateX(0);opacity:1}}
@keyframes swInBack{from{transform:translateX(-34px);opacity:0}to{transform:translateX(0);opacity:1}}
.section-wrapper.sw-in-fwd{animation:swInFwd .38s cubic-bezier(.16,.84,.44,1) both}
.section-wrapper.sw-in-back{animation:swInBack .38s cubic-bezier(.16,.84,.44,1) both}


/* FILLHR1 FILLBLUE1 keep field blue when it has text */
.main-input:not(:placeholder-shown),
.section-question textarea:not(:placeholder-shown),
.section-question input[type="text"]:not(:placeholder-shown),
.section-question input[type="date"]:not(:placeholder-shown){background:var(--option-selected-bg)!important;border-color:var(--option-selected-border)!important;}
/* HRREMOVE7 remove sidebar-header divider */
.sidebar-header{border-bottom:none!important;}



/* OPTIMGCSS1 option icon for radio/checkbox (scoped to options that have an icon) */
.option-item .option-icon{display:inline-block;width:28px;height:28px;object-fit:contain;margin-right:12px;vertical-align:middle;border-radius:4px;flex:0 0 auto;}
.option-item:has(.option-icon){display:flex;align-items:center;}
.option-item:has(.option-icon) label{flex:1 1 auto;}


/* OPTSPACING3 */
.option-item .section-checkbox,.option-item .section-radio{margin-right:12px;flex:0 0 auto;}
.option-item .option-icon{margin-left:0;margin-right:12px;}
.segement-toggle-container{gap:12px;}
.inner-footer{padding:16px 12px;}

/* FOOTERFLOW1 */
.main-content{display:flex;flex-direction:column;}
.main-content>.container{order:1;flex:0 0 auto;}
.main-content>.inner-footer{position:static;order:9;margin-top:auto;flex:0 0 auto;padding-top:18px;}

/* OPTDESC1 */
.option-item .option-text{display:flex;flex-direction:column;flex:1 1 auto;}
.option-item .option-text label{flex:0 0 auto;cursor:pointer;}
.option-item .option-desc{font-size:13px;color:#5f6b7a;margin-top:4px;line-height:1.4;font-weight:400;}
.option-item:has(.option-desc){align-items:flex-start;}

/* BOTTOMSPACE1 */
.settings{padding-bottom:30px;}
.inner-footer{padding-bottom:26px;}

/* BOTTOMSPACE2 */
.main-content>.inner-footer{padding-bottom:26px;}

/* OPTALIGN2 */
.option-item:has(.option-desc){align-items:center;}

/* BOTTOMSPACE3 */
.settings{padding-bottom:40px;}
.main-content>.inner-footer{padding-bottom:40px;}

/* SIDEBARBOTTOM1 */
.sidebar{padding-bottom:40px;box-sizing:border-box;}


/* FOOTERBOTTOM1 */
.main-content{min-height:100vh;}

/* FOOTERBOTTOM2 */
.main-content{min-height:100vh !important;}

/* CHECKOUTSTRIPE1 */
.card-details .fld-label{display:block;font-size:15px;color:#1a1f36;margin:14px 0 6px;font-weight:400;text-align:left;}
#card-element,#card-expiry,#card-cvc{background:#fff !important;border:1px solid #d9dee4;border-radius:8px;padding:12px 14px;box-shadow:0 1px 2px rgba(0,0,0,.03);}
.card-row2{display:flex;gap:16px;}
.card-row2>div{flex:1 1 50%;}
.billing-address{display:flex;gap:16px;align-items:flex-start;}
.bl-col{flex:1 1 50%;}
.bl-col .zip-code{width:100%;background:#fff !important;border:1px solid #d9dee4;border-radius:8px;padding:12px 14px;color:#1a1f36;font-size:16px;box-sizing:border-box;}
#country2{width:100%;background:#fff;border:1px solid #d9dee4;border-radius:8px;padding:12px 14px;color:#1a1f36;font-size:16px;box-sizing:border-box;appearance:auto;}
.zip-code::placeholder{color:#77808c;}
.email-address{background:#fff !important;}
input.zip-code::-webkit-outer-spin-button,input.zip-code::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}

/* CHECKOUTSTRIPE2 */
.billing-address{height:auto !important;min-height:0 !important;max-height:none !important;overflow:visible;margin-bottom:8px;}
.card-details .notice{display:block;margin-top:16px;clear:both;}
.card-creds{height:auto !important;}

/* CHECKOUTSTRIPE3 */
#card-element,#card-expiry,#card-cvc{display:flex;flex-direction:column;justify-content:center;height:50px;padding:0 14px;box-sizing:border-box;}
#card-element .__PrivateStripeElement,#card-expiry .__PrivateStripeElement,#card-cvc .__PrivateStripeElement{width:100%;}
.bl-col .zip-code,#country2{height:50px;padding:0 14px;box-sizing:border-box;}
.email-address{height:50px;box-sizing:border-box;}

/* CHECKOUTSTRIPE4 */
.zip-code::placeholder,.email-address::placeholder{color:#aab7c4 !important;}

/* CHECKOUTSTRIPE5 */
.email-address{background:#fff !important;border:1px solid #d9dee4 !important;border-radius:8px !important;box-shadow:0 1px 2px rgba(0,0,0,.03);color:#1a1f36;font-size:16px;padding:0 14px;height:50px;box-sizing:border-box;}

/* PLANWHITE1 */
.payment-plan{background:#fff !important;border:1px solid #e3e8ee;}
.payment-plan.selected{background:#eef4ff !important;border-color:#3284ff;}

/* CHECKOUTSTRIPE6 */
.card-details .card-creds{margin-top:6px !important;}
.in-chat-login-signup{margin-bottom:6px !important;}
.card-details .fld-label:first-of-type{margin-top:8px;}

/* CHECKOUTHR1 */
.card-details .in-chat-login-signup{border-bottom:1px solid #d9d9d9;padding-bottom:22px;margin-bottom:16px;}

/* DLBTNBLUE1 */
.download-controls .white-frame-button{background:#1a73e8 !important;border-color:#1a73e8 !important;color:#fff !important;}
.download-controls .white-frame-button>label,.download-controls .white-frame-button>span{color:#fff !important;cursor:pointer;}
.download-controls .white-frame-button>img{filter:brightness(0) invert(1);}
.download-controls .white-frame-button .drop-down img{filter:none;}
.download-controls .white-frame-button .drop-down,.download-controls .white-frame-button .drop-down span{color:#1a1f36 !important;}

/* CHECKOUTHR2 */
.inchat-top-border{border-top:1px solid #d9d9d9 !important;}

/* CHECKOUTHR3 */
.card-details .in-chat-login-signup{border-bottom:none !important;}

/* CHECKOUTHR4 */
.tp-checkout-box{border-top:1px solid #d9d9d9 !important;padding-top:22px;margin-top:10px;}

/* DLBTNBLUE2 */
.download-controls .white-frame-button>img{filter:brightness(0) invert(1) !important;background:transparent !important;mix-blend-mode:normal !important;}

/* CHECKOUTHR5 */
.inchat-top-border{display:none !important;}

/* DLMENU1 */
.drop-down .drop-down-item span{color:#1a1f36;}
.drop-down .drop-down-item img{width:22px;height:22px;object-fit:contain;filter:none !important;}
.drop-down .drop-down-item:hover{background:#eef4ff;}
.drop-down .drop-down-item:hover span{color:#1a73e8;}
.drop-down{border:1px solid #e3e8ee;box-shadow:0 4px 12px rgba(0,0,0,.08);}

/* DLMENU2 */
.drop-down .drop-down-item img{mix-blend-mode:normal !important;background:transparent !important;}


/* bos-doc-spacing: fallback spacing for generated documents (old docs lack inline margins) */
#generated-document p { margin-top: 20px; margin-bottom: 20px; }
#generated-document h1 { margin-top: 10px; margin-bottom: 24px; }

/* bos-select-padding: consistent select padding cross-browser (Safari ignores padding on native selects) */
select.main-input {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-left: 20px;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23334155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4-4 4 4'/%3E%3Cpath d='M4 10l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
select.main-input:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23334155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4-4 4 4'/%3E%3Cpath d='M4 10l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

/* bos-dlbtn-hover: darker blue hover for Download/Email/Print buttons */
.download-controls .white-frame-button:hover {
  background: #1557b0 !important;
  border-color: #1557b0 !important;
}
.download-controls .white-frame-wrapper:hover .white-frame-button {
  background: #1557b0 !important;
  border-color: #1557b0 !important;
}
/* GMNAVSPACE1 */
.gen-mode-q .navigation-buttons{margin-top:26px;}

/* MOBFULLNEXT1 */
@media (max-width:768px){ .navigation-buttons button[style*="visibility:hidden"]{display:none;} .navigation-buttons button[style*="visibility:hidden"] + .btn-primary{width:100%;} }

/* MOBFULLNEXT2 */
@media (max-width:768px){ .navigation-buttons button[style*="visibility:hidden"] + .btn-primary{max-width:none !important;width:100%;} }

/* OPTICONCENTER1 */
.option-item .option-text label{align-items:center;} .option-item .aiw-opt-icon{align-self:center;}

/* selectddv1 */
/* Fix: selects were always caught by the .main-input:not(:placeholder-shown) answered-state rule
   (selects can never show a placeholder), which painted every dropdown with the selected-tile blue
   and its background shorthand erased the chevron arrow. Restore neutral dropdown look. */
.section-question select.main-input{
  background-color:#fff !important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%23334155' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4-4 4 4'/%3E%3Cpath d='M4 10l4 4 4-4'/%3E%3C/svg%3E") !important;
  background-repeat:no-repeat !important;
  background-position:right 14px center !important;
  border-color:rgba(71,85,105,0.5) !important;
}
.section-question select.main-input:focus{
  border-color:var(--option-selected-border) !important;
}

/* dualversionv1 */
/* dual-version-v1 */
.gen-mode-q .gm-simple.aiw-disabled{opacity:.5;pointer-events:none;filter:grayscale(1);cursor:not-allowed;}
.aiw-credit-note{font-size:.9rem;margin:8px 4px 0;color:#64748b;}
.aiw-credit-exhausted{color:#b91c1c;font-weight:600;margin:2px 4px 10px;}


/* dualversionuiv1 */
/* dual-version-ui-v1 */
.aiw-ver-toggle{display:inline-flex;align-items:center;gap:14px;border:none;border-radius:0;padding:0;margin-left:auto;background:transparent;}/*aiw-tognobox-v1*/
.aiw-ver-label{font-weight:600;color:#1a202c;font-size:18px;line-height:1;}/*aiw-toglabel-v1*/
.aiw-switch{position:relative;width:52px;height:30px;border-radius:999px;border:0;background:#cbd5e1;cursor:pointer;padding:0;transition:background .2s;flex:0 0 auto;}
.aiw-switch.on{background:#2b6fff;}
.aiw-knob{position:absolute;top:3px;left:3px;width:24px;height:24px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.3);transition:left .2s;}
.aiw-switch.on .aiw-knob{left:25px;}
.aiw-modal-ov{position:fixed;inset:0;background:rgba(15,23,42,.5);display:flex;align-items:center;justify-content:center;z-index:100000;}
.aiw-modal{background:#fff;border-radius:16px;padding:28px 28px 22px;max-width:440px;width:90%;box-shadow:0 20px 50px rgba(0,0,0,.25);}
.aiw-modal-msg{font-size:1.25rem;font-weight:700;color:#0f172a;margin-bottom:8px;}
.aiw-modal-sub{font-size:.98rem;color:#475569;margin-bottom:20px;line-height:1.5;}
.aiw-modal-row{display:flex;gap:12px;justify-content:flex-end;}
.aiw-btn{border:0;border-radius:10px;padding:12px 20px;font-size:1rem;font-weight:600;cursor:pointer;}
.aiw-btn-primary{background:#2b6fff;color:#fff;}
.aiw-btn-primary:hover{background:#1d5fe0;}
.aiw-btn-ghost{background:#f1f5f9;color:#334155;}
.aiw-btn-ghost:hover{background:#e2e8f0;}


/* dualversionposv1 */
/* dual-version-pos-v1 */
.download-controls{position:relative;}
.aiw-ver-toggle{position:absolute;right:0;top:50%;transform:translateY(-50%);margin:0;}


/* aiw-hide-vertoggle-v2 */
/*aiw-togshow-v1 disabled old hide: .aiw-ver-toggle{display:none !important;} */
/* aiw-dl-align-v2 */
@media (max-width: 768px){ .download-document{ margin-left:0 !important; margin-right:auto !important; } }
/* aiw-header-v1 */
.aiw-docview{padding-left:0 !important;padding-right:0 !important;}/*aiw-header-v2*/
.aiw-doc-back-wrap{margin:0 0 32px !important;}
.aiw-docview{margin-bottom:16px !important;}
.aiw-docview .progress-header,.aiw-docview .actual-conversation-title{padding-left:0 !important;margin-left:0 !important;}
.progress-steps{text-align:right !important;width:100% !important;}
#gm-generate-btn:not(.button-green){background:var(--action-blue,#1a73e8) !important;}
#gm-generate-btn:not(.button-green):hover,#gm-generate-btn:not(.button-green):focus{background:var(--action-blue-hover,#1557b0) !important;}/*aiw-genbtn-blue-css*/
#gm-generate-btn{white-space:nowrap !important;}
#gm-generate-btn{gap:0 !important;}
#gm-generate-btn svg{margin-left:8px !important;flex-shrink:0;}


@media (pointer: coarse){
.input-container input[type="date"][data-tpfix="dp-overlay-v1"]{left:0 !important;right:0 !important;top:0 !important;bottom:0 !important;transform:none !important;width:100% !important;height:100% !important;}
}/*aiw-datefield-fulltap*/
@media (max-width: 768px){
#msg-id:has(#aiw-newdoc-hero){background:transparent !important;box-shadow:none !important;border:none !important;padding:8px 0 !important;border-radius:0 !important;}
#aiw-newdoc-hero h1{font-size:30px !important;line-height:1.25 !important;}
#aiw-newdoc-hero p{font-size:15px !important;}
#aiw-newdoc-hero .aiw-nd-input{font-size:16px !important;}
}/*aiw-nd-mobileclean*/
/* aiw-footer-pin-v1 */
.main-content > .container{flex:1 0 auto;}
.main-content > .inner-footer{order:99;margin-top:auto;}
/* aiw-exhausted-style-v1 */
.gen-mode-q .gm-simple.aiw-disabled{opacity:1 !important;filter:none !important;pointer-events:none;background:#fff;}
.gen-mode-q .gm-simple.aiw-disabled label,.gen-mode-q .gm-simple.aiw-disabled .option-desc,.gen-mode-q .gm-simple.aiw-disabled span{color:#9ca3af !important;}
.gen-mode-q .gm-simple.aiw-disabled img{opacity:.45;filter:grayscale(1);}
.aiw-credit-note.aiw-credit-exhausted{color:#dc2626 !important;font-weight:600;font-size:15px;text-align:left;margin:10px 0 2px 4px;}
/* aiw-dlanim-css-v1 */
.download-controls .download-document{position:relative;}
.aiw-dl-anim{position:absolute;left:-54px;top:50%;transform:translateY(-50%);width:42px;height:42px;margin:0;mix-blend-mode:multiply !important;background:transparent !important;pointer-events:none;filter:hue-rotate(52deg) saturate(1.6) brightness(1.07);}/*aiw-dlanim-css-v5*/
@media (max-width: 768px){.aiw-dl-anim{left:auto;right:-54px;}}/*aiw-dlanim-css-v3*/
/* aiw-optlabel-fix-v2 */
.option-item .option-text label{display:block !important;}
.option-item .option-text label b,.option-item .option-text label strong{display:inline !important;font-weight:700;}

/* aiw-dlanim-wrap-v1 */
span.aiw-dl-anim{filter:none !important;display:block;}
.aiw-dl-anim img{display:block;width:100%;height:100%;filter:hue-rotate(52deg) saturate(1.6) brightness(1.07);background:transparent;border:0;margin:0;pointer-events:none;}

/* aiw-dlanim-svg-v1 */
span.aiw-dl-anim{mix-blend-mode:normal !important;filter:none !important;background:transparent !important;}
.aiw-dl-anim svg{display:block;width:100%;height:100%;overflow:visible;}
.aiw-dl-anim .adl-arr{animation:aiwdrop .9s ease-in-out infinite;}
@keyframes aiwdrop{0%{transform:translateY(-5px);opacity:0;}25%{opacity:1;}65%{transform:translateY(3px);opacity:1;}100%{transform:translateY(7px);opacity:0;}}

/* aiw-footer-fixed-v1 */
.inner-footer.aiw-fixed-footer{position:fixed;bottom:0;right:0;left:0;height:84px;margin:0;padding:6px 16px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;background:#f0f0f0;z-index:900;}
.aiw-fixed-footer .sub-inner-footer{margin:0;}
.aiw-fixed-footer .segement-toggle-container{margin:0;}
.main-content>.container{padding-bottom:0;}
@media (max-width:768px){.inner-footer.aiw-fixed-footer{left:0 !important;height:76px;}}

/* aiw-footer-static-v1 */
.inner-footer.aiw-static-footer{position:static;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:6px;margin:0;padding:20px 16px 26px;background:transparent;}

/* aiw-footer-merge-v1 */
.aiw-static-footer .sub-inner-footer{display:none;}
.inner-footer.aiw-static-footer{padding:0 16px 24px;}

/* aiw-footer-nosquish-v2 */
.home-page footer{flex-wrap:wrap;row-gap:12px;}
.home-page footer .footer-links{flex:0 0 auto;}
.home-page footer .footer-links a{white-space:nowrap;flex-shrink:0;width:auto;}
.home-page footer .inner-footer.aiw-static-footer{flex:0 0 auto;width:auto;padding:0;margin:0 0 0 auto;}
@media (max-width:768px){.home-page footer .inner-footer.aiw-static-footer{margin:0 auto;}}

/* aiw-footer-clean-v1 */
.inner-footer.aiw-fixed-footer{width:auto !important;}
.inner-footer.aiw-fixed-footer a,.inner-footer.aiw-fixed-footer .segement-toggle-container{pointer-events:auto;}
.aiw-fixed-footer .sub-inner-footer{width:auto;margin:0 auto;display:flex;gap:14px;justify-content:center;flex:0 0 auto;}
.aiw-fixed-footer .segement-toggle-container{width:auto;margin:0 auto;justify-content:center;flex:0 0 auto;}

/* aiw-foot-stack-v1 */
.aiw-foot-left{display:flex;flex-direction:column;gap:8px;flex:0 0 auto;}
.aiw-foot-stack{display:flex;flex-direction:column;align-items:center;gap:10px;flex:0 0 auto;margin:0 auto;}
.aiw-foot-stack .footer-links{flex-wrap:nowrap;}
.home-page footer .inner-footer.aiw-static-footer{margin:0;padding:0;}
@media (max-width:768px){.home-page footer{flex-direction:column;align-items:center;gap:16px;}.aiw-foot-left{align-items:center;}}

/* aiw-footer-bottomgap-v1 */
.main-content>.inner-footer{padding-bottom:44px;}

/* aiw-footer-noshrink-v1 */
.main-content>.inner-footer{flex-shrink:0 !important;height:auto !important;}

/* aiw-doccounter-css-v1 */
.aiw-doc-counter{display:flex;align-items:center;justify-content:center;gap:12px;margin:26px 0 2px;}
.aiw-doc-counter:empty{display:none;}
.aiw-dc-avatars{display:flex;align-items:center;}
.aiw-dc-avatars span{width:34px;height:34px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;border:2px solid #fff;margin-left:-7px;}
.aiw-dc-avatars span:first-child{margin-left:0;}
.aiw-dc-text{color:#6b7280;font-size:15px;}
.aiw-dc-text strong{color:#111827;font-weight:700;}

/* aiw-genbanner-css-v1 */
#aiw-gen-banner{position:fixed;top:18px;right:18px;z-index:100000;background:#b91c1c;color:#fff;font-size:14px;font-weight:600;padding:12px 18px;border-radius:10px;box-shadow:0 6px 20px rgba(0,0,0,.18);opacity:0;transform:translateY(-8px);transition:opacity .25s,transform .25s;pointer-events:none;max-width:320px;}
#aiw-gen-banner.show{opacity:1;transform:translateY(0);}
/* aiw-datecal-left */
.input-container input[type="date"]::-webkit-calendar-picker-indicator{position:absolute;left:0;top:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:pointer;}
.input-container input[type="date"]{position:relative;}
/* aiw-datecal-left2 */
.input-container input[type="date"]{direction:rtl;text-align:left;}
/* aiw-datecal-width */
.section-question input[type="date"]{max-width:320px !important;}
/* aiw-newdoc-css */
#aiw-newdoc-hero{max-width:860px;margin:6px auto 0;padding:0 16px;}
#aiw-newdoc-hero h1{font-size:42px;font-weight:800;margin:0 0 12px;text-align:center;}
#aiw-newdoc-hero .aiw-nd-hl{color:#2b6fff;}
#aiw-newdoc-hero p{color:#6b7280;font-size:17px;text-align:center;margin:0 0 24px;}
.aiw-nd-wrap{position:relative;}
.aiw-nd-input{display:block;/*aiw-nd-center*/width:100%;border:2px solid #2b6fff;border-radius:14px;padding:18px 66px 18px 20px;font-size:17px;resize:none;box-sizing:border-box;outline:none;font-family:inherit;}
.aiw-nd-btn{position:absolute;right:10px;top:50%;transform:translateY(-50%);background:#2b6fff;color:#fff;border:none;border-radius:10px;width:46px;height:42px;font-size:20px;cursor:pointer;}
/* aiw-genmode-css2 */
.gen-mode-q .aiw-adv-title{font-size:24px;font-weight:800;}
.gen-mode-q .aiw-adv-sub{font-weight:500;font-size:24px;}
.gen-mode-q .aiw-trustline{margin-top:8px;font-size:14px;color:#1d2327;display:flex;align-items:center;gap:7px;}
.gen-mode-q .aiw-tl-num{color:#3d4451;}
.gen-mode-q .aiw-tp-star{background:#00b67a;color:#fff;width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;font-size:12px;border-radius:2px;}
.gen-mode-q .gm-comp{padding-top:20px !important;padding-bottom:20px !important;}
/* aiw-datecal-final */
.input-container input[type="date"]{left:8px !important;right:auto !important;}
.input-container input[type="date"] ~ button{left:14px !important;right:auto !important;}
.input-container:has(input[type="date"]) .main-input{padding-left:46px !important;padding-right:16px !important;}
/* aiw-gen-disclaimer-css */
.aiw-gen-disclaimer{margin-top:18px;text-align:center;font-size:13.5px;color:#50575e;}
.aiw-gen-disclaimer a{color:inherit;text-decoration:underline;}
/* aiw-adv-mobile */
@media (max-width:768px){
.gen-mode-q .aiw-adv-title{font-size:22px !important;white-space:nowrap;}
.gen-mode-q .aiw-adv-sub{font-size:22px !important;}
}
/* aiw-gentop-css */
.aiw-gen-top{display:flex;justify-content:flex-end;margin:-20px 0 30px;}
.aiw-gen-top-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:200px;height:40px;box-sizing:border-box;background:#fff;border:1px solid #d1d5db;border-radius:8px;padding:0 10px;font-size:16px;font-weight:600;color:#1f2937;cursor:pointer;font-family:inherit;}
.aiw-gen-top-btn:hover{background:#f3f4f6;}
.aiw-next-arr{margin-left:4px;}
/* aiw-gentop-mob-v1: mobile un-hide per request; was: [max-width 768 -> .aiw-gen-top display none important] */
@media (max-width:768px){.aiw-gen-top{margin:-6px 0 22px;}.aiw-gen-top-btn{width:200px;height:40px;padding:0 10px;font-size:16px;}/*aiw-gentop-mob-w3: match Next btn (flex max-width 200px)*/.aiw-gen-top-btn::after,.aiw-gen-top-btn::before{display:none !important;}}
/* aiw-gentop-tip-css */
.aiw-gen-top-btn{position:relative;}
.aiw-gen-top-btn::after{content:attr(data-aiw-tip);position:absolute;top:calc(100% + 9px);right:0;width:290px;background:#111827;color:#fff;padding:9px 12px;border-radius:8px;font-size:13px;font-weight:400;line-height:1.45;text-align:left;white-space:normal;opacity:0;visibility:hidden;transition:opacity .18s ease .3s,visibility .18s ease .3s;pointer-events:none;z-index:60;}
.aiw-gen-top-btn::before{content:"";position:absolute;top:calc(100% + 3px);right:24px;border:6px solid transparent;border-bottom-color:#111827;opacity:0;visibility:hidden;transition:opacity .18s ease .3s,visibility .18s ease .3s;pointer-events:none;z-index:60;}
.aiw-gen-top-btn:hover::after,.aiw-gen-top-btn:hover::before{opacity:1;visibility:visible;}
/* aiw-gen-green-css */
.aiw-gen-green{display:inline-flex !important;align-items:center;justify-content:center;gap:8px;width:200px;height:40px;box-sizing:border-box;font-size:16px;font-weight:600;padding:0 10px;}
/*aiw-togv2-css*/
.aiw-modal{position:relative;padding-top:44px !important;}
.aiw-modal-x{position:absolute;top:12px;left:14px;background:none;border:0;padding:4px;font-size:17px;font-weight:700;color:#94a3b8;cursor:pointer;line-height:1;}
.aiw-modal-x:hover{color:#475569;}
.aiw-modal-row{display:flex;flex-direction:row-reverse;justify-content:space-between;gap:16px;}
@media(max-width:768px){
.aiw-ver-label{font-size:0 !important;line-height:0;}
.aiw-ver-label::after{content:'Advanced';font-size:17px;font-weight:600;color:#1a202c;line-height:1;}
.aiw-ver-toggle{margin-left:auto !important;gap:10px !important;right:0 !important;left:auto !important;z-index:2;}
}
.download-controls:has(+ #msg-id),.download-controls:has(+ .question-container){margin-bottom:20px !important;}/*aiw-toprow-margin*/
.aiw-chatload{display:flex;justify-content:center;align-items:center;padding:90px 0;}
.aiw-chatload-sp{width:34px;height:34px;border:3px solid #dbeafe;border-top-color:#2b6fff;border-radius:50%;animation:aiwspin .8s linear infinite;}
@keyframes aiwspin{to{transform:rotate(360deg);}}
/*aiw-chatload-css*/
.gen-mode-q .aiw-adv-title, .gen-mode-q .aiw-adv-title b, .gen-mode-q .aiw-adv-title strong{font-weight:400 !important;}/*aiw-adv-unbold*/
.chat-item{position:relative;}
.aiw-del{position:absolute;right:6px;top:50%;transform:translateY(-50%);opacity:0;transition:opacity .15s;cursor:pointer;padding:6px;line-height:0;z-index:2;}
.chat-item:hover .aiw-del{opacity:.65;}
.aiw-del:hover{opacity:1 !important;}
@media(max-width:768px){.aiw-del{opacity:.4;}}
.aiw-clearall{display:block;margin:16px auto 22px;font-size:12.5px;color:#94a3b8;background:none;border:0;cursor:pointer;font-family:inherit;}
.aiw-clearall:hover{color:#ef4444;}
.aiw-btn-danger{background:#ef4444;color:#fff;border:0;border-radius:10px;padding:11px 20px;font-weight:600;font-size:15px;cursor:pointer;}
.aiw-btn-danger:hover{background:#dc2626;}
.gen-mode-q .aiw-adv-sub{font-weight:300 !important;}/*aiw-sub-light*/
.gen-mode-q .bos-free-label{font-weight:300 !important;}/*aiw-free-light*/
/* aiw-vername-bold: bold version names, qualifiers stay light */
.gen-mode-q .option-text label{font-weight:700 !important;}
.gen-mode-q .aiw-adv-title{font-weight:700 !important;}
/* aiw-genbadge-css: streaming indicator */
.progress-container{position:relative;}
#aiw-genbadge{margin-left:auto;flex-shrink:0;display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid #d1d5db;border-radius:10px;padding:9px 16px;font-weight:600;font-size:15px;color:#1f2937;box-shadow:0 1px 3px rgba(0,0,0,.06);z-index:40;font-family:inherit;}
#aiw-genbadge .aiw-gb-doc{width:22px;height:22px;flex-shrink:0;animation:aiwgbpulse 1.2s ease-in-out infinite;}
@keyframes aiwgbpulse{0%,100%{transform:scale(1);opacity:1;}50%{transform:scale(1.14);opacity:.7;}}
#aiw-genbadge .aiw-gb-d{opacity:.2;animation:aiwgbd 1.4s infinite;}
#aiw-genbadge .aiw-gb-d:nth-of-type(2){animation-delay:.25s;}
#aiw-genbadge .aiw-gb-d:nth-of-type(3){animation-delay:.5s;}
@keyframes aiwgbd{0%,60%,100%{opacity:.2;}30%{opacity:1;}}
@media (max-width:768px){#aiw-genbadge{padding:7px 12px;font-size:14px;gap:8px;}#aiw-genbadge .aiw-gb-doc{width:18px;height:18px;}}
/* aiw-cur-inside: currency $ sits inside the field (was floating at left:-20px outside) */
.input-container .currency-icon:not([style*="display:none"]){left:18px;top:16px;transform:none;height:28.8px;display:inline-flex;align-items:center;line-height:1;margin-right:0;z-index:2;color:#4b5563;font-size:17px;}/*aiw-cur-line*/
.input-container:has(.currency-icon:not([style*="display:none"])) .main-input{padding-left:38px !important;}
@media (max-width:768px){.input-container .currency-icon:not([style*="display:none"]){left:14px;top:12px;height:25.2px;}.input-container:has(.currency-icon:not([style*="display:none"])) .main-input{padding-left:32px !important;}}
/* aiw-chattitle-pad: reserve room so long titles truncate before the trash icon */
.chat-item .chat-title{padding-right:30px;box-sizing:border-box;}
@media(max-width:768px){.chat-item .chat-title{padding-right:34px;}.aiw-del{opacity:.55;}}
/* aiw-gentop-mob-hide: hide the Generate Document pill on mobile - fixed forms AND AI forms (user request 7/18; overrides earlier mobile sizing rules) */
@media (max-width:768px){.aiw-gen-top{display:none !important;}}
/* aiw-toggle-checkout-hide */
body:has(.payment-plans) .aiw-ver-toggle,body:has(.payment-plans-title) .aiw-ver-toggle,body:has(#in-chat-subscribe) .aiw-ver-toggle,body:has(.package-notice) .aiw-ver-toggle{display:none !important;}
/* ignore-trailing
j,> bZz'z)Z

/* aiwdlalignv1 */
bjf]	塧~v.홪ytjh֧f)(!)Z

/* aiwoptlabelfixv1 */
/* aiw-optlabel-fix-v1 */
.option-item .option-text label{display:block;}
.option-item .option-text label b,.option-item .option-text label strong{display:inline;font-weight:700;}


/* aiw-back-hidden: hide Back on first AI question */
.navigation-buttons .aiw-back-hidden,.navigation-buttons-two .aiw-back-hidden,.aiw-back-hidden{display:none !important;}

/* aiw-navlayout-v1: remove Generate Document btn + Continue right-aligned */
.aiw-gen-top{display:none !important;}
#msg-id .navigation-buttons{justify-content:flex-end !important;align-items:center;}
#msg-id .navigation-buttons > .btn-secondary{margin-right:auto;}
#msg-id .aiw-skipq-row .aiw-skipq{display:inline-flex;align-items:center;justify-content:center;}
