Py-detect / src /app /case-details-page /case-details-page.component.css
RajalashmiNagarajan
adminpage update
86b4aeb
@import '../recordpage/recordpage.component.css';
/* ===== CSS Variables & Reset ===== */
:root {
--primary-blue: #1E3A8A;
--primary-blue-light: #2563eb;
--accent-green: #22c55e;
--accent-red: #ef4444;
--accent-purple: #7c3aed;
--text-dark: #1f2937;
--text-light: #6b7280;
--border-color: #e5e7eb;
--bg-light: #f8fafc;
--bg-white: #ffffff;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html, body {
height: 100%;
width: 100%;
overflow: hidden;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background: #f4f6fa;
}
/* ===== App Container ===== */
.app-container {
display: flex;
flex-direction: column;
height: 100vh;
width: 100%;
overflow: hidden;
}
/* ===== Header Styles ===== */
.site-header {
background: linear-gradient(135deg, #011329 0%, #0a2540 100%);
box-shadow: 0 15px 20px -5px rgba(0, 0, 0, 0.1), 0 6px 8px -4px rgba(0, 0, 0, 0.1);
height: 60px;
flex-shrink: 0;
position: sticky;
top: 0;
z-index: 1000;
transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
-webkit-backdrop-filter: blur(8px);
backdrop-filter: blur(8px);
background: rgba(1, 19, 41, 0.95);
}
.site-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(1, 19, 41, 0.95) 100%);
z-index: -1;
}
.header-inner {
display: flex;
align-items: center;
justify-content: space-between;
height: 100%;
padding: 0 32px;
max-width: 1400px;
margin: 0 auto;
width: 100%;
}
.logo-cluster {
display: flex;
align-items: center;
gap: 12px;
}
.logo-img-header {
width: 48px;
height: 48px;
border-radius: 50%;
background: white;
padding: 6px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
cursor: pointer;
transition: transform 0.2s;
}
.logo-img-header:hover {
transform: scale(1.05);
}
.py-detect-title-header {
font-size: 28px;
font-weight: 900;
letter-spacing: 3px;
color: #38bdf8;
display: flex;
align-items: center;
gap: 2px;
}
.py-detect-title-header .py-letter.p,
.py-detect-title-header .py-letter.d,
.py-detect-title-header .py-letter.t,
.py-detect-title-header .py-letter.c {
color: #e3f6ff;
text-shadow: 0 0 6px #38bdf8;
}
.py-detect-title-header .py-letter.y,
.py-detect-title-header .py-letter.e,
.py-detect-title-header .py-letter.e2,
.py-detect-title-header .py-letter.t2 {
color: #38bdf8;
text-shadow: 0 0 6px #38bdf8;
}
.py-shape {
display: inline-block;
width: 16px;
height: 4px;
background: #e3f6ff;
margin: 0 6px;
border-radius: 2px;
box-shadow: 0 0 6px #38bdf8;
}
.header-actions-right {
display: flex;
align-items: center;
gap: 12px;
}
.back-small {
font-weight: 600;
font-size: 11px;
padding: 6px 12px;
border-radius: 6px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(8px);
background: white;
color: #374151;
border: 1px solid #d1d5db;
}
.back-small:hover {
background: #f9fafb;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.logout-btn {
font-weight: 600;
font-size: 11px;
padding: 6px 12px;
border-radius: 6px;
border: none;
cursor: pointer;
display: flex;
align-items: center;
gap: 6px;
transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
backdrop-filter: blur(8px);
background: linear-gradient(135deg, #ef4444, #dc2626);
color: white;
}
.logout-btn:hover {
background: linear-gradient(135deg, #dc2626, #ef4444);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}
.logout-icon {
font-size: 16px;
}
/* ===== Main Content Area ===== */
.main-content {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}
.content-container {
flex: 1;
overflow: hidden;
padding: 20px;
max-width: 1882px;
margin: 0 auto;
width: 100%;
}
/* ===== Record Card ===== */
.record-card {
background: white;
border-radius: 12px;
box-shadow: rgba(0, 0, 0, 0.19) 0px 10px 20px, rgba(0, 0, 0, 0.23) 0px 6px 6px;
overflow: hidden;
display: flex;
flex-direction: column;
height: 90%;
min-height: 0;
width: 96vw;
margin-left: 1px;
margin-top: 6px;
}
/* ===== Analytics Blue Section ===== */
.analytics-blue {
background: #1E3A8A;
padding: 20px 32px;
flex-shrink: 0;
}
.record-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.record-title-group {
display: flex;
align-items: center;
gap: 16px;
}
.record-title {
font-size: 20px;
font-weight: 700;
color: white;
display: flex;
align-items: center;
gap: 10px;
}
.record-title i {
font-size: 18px;
color: #38bdf8;
}
.record-header-actions {
display: flex;
align-items: center;
gap: 16px;
}
.record-search {
width: 280px;
padding: 10px 16px 10px 42px;
border-radius: 6px;
border: 1px solid rgba(255, 255, 255, 0.3);
background: rgba(255, 255, 255, 0.1);
color: white;
font-size: 14px;
transition: all 0.3s;
}
.record-search:focus {
outline: none;
border-color: #38bdf8;
background: rgba(255, 255, 255, 0.15);
box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}
.record-search::placeholder {
color: rgba(255, 255, 255, 0.7);
}
.analytics-cards {
display: flex;
gap: 20px;
flex-shrink: 0;
}
.summary-card {
flex: 1;
background: rgba(255, 255, 255, 0.95);
border-radius: 10px;
padding: 18px;
display: flex;
justify-content: space-between;
align-items: center;
transition: all 0.3s;
cursor: pointer;
border: 1px solid rgba(255, 255, 255, 0.2);
backdrop-filter: blur(10px);
min-height: 85px;
}
.summary-card:hover {
transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.summary-left {
display: flex;
flex-direction: column;
}
.summary-label {
font-size: 18px;
font-weight: 900;
color: #6b7280;
text-transform: uppercase;
letter-spacing: 1px;
margin-bottom: 6px;
}
.summary-value {
font-size: 30px;
font-weight: 700;
font-family: 'Segoe UI', sans-serif;
line-height: 1;
}
.summary-value.blue {
color: #2563eb;
}
.summary-value.green {
color: #22c55e;
}
.summary-value.red {
color: #ef4444;
}
.summary-icon {
width: 42px;
height: 42px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 18px;
color: white;
}
.summary-card.total .summary-icon {
background: linear-gradient(135deg, #1E3A8A, #1e40af);
}
.summary-card.open .summary-icon {
background: linear-gradient(135deg, #16a34a, #15803d);
}
.summary-card.closed .summary-icon {
background: linear-gradient(135deg, #dc2626, #b91c1c);
}
.summary-card.review .summary-icon {
background: linear-gradient(135deg, #f59e0b, #d97706);
}
/* ===== Record Meta ===== */
.record-meta {
padding: 14px 32px;
background: #f8fafc;
border-bottom: 1px solid var(--border-color);
color: #6b7280;
font-size: 14px;
font-weight: 500;
flex-shrink: 0;
}
/* ===== Filter Bar ===== */
.filter-bar {
display: flex;
align-items: center;
gap: 16px;
padding: 16px 32px;
background: #f8fafc;
border-bottom: 1px solid var(--border-color);
flex-shrink: 0;
flex-wrap: wrap;
}
.filter-bar select {
padding: 9px 16px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
font-weight: 500;
min-width: 150px;
cursor: pointer;
transition: all 0.2s;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.filter-bar select:focus {
outline: none;
border-color: #2563eb;
box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.filter-bar button {
padding: 9px 18px;
border-radius: 6px;
border: none;
font-size: 14px;
font-weight: 600;
cursor: pointer;
display: flex;
align-items: center;
gap: 8px;
transition: all 0.2s;
background: #2563eb;
color: white;
}
.filter-bar button:hover {
background: #1d4ed8;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.filter-bar button:last-of-type {
background: #E5E7EB;
color: #374151;
border: 1px solid #D1D5DB;
}
.filter-bar button:last-of-type:hover {
background: #D1D5DB;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(107, 114, 128, 0.2);
}
/* ===== Table Container ===== */
.table-container {
flex: 1;
overflow: hidden;
display: flex;
flex-direction: column;
min-height: 0;
}
.table-wrapper {
flex: 1;
overflow: auto;
padding: 15px 32px;
background: white;
}
.table-wrapper::-webkit-scrollbar {
width: 8px;
height: 8px;
}
.table-wrapper::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb {
background: #c1c1c1;
border-radius: 4px;
}
.table-wrapper::-webkit-scrollbar-thumb:hover {
background: #a8a8a8;
}
.record-table {
width: 100%;
border-collapse: separate;
border-spacing: 0;
background: white;
min-height: 118px;
}
.record-table thead {
position: sticky;
top: 0;
z-index: 10;
background: #f8fafc;
}
.record-table th {
padding: 18px 16px;
text-align: left;
font-weight: 600;
color: #374151;
font-size: 13px;
border-bottom: 2px solid var(--border-color);
white-space: nowrap;
position: relative;
cursor: pointer;
user-select: none;
}
.record-table th:hover {
background: #f1f5f9;
}
.record-table td {
padding: 16px 16px;
border-bottom: 1px solid var(--border-color);
color: #374151;
font-size: 14px;
white-space: nowrap;
}
.record-table tbody tr {
transition: background 0.2s;
}
.record-table tbody tr:hover {
background: #f8fafc;
}
/* Sort arrows */
.sort {
position: absolute;
right: 16px;
top: 50%;
transform: translateY(-50%);
width: 0;
height: 0;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
opacity: 0.5;
}
.sort.asc {
border-bottom: 8px solid #374151;
}
.sort.desc {
border-top: 8px solid #374151;
}
.sort.neutral {
border-top: 8px solid #9ca3af;
}
/* Case ID link */
.mono a {
color: #2563eb;
text-decoration: none;
font-weight: 600;
cursor: pointer;
transition: color 0.2s;
}
.mono a:hover {
color: #1d4ed8;
text-decoration: underline;
}
/* Priority pills */
.priority-pill {
display: inline-flex;
align-items: center;
font-weight: bold;
font-size: 12px;
padding: 4px 12px;
border-radius: 20px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.priority-high {
background: #fee2e2;
color: #b91c1c;
}
.priority-medium {
background: #fef9c3;
color: #ca8a04;
}
.priority-low {
background: #dcfce7;
color: #15803d;
}
/* Status labels */
.status-label {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 6px 14px;
border-radius: 20px;
font-size: 13px;
font-weight: 600;
min-width: 110px;
justify-content: center;
}
.status-open {
background: #dcfce7;
color: #166534;
}
.status-under {
background: #fef3c7;
color: #92400e;
}
.status-closed {
background: #fee2e2;
color: #991b1b;
}
/* Progress indicators */
.progress-col {
text-align: left;
min-width: 90px;
}
.progress-dot {
width: 12px;
height: 12px;
border-radius: 50%;
display: inline-block;
margin-right: 8px;
vertical-align: middle;
}
.progress-dot.blue {
background: linear-gradient(135deg, #2563eb, #38bdf8);
}
.progress-dot.green {
background: linear-gradient(135deg, #34d399, #6ee7b7);
}
.progress-check {
font-size: 14px;
color: #34d399;
background: #d1fae5;
border-radius: 4px;
padding: 2px 6px;
display: inline-block;
margin-right: 8px;
vertical-align: middle;
}
.progress-value {
font-weight: 600;
font-size: 14px;
color: #374151;
vertical-align: middle;
}
/* Action buttons */
.actions {
display: flex;
gap: 8px;
align-items: center;
}
.icon-btn {
width: 34px;
height: 34px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
position: relative;
}
.icon-btn.view {
color: #2563eb;
border-color: #dbeafe;
}
.icon-btn.view:hover {
background: #dbeafe;
border-color: #2563eb;
}
.icon-btn.upload {
color: #7c3aed;
border-color: #ede9fe;
}
.icon-btn.upload:hover {
background: #ede9fe;
border-color: #7c3aed;
}
.detect-btn {
background: linear-gradient(135deg, #1976d2, #38bdf8);
color: white;
border: none;
border-radius: 6px;
font-weight: 600;
font-size: 14px;
padding: 8px 16px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.2s;
position: relative;
overflow: hidden;
}
.detect-btn:hover:not(:disabled) {
background: linear-gradient(135deg, #1565c0, #2563eb);
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.detect-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Empty state */
.empty {
text-align: center;
padding: 60px 20px;
color: #9ca3af;
font-size: 16px;
background: white;
}
/* ===== Pagination Controls ===== */
/*.pagination-controls {
display: flex;
justify-content: center;
align-items: center;
margin: 20px 0;
gap: 10px;
}
.pagination-controls button {
border: none;
background: #f3f4f6;
color: #333;
border-radius: 8px;
padding: 0 16px;
min-width: 40px;
min-height: 40px;
font-size: 14px;
font-weight: 500;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
transition: background 0.2s, color 0.2s, transform 0.2s;
cursor: pointer;
outline: none;
}
.pagination-controls button:hover:not(:disabled),
.pagination-controls button:focus:not(:disabled) {
background: #e3eafe;
color: #1976d2;
transform: scale(1.08);
}
.pagination-controls button.active {
background: #1976d2;
color: #fff;
font-weight: bold;
box-shadow: 0 0 0 2px #90caf9;
}
.pagination-controls span {
font-size: 14px;
color: #888;
padding: 0 8px;
}*/
/* ===== Bottom Controls ===== */
/*.bottom-controls {
display: flex;
justify-content: flex-start;
align-items: center;
padding: 16px 32px;
background: #f8fafc;
border-top: 1px solid var(--border-color);
flex-shrink: 0;
gap: 24px;
}
.results-info {
display: flex;
align-items: center;
gap: 8px;
color: #6b7280;
font-size: 14px;
font-weight: 500;
}
.page-size-selector {
display: flex;
align-items: center;
gap: 8px;
color: #6b7280;
font-size: 14px;
}
.page-size-selector select {
padding: 6px 12px;
border-radius: 4px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
cursor: pointer;*/
/* }*/
/* ===== Bottom Controls ===== */
.bottom-controls {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 32px;
background: #f8fafc;
border-top: 1px solid var(--border-color);
flex-shrink: 0;
}
.results-summary {
display: flex;
align-items: center;
gap: 20px;
}
.results-info {
display: flex;
align-items: center;
gap: 8px;
color: #6b7280;
font-size: 14px;
font-weight: 500;
}
.results-info i {
color: #2563eb;
}
.page-size-selector {
display: flex;
align-items: center;
gap: 8px;
color: #6b7280;
font-size: 14px;
}
.page-size-selector select {
padding: 6px 12px;
border-radius: 4px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
cursor: pointer;
}
.pagination-controls {
display: flex;
align-items: center;
gap: 6px;
}
.page-btn {
width: 34px;
height: 34px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: white;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s;
color: #374151;
}
.page-btn:hover:not(:disabled) {
background: #f3f4f6;
border-color: #9ca3af;
}
.page-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.page-numbers {
display: flex;
align-items: center;
gap: 4px;
}
.page-number {
min-width: 32px;
height: 32px;
padding: 0 8px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.page-number:hover {
background: #f3f4f6;
}
.page-number.active {
background: #2563eb;
color: white;
border-color: #2563eb;
}
.page-ellipsis {
padding: 0 8px;
color: #9ca3af;
font-size: 14px;
}
/* ===== Evidence Upload Section ===== */
.evidence-upload-section {
margin-top: 32px;
padding: 24px 32px;
background: #f8fafc;
border-radius: 12px;
border: 1px solid var(--border-color);
}
.evidence-upload-section h3 {
margin-bottom: 20px;
font-size: 18px;
font-weight: 600;
color: #374151;
display: flex;
align-items: center;
gap: 10px;
}
.evidence-upload-section h3 i {
color: #2563eb;
}
.evidence-list {
margin-top: 16px;
}
.evidence-file {
display: flex;
align-items: center;
padding: 12px 16px;
background: white;
border-radius: 8px;
border: 1px solid var(--border-color);
margin-bottom: 8px;
transition: all 0.2s;
}
.evidence-file:hover {
background: #f9fafb;
border-color: #d1d5db;
}
.evidence-file i {
margin-right: 12px;
color: #2563eb;
font-size: 16px;
}
.evidence-title {
font-size: 16px;
font-weight: 600;
color: #374151;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 10px;
}
.evidence-type-tabs {
display: flex;
gap: 12px;
margin-bottom: 20px;
}
.evidence-type-tabs button {
padding: 8px 20px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.evidence-type-tabs button.active,
.evidence-type-tabs button:hover {
background: #2563eb;
color: white;
border-color: #2563eb;
}
.evidence-actions {
margin-bottom: 20px;
}
.evidence-file-label {
display: inline-flex;
align-items: center;
gap: 10px;
padding: 10px 20px;
background: #2563eb;
color: white;
border-radius: 6px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.evidence-file-label:hover {
background: #1d4ed8;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}
.evidence-list-block {
background: white;
border-radius: 8px;
border: 1px solid var(--border-color);
padding: 20px;
}
.evidence-list-title {
font-size: 16px;
font-weight: 600;
color: #374151;
margin-bottom: 16px;
padding-bottom: 12px;
border-bottom: 2px solid var(--border-color);
}
.evidence-file-row {
display: flex;
align-items: center;
padding: 12px 16px;
border-bottom: 1px solid var(--border-color);
}
.evidence-file-row:last-child {
border-bottom: none;
}
.evidence-file-icon {
margin-right: 12px;
color: #2563eb;
font-size: 16px;
width: 24px;
text-align: center;
}
.evidence-file-name {
flex: 1;
color: #374151;
font-size: 14px;
font-weight: 500;
}
.evidence-view-link {
color: #2563eb;
text-decoration: none;
font-size: 14px;
font-weight: 500;
transition: color 0.2s;
}
.evidence-view-link:hover {
color: #1d4ed8;
text-decoration: underline;
}
.evidence-hr {
margin: 20px 0;
border: none;
border-top: 1px solid var(--border-color);
}
/* ===== Full-page Overlay Styles ===== */
.fullpage-popup-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.5);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 40px;
overflow: auto;
}
body.popup-open {
overflow: hidden !important;
}
.fullpage-popup-content {
background: white;
border-radius: 12px;
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
max-width: 1200px;
width: 100%;
max-height: 90vh;
overflow: auto;
padding: 32px;
position: relative;
}
.case-details-title {
font-size: 24px;
font-weight: 700;
color: #1f2937;
margin-bottom: 32px;
padding-bottom: 16px;
border-bottom: 2px solid var(--border-color);
display: flex;
justify-content: space-between;
align-items: center;
}
/* ===== Details Section Cards ===== */
.details-sections {
display: flex;
flex-direction: column;
gap: 24px;
margin-bottom: 32px;
}
.details-section-card {
background: white;
border-radius: 10px;
border: 1px solid var(--border-color);
padding: 24px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.section-title {
font-size: 18px;
font-weight: 600;
color: #1f2937;
margin-bottom: 20px;
padding-bottom: 12px;
border-bottom: 2px solid #e5e7eb;
display: flex;
align-items: center;
gap: 10px;
}
.subgroup-pills {
display: flex;
gap: 12px;
margin-bottom: 24px;
flex-wrap: wrap;
}
.subgroup-pills button {
padding: 8px 20px;
border-radius: 20px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.subgroup-pills button.active,
.subgroup-pills button:hover {
background: #2563eb;
color: white;
border-color: #2563eb;
}
.fields-table-2col {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
}
.fields-col {
display: flex;
flex-direction: column;
gap: 16px;
}
.field-label {
font-size: 14px;
font-weight: 600;
color: #6b7280;
margin-bottom: 4px;
}
.field-value {
font-size: 15px;
font-weight: 500;
color: #1f2937;
line-height: 1.5;
}
.raw-formdata-table {
background: #f9fafb;
border-radius: 8px;
border: 1px solid var(--border-color);
padding: 20px;
max-height: 400px;
overflow: auto;
}
.raw-formdata-table table {
width: 100%;
border-collapse: collapse;
}
.raw-formdata-table tr {
border-bottom: 1px solid #e5e7eb;
}
.raw-formdata-table tr:last-child {
border-bottom: none;
}
.raw-formdata-table td {
padding: 12px 16px;
vertical-align: top;
}
.raw-formdata-table td:first-child {
font-weight: 600;
color: #374151;
width: 35%;
background: #f3f4f6;
}
.raw-formdata-table td:last-child {
background: white;
}
.raw-formdata-table pre {
margin: 0;
font-family: inherit;
font-size: 13px;
line-height: 1.5;
white-space: pre-wrap;
word-break: break-word;
}
.small-btn {
padding: 8px 16px;
border-radius: 6px;
border: 1px solid var(--border-color);
background: white;
color: #374151;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s;
}
.small-btn:hover {
background: #f3f4f6;
border-color: #9ca3af;
}
/* ===== Footer ===== */
footer {
background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(1, 19, 41, 0.95) 100%);
color: #fff;
text-align: center;
padding: 12px 0;
position: fixed;
bottom: 0;
left: 0;
width: 100%;
z-index: 1000;
}
/* ===== Responsive Design ===== */
@media (max-width: 1200px) {
.header-inner,
.analytics-blue,
.record-meta,
.filter-bar,
.table-wrapper,
.bottom-controls {
padding-left: 24px;
padding-right: 24px;
}
.content-container {
padding: 16px;
}
.fullpage-popup-content {
padding: 24px;
}
}
@media (max-width: 992px) {
.analytics-cards {
flex-direction: column;
gap: 16px;
}
.record-header {
flex-direction: column;
align-items: stretch;
gap: 16px;
}
.record-header-actions {
width: 100%;
}
.record-search {
width: 100%;
}
.filter-bar {
gap: 12px;
}
.filter-bar select {
flex: 1;
min-width: 120px;
}
.table-wrapper {
padding: 0 16px;
overflow-x: auto;
}
.record-table {
min-width: 1200px;
}
.fields-table-2col {
grid-template-columns: 1fr;
gap: 16px;
}
}
@media (max-width: 768px) {
.header-inner {
padding: 0 16px;
flex-direction: column;
height: auto;
padding: 12px 16px;
gap: 12px;
}
.py-detect-title-header {
font-size: 22px;
letter-spacing: 2px;
}
.header-actions-right {
width: 100%;
justify-content: space-between;
}
.analytics-blue,
.record-meta,
.filter-bar,
.table-wrapper,
.bottom-controls {
padding-left: 16px;
padding-right: 16px;
}
.summary-value {
font-size: 22px;
}
.summary-icon {
width: 40px;
height: 40px;
font-size: 18px;
}
.bottom-controls {
flex-direction: column;
gap: 16px;
align-items: stretch;
}
.pagination-controls {
width: 100%;
justify-content: center;
}
.actions {
flex-direction: column;
gap: 4px;
}
.icon-btn,
.detect-btn {
width: 32px;
height: 32px;
font-size: 12px;
}
.fullpage-popup-overlay {
padding: 20px;
}
.fullpage-popup-content {
padding: 20px;
}
.case-details-title {
font-size: 20px;
}
.section-title {
font-size: 16px;
}
}
@media (max-width: 480px) {
.py-detect-title-header {
font-size: 18px;
letter-spacing: 1px;
}
.header-actions-right {
flex-direction: column;
gap: 8px;
}
.summary-card {
padding: 16px;
}
.summary-value {
font-size: 20px;
}
.summary-icon {
width: 36px;
height: 36px;
font-size: 16px;
}
.filter-bar {
flex-direction: column;
align-items: stretch;
}
.filter-bar select,
.filter-bar button {
width: 100%;
}
.subgroup-pills {
flex-direction: column;
align-items: stretch;
}
.subgroup-pills button {
width: 100%;
text-align: center;
}
}