:root { --blue: #2F7CFF; --blue-dark: #1F52A9; --orange: #F17C20; --orange-dark: #C8600F; --green: #4EBA9A; --green-dark: #2E7C64; --grey: #69768B; --dark: #2B2D42; --dark-2: #1E2032; --cream: #F6F7FB; --card: #FFFFFF; --card-border: #E7EAF3; --text: #2B2D42; --text-muted: #69768B; --danger: #E24C4C; --radius: 16px; --sh: 0 10px 24px rgba(43, 45, 66, 0.08); color-scheme: light; } * { box-sizing: border-box; margin: 0; padding: 0; } /* The `hidden` attribute must always win over any `display` set by a class on the same element (e.g. `.form-grid { display: flex }` on a form that's also `hidden`) — otherwise every login follow-up form renders at once. */ [hidden] { display: none !important; } html, body, #app-root { height: 100%; } body { font-family: 'Mulish', 'Inter', system-ui, -apple-system, sans-serif; background: #d9deee; color: var(--text); overflow: hidden; overscroll-behavior: none; -webkit-tap-highlight-color: transparent; } h1, h2, h3, .headline { font-family: 'Poppins', 'Mulish', sans-serif; } /* ─── APP SHELL ─────────────────────────────────────────── */ .shell { display: flex; flex-direction: column; min-height: 100dvh; height: 100dvh; max-width: 440px; margin: 0 auto; background: var(--cream); box-shadow: 0 0 60px rgba(30, 32, 50, 0.25); position: relative; overflow: hidden; } .content { flex: 1; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding-bottom: env(safe-area-inset-bottom); } .screen { padding: 16px 16px 24px; } /* ─── HEADER ────────────────────────────────────────────── */ .hdr { background: linear-gradient(120deg, var(--dark), var(--dark-2)); border-bottom: 2px solid #33365a; padding: 14px 16px; display: flex; align-items: center; gap: 10px; position: sticky; top: 0; z-index: 50; } .hdr-logo { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 800; color: white; letter-spacing: -0.02em; } .hdr-logo span { color: var(--orange); } .hdr-sub { font-size: 0.68rem; color: #9aa3c4; margin-top: 1px; } .hdr-space { flex: 1; } .hdr-badge { font-size: 0.68rem; font-weight: 700; padding: 0.3rem 0.65rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); color: #d7dcf2; background: rgba(255, 255, 255, 0.06); white-space: nowrap; } .hdr-badge.online { color: #7ce7c4; border-color: rgba(78, 186, 154, 0.5); background: rgba(78, 186, 154, 0.15); } .hdr-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; color: white; cursor: pointer; border: 2px solid var(--blue); flex-shrink: 0; } /* ─── BOTTOM NAV ────────────────────────────────────────── */ .bnav { background: linear-gradient(120deg, var(--dark), var(--dark-2)); display: flex; border-top: 1px solid #33365a; position: sticky; bottom: 0; z-index: 50; } .nb { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 9px 2px 11px; border: none; background: transparent; color: #8b93b3; font-family: 'Mulish', sans-serif; font-size: 0.64rem; font-weight: 700; cursor: pointer; gap: 3px; transition: all 0.15s; min-width: 0; } .nb.on { color: var(--orange); background: rgba(241, 124, 32, 0.1); } .nb svg { width: 20px; height: 20px; } /* ─── HERO ──────────────────────────────────────────────── */ .hero { background: linear-gradient(140deg, var(--dark) 0%, #262a4a 55%, var(--blue-dark) 100%); border-bottom: 3px solid #262a4a; padding: 22px 16px 18px; margin: -16px -16px 16px; position: relative; overflow: hidden; } .hero::before { content: ''; position: absolute; top: -44px; right: -44px; width: 190px; height: 190px; border-radius: 50%; background: var(--orange); opacity: 0.18; } .hero::after { content: ''; position: absolute; bottom: -70px; left: -30px; width: 160px; height: 160px; border-radius: 50%; background: var(--green); opacity: 0.14; } .hero-kicker { font-size: 0.68rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; position: relative; } .hero-title { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 800; color: white; line-height: 1.18; margin-bottom: 10px; position: relative; } .hero-title span { color: var(--orange); } .hero-chips { display: flex; gap: 8px; flex-wrap: wrap; position: relative; } .hchip { display: flex; align-items: center; gap: 5px; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 20px; padding: 4px 12px; font-size: 0.73rem; color: white; } /* ─── CARDS ─────────────────────────────────────────────── */ .card { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--sh); padding: 16px; margin-bottom: 12px; } .card-accent { border-left: 4px solid var(--orange); } .card-orange { border-left: 4px solid var(--orange); } .card-blue { border-left: 4px solid var(--blue); } .card-green { border-left: 4px solid var(--green); } .card-header { margin-bottom: 1.1rem; } .card-header.row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; } .card-header h2 { margin: 0 0 0.25rem; font-size: 1rem; font-weight: 700; } .card-hint { margin: 0; color: var(--text-muted); font-size: 0.82rem; } .sh { font-family: 'Poppins', sans-serif; font-size: 0.92rem; font-weight: 800; color: var(--dark); margin: 18px 0 10px; } .sh:first-child { margin-top: 0; } /* ─── FORMS ─────────────────────────────────────────────── */ .form-grid { display: flex; flex-direction: column; gap: 0.9rem; } .form-inline { flex-direction: row; align-items: flex-end; flex-wrap: wrap; } .form-inline label { flex: 1; min-width: 140px; } label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; } input, select { width: 100%; padding: 0.65rem 0.75rem; font-size: 0.9rem; border-radius: 10px; border: 1.5px solid var(--card-border); background: #fbfcfe; color: var(--text); outline: none; font-family: 'Mulish', sans-serif; transition: border-color 0.15s ease, box-shadow 0.15s ease; } input::placeholder { color: #a3aac2; } input:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(47, 124, 255, 0.15); } /* ─── BUTTONS ───────────────────────────────────────────── */ .btn { appearance: none; border: none; border-radius: 12px; padding: 0.7rem 1.1rem; font-size: 0.88rem; font-weight: 700; cursor: pointer; font-family: 'Mulish', sans-serif; transition: transform 0.08s ease, opacity 0.15s ease, box-shadow 0.15s ease; } .btn:active { transform: translateY(1px); } .btn-primary { background: linear-gradient(120deg, var(--blue), var(--blue-dark)); color: white; box-shadow: 0 8px 20px rgba(47, 124, 255, 0.3); } .btn-primary:hover { opacity: 0.92; } .btn-orange { background: linear-gradient(120deg, var(--orange), var(--orange-dark)); color: white; box-shadow: 0 8px 20px rgba(241, 124, 32, 0.3); } .btn-green { background: linear-gradient(120deg, var(--green), var(--green-dark)); color: white; } .btn-ghost { background: rgba(43, 45, 66, 0.05); color: var(--text); border: 1px solid var(--card-border); padding: 0.5rem 0.85rem; font-size: 0.8rem; } .btn-ghost:hover { background: rgba(43, 45, 66, 0.1); } .btn-danger { background: var(--danger); color: white; } .btn-sm { padding: 0.4rem 0.7rem; font-size: 0.76rem; border-radius: 9px; } .btn-full { width: 100%; } /* ─── STATUS TEXT ───────────────────────────────────────── */ .status { min-height: 1.1rem; margin: 0.75rem 0 0; font-size: 0.82rem; color: var(--text-muted); } .status.status-ok { color: var(--green-dark); } .status.status-error { color: var(--danger); } /* ─── LISTS ─────────────────────────────────────────────── */ .list { list-style: none; border: 1px solid var(--card-border); border-radius: 12px; max-height: 240px; overflow-y: auto; background: #fbfcfe; } .list li { padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--card-border); font-size: 0.86rem; } .list li:last-child { border-bottom: none; } .list-empty { color: var(--text-muted); font-style: italic; } .list-files li { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; } .list-files li::before { content: "📄"; } .list-files li:hover { background: rgba(47, 124, 255, 0.05); } .list-chat { background: #efeae2; border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 0.4rem; max-height: 420px; overflow-y: auto; border: 1px solid var(--card-border); } .list-chat li { display: flex; flex-direction: column; gap: 0.15rem; max-width: 80%; align-self: flex-start; background: #ffffff; border-radius: 0 12px 12px 12px; padding: 8px 12px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08); border-bottom: none; } .list-chat li.own { align-self: flex-end; background: #e7ffdb; border-radius: 12px 0 12px 12px; } .list-chat li .chat-meta { font-size: 0.68rem; color: #667781; text-align: right; margin-top: 2px; } .list-picker li { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; } .list-picker li input { padding: 0; width: auto; } .list-picker li.picked { background: rgba(47, 124, 255, 0.08); } .list-channels li { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; cursor: pointer; } .list-channels li:hover { background: rgba(47, 124, 255, 0.05); } .list-channels li.active-channel { background: rgba(241, 124, 32, 0.08); border-left: 3px solid var(--orange); } .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0.75rem 0 1rem; } @media (max-width: 380px) { .two-col { grid-template-columns: 1fr; } } .chip { font-size: 0.66rem; font-weight: 700; padding: 0.15rem 0.55rem; border-radius: 999px; border: 1px solid var(--card-border); color: var(--text-muted); white-space: nowrap; } .chip-orange { background: rgba(241, 124, 32, 0.1); color: var(--orange-dark); border-color: transparent; } .chip-blue { background: rgba(47, 124, 255, 0.1); color: var(--blue-dark); border-color: transparent; } .chip-green { background: rgba(78, 186, 154, 0.15); color: var(--green-dark); border-color: transparent; } /* ─── TABS ──────────────────────────────────────────────── */ .tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; } .tab-btn { appearance: none; border: 1px solid var(--card-border); background: #fff; color: var(--text-muted); border-radius: 999px; padding: 0.4rem 0.9rem; font-size: 0.8rem; font-weight: 700; cursor: pointer; font-family: 'Mulish', sans-serif; } .tab-btn.active { color: white; background: linear-gradient(120deg, var(--blue), var(--blue-dark)); border-color: transparent; } /* ─── LOGIN ─────────────────────────────────────────────── */ .login-wrap { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; background: linear-gradient(140deg, var(--dark) 0%, #262a4a 55%, var(--blue-dark) 100%); } .login-logo { font-family: 'Poppins', sans-serif; font-size: 2rem; font-weight: 800; color: white; text-align: center; } .login-logo span { color: var(--orange); } .login-sub { color: #a3aad0; font-size: 0.85rem; text-align: center; margin-bottom: 26px; margin-top: 4px; } .login-card { background: white; border-radius: var(--radius); padding: 22px; width: 100%; max-width: 360px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); } /* ─── PROFILE ───────────────────────────────────────────── */ .prof-hero { background: linear-gradient(120deg, var(--dark), var(--dark-2)); color: white; border-radius: var(--radius); padding: 22px; text-align: center; margin-bottom: 12px; border: 1px solid #33365a; } .prof-av { width: 62px; height: 62px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; font-size: 1.6rem; font-weight: 800; margin: 0 auto 8px; border: 3px solid var(--blue); } .prof-name { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 800; } .prof-role { font-size: 0.78rem; color: #a3aad0; margin-top: 2px; } .si { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--card); border: 1px solid var(--card-border); border-radius: 12px; margin-bottom: 8px; font-size: 0.86rem; font-weight: 700; box-shadow: 0 2px 6px rgba(43, 45, 66, 0.05); } /* ─── WORKSHOP PICK ─────────────────────────────────────── */ .workshop-item { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--card); border: 1.5px solid var(--card-border); border-radius: 12px; padding: 11px 13px; margin-bottom: 8px; cursor: grab; } .workshop-item.picked { border-color: var(--blue); background: rgba(47, 124, 255, 0.05); } .workshop-rank { width: 26px; height: 26px; border-radius: 50%; background: var(--blue); color: white; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.78rem; flex-shrink: 0; } .workshop-rank.empty { background: transparent; border: 1.5px dashed var(--card-border); color: transparent; } /* ─── EMPTY STATE ───────────────────────────────────────── */ .empty { text-align: center; padding: 30px 16px; color: var(--text-muted); } .empty-icon { font-size: 2.2rem; margin-bottom: 8px; } /* ─── TOAST ─────────────────────────────────────────────── */ .toast { position: absolute; bottom: 78px; left: 50%; transform: translateX(-50%); background: var(--dark); color: white; padding: 10px 20px; border-radius: 20px; font-size: 0.82rem; font-weight: 700; z-index: 300; white-space: nowrap; animation: toastUp 0.3s; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); } @keyframes toastUp { from { opacity: 0; transform: translateX(-50%) translateY(8px); } } .dvd { height: 1px; background: var(--card-border); margin: 14px 0; } .row { display: flex; align-items: center; gap: 8px; } .spacer { flex: 1; } @media (max-width: 380px) { .screen { padding: 14px 12px 20px; } }