* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vh: 1vh;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 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;
}

.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); }
}

.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: rgba(15, 23, 42, 0.95);
    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: rgba(71, 85, 105, 0.5);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.5);
    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;
}

.new-chat-btn:hover {
    background: rgba(71, 85, 105, 0.7);
    border-color: rgba(148, 163, 184, 0.7);
}

.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: rgba(71, 85, 105, 0.3);
    border-color: rgba(100, 116, 139, 0.3);
}

.chat-item.active {
    background: rgba(79, 70, 229, 0.2);
    border-color: rgba(79, 70, 229, 0.4);
}

.chat-title {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.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: rgba(15, 23, 42, 0.9);
    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: block;
        left: 20px;
        right: unset;
        position: absolute;
    }
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 20px 20px 20px 20px;
    margin: 0 auto;
}

.progress-container {
    background: rgba(15, 23, 42, 0.8);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(71, 85, 105, 0.3);
}

.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;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(71, 85, 105, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 3px;
}

.question-container {
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px 40px;
    border: 1px solid rgba(71, 85, 105, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    text-align: left;
}

.question-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    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: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    padding: 16px 20px;
    font-size: 1.2rem;
    color: #cbd5e1;
    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;
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: rgba(30, 41, 59, 0.95);
    transform: translateY(-2px);
}

.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;
}

.navigation-buttons-two .btn-secondary
{
    flex: 1;
    max-width: 200px;
}


.btn {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-secondary {
    background: rgba(71, 85, 105, 0.5);
    color: #cbd5e1;
    border: 1px solid rgba(100, 116, 139, 0.5);
}

.btn-secondary:hover {
    background: rgba(71, 85, 105, 0.7);
    border-color: rgba(148, 163, 184, 0.7);
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    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 {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.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: white;
  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: white;
  transition: opacity 0.3s;
}
.spinner {
  width: 24px;
  height: 24px;
  border: 4px solid white;
  border-top-color: #7c3aed;
  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: var(--theme-bg);
  border: 1px solid #3d3d3d;
  border-radius: 10px;
}
.plans-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 30px;
  border-bottom: 1px solid #3d3d3d;
  color: var(--text-color);
  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-color);
}
.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-color);
  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-color);
  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%;
}
.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-color);
  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 #676767;
  border-radius: 10px;
  color: whitesmoke;
  padding: 10px 20px;
  font-size: 1rem;
  font-weight: 200;
  cursor: pointer;
  width: 48%;
  margin-bottom: 2%;
}
.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: white;
  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: flex-start;
    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;
    background: rgba(30, 41, 59, 0.8);
    border: 2px solid rgba(71, 85, 105, 0.5);
    border-radius: 16px;
    padding: 17.6px 20px;
    font-size: 1.2rem;
    color: #cbd5e1;
    transition: all 0.3s ease;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
}
.option-item.selected
{
    border-color: #4f46e5;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: rgba(30, 41, 59, 0.95);
}
.options-group input,.option-item label
{
    cursor: pointer;
    outline: none;
}
.input-guide
{
 margin-bottom: 20px;
 font-size: 14px; 
}

.pac-container {
    border-radius: 16px;
    border-width: 2px;
    border-style: solid;
    border-color: rgba(71, 85, 105, 0.5);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
.pac-container:after
{
    display: none;
}
.pac-icon-marker
{
    display: none;
}
.pac-item
{
    background: rgba(30, 41, 59, 0.8);
    color:white;
    border-color: rgba(71, 85, 105, 0.5);
    padding: 10px 15px 10px 15px;
    display: flex;
    flex-direction: column;
}
.pac-item-query
{
    color:whitesmoke;
    line-height: 1.4;
    font-weight: 800;
}
.pac-item > span:nth-of-type(3) 
{
    color:white;
    line-height: 1.4;
} 
.pac-item:hover
{
    background: linear-gradient(135deg, rgb(79, 70, 229), rgb(124, 58, 237));
}
.pac-item.pac-item-selected
{
   background: linear-gradient(135deg, rgb(79, 70, 229), rgb(124, 58, 237));
}
.pac-matched
{
    font-weight: 800;
    color: #7773cd;
}
.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 #ffffff;
    border-radius: 6px;
    padding: 8px 14px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-content: center;
}

.white-frame-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.white-frame-button img.icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

.white-frame-button label {
    font-size: 14px;
    cursor: pointer;
    color: #ffffff;
    font-weight: 600;
}

.white-frame-button img.arrow {
    width: 20px;
    height: 20px;
    margin-left: 8px;
}

/* Dropdown */
.drop-down {
    display: none;
    position: absolute;
    top: calc(100% + 0px); /* Below the button */
    left: 0;
    background-color: #0c0c25;
    border: 1px solid #ffffff;
    border-radius: 6px;
    padding: 8px 0;
    z-index: 1000;
    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;
}

.drop-down-item span {
    font-size: 14px;
    color: #ffffff;
    font-weight: 600;
}

.drop-down-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.download-controls
{
    margin-bottom: 150px;
}

.payment-plans
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: center;
    justify-content: flex-start;
    align-items: stretch;
    gap: 2%;
}


.payment-plan
{
    padding: 20px;
    border: 1px solid #676767;
    border-radius: 10px;
    width: 48%;
    margin-bottom: 2%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    transition: border 0.3s;
}
.payment-plan:hover
{
    background-color: rgba(71, 85, 105, 0.5);
}
.payment-plan.selected
{
    border: 1px solid #214c8b;
    background: rgba(79, 70, 229, 0.2)!important;
    border-color: rgba(79, 70, 229, 0.4)!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: white;
}
.payment-plan-right b
{
    color: white;
}
.payment-plan-right span
{
   font-size: 12px;
}
.payment-plan-footer
{
    font-size: 12px;
}
.payment-plan-footer b
{
    color: white;
}
.payment-plan-before-footer
{
    font-size: 12px;
}

.radio-options input
{
    margin-right: 5px;
}


.radio-options label:hover
{
    background-color: rgba(71, 85, 105, 0.5);
}

.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;
}
.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: #a78bfa; /* 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; }   /* . */

/* Wave animation - smooth highlighting and bouncing */
@keyframes wave {
    0%, 60%, 100% {
        transform: translateY(0);
        color: #a78bfa;
        text-shadow: none;
        filter: brightness(1);
    }
    30% {
        transform: translateY(-10px);
        color: #c084fc; /* Even brighter on highlight */
        text-shadow: 0 0 15px rgba(196, 132, 252, 0.8),
        0 6px 25px rgba(167, 139, 250, 0.5);
        filter: brightness(1.3);
    }
}

@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.1rem;
    padding: 14px 18px;
    height: 70px;
}

.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%;
}


}

