DE / style.css
stat2025's picture
Update style.css
fca4cf3 verified
Raw
History Blame Contribute Delete
16.7 kB
:root {
--navy: #123c69;
--navy-dark: #0a2c50;
--blue: #1d659b;
--sky: #e9f4fb;
--teal: #12877d;
--teal-soft: #e8f6f3;
--ink: #172b3a;
--muted: #657786;
--line: #dce6ec;
--surface: #ffffff;
--page: #f4f8fa;
--danger: #b43d4f;
--shadow: 0 18px 50px rgba(15, 54, 82, 0.11);
}
* {
box-sizing: border-box;
}
html {
min-height: 100%;
background: var(--page);
}
body {
min-height: 100vh;
margin: 0;
color: var(--ink);
font-size: 16px;
font-family: "Tajawal", Arial, sans-serif;
background:
radial-gradient(circle at 10% 10%, rgba(41, 151, 173, 0.12), transparent 30%),
linear-gradient(145deg, #f9fbfc 0%, #eff6f8 100%);
}
button,
input,
select {
font: inherit;
}
button {
cursor: pointer;
}
[hidden] {
display: none !important;
}
svg {
fill: none;
stroke: currentColor;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 1.8;
}
.background-shape {
position: fixed;
z-index: -1;
border-radius: 999px;
filter: blur(2px);
pointer-events: none;
}
.shape-one {
width: 340px;
height: 340px;
top: -170px;
right: -100px;
background: rgba(29, 101, 155, 0.1);
}
.shape-two {
width: 280px;
height: 280px;
bottom: -150px;
left: -80px;
background: rgba(18, 135, 125, 0.1);
}
.login-view {
min-height: calc(100vh - 56px);
display: grid;
place-items: center;
padding: 32px 20px;
}
.login-card {
width: min(100%, 450px);
padding: 42px;
text-align: center;
background: rgba(255, 255, 255, 0.95);
border: 1px solid rgba(220, 230, 236, 0.9);
border-radius: 28px;
box-shadow: var(--shadow);
backdrop-filter: blur(18px);
}
.brand-mark {
width: 72px;
height: 72px;
display: grid;
place-items: center;
margin: 0 auto 22px;
color: white;
background: linear-gradient(145deg, var(--navy), var(--blue));
border-radius: 22px;
box-shadow: 0 14px 30px rgba(18, 60, 105, 0.25);
}
.brand-mark svg {
width: 43px;
height: 43px;
}
.brand-mark svg path:first-child {
fill: rgba(255, 255, 255, 0.08);
}
.brand-mark svg path:last-child {
stroke-width: 3;
}
.brand-mark.small {
width: 48px;
height: 48px;
margin: 0;
border-radius: 15px;
box-shadow: none;
}
.brand-mark.small svg {
width: 29px;
height: 29px;
}
.eyebrow {
margin: 0 0 8px;
color: var(--teal);
font-size: 13px;
font-weight: 800;
letter-spacing: 0.04em;
}
.login-card h1 {
margin: 0;
color: var(--navy-dark);
font-size: clamp(27px, 5vw, 34px);
line-height: 1.35;
}
.login-description {
max-width: 340px;
margin: 12px auto 28px;
color: var(--muted);
font-size: 16px;
line-height: 1.8;
}
.login-form {
text-align: right;
}
.login-form label,
.field-group label {
display: block;
margin-bottom: 8px;
color: #314b5e;
font-size: 15px;
font-weight: 700;
}
.password-field,
.search-wrap,
.select-wrap {
position: relative;
}
.password-field input,
.search-wrap input,
.select-wrap select {
width: 100%;
height: 52px;
color: var(--ink);
background: #fbfdfe;
border: 1px solid var(--line);
border-radius: 14px;
font-size: 16px;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.password-field input {
padding: 0 16px 0 50px;
}
.password-field input:focus,
.search-wrap input:focus,
.select-wrap select:focus {
background: white;
border-color: var(--blue);
box-shadow: 0 0 0 4px rgba(29, 101, 155, 0.1);
}
.icon-button {
position: absolute;
top: 50%;
left: 8px;
width: 38px;
height: 38px;
display: grid;
place-items: center;
padding: 0;
color: var(--muted);
background: transparent;
border: 0;
border-radius: 10px;
transform: translateY(-50%);
}
.icon-button:hover {
color: var(--navy);
background: var(--sky);
}
.icon-button svg {
width: 22px;
height: 22px;
}
.form-error {
min-height: 22px;
margin: 7px 2px 5px;
color: var(--danger);
font-size: 13px;
font-weight: 600;
}
.primary-button,
.secondary-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 9px;
min-height: 48px;
padding: 0 20px;
font-weight: 700;
border-radius: 13px;
transition: transform 0.18s, box-shadow 0.18s, background 0.18s;
}
.primary-button {
color: white;
background: linear-gradient(135deg, var(--navy), var(--blue));
border: 0;
box-shadow: 0 9px 22px rgba(18, 60, 105, 0.2);
}
.login-form .primary-button {
width: 100%;
}
.primary-button:hover {
transform: translateY(-1px);
box-shadow: 0 12px 25px rgba(18, 60, 105, 0.26);
}
.primary-button:disabled {
cursor: wait;
opacity: 0.65;
transform: none;
}
.primary-button svg,
.secondary-button svg {
width: 20px;
height: 20px;
}
.security-note {
display: flex;
align-items: center;
justify-content: center;
gap: 8px;
margin-top: 22px;
color: var(--muted);
font-size: 12px;
}
.security-note svg {
width: 17px;
height: 17px;
color: var(--teal);
}
.topbar {
min-height: 78px;
display: flex;
align-items: center;
justify-content: space-between;
padding: 13px max(20px, calc((100% - 1240px) / 2));
background: rgba(255, 255, 255, 0.92);
border-bottom: 1px solid var(--line);
box-shadow: 0 5px 22px rgba(27, 64, 90, 0.05);
backdrop-filter: blur(12px);
}
.topbar-brand {
display: flex;
align-items: center;
gap: 13px;
}
.topbar-brand p {
margin: 0 0 2px;
color: var(--teal);
font-size: 11px;
font-weight: 700;
}
.topbar-brand h1 {
margin: 0;
color: var(--navy-dark);
font-size: 20px;
}
.secondary-button {
color: var(--navy);
background: white;
border: 1px solid var(--line);
}
.secondary-button:hover {
background: var(--sky);
border-color: #b9d4e4;
}
.secondary-button.compact {
min-height: 42px;
padding: 0 15px;
}
.dashboard-shell {
width: min(1240px, calc(100% - 40px));
min-height: calc(100vh - 134px);
margin: 28px auto 44px;
}
.welcome-panel {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24px;
padding: 24px 28px;
color: white;
overflow: hidden;
position: relative;
background:
radial-gradient(circle at 12% 130%, rgba(89, 223, 206, 0.28), transparent 32%),
linear-gradient(115deg, rgba(8, 39, 72, 0.99), rgba(25, 105, 161, 0.95)),
var(--navy);
border-radius: 22px;
box-shadow: 0 14px 32px rgba(18, 60, 105, 0.17);
}
.welcome-panel .eyebrow {
color: #91dfd6;
}
.welcome-panel h2 {
margin: 0 0 5px;
font-size: clamp(21px, 3vw, 28px);
}
.welcome-panel > div > p:last-child {
margin: 0;
color: rgba(255, 255, 255, 0.77);
font-size: 15px;
}
.privacy-pill {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 8px;
padding: 10px 14px;
color: #d9fff9;
font-size: 13px;
font-weight: 700;
background: rgba(255, 255, 255, 0.11);
border: 1px solid rgba(255, 255, 255, 0.18);
border-radius: 999px;
}
.status-dot {
width: 8px;
height: 8px;
background: #68ebce;
border-radius: 50%;
box-shadow: 0 0 0 5px rgba(104, 235, 206, 0.14);
}
.controls-card {
position: relative;
z-index: 1;
margin-top: 18px;
padding: 22px;
background: rgba(255, 255, 255, 0.96);
border: 1px solid var(--line);
border-radius: 20px;
box-shadow: 0 14px 34px rgba(24, 66, 91, 0.08);
backdrop-filter: blur(16px);
}
.filters-grid {
display: grid;
grid-template-columns: repeat(3, minmax(180px, 1fr)) minmax(220px, 1.2fr);
gap: 16px;
}
.filters-actions {
display: flex;
justify-content: flex-start;
margin-top: 14px;
}
.clear-filters-button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 7px;
min-height: 38px;
padding: 0 13px;
color: #607583;
font-size: 13px;
font-weight: 700;
background: #f7fafb;
border: 1px solid var(--line);
border-radius: 11px;
}
.clear-filters-button:hover {
color: var(--danger);
background: #fff7f8;
border-color: #ecc9cf;
}
.clear-filters-button svg {
width: 17px;
height: 17px;
}
.select-wrap select {
padding: 0 15px 0 42px;
appearance: none;
}
.select-wrap > svg {
position: absolute;
top: 50%;
left: 15px;
width: 19px;
color: var(--muted);
transform: translateY(-50%);
pointer-events: none;
}
.search-wrap input {
padding: 0 44px 0 14px;
}
.search-wrap > svg {
position: absolute;
top: 50%;
right: 15px;
width: 20px;
color: var(--muted);
transform: translateY(-50%);
}
select:disabled,
input:disabled {
cursor: not-allowed;
color: #9aa8b2;
background: #f3f6f7;
}
.empty-state,
.no-results {
margin-top: 18px;
padding: 64px 24px;
text-align: center;
background: rgba(255, 255, 255, 0.7);
border: 1px dashed #bfd0da;
border-radius: 20px;
}
.empty-icon {
width: 72px;
height: 72px;
display: grid;
place-items: center;
margin: 0 auto 16px;
color: var(--blue);
background: var(--sky);
border-radius: 22px;
}
.empty-icon svg {
width: 39px;
height: 39px;
}
.empty-state h3,
.no-results h3 {
margin: 0 0 7px;
color: var(--navy-dark);
font-size: 20px;
}
.empty-state p,
.no-results p {
margin: 0;
color: var(--muted);
}
.results-section {
margin-top: 24px;
}
.results-header {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18px;
margin-bottom: 14px;
}
.results-meta {
margin: 0 0 4px;
color: var(--teal);
font-size: 14px;
font-weight: 800;
}
.results-header h2 {
margin: 0;
color: var(--navy-dark);
font-size: 26px;
}
.copy-all {
min-height: 44px;
background: var(--teal);
box-shadow: 0 8px 20px rgba(18, 135, 125, 0.18);
}
.status-chips {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 17px;
}
.status-chip {
min-height: 38px;
padding: 7px 11px;
color: #466071;
font-family: inherit;
font-size: 13px;
font-weight: 700;
background: white;
border: 1px solid var(--line);
border-radius: 999px;
box-shadow: 0 3px 10px rgba(26, 63, 87, 0.04);
cursor: pointer;
transition: color 0.18s, background 0.18s, border-color 0.18s, transform 0.18s;
}
.status-chip:hover {
color: var(--navy);
background: var(--sky);
border-color: #b7d3e3;
transform: translateY(-1px);
}
.status-chip.active {
color: white;
background: linear-gradient(135deg, var(--navy), var(--blue));
border-color: transparent;
box-shadow: 0 7px 17px rgba(18, 60, 105, 0.2);
}
.status-chip strong {
margin-right: 5px;
color: var(--navy);
}
.status-chip.active strong {
color: #a9eee5;
}
.samples-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
.load-more-wrap {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-top: 24px;
}
.load-more-button {
min-width: 210px;
min-height: 50px;
color: var(--navy);
font-size: 16px;
background: white;
box-shadow: 0 8px 22px rgba(26, 63, 87, 0.08);
}
.load-more-wrap p {
margin: 0;
color: var(--muted);
font-size: 13px;
font-weight: 600;
}
.sample-card {
overflow: hidden;
background: white;
border: 1px solid var(--line);
border-radius: 21px;
box-shadow: 0 10px 28px rgba(26, 63, 87, 0.07);
transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.sample-card:hover {
border-color: #b9d4e4;
box-shadow: 0 13px 30px rgba(26, 63, 87, 0.1);
transform: translateY(-2px);
}
.sample-card-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 14px;
padding: 18px 20px 15px;
background: linear-gradient(180deg, #fbfdfe, white);
border-bottom: 1px solid #edf2f5;
border-top: 4px solid var(--teal);
}
.sample-index {
display: inline-block;
margin-bottom: 5px;
color: var(--teal);
font-size: 12px;
font-weight: 800;
}
.sample-card h3 {
margin: 0;
color: var(--navy-dark);
font-size: 19px;
line-height: 1.65;
}
.status-badge {
flex: 0 0 auto;
max-width: 155px;
padding: 7px 10px;
color: #8f4f16;
font-size: 12px;
font-weight: 800;
line-height: 1.4;
text-align: center;
background: #fff4e7;
border: 1px solid #f4d3aa;
border-radius: 999px;
}
.sample-details {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 0;
padding: 4px 20px;
}
.detail-item {
min-width: 0;
padding: 13px 0;
border-bottom: 1px solid #edf2f5;
}
.detail-item:nth-child(odd) {
padding-left: 14px;
border-left: 1px solid #edf2f5;
}
.detail-item:nth-child(even) {
padding-right: 14px;
}
.detail-label {
display: block;
margin-bottom: 5px;
color: var(--muted);
font-size: 12px;
font-weight: 700;
}
.detail-value {
display: block;
overflow-wrap: anywhere;
color: #233d4f;
font-size: 15px;
font-weight: 600;
line-height: 1.6;
}
.detail-value-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 8px;
}
.copy-field-button {
flex: 0 0 auto;
width: 34px;
height: 34px;
display: grid;
place-items: center;
padding: 0;
color: var(--blue);
background: var(--sky);
border: 1px solid #cee3ef;
border-radius: 9px;
}
.copy-field-button:hover {
color: white;
background: var(--blue);
border-color: var(--blue);
}
.copy-field-button svg {
width: 17px;
height: 17px;
}
.contact-detail .detail-value {
color: var(--blue);
}
.sample-card-footer {
padding: 14px 20px 18px;
}
.copy-sample {
width: 100%;
min-height: 42px;
color: var(--navy);
font-weight: 800;
background: var(--sky);
border: 1px solid #cde2ee;
border-radius: 12px;
font-size: 15px;
}
.copy-sample:hover {
color: white;
background: var(--navy);
border-color: var(--navy);
}
.no-results {
margin-top: 0;
}
footer {
min-height: 56px;
display: flex;
align-items: center;
justify-content: center;
color: #70828f;
font-size: 13px;
font-weight: 600;
}
.toast {
position: fixed;
z-index: 30;
right: 50%;
bottom: 24px;
padding: 12px 18px;
color: white;
font-size: 14px;
font-weight: 700;
background: #173b52;
border-radius: 12px;
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
opacity: 0;
transform: translate(50%, 20px);
transition: opacity 0.25s, transform 0.25s;
pointer-events: none;
}
.toast.show {
opacity: 1;
transform: translate(50%, 0);
}
@media (max-width: 980px) {
.filters-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 760px) {
.dashboard-shell {
width: min(100% - 24px, 1240px);
margin-top: 14px;
}
.welcome-panel,
.results-header {
align-items: stretch;
flex-direction: column;
}
.privacy-pill {
align-self: flex-start;
}
.samples-grid {
grid-template-columns: 1fr;
}
.copy-all {
width: 100%;
}
.load-more-button {
width: 100%;
}
.results-header h2 {
font-size: 23px;
}
}
@media (max-width: 560px) {
.login-card {
padding: 32px 22px;
border-radius: 22px;
}
.topbar {
padding: 11px 14px;
}
.topbar-brand p {
display: none;
}
.topbar-brand h1 {
font-size: 16px;
}
.brand-mark.small {
width: 42px;
height: 42px;
}
.secondary-button.compact {
padding: 0 12px;
font-size: 13px;
}
.welcome-panel,
.controls-card {
padding: 19px;
border-radius: 17px;
}
.controls-card {
top: 6px;
max-height: calc(100vh - 12px);
overflow-y: auto;
}
.filters-grid {
grid-template-columns: 1fr;
gap: 13px;
}
.filters-actions {
margin-top: 12px;
}
.clear-filters-button {
width: 100%;
min-height: 44px;
font-size: 14px;
}
.status-chips {
flex-wrap: nowrap;
overflow-x: auto;
margin-left: -12px;
margin-right: -12px;
padding: 2px 12px 9px;
scrollbar-width: thin;
scroll-snap-type: x proximity;
}
.status-chip {
flex: 0 0 auto;
min-height: 42px;
padding: 8px 14px;
font-size: 14px;
scroll-snap-align: start;
}
.search-group {
grid-row: 1;
}
.password-field input,
.search-wrap input,
.select-wrap select {
height: 56px;
font-size: 16px;
}
.sample-card-header {
flex-direction: column;
}
.status-badge {
max-width: 100%;
}
.sample-details {
grid-template-columns: 1fr;
padding: 4px 17px;
}
.detail-item:nth-child(odd),
.detail-item:nth-child(even) {
padding-right: 0;
padding-left: 0;
border-left: 0;
}
.sample-card-header,
.sample-card-footer {
padding-right: 17px;
padding-left: 17px;
}
.detail-label {
font-size: 13px;
}
.detail-value {
font-size: 16px;
}
.copy-sample {
min-height: 48px;
font-size: 16px;
}
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition: none !important;
}
}