|
|
| body {
|
| margin: 0;
|
| font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
|
| sans-serif;
|
| background: #0b1020;
|
| color: #f5f5f5;
|
| }
|
|
|
| button {
|
| font-size: 1rem;
|
| }
|
|
|
|
|
| body.no-scroll {
|
| overflow: hidden;
|
| }
|
|
|
| a {
|
| color: #4da6ff;
|
| }
|
|
|
| .chat-container {
|
| width: 90dvw;
|
| height: 90dvh;
|
| margin: 5dvh auto;
|
| background: #141b2f;
|
| border-radius: 16px;
|
| box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
|
| box-sizing: border-box;
|
| display: flex;
|
| flex-direction: column;
|
| padding: 16px;
|
| }
|
|
|
| .chat-header {
|
| padding: 8px 4px 12px;
|
| border-bottom: 1px solid #2c3554;
|
| }
|
|
|
| .chat-header h1 {
|
| margin: 0;
|
| font-size: 1.8rem;
|
| }
|
|
|
| .chat-header .subtitle {
|
| margin: 4px 0 0;
|
| color: #c0c6e0;
|
| font-size: 0.95rem;
|
| }
|
|
|
|
|
| .controls-bar {
|
| display: flex;
|
| flex-wrap: wrap;
|
| gap: 12px;
|
| margin-top: 10px;
|
| padding: 8px 4px;
|
| border-bottom: 1px solid #2c3554;
|
| }
|
|
|
| .control-group {
|
| display: flex;
|
| flex-direction: column;
|
| gap: 4px;
|
| font-size: 0.85rem;
|
| color: #d3dbff;
|
| }
|
|
|
| .control-group select,
|
| .control-group input[type='range'] {
|
| background: #0d1324;
|
| border-radius: 8px;
|
| border: 1px solid #2c3554;
|
| color: #f5f5f5;
|
| padding: 4px 8px;
|
| font-size: 0.85rem;
|
| }
|
|
|
| .secondary-button {
|
| align-self: flex-end;
|
| padding: 6px 12px;
|
| border-radius: 8px;
|
| border: 1px solid #2c3554;
|
| background: #1f2840;
|
| color: #f5f5f5;
|
| font-size: 0.85rem;
|
| cursor: pointer;
|
| }
|
|
|
| .secondary-button:hover {
|
| background: #273256;
|
| }
|
|
|
|
|
| .chat-window {
|
| flex: 1;
|
| margin-top: 10px;
|
| padding: 10px;
|
| overflow-y: auto;
|
| background: #0d1324;
|
| border-radius: 12px;
|
| }
|
|
|
|
|
| .msg-bubble {
|
| max-width: 75%;
|
| padding: 8px 12px;
|
| margin-bottom: 8px;
|
| border-radius: 12px;
|
| font-size: 0.95rem;
|
| line-height: 1.4;
|
| }
|
|
|
| .msg-bubble.user {
|
| margin-left: auto;
|
| background: #4c6fff;
|
| color: #ffffff;
|
| border-bottom-right-radius: 4px;
|
| }
|
|
|
| .msg-bubble.assistant {
|
| margin-right: auto;
|
| background: #1f2840;
|
| color: #f5f5f5;
|
| border-bottom-left-radius: 4px;
|
| }
|
|
|
|
|
| .chat-input-area {
|
| display: flex;
|
| gap: 8px;
|
| margin-top: 12px;
|
| border-top: 1px solid #2c3554;
|
| padding-top: 8px;
|
| }
|
|
|
| .chat-input-container {
|
| flex: 1;
|
| border-radius: 10px;
|
| border: 1px solid #2c3554;
|
| background: #0d1324;
|
| padding: 8px;
|
| resize: none;
|
| }
|
|
|
| .chat-input-area textarea {
|
| background: transparent;
|
| border: none;
|
| resize: none;
|
| outline: none;
|
| color: #f5f5f5;
|
| font-size: 0.95rem;
|
| width: 100%;
|
| }
|
|
|
| .chat-toolbar {
|
| display: flex;
|
| justify-content: space-between;
|
| }
|
|
|
| .toolbar-btn {
|
| background: transparent;
|
| border: none;
|
| resize: none;
|
| outline: none;
|
| color: #f5f5f5;
|
| cursor: pointer;
|
| transition: background 0.2s;
|
| }
|
|
|
| .toolbar-btn {
|
|
|
| margin-left: auto;
|
| }
|
|
|
|
|
| .file-drop-area {
|
|
|
| min-height: 150px;
|
|
|
|
|
| display: flex;
|
| flex-direction: column;
|
| align-items: center;
|
| justify-content: center;
|
|
|
|
|
| border: 2px dashed #444;
|
| border-radius: 12px;
|
| background-color: #111;
|
| color: #888;
|
| cursor: pointer;
|
|
|
|
|
| margin-top: 20px;
|
| padding: 20px;
|
|
|
|
|
| text-align: center;
|
| }
|
|
|
| .file-drop-area.active {
|
| border-color: #4285f4;
|
| background-color: rgba(66, 133, 244, 0.05);
|
| color: white;
|
| }
|
|
|
| .upload-file-area {
|
|
|
| position: relative;
|
|
|
| max-height: 90dvh;
|
|
|
| display: flex;
|
| flex-direction: column;
|
| }
|
|
|
| .file-list {
|
| background-color: #111;
|
| border: 1px solid black;
|
| border-radius: 8px;
|
| }
|
|
|
| .file-item {
|
| display: flex;
|
| align-items: center;
|
| justify-content: space-between;
|
| padding: 12px;
|
| }
|
|
|
| .no-file {
|
| display: flex;
|
| justify-content: center;
|
| padding: 16px;
|
| }
|
|
|
| .file-actions {
|
| display: flex;
|
| gap: 8px;
|
| }
|
|
|
| .file-actions button {
|
| display: flex;
|
| gap: 6px;
|
| }
|
|
|
| svg {
|
| width: 16px;
|
| height: 16px;
|
| }
|
|
|
|
|
| @keyframes spin {
|
| from { transform: rotate(0deg); }
|
| to { transform: rotate(360deg); }
|
| }
|
| .spinning {
|
| animation: spin 1s linear infinite;
|
| }
|
|
|
|
|
| .ok-button {
|
| padding: 8px 18px;
|
| border-radius: 10px;
|
| border: none;
|
| background: #4c6fff;
|
| color: white;
|
| font-weight: 600;
|
| cursor: pointer;
|
| transition: all 0.2s ease;
|
| }
|
|
|
| .ok-button:hover {
|
| background: #3453e6;
|
| }
|
|
|
| .no-button {
|
| padding: 8px 18px;
|
| border-radius: 10px;
|
| border: none;
|
| background: #dc2626;
|
| color: white;
|
| font-weight: 600;
|
| cursor: pointer;
|
| transition: all 0.2s ease;
|
| }
|
|
|
| .no-button:hover {
|
| background-color: #b91c1c;
|
| }
|
|
|
| .disabled-button {
|
| padding: 8px 18px;
|
| border-radius: 10px;
|
| border: none;
|
| font-weight: 600;
|
| background-color: #e5e7eb;
|
| color: #9ca3af;
|
| cursor: not-allowed;
|
| }
|
|
|
| .center-button {
|
| text-align: center;
|
| }
|
|
|
|
|
| .status-comment {
|
| margin-top: 6px;
|
| font-size: 0.85rem;
|
|
|
| display: flex;
|
| justify-content: space-between;
|
| }
|
|
|
| .status-info {
|
| color: #ffce56;
|
| }
|
|
|
| .status-ok {
|
| color: #8be48b;
|
| }
|
|
|
| .status-error {
|
| color: #ff8080;
|
| }
|
|
|
|
|
| @media (max-width: 460px) {
|
|
|
| .file-actions button span {
|
| display: none;
|
| }
|
|
|
|
|
| .chat-container {
|
| margin: 0;
|
| width: 100dvw;
|
| height: 100dvh;
|
| }
|
|
|
|
|
|
|
| .chat-header h1 {
|
| margin: 0 0 10px 0;
|
| font-size: 1.4rem;
|
| }
|
|
|
|
|
| .modal-content {
|
| width: 90%;
|
| }
|
| }
|
|
|
| @media (min-width: 460px) {
|
| details {
|
| display: block;
|
| }
|
| details[open] {
|
| display: block;
|
| }
|
| details summary {
|
| display: none;
|
| }
|
| }
|
|
|
|
|
| .modal {
|
|
|
| position: fixed;
|
| left: 0;
|
| top: 0;
|
| width: 100%;
|
| height: 100%;
|
|
|
|
|
| display: flex;
|
| align-items: center;
|
| justify-content: center;
|
|
|
|
|
| z-index: 1;
|
|
|
|
|
| background-color: rgba(0, 0, 0, 0.8);
|
| }
|
|
|
| .slider {
|
|
|
| scroll-snap-type: x mandatory;
|
| scroll-behavior: smooth;
|
|
|
|
|
| overflow-x: hidden;
|
|
|
|
|
| max-height: 90dvh;
|
|
|
|
|
| display: flex;
|
| }
|
|
|
| .slide {
|
|
|
| min-width: 100%;
|
| }
|
|
|
|
|
| .modal-content {
|
|
|
| scroll-snap-align: start;
|
|
|
|
|
| display: flex;
|
| justify-content: flex-start;
|
|
|
|
|
| background: #141b2f;
|
| color: #f5f5f5;
|
| padding: 24px;
|
| border-radius: 12px;
|
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
| box-sizing: border-box;
|
| margin: 0 auto;
|
|
|
|
|
| width: 90%;
|
|
|
|
|
| overflow-y: auto;
|
| }
|
|
|
| .modal-content.slide {
|
| max-width: 400px;
|
| }
|
|
|
| .language-modal,
|
| .consent-box {
|
| display: flex;
|
| flex-direction: column;
|
| justify-content: space-between;
|
| max-height: 400px;
|
| }
|
|
|
| .profile {
|
| display: flex;
|
| flex-direction: column;
|
| justify-content: space-between;
|
| }
|
|
|
| .form-group {
|
| margin-bottom: 1.5rem;
|
| }
|
|
|
| label, .group-label {
|
| display: block;
|
| font-weight: 600;
|
| margin-bottom: 0.5rem;
|
| font-size: 0.95rem;
|
| }
|
|
|
|
|
| select, input[type="text"] {
|
|
|
| width: 100%;
|
| padding: 12px 6px 12px 6px;
|
| border: 1px solid #ddd;
|
| border-radius: 8px;
|
| font-size: 1rem;
|
| outline: none;
|
| transition: border-color 0.2s;
|
| }
|
|
|
| select:focus, input[type="text"]:focus {
|
| border-color: #007bff;
|
| }
|
|
|
|
|
| .radio-group {
|
| display: flex;
|
| flex-wrap: wrap;
|
| gap: 1rem;
|
| }
|
|
|
| .checkbox-grid {
|
| display: grid;
|
| grid-template-columns: repeat(2, 1fr);
|
| gap: 12px;
|
| margin-top: 8px;
|
| }
|
|
|
| .checkbox-grid-lang {
|
| display: grid;
|
| grid-template-columns: repeat(1, 1fr);
|
| gap: 12px;
|
| margin-top: 8px;
|
| }
|
|
|
| .checkbox-grid-lang label,
|
| .checkbox-grid label {
|
| font-weight: 400;
|
| display: flex;
|
| align-items: center;
|
| gap: 10px;
|
| padding: 8px;
|
| border: 1px solid #eee;
|
| border-radius: 6px;
|
| cursor: pointer;
|
| transition: background 0.2s;
|
| }
|
|
|
| .checkbox-grid-lang label:hover,
|
| .checkbox-grid label:hover {
|
| background-color: #ffffff;
|
| color: #111111;
|
| border-color: #007bff;
|
| box-shadow: 0 2px 8px rgba(0,0,0,0.1);
|
| }
|
|
|
|
|
| input[type="checkbox"] {
|
| width: 18px;
|
| height: 18px;
|
| cursor: pointer;
|
| accent-color: #007bff;
|
| }
|
|
|
| .radio-group label, .checkbox-grid label, .checkbox-grid-lang label, {
|
| font-weight: 400;
|
| display: flex;
|
| align-items: center;
|
| gap: 0.5rem;
|
| cursor: pointer;
|
| }
|
|
|
| .consent-check {
|
| display: flex;
|
| align-items: center;
|
| margin: 16px 0;
|
| gap: 10px;
|
| }
|
|
|
|
|
| input[type='range'].disabled {
|
| opacity: 0.6;
|
| cursor: not-allowed;
|
| }
|
|
|
|
|
| .comment-area {
|
| position: relative;
|
| display: flex;
|
| flex-direction: column;
|
| gap: 16px;
|
| background: #141b2f;
|
| padding: 24px;
|
| border-radius: 15px;
|
| border: 1px solid #2c3554;
|
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
| }
|
|
|
| .comment-area h2 {
|
| margin: 0 0 8px 0;
|
| font-size: 1.5rem;
|
| color: #f5f5f5;
|
| font-weight: 600;
|
| }
|
|
|
| .comment-area textarea {
|
|
|
| min-height: 120px;
|
| border-radius: 10px;
|
| border: 1px solid #2c3554;
|
| background: #0d1324;
|
| color: #f5f5f5;
|
| padding: 12px;
|
| resize: vertical;
|
| font-size: 1rem;
|
| font-family: inherit;
|
| transition: border-color 0.2s ease;
|
| }
|
|
|
| .comment-area textarea:focus {
|
| outline: none;
|
| border-color: #4a5f8f;
|
| }
|
|
|
| .comment-area textarea::placeholder {
|
| color: #6b7280;
|
| }
|
|
|
|
|
| .comment-area .button-group {
|
| display: flex;
|
| gap: 12px;
|
| justify-content: flex-end;
|
| }
|
|
|
|
|
|
|
| .comment-area .cancelBtn {
|
| background: #0d132475;
|
| color: #9ca3af;
|
| border: 1px solid #2c3554;
|
| padding: 8px 18px;
|
| border-radius: 10px;
|
| font-weight: 600;
|
| cursor: pointer;
|
| transition: all 0.2s ease;
|
| }
|
|
|
| .comment-area .cancelBtn:hover {
|
| background: #0d1324;
|
| color: #f5f5f5;
|
| border-color: #4a5f8f;
|
| }
|
|
|
|
|
| .closeBtn {
|
| position: absolute;
|
| top: 15px;
|
| right: 15px;
|
| width: 28px;
|
| height: 28px;
|
| padding: 0;
|
| background: transparent;
|
| color: #6b7280;
|
| border: none;
|
| border-radius: 4px;
|
| font-size: 20px;
|
| line-height: 28px;
|
| text-align: center;
|
| cursor: pointer;
|
| transition: all 0.2s ease;
|
| }
|
|
|
|
|
|
|
| .lang-switch-container {
|
| display: flex;
|
| align-items: center;
|
| font-family: sans-serif;
|
| gap: 5px;
|
|
|
|
|
| position: static;
|
| margin-left: auto;
|
| }
|
|
|
| .lang-switch-container.floating {
|
|
|
| position: fixed;
|
| top: 20px;
|
| right: 20px;
|
| z-index: 100;
|
| }
|
|
|
| .lang-btn {
|
| background: none;
|
| border: none;
|
| cursor: pointer;
|
| font-weight: bold;
|
| color: #999999;
|
| padding: 5px;
|
| transition: color 0.3s;
|
| }
|
|
|
| .lang-btn.active {
|
| color: #999999a1;
|
| cursor: default;
|
| pointer-events: none;
|
| }
|
|
|
| .separator {
|
| color: #ccc;
|
| }
|
|
|
|
|
| .font-size-container {
|
|
|
| position: fixed;
|
| top: 50%;
|
| transform: translateY(-50%);
|
| right: 20px;
|
|
|
| display: flex;
|
| flex-direction: column;
|
| align-items: center;
|
| gap: 6px;
|
| background: #0d0d0d;
|
| border: 1px solid #2c3554;
|
| border-radius: 8px;
|
| padding: 10px 8px;
|
| }
|
|
|
| .font-size-container button {
|
| width: 36px;
|
| height: 36px;
|
| background: transparent;
|
| color: white;
|
| border: 1px solid #2c3554;
|
| border-radius: 6px;
|
| font-size: 1rem;
|
| font-family: monospace;
|
| cursor: pointer;
|
| transition: background 0.2s, box-shadow 0.2s;
|
|
|
| font-size: 14px;
|
| }
|
|
|
| .font-size-container button:hover {
|
| background: transparent;
|
| box-shadow: 0 0 8px #007bff;
|
| }
|
|
|