Spaces:
Running
Running
Update style.css
Browse files12345678910111213141516171819202122232425262728body {padding: 2rem;font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;}h1 {font-size: 16px;margin-top: 0;}p {color: rgb(107, 114, 128);font-size: 15px;margin-bottom: 10px;margin-top: 5px;}.card {max-width: 620px;margin: 0 auto;padding: 16px;border: 1px solid lightgray;border-radius: 16px;}.card p:last-child {margin-bottom: 0;}123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546* {box-sizing: border-box;}body {margin: 0;font-family: Arial, Helvetica, sans-serif;background: #f5f6fa;color: #111827;}button,textarea {font: inherit;}.app {height: 100vh;display: flex;}/* MODEL PICKER */.model-picker {position: fixed;inset: 0;z-index: 9999;background: rgba(15, 23, 42, 0.97);display: flex;justify-content: center;align-items: center;padding: 20px;}.model-window {width: min(900px, 100%);max-height: 94vh;overflow-y: auto;background: white;border-radius: 24px;padding: 30px;}.model-window > h1,.model-window > p {text-align: center;}.model-window > p {color: #6b7280;}.model-grid {display: grid;grid-template-columns: 1fr 1fr;gap: 16px;margin-top: 25px;}.model-card {position: relative;border: 2px solid #e5e7eb;border-radius: 18px;padding: 22px;}.model-card.recommended {border-color: #6366f1;background: #f7f7ff;}.badge {position: absolute;top: -12px;right: 16px;background: #6366f1;color: white;padding: 6px 10px;border-radius: 999px;font-size: 10px;font-weight: bold;}.model-icon {font-size: 36px;}.model-card h2 {margin-bottom: 5px;}.tag {display: inline-block;background: #eef2ff;color: #4338ca;padding: 5px 9px;border-radius: 999px;font-size: 11px;font-weight: bold;}.model-details {margin: 18px 0;line-height: 1.7;font-size: 14px;color: #374151;}.model-button {width: 100%;border: 0;border-radius: 12px;padding: 13px;cursor: pointer;background: #374151;color: white;font-weight: bold;}.model-button.qwen {background: #6366f1;}.free-note {margin-top: 25px;text-align: center;color: #6b7280;font-size: 13px;}/* SIDEBAR */.sidebar {width: 250px;background: #111827;color: white;padding: 18px;overflow-y: auto;}.brand {font-size: 21px;font-weight: bold;margin-bottom: 16px;}.sidebar-title {font-size: 11px;text-transform: uppercase;color: #9ca3af;margin-top: 20px;margin-bottom: 6px;}.sidebar button {width: 100%;padding: 10px;margin: 3px 0;border: 0;border-radius: 9px;cursor: pointer;text-align: left;}.new-chat {background: #4f46e5;color: white;font-weight: bold;}.change-model {background: #263244;color: white;font-weight: bold;}.option {background: transparent;color: #d1d5db;}.option:hover {background: #1f2937;}.option.active {background: #312e81;color: white;}/* MAIN */.main {flex: 1;min-width: 0;display: flex;flex-direction: column;}.topbar {height: 70px;background: white;border-bottom: 1px solid #e5e7eb;padding: 0 25px;display: flex;align-items: center;justify-content: space-between;}.topbar h2 {margin: 0;font-size: 18px;}.topbar small {color: #6b7280;}.status {font-size: 12px;color: #6366f1;text-align: right;}/* CHAT */.chat {flex: 1;overflow-y: auto;padding: 30px max(20px,calc((100% - 850px) / 2));}.welcome {max-width: 700px;margin: 10vh auto;text-align: center;}.logo {width: 70px;height: 70px;margin: auto;display: grid;place-items: center;background: linear-gradient(135deg,#6366f1,#8b5cf6);border-radius: 20px;color: white;font-size: 30px;font-weight: bold;}.welcome p {color: #6b7280;}.examples {display: grid;grid-template-columns: 1fr 1fr;gap: 10px;margin-top: 25px;}.example {padding: 15px;border: 1px solid #e5e7eb;background: white;border-radius: 13px;cursor: pointer;text-align: left;}.example:hover {border-color: #6366f1;}.message-row {display: flex;margin: 14px 0;}.message-row.user {justify-content: flex-end;}.bubble {max-width: 82%;padding: 14px 16px;border-radius: 16px;line-height: 1.55;white-space: pre-wrap;overflow-wrap: anywhere;}.bubble.user {background: #6366f1;color: white;}.bubble.ai {background: white;border: 1px solid #e5e7eb;}/* INPUT */.input-area {padding: 10px 20px 18px;}.input-box {max-width: 850px;margin: auto;display: flex;gap: 8px;align-items: flex-end;background: white;border: 1px solid #e5e7eb;border-radius: 17px;padding: 10px;}textarea {flex: 1;min-height: 42px;max-height: 150px;resize: none;border: 0;outline: 0;padding: 9px;}#send {width: 44px;height: 44px;border: 0;border-radius: 11px;background: #6366f1;color: white;cursor: pointer;}#send:disabled {opacity: 0.5;}.progress,.warning,.error {max-width: 850px;margin: 7px auto 0;text-align: center;font-size: 11px;}.progress,.warning {color: #6b7280;}.error {color: #dc2626;white-space: pre-wrap;}/* MOBILE */@media (max-width: 760px) {.model-grid {grid-template-columns: 1fr;}.sidebar {width: 82px;padding: 10px 7px;}.brand {font-size: 0;text-align: center;}.brand::after {content: "📚";font-size: 25px;}.sidebar-title {display: none;}.sidebar button {font-size: 0;text-align: center;}.sidebar button::first-letter {font-size: 20px;}.examples {grid-template-columns: 1fr;}.bubble {max-width: 93%;}}
style.css+536-18