- Redesigned upload page into single unified card with camera/gallery buttons - Large touch-friendly capture buttons for mobile devices - Staging gallery grid (3 columns on mobile, auto-fill on desktop) - Sticky add-more bar and process button on mobile - Drag-and-drop support on desktop - Responsive CSS with mobile-first breakpoints
1722 lines
44 KiB
CSS
1722 lines
44 KiB
CSS
/* ============================
|
|
Base & Reset
|
|
============================ */
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
:root {
|
|
--primary: #0d9488;
|
|
--primary-dark: #0f766e;
|
|
--primary-light: #5eead4;
|
|
--primary-soft: #ccfbf1;
|
|
--accent: #ea580c;
|
|
--accent-soft: #fff7ed;
|
|
--success: #059669;
|
|
--warning: #d97706;
|
|
--danger: #dc2626;
|
|
--bg: #f8f6f1;
|
|
--bg-strong: #ece7db;
|
|
--surface: rgba(255,255,255,.88);
|
|
--surface-solid: #ffffff;
|
|
--surface-tint: #faf8f4;
|
|
--border: rgba(23, 37, 44, .08);
|
|
--text: #0f1c22;
|
|
--text-muted: #64748b;
|
|
--radius: 18px;
|
|
--radius-sm: 12px;
|
|
--shadow: 0 4px 24px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
|
|
--shadow-md: 0 12px 40px rgba(0,0,0,.1), 0 2px 6px rgba(0,0,0,.04);
|
|
--shadow-lg: 0 24px 60px rgba(0,0,0,.12);
|
|
--transition: .22s cubic-bezier(.4,0,.2,1);
|
|
}
|
|
|
|
html { font-size: 15px; scroll-behavior: smooth; }
|
|
|
|
::selection {
|
|
background: rgba(13,148,136,.18);
|
|
color: var(--text);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Noto Kufi Arabic', 'Segoe UI', Tahoma, sans-serif;
|
|
background:
|
|
radial-gradient(ellipse 80% 60% at 70% 0%, rgba(13,148,136,.1), transparent),
|
|
radial-gradient(ellipse 60% 50% at 0% 40%, rgba(234,88,12,.07), transparent),
|
|
linear-gradient(180deg, #faf8f4 0%, var(--bg) 50%, #f5f2ec 100%);
|
|
color: var(--text);
|
|
line-height: 1.65;
|
|
direction: rtl;
|
|
min-height: 100vh;
|
|
min-height: 100dvh;
|
|
position: relative;
|
|
overscroll-behavior-y: contain;
|
|
-webkit-font-smoothing: antialiased;
|
|
-moz-osx-font-smoothing: grayscale;
|
|
}
|
|
|
|
a { color: var(--primary); text-decoration: none; }
|
|
a:hover { text-decoration: underline; }
|
|
|
|
button, a, input, select, textarea {
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
|
|
input, select, textarea, button {
|
|
font: inherit;
|
|
}
|
|
|
|
.page-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
overflow: hidden;
|
|
z-index: 0;
|
|
}
|
|
|
|
.backdrop-orb {
|
|
position: absolute;
|
|
border-radius: 999px;
|
|
filter: blur(80px);
|
|
opacity: .35;
|
|
animation: orb-drift 20s ease-in-out infinite alternate;
|
|
}
|
|
|
|
@keyframes orb-drift {
|
|
0% { transform: translate(0, 0) scale(1); }
|
|
50% { transform: translate(20px, -15px) scale(1.05); }
|
|
100% { transform: translate(-10px, 10px) scale(.98); }
|
|
}
|
|
|
|
.orb-1 {
|
|
width: 500px;
|
|
height: 500px;
|
|
top: -120px;
|
|
right: -100px;
|
|
background: radial-gradient(circle, rgba(13,148,136,.2), rgba(94,234,212,.08));
|
|
}
|
|
|
|
.orb-2 {
|
|
width: 400px;
|
|
height: 400px;
|
|
bottom: 5%;
|
|
left: -100px;
|
|
background: radial-gradient(circle, rgba(234,88,12,.14), rgba(251,146,60,.06));
|
|
animation-delay: -10s;
|
|
}
|
|
|
|
/* ============================
|
|
Navbar
|
|
============================ */
|
|
.navbar {
|
|
background: linear-gradient(135deg, rgba(15,28,34,.92), rgba(23,37,44,.88));
|
|
-webkit-backdrop-filter: blur(24px) saturate(1.4);
|
|
backdrop-filter: blur(24px) saturate(1.4);
|
|
color: white;
|
|
padding: .85rem 1.5rem;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 8px 32px rgba(0,0,0,.18);
|
|
border-bottom: 1px solid rgba(255,255,255,.06);
|
|
}
|
|
.nav-container {
|
|
max-width: 1300px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
.nav-brand {
|
|
color: white;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
white-space: nowrap;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .75rem;
|
|
}
|
|
.nav-brand:hover { text-decoration: none; opacity: .9; }
|
|
.nav-brand-mark {
|
|
width: 2.4rem;
|
|
height: 2.4rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
|
|
border: 1px solid rgba(255,255,255,.18);
|
|
font-size: 1rem;
|
|
box-shadow: 0 4px 12px rgba(13,148,136,.35);
|
|
transition: transform var(--transition), box-shadow var(--transition);
|
|
}
|
|
.nav-brand:hover .nav-brand-mark {
|
|
transform: scale(1.08) rotate(-3deg);
|
|
box-shadow: 0 6px 20px rgba(13,148,136,.45);
|
|
}
|
|
.nav-brand-text { letter-spacing: -.02em; font-size: 1.05rem; }
|
|
.nav-links { display: flex; gap: .65rem; margin-inline-start: auto; }
|
|
.nav-link {
|
|
color: rgba(255,255,255,.85);
|
|
font-size: .88rem;
|
|
padding: .5rem .85rem;
|
|
border-radius: 10px;
|
|
transition: all var(--transition);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .4rem;
|
|
position: relative;
|
|
}
|
|
.nav-link svg {
|
|
opacity: .7;
|
|
flex-shrink: 0;
|
|
transition: opacity var(--transition);
|
|
}
|
|
.nav-link:hover {
|
|
color: white;
|
|
background: rgba(255,255,255,.1);
|
|
text-decoration: none;
|
|
}
|
|
.nav-link:hover svg { opacity: 1; }
|
|
.nav-link-logout {
|
|
color: rgba(255,180,180,.85);
|
|
}
|
|
.nav-link-logout:hover {
|
|
background: rgba(220,38,38,.15);
|
|
color: #fca5a5;
|
|
}
|
|
|
|
/* ============================
|
|
Layout
|
|
============================ */
|
|
.main-content {
|
|
max-width: 1300px;
|
|
margin: 0 auto;
|
|
padding: 1.75rem 1.5rem 2.5rem;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.mobile-dock {
|
|
display: none;
|
|
}
|
|
|
|
.page-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
margin-bottom: 1.5rem;
|
|
padding: 1.5rem 1.6rem;
|
|
border: 1px solid rgba(23, 37, 44, .06);
|
|
border-radius: 20px;
|
|
background:
|
|
linear-gradient(135deg, rgba(255,255,255,.94), rgba(255,255,255,.78));
|
|
box-shadow: var(--shadow);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.page-header h1 { font-size: 1.6rem; color: var(--text); line-height: 1.35; font-weight: 800; }
|
|
.page-header-hero { padding-block: 1.75rem; }
|
|
.page-kicker {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .4rem;
|
|
font-size: .75rem;
|
|
font-weight: 700;
|
|
color: var(--accent);
|
|
background: var(--accent-soft);
|
|
border: 1px solid rgba(234,88,12,.1);
|
|
border-radius: 8px;
|
|
padding: .3rem .65rem;
|
|
margin-bottom: .75rem;
|
|
letter-spacing: .02em;
|
|
text-transform: uppercase;
|
|
}
|
|
.subtitle { color: var(--text-muted); margin-top: .45rem; font-size: .98rem; max-width: 58rem; }
|
|
.back-link { display: block; font-size: .875rem; color: var(--text-muted); margin-bottom: .35rem; }
|
|
.header-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: .75rem;
|
|
align-items: center;
|
|
}
|
|
|
|
/* ============================
|
|
Buttons
|
|
============================ */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .45rem;
|
|
justify-content: center;
|
|
padding: .6rem 1.2rem;
|
|
border-radius: 12px;
|
|
border: 1px solid transparent;
|
|
font-size: .88rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.btn::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(180deg, rgba(255,255,255,.12), transparent);
|
|
pointer-events: none;
|
|
border-radius: inherit;
|
|
}
|
|
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,.1); }
|
|
.btn:active { transform: translateY(0) scale(.98); }
|
|
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; }
|
|
|
|
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; box-shadow: 0 2px 12px rgba(13,148,136,.25); }
|
|
.btn-primary:hover { box-shadow: 0 6px 24px rgba(13,148,136,.35); }
|
|
.btn-secondary { background: var(--surface); color: var(--text); border-color: rgba(23,37,44,.1); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
|
|
.btn-secondary:hover { background: white; border-color: var(--primary); }
|
|
.btn-success { background: linear-gradient(135deg, var(--success), #047857); color: white; box-shadow: 0 2px 12px rgba(5,150,105,.2); }
|
|
.btn-warning { background: linear-gradient(135deg, var(--warning), #b45309); color: white; box-shadow: 0 2px 12px rgba(217,119,6,.2); }
|
|
.btn-danger { background: linear-gradient(135deg, var(--danger), #b91c1c); color: white; box-shadow: 0 2px 12px rgba(220,38,38,.2); }
|
|
.btn-large { padding: .75rem 1.6rem; font-size: .95rem; border-radius: 14px; }
|
|
.btn-sm { padding: .4rem .75rem; font-size: .8rem; border-radius: 10px; }
|
|
.btn-sm::after { display: none; }
|
|
.btn-block { width: 100%; }
|
|
|
|
/* ============================
|
|
Stats Bar
|
|
============================ */
|
|
.stats-bar {
|
|
display: flex;
|
|
gap: .75rem;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.stat {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 14px;
|
|
padding: .85rem 1.1rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
min-width: 90px;
|
|
box-shadow: var(--shadow);
|
|
cursor: default;
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
transition: all var(--transition);
|
|
}
|
|
a.stat:hover { border-color: var(--primary); text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-md); }
|
|
a.stat.active { border-color: rgba(15,118,110,.24); background: var(--primary-soft); }
|
|
.stat-num { font-size: 1.4rem; font-weight: 700; line-height: 1; }
|
|
.stat-label { font-size: .75rem; color: var(--text-muted); margin-top: .15rem; }
|
|
.stat.confirmed .stat-num { color: var(--success); }
|
|
.stat.pending .stat-num { color: var(--warning); }
|
|
.stat.error .stat-num { color: var(--danger); }
|
|
|
|
/* ============================
|
|
Alerts / Banners
|
|
============================ */
|
|
.alert-banner {
|
|
background: linear-gradient(135deg, var(--primary-soft), rgba(255,255,255,.8));
|
|
border: 1px solid rgba(13,148,136,.12);
|
|
border-radius: 14px;
|
|
padding: .9rem 1.1rem;
|
|
margin-bottom: 1rem;
|
|
font-weight: 700;
|
|
font-size: .92rem;
|
|
}
|
|
.merge-note {
|
|
font-size: .82rem;
|
|
color: #92400e;
|
|
margin-bottom: .6rem;
|
|
}
|
|
.alert-banner a { color: var(--primary); }
|
|
.error-banner {
|
|
background: linear-gradient(135deg, rgba(254,242,242,.95), rgba(255,255,255,.82));
|
|
border: 1px solid #fecaca;
|
|
border-radius: calc(var(--radius) - 4px);
|
|
padding: .85rem 1rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--danger);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: .75rem;
|
|
}
|
|
.success-banner {
|
|
background: linear-gradient(135deg, rgba(240,253,244,.95), rgba(255,255,255,.82));
|
|
border: 1px solid #bbf7d0;
|
|
border-radius: calc(var(--radius) - 4px);
|
|
padding: .85rem 1rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--success);
|
|
}
|
|
.info-banner {
|
|
background: linear-gradient(135deg, rgba(239,246,255,.95), rgba(255,255,255,.82));
|
|
border: 1px solid #bfdbfe;
|
|
border-radius: calc(var(--radius) - 4px);
|
|
padding: .85rem 1rem;
|
|
margin-bottom: 1rem;
|
|
color: #1d4ed8;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: .6rem;
|
|
font-size: .92rem;
|
|
line-height: 1.5;
|
|
}
|
|
.info-banner svg { flex-shrink: 0; stroke: #3b82f6; }
|
|
|
|
/* ============================
|
|
Upload Card
|
|
============================ */
|
|
.upload-card {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 20px;
|
|
padding: 1.5rem;
|
|
box-shadow: var(--shadow);
|
|
margin-bottom: 1.5rem;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.card-heading {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.card-heading h2 {
|
|
font-size: 1.15rem;
|
|
margin-bottom: .2rem;
|
|
}
|
|
.card-heading p {
|
|
color: var(--text-muted);
|
|
font-size: .9rem;
|
|
}
|
|
.drop-zone {
|
|
display: block;
|
|
border: 2px dashed rgba(13,148,136,.2);
|
|
border-radius: 20px;
|
|
padding: 3rem 1rem;
|
|
text-align: center;
|
|
cursor: pointer;
|
|
transition: all var(--transition);
|
|
-webkit-tap-highlight-color: transparent;
|
|
background: linear-gradient(180deg, rgba(250,248,244,.8), rgba(255,255,255,.9));
|
|
position: relative;
|
|
}
|
|
.drop-zone:hover, .drop-zone.drag-over {
|
|
border-color: var(--primary);
|
|
background: linear-gradient(180deg, var(--primary-soft), rgba(255,255,255,.95));
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 32px rgba(13,148,136,.1);
|
|
}
|
|
.drop-icon { font-size: 3rem; margin-bottom: .75rem; filter: grayscale(.2); }
|
|
.drop-text { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; color: var(--text); }
|
|
.drop-hint { font-size: .85rem; color: var(--text-muted); }
|
|
.file-input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
clip: rect(0,0,0,0);
|
|
border: 0;
|
|
}
|
|
|
|
.file-list { margin-top: 1rem; display: flex; flex-direction: column; gap: .35rem; }
|
|
.file-item {
|
|
background: var(--surface-tint);
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
border-radius: var(--radius-sm);
|
|
padding: .4rem .75rem;
|
|
font-size: .875rem;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.file-size { color: var(--text-muted); }
|
|
.upload-actions { display: flex; gap: .75rem; margin-top: 1rem; }
|
|
.hidden { display: none !important; }
|
|
|
|
/* Provider selector */
|
|
.provider-section { margin-top: 1rem; }
|
|
.provider-label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: .5rem; }
|
|
.provider-options { display: flex; gap: .5rem; flex-wrap: wrap; }
|
|
.provider-option { cursor: pointer; }
|
|
.provider-option input { display: none; }
|
|
.provider-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: .75rem 1rem;
|
|
border: 2px solid rgba(23,37,44,.08);
|
|
border-radius: calc(var(--radius) - 2px);
|
|
transition: border-color .15s, background .15s;
|
|
min-width: 140px;
|
|
background: rgba(255,255,255,.78);
|
|
}
|
|
.provider-option input:checked + .provider-card { border-color: var(--primary); background: var(--primary-soft); }
|
|
.provider-option:hover .provider-card { border-color: var(--primary); }
|
|
.provider-name { font-size: .9rem; font-weight: 600; }
|
|
.provider-model { font-size: .75rem; color: var(--text-muted); }
|
|
.provider-free .provider-name::after { content: ' ✓'; color: var(--success); }
|
|
|
|
/* Merge suggestion */
|
|
.merge-banner {
|
|
background: #fef3c7;
|
|
border: 1px solid #fcd34d;
|
|
border-radius: var(--radius);
|
|
padding: .75rem 1rem;
|
|
margin-top: .75rem;
|
|
}
|
|
.merge-banner h4 { font-size: .9rem; margin-bottom: .5rem; color: #92400e; }
|
|
.merge-person {
|
|
background: white;
|
|
border: 1px solid #fcd34d;
|
|
border-radius: 6px;
|
|
padding: .5rem .75rem;
|
|
margin-bottom: .5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: .75rem;
|
|
font-size: .875rem;
|
|
}
|
|
.merge-person .mp-name { font-weight: 600; }
|
|
.merge-person .mp-count { color: var(--text-muted); font-size: .8rem; }
|
|
.merge-actions { display: flex; gap: .5rem; margin-top: .5rem; }
|
|
.merge-actions label { cursor: pointer; font-size: .85rem; display: flex; align-items: center; gap: .3rem; }
|
|
|
|
/* ============================
|
|
Quick Links
|
|
============================ */
|
|
.quick-links {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 1rem;
|
|
margin-top: .5rem;
|
|
}
|
|
.quick-link-card {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(255,255,255,.88));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 20px;
|
|
padding: 1.25rem;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: .85rem;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
box-shadow: var(--shadow);
|
|
transition: all var(--transition);
|
|
}
|
|
.quick-link-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-3px); }
|
|
.quick-link-card strong { display: block; margin-bottom: .2rem; }
|
|
.quick-link-card small { display: block; color: var(--text-muted); font-size: .82rem; line-height: 1.7; }
|
|
.ql-icon {
|
|
font-size: 1.4rem;
|
|
width: 2.8rem;
|
|
height: 2.8rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
background: linear-gradient(135deg, var(--primary-soft), rgba(13,148,136,.08));
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.merge-person-safe {
|
|
border-color: rgba(15,118,110,.18);
|
|
background: rgba(223,245,241,.55);
|
|
}
|
|
.merge-person-unsafe {
|
|
border-color: rgba(194,65,12,.18);
|
|
background: rgba(255,247,237,.8);
|
|
}
|
|
/* ============================
|
|
Forms
|
|
============================ */
|
|
.form-section {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 20px;
|
|
padding: 1.25rem;
|
|
margin-bottom: 1rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.form-section h3 {
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
padding-bottom: .5rem;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.section-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: .75rem;
|
|
}
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: .75rem;
|
|
}
|
|
.form-group { display: flex; flex-direction: column; gap: .25rem; }
|
|
.form-group label { font-size: .8rem; font-weight: 500; color: var(--text-muted); }
|
|
.form-group input, .form-group select {
|
|
border: 1px solid rgba(23,37,44,.1);
|
|
border-radius: 12px;
|
|
padding: .7rem .85rem;
|
|
font-size: .9rem;
|
|
font-family: inherit;
|
|
direction: rtl;
|
|
width: 100%;
|
|
background: rgba(255,255,255,.95);
|
|
transition: all var(--transition);
|
|
}
|
|
.form-group input:focus, .form-group select:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(13,148,136,.1), 0 2px 8px rgba(13,148,136,.08);
|
|
background: white;
|
|
}
|
|
.form-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
margin-top: 1rem;
|
|
padding: 1rem;
|
|
background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.82));
|
|
border-radius: calc(var(--radius) + 2px);
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
}
|
|
.keyboard-hint { font-size: .8rem; color: var(--text-muted); }
|
|
|
|
/* ============================
|
|
Tables
|
|
============================ */
|
|
.table-wrapper {
|
|
overflow-x: auto;
|
|
border-radius: calc(var(--radius) + 2px);
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.table-wrapper-spaced { margin-top: 1rem; }
|
|
.results-table, .props-table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
font-size: .875rem;
|
|
background: rgba(255,255,255,.92);
|
|
}
|
|
.results-table th, .props-table th {
|
|
background: linear-gradient(180deg, #f8f5ef, #f2ede4);
|
|
padding: .7rem .8rem;
|
|
text-align: right;
|
|
font-weight: 700;
|
|
font-size: .78rem;
|
|
white-space: nowrap;
|
|
border-bottom: 1px solid rgba(23,37,44,.08);
|
|
color: var(--text-muted);
|
|
letter-spacing: .01em;
|
|
text-transform: uppercase;
|
|
}
|
|
.results-table td, .props-table td {
|
|
padding: .65rem .8rem;
|
|
border-bottom: 1px solid rgba(23,37,44,.04);
|
|
vertical-align: middle;
|
|
}
|
|
.results-table tr:last-child td, .props-table tr:last-child td { border-bottom: none; }
|
|
.results-table tr:hover td, .props-table tr:hover td { background: rgba(13,148,136,.02); }
|
|
.prop-num { font-family: monospace; font-weight: 600; }
|
|
.row-num { color: var(--text-muted); font-size: .8rem; }
|
|
|
|
.props-table input {
|
|
border: 1px solid transparent;
|
|
border-radius: 10px;
|
|
padding: .3rem .4rem;
|
|
font-size: .85rem;
|
|
font-family: inherit;
|
|
direction: rtl;
|
|
width: 100%;
|
|
min-width: 80px;
|
|
background: transparent;
|
|
}
|
|
.props-table input:focus {
|
|
border-color: var(--primary);
|
|
background: white;
|
|
outline: none;
|
|
box-shadow: 0 0 0 2px rgba(26,86,219,.1);
|
|
}
|
|
.btn-del {
|
|
background: none;
|
|
border: none;
|
|
color: var(--danger);
|
|
cursor: pointer;
|
|
font-size: .9rem;
|
|
padding: .2rem .4rem;
|
|
border-radius: 4px;
|
|
}
|
|
.btn-del:hover { background: #fef2f2; }
|
|
|
|
/* ============================
|
|
Status Badges
|
|
============================ */
|
|
.status-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .3rem;
|
|
padding: .25rem .6rem;
|
|
border-radius: 8px;
|
|
font-size: .73rem;
|
|
font-weight: 700;
|
|
letter-spacing: .01em;
|
|
}
|
|
.status-confirmed { background: #d1fae5; color: #065f46; }
|
|
.status-extracted { background: #fef3c7; color: #92400e; }
|
|
.status-pending { background: #e0f2fe; color: #075985; }
|
|
.status-error { background: #fee2e2; color: #991b1b; }
|
|
|
|
/* ============================
|
|
Person Cards
|
|
============================ */
|
|
.persons-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
|
|
gap: 1rem;
|
|
margin-top: .75rem;
|
|
}
|
|
.person-card {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 18px;
|
|
padding: 1.1rem;
|
|
box-shadow: var(--shadow);
|
|
display: block;
|
|
color: var(--text);
|
|
transition: all var(--transition);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.person-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
width: 4px;
|
|
height: 100%;
|
|
background: linear-gradient(180deg, var(--primary), var(--primary-light));
|
|
opacity: 0;
|
|
transition: opacity var(--transition);
|
|
}
|
|
.person-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-3px); }
|
|
.person-card:hover::before { opacity: 1; }
|
|
.person-name { font-size: 1rem; font-weight: 600; margin-bottom: .3rem; }
|
|
.person-meta { font-size: .85rem; color: var(--text-muted); }
|
|
.person-reg { font-size: .8rem; color: var(--text-muted); margin-top: .2rem; font-family: monospace; }
|
|
.person-meta-alert { color: var(--danger); font-weight: 700; }
|
|
|
|
/* ============================
|
|
Person Detail
|
|
============================ */
|
|
.person-info-card {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.84));
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
border-radius: calc(var(--radius) + 2px);
|
|
padding: 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
|
|
gap: .75rem;
|
|
}
|
|
.info-item { display: flex; flex-direction: column; gap: .15rem; }
|
|
.info-label { font-size: .75rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; }
|
|
|
|
.docs-section { margin-top: 1.5rem; }
|
|
.docs-section h3 { font-size: 1rem; font-weight: 600; margin-bottom: .75rem; }
|
|
.doc-thumbnails { display: flex; flex-wrap: wrap; gap: .75rem; }
|
|
.doc-thumb {
|
|
display: block;
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
width: 120px;
|
|
text-align: center;
|
|
color: var(--text);
|
|
font-size: .75rem;
|
|
transition: box-shadow .15s;
|
|
}
|
|
.doc-thumb:hover { box-shadow: var(--shadow-md); text-decoration: none; }
|
|
.doc-thumb img { width: 100%; height: 90px; object-fit: cover; display: block; }
|
|
.doc-thumb-info { padding: .3rem; background: #f9fafb; line-height: 1.3; }
|
|
.doc-thumb-mini { width: 48px; height: 36px; object-fit: cover; border-radius: 4px; display: block; }
|
|
.doc-page-info { font-size: .7rem; color: var(--primary); font-weight: 500; }
|
|
|
|
/* ============================
|
|
Search
|
|
============================ */
|
|
.search-card {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.82));
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
border-radius: calc(var(--radius) + 2px);
|
|
padding: 1.25rem;
|
|
box-shadow: var(--shadow);
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.search-tabs {
|
|
display: inline-flex;
|
|
gap: .35rem;
|
|
margin-bottom: 1rem;
|
|
padding: .3rem;
|
|
background: rgba(245,239,231,.85);
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 14px;
|
|
}
|
|
.tab-btn {
|
|
padding: .55rem 1rem;
|
|
border: 1px solid transparent;
|
|
border-radius: 11px;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
font-size: .875rem;
|
|
font-family: inherit;
|
|
color: var(--text-muted);
|
|
font-weight: 600;
|
|
transition: all var(--transition);
|
|
}
|
|
.tab-btn:hover { color: var(--text); background: rgba(255,255,255,.6); }
|
|
.tab-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: white; border-color: var(--primary); box-shadow: 0 2px 8px rgba(13,148,136,.2); }
|
|
.search-row { display: flex; gap: .75rem; }
|
|
.search-input {
|
|
flex: 1;
|
|
border: 1px solid rgba(23,37,44,.1);
|
|
border-radius: 14px;
|
|
padding: .85rem 1.1rem;
|
|
font-size: 1rem;
|
|
font-family: inherit;
|
|
direction: rtl;
|
|
background: rgba(255,255,255,.95);
|
|
transition: all var(--transition);
|
|
}
|
|
.search-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(13,148,136,.1), 0 4px 16px rgba(13,148,136,.06); background: white; }
|
|
.search-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
|
|
gap: .75rem;
|
|
margin-bottom: .75rem;
|
|
}
|
|
.results-section { margin-bottom: 2rem; }
|
|
.results-section h2 { font-size: 1.1rem; font-weight: 700; margin-bottom: .85rem; }
|
|
.no-results { text-align: center; padding: 2rem; color: var(--text-muted); }
|
|
.person-actions {
|
|
margin-top: 1rem;
|
|
display: flex;
|
|
gap: .75rem;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
}
|
|
.centered-banner { justify-content: center; }
|
|
.banner-spaced { margin-top: 1rem; }
|
|
.ownership-alert td {
|
|
background: #fff3f3;
|
|
color: var(--danger);
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* ============================
|
|
Review page header
|
|
============================ */
|
|
.review-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 1rem;
|
|
flex-wrap: wrap;
|
|
gap: .75rem;
|
|
}
|
|
.review-title { display: flex; align-items: center; gap: .75rem; }
|
|
.review-title h2 { font-size: 1.25rem; }
|
|
.review-nav { display: flex; gap: .5rem; flex-wrap: wrap; }
|
|
|
|
/* ============================
|
|
Export Dropdown
|
|
============================ */
|
|
.export-dropdown {
|
|
position: relative;
|
|
display: inline-block;
|
|
}
|
|
.export-menu {
|
|
display: none;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 100%;
|
|
background: var(--surface-solid);
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
border-radius: 14px;
|
|
box-shadow: var(--shadow-md);
|
|
z-index: 100;
|
|
min-width: 200px;
|
|
margin-top: 6px;
|
|
overflow: hidden;
|
|
}
|
|
.export-menu.show { display: block; }
|
|
.export-option {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: .5rem;
|
|
padding: .65rem 1rem;
|
|
text-decoration: none;
|
|
color: var(--text);
|
|
font-size: .88rem;
|
|
border-bottom: 1px solid rgba(23,37,44,.04);
|
|
transition: background var(--transition);
|
|
}
|
|
.export-option:last-child { border-bottom: none; }
|
|
.export-option:hover { background: var(--surface-tint); text-decoration: none; }
|
|
|
|
/* ============================
|
|
Hamburger Toggle
|
|
============================ */
|
|
.nav-toggle {
|
|
display: none;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
gap: 4px;
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: .4rem;
|
|
z-index: 110;
|
|
}
|
|
.nav-toggle span {
|
|
display: block;
|
|
width: 22px;
|
|
height: 2.5px;
|
|
background: white;
|
|
border-radius: 2px;
|
|
transition: transform .25s, opacity .2s;
|
|
}
|
|
.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
|
|
.nav-toggle.active span:nth-child(2) { opacity: 0; }
|
|
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
|
|
|
|
.mobile-dock-link.active {
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
.mobile-dock-link.active .mobile-dock-icon {
|
|
background: var(--primary-soft);
|
|
color: var(--primary-dark);
|
|
}
|
|
|
|
@media print {
|
|
@page {
|
|
size: auto;
|
|
margin: 12mm;
|
|
}
|
|
|
|
body {
|
|
background: #fff !important;
|
|
color: #000;
|
|
}
|
|
|
|
a {
|
|
color: inherit !important;
|
|
text-decoration: none !important;
|
|
}
|
|
|
|
.page-backdrop,
|
|
.navbar,
|
|
.mobile-dock,
|
|
.nav-toggle,
|
|
.no-print,
|
|
.export-menu,
|
|
.export-dropdown,
|
|
.search-tabs,
|
|
.search-card {
|
|
display: none !important;
|
|
}
|
|
|
|
.main-content {
|
|
max-width: none;
|
|
padding: 0;
|
|
margin: 0;
|
|
}
|
|
|
|
.page-header,
|
|
.person-info-card,
|
|
.upload-card,
|
|
.form-section,
|
|
.admin-section,
|
|
.table-wrapper,
|
|
.quick-link-card {
|
|
background: #fff !important;
|
|
border: 1px solid #cfcfcf !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.page-header,
|
|
.person-info-card,
|
|
.table-wrapper,
|
|
.results-section,
|
|
.docs-section {
|
|
break-inside: avoid;
|
|
page-break-inside: avoid;
|
|
}
|
|
|
|
.page-header {
|
|
padding: 0 0 10px;
|
|
margin-bottom: 12px;
|
|
border: none !important;
|
|
border-bottom: 2px solid #000 !important;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.page-kicker,
|
|
.subtitle,
|
|
.person-reg,
|
|
.info-label {
|
|
color: #444 !important;
|
|
}
|
|
|
|
.table-wrapper {
|
|
overflow: visible;
|
|
border-radius: 0;
|
|
}
|
|
|
|
.results-table,
|
|
.props-table,
|
|
.responsive-table {
|
|
width: 100%;
|
|
border-collapse: collapse !important;
|
|
border-spacing: 0;
|
|
background: #fff !important;
|
|
font-size: 12px;
|
|
}
|
|
|
|
.responsive-table thead,
|
|
.results-table thead,
|
|
.props-table thead {
|
|
display: table-header-group !important;
|
|
}
|
|
|
|
.responsive-table tbody,
|
|
.responsive-table tr,
|
|
.responsive-table td {
|
|
display: table-row-group;
|
|
width: auto;
|
|
}
|
|
|
|
.responsive-table tr {
|
|
display: table-row !important;
|
|
margin: 0 !important;
|
|
background: transparent !important;
|
|
border: none !important;
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.responsive-table td,
|
|
.results-table td,
|
|
.props-table td,
|
|
.results-table th,
|
|
.props-table th {
|
|
display: table-cell !important;
|
|
padding: 6px 8px !important;
|
|
border: 1px solid #cfcfcf !important;
|
|
background: #fff !important;
|
|
color: #000 !important;
|
|
}
|
|
|
|
.results-table th,
|
|
.props-table th {
|
|
background: #f2f2f2 !important;
|
|
}
|
|
|
|
.responsive-table td::before {
|
|
display: none !important;
|
|
content: none !important;
|
|
}
|
|
|
|
.ownership-alert td,
|
|
.person-meta-alert {
|
|
color: #000 !important;
|
|
background: #fff !important;
|
|
}
|
|
}
|
|
|
|
/* ============================
|
|
Login Page
|
|
============================ */
|
|
.login-card {
|
|
max-width: 420px;
|
|
margin: 4rem auto;
|
|
background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.9));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 24px;
|
|
padding: 2.5rem 2rem;
|
|
box-shadow: var(--shadow-lg);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
backdrop-filter: blur(12px);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.login-card::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 4px;
|
|
background: linear-gradient(90deg, var(--primary), var(--primary-light), var(--accent));
|
|
}
|
|
.login-card h2 {
|
|
font-size: 1.4rem;
|
|
margin-bottom: 1.5rem;
|
|
text-align: center;
|
|
font-weight: 800;
|
|
}
|
|
.login-card .form-group {
|
|
margin-bottom: 1rem;
|
|
}
|
|
.login-card .form-group label {
|
|
font-size: .85rem;
|
|
font-weight: 600;
|
|
color: var(--text);
|
|
margin-bottom: .3rem;
|
|
display: block;
|
|
}
|
|
.login-card .form-group input {
|
|
width: 100%;
|
|
border: 1px solid rgba(23,37,44,.1);
|
|
border-radius: 12px;
|
|
padding: .8rem .9rem;
|
|
font-size: .95rem;
|
|
font-family: inherit;
|
|
direction: rtl;
|
|
background: var(--surface-tint);
|
|
transition: all var(--transition);
|
|
}
|
|
.login-card .form-group input:focus {
|
|
outline: none;
|
|
border-color: var(--primary);
|
|
box-shadow: 0 0 0 3px rgba(13,148,136,.1), 0 2px 8px rgba(13,148,136,.08);
|
|
background: white;
|
|
}
|
|
.login-submit { margin-top: .75rem; }
|
|
.login-logo {
|
|
text-align: center;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.login-logo-icon {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3.5rem;
|
|
height: 3.5rem;
|
|
border-radius: 16px;
|
|
background: linear-gradient(135deg, var(--primary), var(--primary-dark));
|
|
color: white;
|
|
box-shadow: 0 8px 24px rgba(13,148,136,.3);
|
|
}
|
|
.login-subtitle {
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
font-size: .88rem;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.login-error {
|
|
background: linear-gradient(135deg, #fef2f2, #fff5f5);
|
|
border: 1px solid #fecaca;
|
|
border-radius: 12px;
|
|
padding: .7rem .9rem;
|
|
margin-bottom: 1rem;
|
|
color: var(--danger);
|
|
font-size: .88rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* ============================
|
|
Admin / Users Page
|
|
============================ */
|
|
.admin-container {
|
|
max-width: 850px;
|
|
margin: 0 auto;
|
|
}
|
|
.admin-container h2 {
|
|
font-size: 1.35rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.admin-section {
|
|
background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.88));
|
|
border: 1px solid rgba(23,37,44,.06);
|
|
border-radius: 20px;
|
|
padding: 1.25rem;
|
|
margin-bottom: 1.25rem;
|
|
box-shadow: var(--shadow);
|
|
}
|
|
.admin-section h3 {
|
|
font-size: 1rem;
|
|
font-weight: 700;
|
|
margin-bottom: .5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: .5rem;
|
|
}
|
|
.section-icon {
|
|
vertical-align: -2px;
|
|
flex-shrink: 0;
|
|
}
|
|
.admin-section p {
|
|
color: var(--text-muted);
|
|
font-size: .9rem;
|
|
margin-bottom: .75rem;
|
|
}
|
|
.add-user-form {
|
|
display: flex;
|
|
gap: .75rem;
|
|
align-items: flex-end;
|
|
flex-wrap: wrap;
|
|
}
|
|
.add-user-form .form-group {
|
|
flex: 1;
|
|
min-width: 140px;
|
|
}
|
|
|
|
/* ============================
|
|
Document actions on mobile
|
|
============================ */
|
|
.doc-actions {
|
|
display: flex;
|
|
gap: .35rem;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.inline-form { display: inline; }
|
|
|
|
.responsive-table td[data-label]::before {
|
|
content: attr(data-label);
|
|
display: none;
|
|
}
|
|
|
|
/* ============================
|
|
Responsive — Tablet & Mobile
|
|
============================ */
|
|
@media (max-width: 768px) {
|
|
/* Navbar hamburger */
|
|
.nav-toggle { display: flex; }
|
|
.nav-container {
|
|
flex-wrap: wrap;
|
|
gap: .5rem;
|
|
}
|
|
.nav-links {
|
|
display: none;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
gap: 0;
|
|
padding-top: .75rem;
|
|
}
|
|
.nav-links.open {
|
|
display: flex;
|
|
}
|
|
.nav-link {
|
|
padding: .75rem .9rem;
|
|
border-top: 1px solid rgba(255,255,255,.12);
|
|
font-size: 1rem;
|
|
border-radius: 12px;
|
|
}
|
|
.nav-brand { font-size: 1rem; }
|
|
|
|
/* Layout */
|
|
.main-content {
|
|
padding: 1rem .75rem calc(5.75rem + env(safe-area-inset-bottom));
|
|
}
|
|
.page-header { flex-direction: column; gap: .75rem; padding: 1.1rem; }
|
|
.page-header h1 { font-size: 1.25rem; }
|
|
.header-actions { width: 100%; }
|
|
.header-actions .btn { flex: 1; }
|
|
|
|
.mobile-dock {
|
|
position: fixed;
|
|
right: .75rem;
|
|
left: .75rem;
|
|
bottom: max(.6rem, env(safe-area-inset-bottom));
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: .45rem;
|
|
padding: .55rem;
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
border-radius: 24px;
|
|
background: rgba(255,255,255,.92);
|
|
-webkit-backdrop-filter: blur(18px);
|
|
backdrop-filter: blur(18px);
|
|
box-shadow: 0 18px 40px rgba(23,37,44,.16);
|
|
z-index: 120;
|
|
}
|
|
.mobile-dock-link {
|
|
min-height: 58px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: .2rem;
|
|
border-radius: 16px;
|
|
color: var(--text-muted);
|
|
font-size: .72rem;
|
|
font-weight: 700;
|
|
text-decoration: none;
|
|
}
|
|
.mobile-dock-link:hover {
|
|
text-decoration: none;
|
|
}
|
|
.mobile-dock-icon {
|
|
width: 2rem;
|
|
height: 2rem;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
background: rgba(23,37,44,.06);
|
|
color: var(--text);
|
|
font-size: .95rem;
|
|
}
|
|
|
|
/* Stats */
|
|
.stats-bar { gap: .5rem; }
|
|
.stat { min-width: 75px; padding: .5rem .65rem; }
|
|
.stat-num { font-size: 1.15rem; }
|
|
.stats-bar .stat { flex: 1 1 calc(50% - .5rem); }
|
|
|
|
/* Quick links — single column */
|
|
.quick-links { grid-template-columns: 1fr; }
|
|
|
|
/* Upload card */
|
|
.upload-card { padding: 1rem; }
|
|
.drop-zone { padding: 1.5rem .75rem; }
|
|
.provider-options { flex-direction: column; }
|
|
.provider-card { min-width: auto; }
|
|
.person-actions { flex-direction: column; align-items: stretch; }
|
|
.doc-actions { gap: .5rem; }
|
|
|
|
/* Search */
|
|
.search-row { flex-direction: column; }
|
|
.search-input { width: 100%; }
|
|
.search-grid { grid-template-columns: 1fr 1fr; }
|
|
.search-tabs { display: flex; width: 100%; }
|
|
.tab-btn { flex: 1; }
|
|
|
|
.form-group input,
|
|
.form-group select,
|
|
.search-input,
|
|
.login-card .form-group input,
|
|
.props-table input {
|
|
font-size: 16px;
|
|
}
|
|
|
|
/* Forms */
|
|
.form-grid { grid-template-columns: 1fr; }
|
|
.form-actions { flex-direction: column; gap: .75rem; }
|
|
.form-actions .btn { width: 100%; justify-content: center; }
|
|
|
|
/* Tables — improve scroll hint */
|
|
.table-wrapper {
|
|
margin-inline: -.75rem;
|
|
border-radius: 0;
|
|
border-left: none;
|
|
border-right: none;
|
|
}
|
|
.table-wrapper-editable {
|
|
margin-inline: 0;
|
|
border-radius: calc(var(--radius) - 2px);
|
|
border-left: 1px solid rgba(23,37,44,.08);
|
|
border-right: 1px solid rgba(23,37,44,.08);
|
|
}
|
|
.results-table th, .results-table td,
|
|
.props-table th, .props-table td {
|
|
padding: .45rem .5rem;
|
|
font-size: .8rem;
|
|
}
|
|
|
|
/* Person cards */
|
|
.persons-grid { grid-template-columns: 1fr; }
|
|
.info-grid { grid-template-columns: 1fr 1fr; }
|
|
|
|
/* Review header */
|
|
.review-header { flex-direction: column; align-items: flex-start; }
|
|
.review-nav { width: 100%; flex-wrap: wrap; }
|
|
.review-title h2 { font-size: 1.1rem; }
|
|
|
|
/* Buttons */
|
|
.btn { padding: .55rem 1rem; font-size: .9rem; }
|
|
.btn-large { padding: .65rem 1.25rem; }
|
|
.btn-sm { padding: .35rem .6rem; }
|
|
.export-dropdown { width: 100%; }
|
|
.export-dropdown .btn { width: 100%; }
|
|
.export-menu {
|
|
left: 0;
|
|
right: 0;
|
|
min-width: 0;
|
|
}
|
|
|
|
/* Login */
|
|
.login-card { margin: 1.5rem .75rem; padding: 1.5rem; }
|
|
|
|
/* Admin */
|
|
.add-user-form { flex-direction: column; }
|
|
.add-user-form .form-group { width: 100%; }
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
html { font-size: 14px; }
|
|
.search-grid { grid-template-columns: 1fr; }
|
|
.info-grid { grid-template-columns: 1fr; }
|
|
.stat { min-width: 65px; padding: .4rem .5rem; }
|
|
.stat-num { font-size: 1rem; }
|
|
.stat-label { font-size: .7rem; }
|
|
.doc-thumbnails { gap: .5rem; }
|
|
.doc-thumb { width: 100px; }
|
|
.doc-thumb img { height: 70px; }
|
|
.stats-bar .stat { flex-basis: 100%; }
|
|
|
|
.responsive-table {
|
|
border-collapse: separate;
|
|
border-spacing: 0;
|
|
background: transparent;
|
|
}
|
|
.responsive-table thead {
|
|
display: none;
|
|
}
|
|
.responsive-table tbody,
|
|
.responsive-table tr,
|
|
.responsive-table td {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
.responsive-table tbody {
|
|
padding: .35rem .75rem .85rem;
|
|
}
|
|
.responsive-table tr {
|
|
margin-bottom: .75rem;
|
|
border: 1px solid rgba(23,37,44,.08);
|
|
border-radius: 18px;
|
|
background: rgba(255,255,255,.96);
|
|
box-shadow: 0 10px 24px rgba(23,37,44,.08);
|
|
overflow: hidden;
|
|
}
|
|
.responsive-table td {
|
|
display: grid;
|
|
grid-template-columns: minmax(92px, 110px) 1fr;
|
|
gap: .65rem;
|
|
align-items: center;
|
|
padding: .7rem .9rem;
|
|
text-align: right;
|
|
border-bottom: 1px solid rgba(23,37,44,.06);
|
|
}
|
|
.responsive-table td:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.responsive-table td[data-label]::before {
|
|
display: block;
|
|
color: var(--text-muted);
|
|
font-size: .76rem;
|
|
font-weight: 700;
|
|
}
|
|
.responsive-table .doc-actions,
|
|
.responsive-table td[data-label="الإجراءات"] {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: stretch;
|
|
gap: .5rem;
|
|
}
|
|
.responsive-table td[data-label="الإجراءات"]::before {
|
|
width: 100%;
|
|
}
|
|
.responsive-table .doc-actions .btn,
|
|
.responsive-table td[data-label="الإجراءات"] .btn,
|
|
.responsive-table td[data-label="الإجراءات"] .inline-form,
|
|
.responsive-table td[data-label="الإجراءات"] .inline-form .btn {
|
|
flex: 1 1 100%;
|
|
width: 100%;
|
|
}
|
|
.responsive-table .doc-thumb-mini {
|
|
width: 72px;
|
|
height: 54px;
|
|
}
|
|
.ownership-alert td {
|
|
background: transparent;
|
|
}
|
|
.ownership-alert {
|
|
border-color: #fecaca;
|
|
background: #fff8f8;
|
|
}
|
|
.mobile-dock {
|
|
right: .5rem;
|
|
left: .5rem;
|
|
gap: .35rem;
|
|
padding: .45rem;
|
|
}
|
|
.mobile-dock-link {
|
|
min-height: 54px;
|
|
font-size: .68rem;
|
|
}
|
|
}
|
|
|
|
/* ============================
|
|
Upload & Staging (mobile-first)
|
|
============================ */
|
|
.desktop-only { display: block; }
|
|
.mobile-only { display: none; }
|
|
@media (max-width: 640px) {
|
|
.desktop-only { display: none !important; }
|
|
.mobile-only { display: block !important; }
|
|
}
|
|
|
|
/* ── Capture buttons (empty state) ── */
|
|
.upload-empty-state {
|
|
padding: 1.5rem .5rem;
|
|
text-align: center;
|
|
transition: var(--transition);
|
|
}
|
|
.upload-empty-state.drag-over {
|
|
background: var(--primary-soft);
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
.capture-buttons {
|
|
display: flex;
|
|
gap: 1rem;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.capture-btn {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: .6rem;
|
|
padding: 1.5rem 2rem;
|
|
border-radius: var(--radius);
|
|
background: var(--surface-tint);
|
|
border: 2px dashed var(--border);
|
|
cursor: pointer;
|
|
transition: var(--transition);
|
|
color: var(--text);
|
|
font-size: .95rem;
|
|
font-weight: 500;
|
|
min-width: 160px;
|
|
}
|
|
.capture-btn:hover, .capture-btn:active {
|
|
border-color: var(--primary);
|
|
background: var(--primary-soft);
|
|
}
|
|
.capture-btn svg { stroke: var(--primary); }
|
|
.capture-btn-camera { border-color: var(--primary-light); }
|
|
.upload-hint {
|
|
font-size: .82rem;
|
|
color: var(--text-muted);
|
|
margin-top: .5rem;
|
|
}
|
|
|
|
/* ── Mobile: big touch targets ── */
|
|
@media (max-width: 640px) {
|
|
.capture-buttons {
|
|
flex-direction: row;
|
|
gap: .75rem;
|
|
}
|
|
.capture-btn {
|
|
flex: 1;
|
|
min-width: 0;
|
|
padding: 1.2rem .75rem;
|
|
font-size: .88rem;
|
|
}
|
|
.capture-btn svg { width: 28px; height: 28px; }
|
|
}
|
|
|
|
/* ── Gallery grid ── */
|
|
.staging-gallery {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
|
|
gap: .6rem;
|
|
margin-bottom: .75rem;
|
|
transition: var(--transition);
|
|
}
|
|
.staging-gallery.drag-over {
|
|
outline: 2px dashed var(--primary);
|
|
outline-offset: 4px;
|
|
border-radius: var(--radius-sm);
|
|
}
|
|
@media (max-width: 640px) {
|
|
.staging-gallery {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: .5rem;
|
|
}
|
|
}
|
|
.staging-thumb {
|
|
position: relative;
|
|
border-radius: var(--radius-sm);
|
|
overflow: hidden;
|
|
background: var(--surface-tint);
|
|
border: 2px solid var(--border);
|
|
aspect-ratio: 3/4;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: var(--transition);
|
|
}
|
|
.staging-thumb.loading { opacity: .6; }
|
|
.staging-thumb.removing { opacity: 0; transform: scale(.9); }
|
|
.staging-thumb img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
.staging-thumb-name {
|
|
font-size: .68rem;
|
|
color: var(--text-muted);
|
|
padding: .2rem .3rem;
|
|
text-align: center;
|
|
position: absolute;
|
|
bottom: 0; left: 0; right: 0;
|
|
background: rgba(255,255,255,.85);
|
|
backdrop-filter: blur(4px);
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.staging-remove {
|
|
position: absolute;
|
|
top: 4px;
|
|
left: 4px;
|
|
width: 28px;
|
|
height: 28px;
|
|
border-radius: 50%;
|
|
border: none;
|
|
background: rgba(220,38,38,.9);
|
|
color: #fff;
|
|
font-size: 1.2rem;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
opacity: 1; /* always visible on mobile */
|
|
transition: opacity .15s;
|
|
}
|
|
@media (pointer: fine) {
|
|
.staging-remove { opacity: 0; }
|
|
.staging-thumb:hover .staging-remove { opacity: 1; }
|
|
}
|
|
|
|
.staging-thumb-spinner {
|
|
width: 24px; height: 24px;
|
|
border: 3px solid var(--border);
|
|
border-top-color: var(--primary);
|
|
border-radius: 50%;
|
|
animation: spin .7s linear infinite;
|
|
}
|
|
@keyframes spin { to { transform: rotate(360deg); } }
|
|
|
|
/* ── Add more bar ── */
|
|
.add-more-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: .6rem;
|
|
flex-wrap: wrap;
|
|
padding: .5rem 0;
|
|
margin-bottom: .5rem;
|
|
}
|
|
.add-more-btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: .4rem;
|
|
padding: .55rem 1rem;
|
|
border-radius: var(--radius-sm);
|
|
background: var(--surface-tint);
|
|
border: 1.5px solid var(--border);
|
|
cursor: pointer;
|
|
font-size: .85rem;
|
|
font-weight: 500;
|
|
color: var(--text);
|
|
transition: var(--transition);
|
|
}
|
|
.add-more-btn:hover, .add-more-btn:active {
|
|
border-color: var(--primary);
|
|
background: var(--primary-soft);
|
|
}
|
|
.add-more-btn svg { stroke: var(--primary); flex-shrink: 0; }
|
|
.staging-count-inline {
|
|
margin-inline-start: auto;
|
|
font-weight: 600;
|
|
color: var(--primary-dark);
|
|
font-size: .9rem;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.add-more-bar {
|
|
position: sticky;
|
|
bottom: 72px; /* above mobile dock */
|
|
background: rgba(248,246,241,.95);
|
|
backdrop-filter: blur(8px);
|
|
-webkit-backdrop-filter: blur(8px);
|
|
padding: .6rem .75rem;
|
|
margin: 0 -1rem;
|
|
border-top: 1px solid var(--border);
|
|
z-index: 10;
|
|
}
|
|
.add-more-btn {
|
|
padding: .65rem .85rem;
|
|
font-size: .82rem;
|
|
}
|
|
}
|
|
|
|
/* ── Actions / process bar ── */
|
|
.staging-actions { margin-top: .75rem; }
|
|
.stage-action-buttons {
|
|
display: flex;
|
|
gap: .5rem;
|
|
justify-content: center;
|
|
margin-top: .75rem;
|
|
}
|
|
.btn-process { position: relative; }
|
|
.btn-process-count {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-width: 22px; height: 22px;
|
|
background: #fff;
|
|
color: var(--primary-dark);
|
|
border-radius: 99px;
|
|
font-size: .75rem;
|
|
font-weight: 700;
|
|
margin-inline-start: .5rem;
|
|
padding: 0 .35rem;
|
|
}
|
|
|
|
@media (max-width: 640px) {
|
|
.staging-actions {
|
|
position: sticky;
|
|
bottom: 0;
|
|
background: rgba(248,246,241,.97);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
padding: .75rem;
|
|
margin: 0 -1rem;
|
|
border-top: 1px solid var(--border);
|
|
z-index: 11;
|
|
}
|
|
.stage-action-buttons {
|
|
flex-direction: column;
|
|
gap: .5rem;
|
|
}
|
|
.stage-action-buttons .btn {
|
|
width: 100%;
|
|
justify-content: center;
|
|
min-height: 52px;
|
|
font-size: 1rem;
|
|
}
|
|
}
|