body { background-color: #f7f7f8; color: #1a1a1a; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; line-height: 1.5; padding: 0; margin: 0; } .container { background-color: transparent; box-shadow: none; max-width: 1000px; padding: 20px; margin: 0 auto; } h1 { color: #1a1a1a; font-size: 24px; font-weight: 600; margin-bottom: 30px; } .input-section { display: flex; flex-direction: column; gap: 24px; margin-bottom: 30px; } .input-section textarea { width: 100%; padding: 16px; background-color: #ffffff; border: 1px solid #e5e5e5; border-radius: 12px; resize: none; font-size: 16px; line-height: 1.5; color: #1a1a1a; transition: border-color 0.2s; } .input-section textarea:focus { outline: none; border-color: #10a37f; box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.2); } .input-section #prompt_text { height: 80px; padding-right: 52px; } .input-section #user_text { height: 160px; } .button-container { display: flex; gap: 12px; justify-content: center; } .btn { padding: 8px 16px; font-size: 14px; font-weight: 500; border-radius: 6px; transition: all 0.2s; } .btn-primary { background-color: #10a37f; border-color: #10a37f; } .btn-primary:hover:not(:disabled) { background-color: #0e8d6e; border-color: #0e8d6e; } .btn-secondary { background-color: #40414f; border-color: #565869; color: #ececf1; } .btn-secondary:hover:not(:disabled) { background-color: #4a4b5a; border-color: #6b6c7b; } .token-display { margin: 24px 0; padding: 16px; background-color: #ffffff; border: 1px solid #e5e5e5; border-radius: 12px; min-height: 100px; font-size: 15px; line-height: 1.6; } .stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 30px; padding: 20px; background-color: #ffffff; border-radius: 12px; border: 1px solid #e5e5e5; } .stats-container > div { text-align: center; padding: 16px; border-radius: 8px; background-color: #f7f7f8; } .stat-value { font-size: 28px; font-weight: 600; color: #1a1a1a; margin-bottom: 8px; } .stat-label { position: relative; color: #6e6e80; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; } .help-icon { color: #6e6e80; font-size: 12px; opacity: 0.8; transition: opacity 0.2s; cursor: help; } .help-tooltip { visibility: hidden; position: absolute; z-index: 1000; bottom: 125%; left: 50%; transform: translateX(-50%); background-color: #1a1a1a; color: #ffffff; padding: 8px 12px; border-radius: 6px; font-size: 12px; width: max-content; max-width: 200px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); pointer-events: none; opacity: 0; transition: opacity 0.2s; } .help-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #1a1a1a transparent transparent transparent; } .help-icon:hover + .help-tooltip { visibility: visible; opacity: 1; } .token { padding: 2px 4px; margin: 1px; border-radius: 4px; font-family: 'SF Mono', 'Menlo', 'Monaco', Courier, monospace; transition: background-color 0.2s; position: relative; cursor: pointer; } .token:hover { filter: brightness(1.1); } .token-tooltip { visibility: hidden; position: absolute; z-index: 1000; bottom: 125%; left: 50%; transform: translateX(-50%); background-color: #1a1a1a; color: #ffffff; padding: 8px 12px; border-radius: 6px; font-size: 12px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); pointer-events: none; } .token-tooltip::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border-width: 5px; border-style: solid; border-color: #1a1a1a transparent transparent transparent; } .token:hover .token-tooltip { visibility: visible; } /* Modal styling */ .modal-content { background-color: #ffffff; color: #1a1a1a; border: 1px solid #e5e5e5; } .modal-header { border-bottom-color: #e5e5e5; } .modal-footer { border-top-color: #e5e5e5; } .form-control, .form-select { background-color: #f7f7f8; border-color: #e5e5e5; color: #1a1a1a; } .form-control:focus, .form-select:focus { background-color: #f7f7f8; border-color: #10a37f; color: #1a1a1a; box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.2); } .form-text { color: #6e6e80; } .btn-close { filter: none; } /* Mobile-specific styles */ @media (max-width: 768px) { .container { padding: 15px; } .stats-container { grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; } .stat-value { font-size: 24px; } .stat-label { font-size: 12px; } .help-tooltip { max-width: 160px; } } /* Light scrollbar */ ::-webkit-scrollbar { width: 8px; height: 8px; } ::-webkit-scrollbar-track { background: #f7f7f8; } ::-webkit-scrollbar-thumb { background: #d1d1d1; border-radius: 4px; } ::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } .prompt-container { position: relative; width: 100%; } .floating-btn { position: absolute; bottom: 16px; right: 16px; width: 36px; height: 36px; border-radius: 12px; display: flex; align-items: center; justify-content: center; border: none; background-color: #10a37f; color: #ffffff; cursor: pointer; transition: all 0.2s ease; padding: 0; } .floating-btn:hover { background-color: #0e8d6e; } .floating-btn:disabled { background-color: #565869; cursor: not-allowed; } .floating-btn i { font-size: 16px; } .floating-btn .stop-icon { display: none; } .floating-btn.generating .send-icon { display: none; } .floating-btn.generating .stop-icon { display: block; } /* Help documentation styles */ .param-help-icon { color: #6e6e80; font-size: 14px; cursor: pointer; } .help-modal-body { max-height: 70vh; overflow-y: auto; } .help-modal-body h4 { margin-top: 1.5rem; margin-bottom: 0.75rem; font-size: 1.1rem; font-weight: 600; color: #10a37f; } .help-modal-body h4:first-child { margin-top: 0; } .help-modal-body p { margin-bottom: 1rem; line-height: 1.6; } .help-modal-body ol, .help-modal-body ul { margin-bottom: 1rem; padding-left: 1.5rem; } .help-modal-body li { margin-bottom: 0.5rem; } .help-description-list dt { font-weight: 600; margin-bottom: 0.25rem; } .help-description-list dd { margin-bottom: 1rem; margin-left: 1rem; } .paper-references { list-style: none; padding-left: 0; } .paper-references li { margin-bottom: 0.75rem; padding-left: 1rem; border-left: 3px solid #e5e5e5; } .paper-references a { display: block; color: #10a37f; font-weight: 500; margin-bottom: 0.25rem; } .paper-authors { display: block; color: #6e6e80; font-size: 0.9rem; font-style: italic; } /* Tooltip adjustments for parameter help icons */ .tooltip { --bs-tooltip-max-width: 300px; --bs-tooltip-opacity: 1; --bs-tooltip-padding-y: 0.5rem; --bs-tooltip-padding-x: 0.75rem; --bs-tooltip-bg: rgba(26, 26, 26, 0.95); font-size: 13px; line-height: 1.4; } @media (max-width: 768px) { .help-modal-body { max-height: 60vh; } .tooltip { --bs-tooltip-max-width: 200px; } }