address-service/client/src/styles.css

156 lines
2.9 KiB
CSS

:root {
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
color: #27243a;
background: #f5f4fb;
font-synthesis: none;
text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body {
margin: 0;
min-width: 320px;
min-height: 100vh;
}
body::before,
body::after {
position: fixed;
z-index: -1;
border-radius: 999px;
content: "";
filter: blur(2px);
}
body::before {
width: 420px;
height: 420px;
top: -190px;
right: -120px;
background: rgba(190, 182, 255, 0.45);
}
body::after {
width: 340px;
height: 340px;
bottom: -180px;
left: -100px;
background: rgba(176, 226, 217, 0.42);
}
.page-shell {
display: grid;
min-height: 100vh;
align-content: start;
justify-content: center;
padding: 48px 20px 32px;
}
.search-card {
width: min(720px, calc(100vw - 40px));
padding: 48px;
border: 1px solid rgba(255, 255, 255, 0.9);
border-radius: 28px;
background: rgba(255, 255, 255, 0.78);
box-shadow: 0 28px 80px rgba(45, 39, 87, 0.12);
backdrop-filter: blur(18px);
}
.eyebrow {
margin: 0 0 28px;
color: #695cff;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.13em;
text-transform: uppercase;
}
.search-field label {
display: block;
margin: 0 0 9px 3px;
font-size: 13px;
font-weight: 750;
}
.search-field + .search-field { margin-top: 20px; }
.option-label { display: grid; gap: 3px; }
.option-label span { font-weight: 650; }
.option-label small { color: #858194; }
.error-message {
margin: 9px 3px 0;
color: #c13d54;
font-size: 13px;
}
.result-panel {
min-height: 210px;
margin-top: 28px;
overflow: hidden;
border: 1px dashed #d6d3e5;
border-radius: 16px;
background: rgba(248, 248, 252, 0.8);
}
.result-panel.has-result {
border-style: solid;
border-color: #dedbea;
background: #282536;
}
.result-heading {
display: flex;
align-items: center;
justify-content: space-between;
padding: 14px 18px;
border-bottom: 1px solid #e5e3ed;
color: #706c80;
font-size: 12px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.has-result .result-heading {
border-color: #3d394d;
color: #b9b4c9;
}
.format-badge {
padding: 4px 7px;
border-radius: 6px;
color: #6659e8;
background: #eceaff;
font-size: 10px;
}
pre {
margin: 0;
padding: 20px;
overflow: auto;
color: #d8f6dd;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
font-size: 13px;
line-height: 1.65;
white-space: pre-wrap;
}
.empty-state {
display: grid;
min-height: 155px;
place-content: center;
justify-items: center;
color: #8b879c;
text-align: center;
}
.empty-state p { margin: 10px 0 0; }
.empty-icon { color: #b3afc2; font-family: monospace; font-size: 25px; }
@media (max-width: 600px) {
.page-shell { align-content: start; padding: 20px 12px; }
.search-card { width: 100%; padding: 28px 20px; border-radius: 22px; }
}