mirror of
https://github.com/TronoSfera/Law.git
synced 2026-05-18 18:13:46 +03:00
397 lines
6.3 KiB
CSS
397 lines
6.3 KiB
CSS
:root {
|
|
--bg: #0d1217;
|
|
--surface: #171f29;
|
|
--surface-2: #1f2a37;
|
|
--text: #f4f7fb;
|
|
--muted: #a8b2c2;
|
|
--accent: #d4a968;
|
|
--line: rgba(207, 217, 231, 0.18);
|
|
--ok: #49b68e;
|
|
--danger: #ff7b7b;
|
|
--radius: 18px;
|
|
--shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
|
|
--maxw: 1180px;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: radial-gradient(circle at 12% 0%, #1a2430 0, var(--bg) 48%), var(--bg);
|
|
color: var(--text);
|
|
font-family: "Manrope", sans-serif;
|
|
}
|
|
|
|
.wrap {
|
|
width: min(var(--maxw), calc(100% - 1.5rem));
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.topbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
backdrop-filter: blur(10px);
|
|
background: rgba(13, 18, 23, 0.78);
|
|
border-bottom: 1px solid var(--line);
|
|
}
|
|
|
|
.topbar-inner {
|
|
min-height: 76px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 0.84rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
font-weight: 800;
|
|
color: #eef4ff;
|
|
}
|
|
|
|
.nav a {
|
|
text-decoration: none;
|
|
color: #d6deea;
|
|
font-size: 0.93rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.client-shell {
|
|
padding: 2rem 0 2.5rem;
|
|
}
|
|
|
|
.section-head {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-family: "Prata", serif;
|
|
font-size: clamp(1.75rem, 4vw, 2.7rem);
|
|
}
|
|
|
|
h2 {
|
|
margin: 0 0 0.65rem;
|
|
font-size: 1.03rem;
|
|
}
|
|
|
|
.subtitle {
|
|
margin: 0.65rem 0 0;
|
|
color: var(--muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.cabinet-layout {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.9rem;
|
|
margin-top: 0.9rem;
|
|
}
|
|
|
|
.cabinet-card {
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
background: linear-gradient(160deg, rgba(23, 32, 42, 0.9), rgba(17, 24, 33, 0.95));
|
|
padding: 1rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
|
|
.request-switcher {
|
|
display: flex;
|
|
gap: 0.6rem;
|
|
align-items: end;
|
|
}
|
|
|
|
.field {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.34rem;
|
|
}
|
|
|
|
.field.grow {
|
|
flex: 1;
|
|
}
|
|
|
|
label {
|
|
font-size: 0.76rem;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: #9fb0c6;
|
|
font-weight: 700;
|
|
}
|
|
|
|
input,
|
|
textarea,
|
|
select {
|
|
width: 100%;
|
|
border-radius: 12px;
|
|
border: 1px solid #3b4b5f;
|
|
background: rgba(255, 255, 255, 0.03);
|
|
color: #ecf2fb;
|
|
font: inherit;
|
|
font-size: 16px;
|
|
padding: 0.72rem 0.8rem;
|
|
}
|
|
|
|
textarea {
|
|
min-height: 84px;
|
|
resize: vertical;
|
|
}
|
|
|
|
.btn {
|
|
border: 1px solid transparent;
|
|
border-radius: 999px;
|
|
padding: 0.82rem 1.25rem;
|
|
font-family: inherit;
|
|
font-size: 0.93rem;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn-ghost {
|
|
border-color: var(--line);
|
|
color: #dde6f2;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
}
|
|
|
|
.cabinet-meta {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 0.5rem;
|
|
margin-top: 0.7rem;
|
|
}
|
|
|
|
.meta-row {
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
padding: 0.58rem 0.65rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.meta-row small {
|
|
display: block;
|
|
color: #9fb0c6;
|
|
font-size: 0.72rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
margin-bottom: 0.2rem;
|
|
}
|
|
|
|
.meta-row b {
|
|
display: block;
|
|
color: #eaf2ff;
|
|
font-size: 0.9rem;
|
|
font-weight: 700;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.simple-list {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
display: grid;
|
|
gap: 0.5rem;
|
|
max-height: 280px;
|
|
overflow: auto;
|
|
}
|
|
|
|
.simple-item {
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
padding: 0.58rem 0.65rem;
|
|
background: rgba(255, 255, 255, 0.02);
|
|
}
|
|
|
|
.simple-item p {
|
|
margin: 0.24rem 0 0;
|
|
color: #d8e3f3;
|
|
line-height: 1.5;
|
|
font-size: 0.92rem;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.simple-item time {
|
|
color: #9eb1ca;
|
|
font-size: 0.78rem;
|
|
}
|
|
|
|
.file-actions {
|
|
margin-top: 0.45rem;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.file-link-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
border: 1px solid var(--line);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #f6d7a8;
|
|
text-decoration: none;
|
|
font-size: 0.82rem;
|
|
padding: 0.32rem 0.68rem;
|
|
font: inherit;
|
|
}
|
|
|
|
.file-link-btn:hover {
|
|
border-color: rgba(212, 168, 106, 0.45);
|
|
background: rgba(212, 168, 106, 0.14);
|
|
}
|
|
|
|
.preview-body .file-link-btn {
|
|
margin: 0.7rem;
|
|
}
|
|
|
|
.preview-overlay {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 1rem;
|
|
background: rgba(6, 10, 14, 0.82);
|
|
backdrop-filter: blur(4px);
|
|
z-index: 60;
|
|
}
|
|
|
|
.preview-overlay.open {
|
|
display: flex;
|
|
}
|
|
|
|
.preview-modal {
|
|
width: min(980px, 100%);
|
|
max-height: 92vh;
|
|
border: 1px solid var(--line);
|
|
border-radius: 16px;
|
|
background: linear-gradient(160deg, rgba(21, 31, 42, 0.96), rgba(14, 21, 28, 0.98));
|
|
box-shadow: var(--shadow);
|
|
padding: 0.85rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.65rem;
|
|
}
|
|
|
|
.preview-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.preview-head h3 {
|
|
margin: 0;
|
|
font-family: "Prata", serif;
|
|
font-size: 1.15rem;
|
|
}
|
|
|
|
.close-btn {
|
|
border: 1px solid var(--line);
|
|
width: 34px;
|
|
height: 34px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 255, 255, 0.04);
|
|
color: #d7e4f5;
|
|
cursor: pointer;
|
|
font-size: 1.05rem;
|
|
}
|
|
|
|
.preview-body {
|
|
width: 100%;
|
|
min-height: 280px;
|
|
max-height: calc(92vh - 76px);
|
|
overflow: auto;
|
|
border: 1px solid var(--line);
|
|
border-radius: 12px;
|
|
background: #0f1722;
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.preview-frame {
|
|
width: 100%;
|
|
height: min(72vh, 760px);
|
|
border: none;
|
|
}
|
|
|
|
.preview-image {
|
|
max-width: 100%;
|
|
max-height: 72vh;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.preview-video {
|
|
width: min(100%, 860px);
|
|
max-height: 72vh;
|
|
}
|
|
|
|
.preview-note {
|
|
padding: 0.9rem;
|
|
color: var(--muted);
|
|
text-align: center;
|
|
}
|
|
|
|
.chat-form {
|
|
margin-top: 0.7rem;
|
|
display: grid;
|
|
gap: 0.55rem;
|
|
}
|
|
|
|
.file-row {
|
|
margin-top: 0.7rem;
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.status {
|
|
margin: 0.7rem 0 0;
|
|
color: #9bafc8;
|
|
font-size: 0.9rem;
|
|
min-height: 1.2rem;
|
|
}
|
|
|
|
.status.ok { color: var(--ok); }
|
|
.status.error { color: var(--danger); }
|
|
|
|
@media (max-width: 860px) {
|
|
.cabinet-layout {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.cabinet-meta {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.request-switcher {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 520px) {
|
|
.wrap {
|
|
width: calc(100% - 1rem);
|
|
}
|
|
|
|
.topbar {
|
|
position: static;
|
|
}
|
|
|
|
.cabinet-card {
|
|
padding: 0.85rem;
|
|
}
|
|
|
|
.file-row {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
}
|