digitalBanking / static /styles.css
nvtitan's picture
Upload 39 files
8e2e76b verified
:root {
color-scheme: light dark;
--surface: #070a18;
--surface-alt: #0f142b;
--primary: #00c6ff;
--accent: #ff7a18;
--text: #f4f6ff;
--muted: #9aa7cf;
--border: rgba(255, 255, 255, 0.08);
font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
*, *::before, *::after {
box-sizing: border-box;
}
body {
margin: 0;
min-height: 100vh;
background: radial-gradient(circle at top, #1a2147, #05060f 65%);
color: var(--text);
}
.hero {
padding: 2.5rem clamp(1rem, 5vw, 4rem);
background: linear-gradient(120deg, #0f1633, #1d2a5b);
border-bottom: 1px solid var(--border);
}
.hero-text {
max-width: 720px;
}
.eyebrow {
text-transform: uppercase;
letter-spacing: 0.18em;
font-size: 0.75rem;
color: var(--accent);
}
h1 {
margin: 0.4rem 0 0.25rem;
font-size: clamp(2rem, 5vw, 3.6rem);
}
.subtitle {
margin: 0;
color: var(--muted);
line-height: 1.5;
}
.layout {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 1.5rem;
padding: clamp(1.5rem, 5vw, 3rem);
align-items: start;
}
.panel {
background: var(--surface);
border-radius: 24px;
border: 1px solid var(--border);
padding: 1.75rem;
box-shadow: 0 25px 60px rgba(2, 6, 23, 0.55);
}
.panel.hidden {
display: none;
}
label {
display: flex;
flex-direction: column;
gap: 0.45rem;
font-size: 0.9rem;
}
input, button {
font: inherit;
}
input {
border-radius: 14px;
border: 1px solid var(--border);
background: var(--surface-alt);
padding: 0.75rem 1rem;
color: var(--text);
}
button {
border: none;
border-radius: 999px;
padding: 0.75rem 1.4rem;
font-weight: 600;
cursor: pointer;
background: linear-gradient(120deg, var(--accent), var(--primary));
color: #05060f;
transition: opacity 0.2s ease;
}
button:disabled {
opacity: 0.4;
cursor: not-allowed;
}
button.ghost {
background: transparent;
border: 1px solid var(--border);
color: var(--muted);
}
form {
display: flex;
flex-direction: column;
gap: 1rem;
}
.status {
min-height: 1.2rem;
font-size: 0.9rem;
}
.muted {
color: var(--muted);
}
.chat {
min-height: 500px;
display: flex;
flex-direction: column;
}
.context {
min-height: 500px;
display: flex;
flex-direction: column;
gap: 1rem;
}
.context-block {
max-height: 230px;
overflow-y: auto;
border: 1px solid var(--border);
border-radius: 16px;
padding: 1rem;
background: var(--surface-alt);
}
.context-list {
list-style: none;
margin: 0.6rem 0 0;
padding: 0;
display: flex;
flex-direction: column;
gap: 0.6rem;
}
.context-list li {
background: rgba(255, 255, 255, 0.04);
border-radius: 12px;
padding: 0.5rem 0.7rem;
border: 1px solid rgba(255, 255, 255, 0.05);
font-size: 0.9rem;
}
.chat-header {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
margin-bottom: 1rem;
}
.chat-window {
max-height: 55vh;
overflow-y: auto;
flex: 1;
border-radius: 18px;
border: 1px solid var(--border);
background: rgba(6, 8, 19, 0.8);
padding: 1.2rem;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 1rem;
}
.chat-input {
display: flex;
gap: 0.8rem;
margin-top: 1rem;
}
.chat-input input {
flex: 1;
}
.message {
padding: 0.85rem;
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.04);
}
.message header {
display: flex;
justify-content: space-between;
text-transform: uppercase;
font-size: 0.75rem;
letter-spacing: 0.08em;
color: var(--muted);
margin-bottom: 0.35rem;
}
.message.user {
background: rgba(0, 198, 255, 0.08);
border-color: rgba(0, 198, 255, 0.24);
}
.message.assistant {
background: rgba(255, 122, 24, 0.08);
border-color: rgba(255, 122, 24, 0.24);
}
.tips {
margin-top: 1.2rem;
padding: 1rem;
border-radius: 16px;
border: 1px dashed rgba(255, 255, 255, 0.2);
background: rgba(255, 255, 255, 0.02);
}
.tips ul {
margin: 0.4rem 0 0;
padding-left: 1.2rem;
color: var(--muted);
}
@media (max-width: 720px) {
.layout {
grid-template-columns: 1fr;
}
.chat-input {
flex-direction: column;
}
}