bbox_model / ap.css
jkushwaha's picture
Create ap.css
6be76da verified
Raw
History Blame Contribute Delete
58.2 kB
/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
font-size: 14px;
background: #f0f2f5;
color: #1a1a2e;
min-height: 100vh;
}
.app { display: flex; flex-direction: column; min-height: 100vh; }
/* ── Header ── */
.app-header {
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
color: #fff;
padding: 14px 28px;
box-shadow: 0 2px 12px rgba(0,0,0,0.3);
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
flex-wrap: wrap;
position: sticky;
top: 0;
z-index: 100;
}
.header-left h1 { font-size: 1.25rem; font-weight: 700; }
.header-sub { margin-top: 3px; color: rgba(255,255,255,0.55); font-size: 12px; }
/* ── Brand Title ── */
.brand-title {
display: flex; align-items: center; gap: 12px;
}
.brand-icon {
width: 44px; height: 44px; border-radius: 11px; flex-shrink: 0;
background: linear-gradient(135deg, #4f86c6 0%, #9b73c8 100%);
color: #fff; font-size: 12px; font-weight: 900;
display: flex; align-items: center; justify-content: center;
letter-spacing: 1.5px;
box-shadow: 0 4px 14px rgba(79,134,198,0.45), inset 0 1px 0 rgba(255,255,255,0.2);
}
.brand-logo { width: 44px; height: 44px; border-radius: 11px; object-fit: contain; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main {
font-size: 1.25rem; font-weight: 800; letter-spacing: 0.2px;
background: linear-gradient(100deg, #ffffff 0%, #b8d4f4 60%, #d4b8f4 100%);
-webkit-background-clip: text; -webkit-text-fill-color: transparent;
background-clip: text;
}
.brand-sub {
margin-top: 4px; font-size: 10px; font-weight: 600;
letter-spacing: 3px; text-transform: uppercase;
color: rgba(255,255,255,0.45);
}
.header-right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
/* ── Profile menu ── */
.profile-menu-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.logged-in-label {
font-size: 13px;
color: #555;
white-space: nowrap;
text-align: right;
line-height: 1.4;
background: #f0f2f7;
border: 1px solid #dde1ec;
border-radius: 20px;
padding: 5px 16px;
letter-spacing: 0.01em;
min-width: 180px;
}
.logged-in-label strong { color: #2c3e6b; font-weight: 700; }
.role-badge { display: inline-block; font-size: 11px; font-weight: 700; border-radius: 10px; padding: 2px 8px; text-transform: capitalize; vertical-align: middle; }
.ticket-level-badge { display: inline-block; font-size: 10px; font-weight: 700; border-radius: 8px; padding: 2px 7px; white-space: nowrap; }
.ticket-level-badge.level-I { background: #fde8e8; color: #c0392b; }
.ticket-level-badge.level-II { background: #e8f0fe; color: #1a56c4; }
.ticket-level-badge.level-III { background: #e6f9f0; color: #1a7a4a; }
.role-badge--admin { background: #fde8e8; color: #c0392b; }
.role-badge--reviewer { background: #e8f0fe; color: #1a56c4; }
.role-badge--tester { background: #e6f9f0; color: #1a7a4a; }
.profile-menu { position: relative; }
.profile-btn {
display: flex; align-items: center; gap: 8px;
background: rgba(255,255,255,0.12);
border: 1px solid rgba(255,255,255,0.2);
border-radius: 20px;
padding: 6px 12px 6px 6px;
color: #fff; cursor: pointer;
transition: background 0.15s;
}
.profile-btn:hover { background: rgba(255,255,255,0.22); }
.profile-avatar {
width: 28px; height: 28px;
border-radius: 50%;
background: linear-gradient(135deg, #4f86c6, #9b73c8);
color: #fff; font-size: 13px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.profile-name { font-size: 13px; font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.profile-dropdown {
position: absolute; right: 0; top: calc(100% + 8px);
background: #fff; border-radius: 12px;
box-shadow: 0 8px 32px rgba(0,0,0,0.2);
border: 1px solid #e8eaed;
min-width: 180px; z-index: 500;
overflow: hidden;
animation: dd-in 0.15s ease;
}
@keyframes dd-in { from{opacity:0;transform:translateY(-6px)} to{opacity:1;transform:translateY(0)} }
.profile-dd-info {
display: flex; align-items: center; gap: 10px;
padding: 14px 16px;
background: #f7f9fc;
}
.profile-dd-avatar {
width: 34px; height: 34px; border-radius: 50%;
background: linear-gradient(135deg, #4f86c6, #9b73c8);
color: #fff; font-size: 14px; font-weight: 700;
display: flex; align-items: center; justify-content: center;
flex-shrink: 0;
}
.profile-dd-name { font-size: 14px; font-weight: 600; color: #1a1a2e; }
.profile-dd-divider { height: 1px; background: #e8eaed; }
.profile-dd-item {
width: 100%; padding: 12px 16px;
background: none; border: none;
text-align: left; font-size: 13px; font-weight: 600;
color: #e05c5c; cursor: pointer;
transition: background 0.1s;
}
.profile-dd-item:hover { background: #fde8e8; }
/* Action buttons */
.btn-logout {
padding: 7px 14px;
background: rgba(255,255,255,0.1);
color: #fff;
border: 1.5px solid rgba(255,255,255,0.3);
border-radius: 7px;
font-size: 13px; font-weight: 600;
cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.btn-logout:hover { background: rgba(255,255,255,0.2); }
.btn-danger-outline {
padding: 7px 16px;
background: transparent; color: #ff8a8a;
border: 1.5px solid #ff8a8a; border-radius: 7px;
font-size: 13px; font-weight: 700;
cursor: pointer; transition: background 0.15s; white-space: nowrap;
}
.btn-danger-outline:hover { background: rgba(224,92,92,0.15); }
.btn-view-report {
padding: 8px 18px;
background: #4f86c6; color: #fff;
border: none; border-radius: 8px;
font-size: 13px; font-weight: 600;
cursor: pointer; white-space: nowrap; transition: background 0.15s;
}
.btn-view-report:hover { background: #3a70b0; }
.btn-view-report.sm { font-size: 12px; padding: 6px 14px; }
.btn-delete-report { padding: 8px 18px; background: #e05c5c; color: #fff; border: none; border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.15s; }
.btn-delete-report:hover { background: #c94c4c; }
.btn-delete-report.sm { font-size: 12px; padding: 6px 14px; }
.btn-pdf {
padding: 6px 14px;
background: #2d9e5a; color: #fff;
border: none; border-radius: 7px;
font-size: 12px; font-weight: 700;
cursor: pointer; white-space: nowrap;
transition: background 0.15s;
}
.btn-pdf:hover { background: #228a49; }
.btn-pdf-review { background: #9b73c8; }
.btn-pdf-review:hover { background: #7e5bb0; }
.btn-pdf-lg { padding: 8px 18px; font-size: 13px; }
.report-actions { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; }
.sort-arrow { font-size: 11px; opacity: 0.45; margin-left: 2px; }
.sort-active { opacity: 1; color: #a8c8f0; }
/* Countdown */
.countdown {
display: flex; flex-direction: column; align-items: center;
background: rgba(255,255,255,0.1);
border: 1.5px solid rgba(255,255,255,0.2);
border-radius: 10px; padding: 6px 14px;
min-width: 120px; text-align: center;
transition: background 0.3s, border-color 0.3s;
}
.countdown.warning { background: rgba(224,140,74,0.2); border-color: #e08c4a; }
.countdown.urgent { background: rgba(224,92,92,0.25); border-color: #e05c5c; animation: pulse-b 1s ease-in-out infinite; }
@keyframes pulse-b { 0%,100%{border-color:#e05c5c} 50%{border-color:rgba(224,92,92,0.35)} }
.countdown-label { font-size: 10px; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 1px; }
.countdown-time { font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
.countdown.urgent .countdown-time { color: #ff8a8a; }
.countdown.warning .countdown-time { color: #ffc07a; }
/* ── Portal selection ── */
.portal-body { align-items: center; justify-content: center; padding: 20px 24px 32px; }
.portal-welcome { text-align: center; margin-bottom: 20px; width: 100%; }
.portal-welcome h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.portal-welcome p { color: #666; font-size: 13px; }
.portal-cards {
display: flex;
flex-wrap: nowrap;
justify-content: center;
gap: 16px;
width: 100%;
max-width: 1400px;
margin: 0 auto;
}
.portal-card {
flex: 1 1 200px;
max-width: 260px;
min-width: 0;
background: #fff; border-radius: 18px; padding: 30px 20px 26px;
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
border-top: 4px solid #4f86c6;
display: flex; flex-direction: column; align-items: center;
gap: 10px; text-align: center;
animation: card-in 0.3s ease;
}
.portal-card-teal { border-top-color: #2d9e5a; }
.portal-card-icon { font-size: 2.4rem; line-height: 1; }
.portal-card h3 { font-size: 1rem; font-weight: 700; margin: 0; line-height: 1.3; }
.portal-card p { color: #666; font-size: 12px; line-height: 1.6; margin: 0; flex: 1; }
.portal-features { display: none; }
.portal-card .btn-start { width: 100%; font-size: 13px; padding: 11px 10px; margin-top: auto; }
.btn-start-teal { background: linear-gradient(135deg, #2d9e5a, #27875e) !important; }
.btn-start-orange { background: linear-gradient(135deg, #e08c4a, #c4722a) !important; }
.btn-start-purple { background: linear-gradient(135deg, #9b73c8, #7b55b0) !important; }
.portal-card-orange { border-top-color: #e08c4a; }
.portal-card-purple { border-top-color: #9b73c8; }
.portal-card-gray { border-top-color: #888; }
.portal-card-red { border-top-color: #e05c5c; }
.btn-start-gray { background: linear-gradient(135deg, #666, #444) !important; }
.btn-start-red { background: linear-gradient(135deg, #e05c5c, #c0392b) !important; }
/* Product chip */
.product-chip {
display: inline-block;
padding: 2px 9px;
border-radius: 10px;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.03em;
background: #fff0f0;
color: #c0392b;
border: 1px solid #f5c6c6;
}
/* Product ID badge (in ProductsPortal card) */
.prod-id-badge {
display: inline-block;
padding: 1px 7px;
border-radius: 6px;
font-size: 11px;
background: #f4f4f4;
color: #888;
font-family: monospace;
}
/* Product picker grid (2-step picker) */
.prod-picker-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 16px;
width: 100%;
}
.prod-picker-card {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
padding: 28px 16px 20px;
border-radius: 14px;
border: 2px solid #e8e8e8;
background: #fff;
cursor: pointer;
transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
text-align: center;
position: relative;
}
.prod-picker-card:hover {
border-color: #e05c5c;
box-shadow: 0 4px 20px rgba(224,92,92,0.15);
transform: translateY(-2px);
}
.prod-picker-icon { font-size: 2rem; }
.prod-picker-name { font-size: 1.3rem; font-weight: 800; color: #222; }
.prod-picker-desc { font-size: 12px; color: #888; }
.prod-picker-card .tp-picker-arrow {
position: absolute;
bottom: 12px;
right: 14px;
font-size: 14px;
color: #ccc;
}
.prod-picker-card:hover .tp-picker-arrow { color: #e05c5c; }
/* Product access modal list */
.prod-access-list {
display: flex;
flex-direction: column;
gap: 8px;
max-height: 260px;
overflow-y: auto;
margin: 4px 0;
}
.prod-access-item {
display: flex;
align-items: center;
gap: 10px;
padding: 10px 12px;
border-radius: 8px;
background: #fafafa;
border: 1px solid #eee;
cursor: pointer;
user-select: none;
}
.prod-access-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; }
.prod-access-name { font-weight: 700; font-size: 13px; color: #222; }
.prod-access-desc { font-size: 12px; color: #888; margin-left: auto; }
/* Questions portal */
.qp-toolbar {
display: flex; align-items: center; gap: 12px;
flex-wrap: wrap; justify-content: space-between;
}
.qp-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.qp-count { font-size: 13px; color: #555; display: flex; align-items: center; gap: 8px; }
.qp-alert {
padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500;
animation: card-in 0.2s ease;
}
.qp-alert.ok { background: #e6f7ee; color: #1a6e3c; border: 1px solid #2d9e5a; }
.qp-alert.err { background: #fde8e8; color: #c0392b; border: 1px solid #e05c5c; }
.qp-format-hint {
font-size: 12px; color: #888; padding: 6px 2px;
display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.qp-format-hint code { background: #f0f2f5; padding: 2px 6px; border-radius: 4px; font-size: 11px; }
/* ── QuestionsPortal inline editing ── */
.qp-edit-table td { vertical-align: top; padding: 8px 10px; }
.qp-inline-input {
width: 100%; padding: 7px 10px;
border: 1.5px solid #d0d4db; border-radius: 6px;
font-size: 13px; color: #1a1a2e; outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.qp-inline-input:focus {
border-color: #4f86c6; box-shadow: 0 0 0 2px rgba(79,134,198,0.15);
}
.qp-std-input { font-family: monospace; font-weight: 600; }
.qp-inline-textarea {
width: 100%; padding: 7px 10px;
border: 1.5px solid #d0d4db; border-radius: 6px;
font-size: 13px; color: #1a1a2e; outline: none; resize: vertical;
min-height: 56px; line-height: 1.5;
transition: border-color 0.15s, box-shadow 0.15s;
}
.qp-inline-textarea:focus {
border-color: #4f86c6; box-shadow: 0 0 0 2px rgba(79,134,198,0.15);
}
.qp-marks-input {
width: 68px; padding: 7px 8px; text-align: center;
border: 1.5px solid #d0d4db; border-radius: 6px;
font-size: 13px; font-weight: 700; color: #1a1a2e; outline: none;
transition: border-color 0.15s;
}
.qp-marks-input:focus { border-color: #4f86c6; }
.qp-delete-btn {
width: 28px; height: 28px; border-radius: 6px;
border: 1px solid #e0d0d0; background: #fdf2f2; color: #c0392b;
font-size: 13px; font-weight: 700; cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: background 0.15s, border-color 0.15s;
margin-top: 2px;
}
.qp-delete-btn:hover { background: #fde8e8; border-color: #e05c5c; }
.qp-add-btn { font-weight: 700; background: #eef3fb; border-color: #4f86c6; color: #4f86c6; }
.qp-add-btn:hover { background: #4f86c6; color: #fff; }
.qp-footer-row {
display: flex; align-items: center; gap: 10px;
padding: 12px 0 4px;
}
/* grid overrides nothing β€” card sizing handled by grid-template-columns */
/* ── Inline Report Viewer ── */
.rv-table .rv-thumb-wrap { width: 220px; }
.rv-thumb {
width: 220px; height: 155px;
object-fit: contain; border-radius: 8px;
border: 1.5px solid #d0d4db; background: #f8f9fb;
cursor: zoom-in !important;
}
.rv-note {
margin-top: 6px; font-size: 12px; color: #666;
font-style: italic; border-left: 3px solid #d0d4db;
padding-left: 8px;
}
.rv-status {
display: inline-block; padding: 3px 8px;
border-radius: 4px; font-size: 11px; font-weight: 700;
}
.rv-pass { background: #e6f7ee; color: #2d9e5a; border: 1px solid #2d9e5a; }
.rv-fail { background: #fde8e8; color: #e05c5c; border: 1px solid #e05c5c; }
.rv-warn { background: #fff4e5; color: #e08c4a; border: 1px solid #e08c4a; }
.rv-review-section { margin-top: 28px; }
.rv-review-title {
font-size: 13px; font-weight: 600; color: #555;
margin-bottom: 12px; padding-bottom: 8px;
border-bottom: 1px solid #e8eaed;
}
/* Review table */
.review-table .col-comment { min-width: 220px; }
.review-comment { width: 100%; min-height: 56px; }
.review-table .screenshot-thumb {
width: 240px; height: 170px;
object-fit: contain; border-radius: 8px;
border: 1.5px solid #d0d4db;
background: #f8f9fb;
}
.review-table .screenshot-thumb-wrap { width: 240px; }
.review-img { cursor: zoom-in !important; }
.review-img-hint { font-size: 11px; color: #aaa; text-align: center; margin-top: 4px; }
/* ── Image zoom modal ── */
.zoom-overlay { align-items: center; }
.zoom-modal {
background: #1a1a2e; border-radius: 14px;
width: min(92vw, 900px);
max-height: 92vh;
display: flex; flex-direction: column;
overflow: hidden;
box-shadow: 0 30px 80px rgba(0,0,0,0.6);
animation: modal-in 0.2s ease;
}
.zoom-toolbar {
display: flex; align-items: center; gap: 8px;
padding: 12px 16px;
background: rgba(255,255,255,0.06);
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.zoom-btn {
width: 34px; height: 34px; border-radius: 7px;
border: 1px solid rgba(255,255,255,0.2);
background: rgba(255,255,255,0.1); color: #fff;
font-size: 16px; font-weight: 700; cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: background 0.15s;
}
.zoom-btn:hover { background: rgba(255,255,255,0.22); }
.zoom-reset-btn { font-size: 11px; width: auto; padding: 0 12px; }
.zoom-pct { color: #fff; font-size: 13px; font-weight: 700; min-width: 46px; text-align: center; }
.zoom-close-btn {
margin-left: auto; width: 34px; height: 34px; border-radius: 7px;
border: 1px solid rgba(255,255,255,0.2);
background: rgba(224,92,92,0.3); color: #fff;
font-size: 15px; font-weight: 700; cursor: pointer;
display: flex; align-items: center; justify-content: center;
transition: background 0.15s;
}
.zoom-close-btn:hover { background: rgba(224,92,92,0.7); }
.zoom-body {
flex: 1; overflow: hidden;
display: flex; align-items: center; justify-content: center;
min-height: 300px; background: #111;
position: relative;
}
.zoom-body img {
max-width: 100%; max-height: 100%;
display: block; will-change: transform;
pointer-events: none; user-select: none;
}
.zoom-hint { font-size: 11px; color: rgba(255,255,255,0.35); text-align: center; padding: 8px; }
/* Misc portal UI */
.portal-empty {
display: flex; flex-direction: column; align-items: center;
justify-content: center; padding: 60px 24px;
text-align: center; color: #555;
}
.portal-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.portal-empty h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.portal-empty p { font-size: 13px; color: #888; }
.status-badge {
display: inline-block; padding: 3px 10px; border-radius: 20px;
font-size: 11px; font-weight: 700; white-space: nowrap;
}
.badge-done { background: #e6f7ee; color: #2d9e5a; border: 1px solid #2d9e5a; }
.badge-pending { background: #fff4e5; color: #e08c4a; border: 1px solid #e08c4a; }
.portal-type-badge {
display: inline-block; padding: 3px 10px; border-radius: 20px;
font-size: 11px; font-weight: 700; white-space: nowrap;
}
.type-admin { background: #eef4ff; color: #4f86c6; border: 1px solid #4f86c6; }
.type-tester { background: #e6f7ee; color: #2d9e5a; border: 1px solid #2d9e5a; }
.report-name { font-size: 11px; color: #333; background: #f0f2f5; padding: 2px 6px; border-radius: 4px; }
.report-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.upload-count { font-weight: 600; font-size: 13px; color: #333; }
.upload-count.full { color: #2d9e5a; }
.upload-count.partial { color: #e08c4a; }
.btn-secondary-sm {
padding: 7px 14px; background: rgba(255,255,255,0.12);
border: 1.5px solid rgba(255,255,255,0.3); border-radius: 7px;
color: #fff; font-size: 13px; font-weight: 600; cursor: pointer;
transition: background 0.15s; white-space: nowrap;
}
.btn-secondary-sm:hover { background: rgba(255,255,255,0.22); }
/* Upload progress badge */
.upload-progress {
background: rgba(255,255,255,0.15);
border: 1px solid rgba(255,255,255,0.25);
border-radius: 20px; padding: 5px 14px;
font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
}
/* ── Idle / Terminated screen ── */
.idle-page { display: flex; flex-direction: column; min-height: 100vh; }
.idle-body {
flex: 1; display: flex; align-items: flex-start; justify-content: center;
background: linear-gradient(135deg, #f0f2f5 0%, #e8edf5 100%);
padding: 28px 32px 40px;
overflow-y: auto;
}
.idle-card {
background: #fff; border-radius: 18px; padding: 44px 40px;
max-width: 540px; width: 100%; text-align: center;
box-shadow: 0 8px 40px rgba(0,0,0,0.1);
animation: card-in 0.3s ease;
}
@keyframes card-in { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }
.idle-icon { font-size: 3rem; margin-bottom: 16px; }
.idle-card h2 { font-size: 1.4rem; margin-bottom: 12px; }
.idle-card p { color: #555; line-height: 1.8; font-size: 14px; margin-bottom: 24px; }
.idle-meta {
background: #f7f9fc; border-radius: 10px;
padding: 14px 20px; margin-bottom: 28px;
font-size: 13px; display: flex; flex-direction: column; gap: 6px; text-align: left;
}
.idle-meta > div { display: flex; justify-content: space-between; gap: 12px; }
.idle-meta span { color: #888; }
.idle-meta strong { color: #1a1a2e; }
.btn-start {
padding: 14px 36px;
background: linear-gradient(135deg, #2d9e5a, #27875e);
color: #fff; border: none; border-radius: 10px;
font-size: 15px; font-weight: 700; cursor: pointer;
box-shadow: 0 4px 16px rgba(45,158,90,0.4);
transition: transform 0.15s, box-shadow 0.15s;
}
.btn-start:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(45,158,90,0.5); }
.btn-secondary {
padding: 13px 28px;
background: #f0f2f5; color: #444;
border: 1.5px solid #d0d4db; border-radius: 10px;
font-size: 15px; font-weight: 600; cursor: pointer;
transition: background 0.15s, border-color 0.15s;
}
.btn-secondary:hover { background: #e4e7ec; border-color: #aaa; }
/* Terminated stats */
.term-stats {
display: flex; gap: 12px; flex-wrap: wrap;
justify-content: center; margin-bottom: 28px;
}
.t-stat {
flex: 1 1 80px; border-radius: 10px; padding: 12px 10px;
text-align: center; border-top: 3px solid transparent;
background: #f7f9fc;
}
.t-stat.blue { border-color: #4f86c6; }
.t-stat.green { border-color: #2d9e5a; }
.t-stat.purple { border-color: #9b73c8; }
.t-stat.teal { border-color: #4ab8c8; }
.t-stat.red { border-color: #e05c5c; }
.t-val { display: block; font-size: 1.3rem; font-weight: 700; line-height: 1.1; color: #1a1a2e; }
.t-lbl { display: block; font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .4px; margin-top: 4px; }
.term-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
/* ── Expired overlay ── */
.expired-overlay {
position: fixed; inset: 0;
background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
display: flex; align-items: center; justify-content: center; z-index: 2000;
}
.expired-box {
background: #fff; border-radius: 16px; padding: 48px 40px;
text-align: center; max-width: 420px; width: 90%;
box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}
.expired-icon { font-size: 3rem; margin-bottom: 16px; }
.expired-box h2 { font-size: 1.4rem; margin-bottom: 10px; }
.expired-box p { color: #666; line-height: 1.7; font-size: 14px; }
.btn-logout-lg {
padding: 11px 24px;
background: #f0f2f5; color: #444;
border: 1.5px solid #d0d4db; border-radius: 8px;
font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.15s;
}
.btn-logout-lg:hover { background: #e4e7ec; }
/* ── Modals ── */
.modal-overlay {
position: fixed; inset: 0;
background: rgba(0,0,0,0.55);
display: flex; align-items: flex-start; justify-content: center; z-index: 1000;
backdrop-filter: blur(3px);
overflow-y: auto;
padding: 24px 0;
}
/* Short confirm/info modals should still appear centred */
.modal-overlay > .modal:not(.task-modal) { margin: auto; }
.modal {
background: #fff; border-radius: 14px; padding: 32px;
max-width: 900px; width: 90%;
box-shadow: 0 20px 60px rgba(0,0,0,0.25);
animation: modal-in 0.2s ease;
}
@keyframes modal-in { from{opacity:0;transform:translateY(-14px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
.modal h3 { font-size: 1.1rem; margin-bottom: 8px; }
.modal p { color: #555; line-height: 1.6; font-size: 13px; margin-bottom: 4px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }
.submit-success-modal { text-align: center; }
.submit-success-icon { font-size: 3rem; margin-bottom: 12px; }
.submit-success-modal h3 { font-size: 1.2rem; margin-bottom: 10px; }
.submit-success-modal .modal-actions { justify-content: center; }
.btn-cancel {
padding: 9px 20px; border: 1.5px solid #d0d4db; background: #f5f6f8;
border-radius: 7px; cursor: pointer; font-size: 13px; font-weight: 600;
color: #555; transition: background 0.15s;
}
.btn-cancel:hover { background: #e8eaed; }
.btn-danger {
padding: 9px 20px; background: #e05c5c; color: #fff;
border: none; border-radius: 7px; cursor: pointer;
font-size: 13px; font-weight: 700; transition: background 0.15s;
}
.btn-danger:hover { background: #c94c4c; }
.btn-confirm {
padding: 9px 20px;
background: #1a1a2e; color: #fff;
border: none; border-radius: 7px; cursor: pointer;
font-size: 13px; font-weight: 700; transition: background 0.15s;
}
.btn-confirm:hover { background: #2d3a5a; }
/* Validation list */
.validation-list {
list-style: none; margin-top: 12px;
display: flex; flex-direction: column; gap: 6px;
max-height: 280px; overflow-y: auto;
}
.validation-list li {
display: flex; align-items: center; gap: 8px;
background: #f7f9fc; border-radius: 7px; padding: 7px 10px;
font-size: 13px;
}
.val-badge {
display: inline-block; padding: 2px 8px; border-radius: 5px;
background: #1a1a2e; color: #fff; font-size: 11px; font-weight: 700;
white-space: nowrap; flex-shrink: 0;
}
.val-fields { color: #555; }
.val-more { color: #999; font-style: italic; font-size: 12px; background: none !important; padding: 4px 10px !important; }
/* ── Main dashboard ── */
.app-main { flex: 1; padding: 20px 28px; display: flex; flex-direction: column; gap: 18px; }
/* Summary bar */
.summary-bar { display: flex; gap: 14px; flex-wrap: wrap; }
.summary-card {
flex: 1 1 130px; background: #fff; border-radius: 12px;
padding: 14px 18px; display: flex; flex-direction: column; gap: 4px;
box-shadow: 0 1px 4px rgba(0,0,0,0.08); border-top: 4px solid transparent;
}
.summary-card.blue { border-color: #4f86c6; }
.summary-card.green { border-color: #2d9e5a; }
.summary-card.purple { border-color: #9b73c8; }
.summary-card.teal { border-color: #4ab8c8; }
.summary-card.red { border-color: #e05c5c; }
.summary-value { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.summary-value small { font-size: 1rem; color: #666; }
.summary-label { font-size: 11px; color: #666; font-weight: 500; text-transform: uppercase; letter-spacing: .4px; }
/* Toolbar */
.toolbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-chips { display: flex; gap: 7px; flex-wrap: wrap; }
.chip {
padding: 5px 12px; border-radius: 20px; border: 1.5px solid #d0d4db;
background: #fff; cursor: pointer; font-size: 12px; font-weight: 600;
color: #555; transition: all 0.15s;
}
.chip:hover { border-color: #999; color: #222; }
.chip.active { background: #1a1a2e; border-color: #1a1a2e; color: #fff; }
.search-box {
margin-left: auto; padding: 7px 12px; border: 1.5px solid #d0d4db;
border-radius: 8px; font-size: 13px; width: 220px; background: #fff;
outline: none; transition: border-color 0.2s;
}
.search-box:focus { border-color: #4f86c6; }
/* Table */
.table-wrap { background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,0.08); overflow: auto; }
.qa-table { width: 100%; border-collapse: collapse; min-width: 860px; }
.qa-table thead tr { background: #1a1a2e; color: #fff; }
.qa-table thead th { padding: 12px 14px; text-align: left; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.qa-table tbody tr { border-bottom: 1px solid #f0f2f5; transition: background 0.1s; }
.qa-table tbody tr:hover { background: #f7f9fc; }
.qa-table tbody tr:last-child { border-bottom: none; }
.qa-table td { padding: 10px 14px; vertical-align: middle; }
.row-pass { border-left: 4px solid #2d9e5a; }
.row-warn { border-left: 4px solid #e08c4a; }
.row-fail { border-left: 4px solid #e05c5c; }
.row-neutral { border-left: 4px solid #d0d4db; }
.col-num { width: 44px; text-align: center; color: #999; font-weight: 600; }
.col-standard { width: 120px; }
.col-obs { min-width: 400px; line-height: 1.6; color: #333; font-size: 14px; }
.col-marks { width: 120px; text-align: center; }
.col-score { width: 160px; }
.col-shot { width: 230px; }
.std-badge {
display: inline-block; padding: 3px 9px; border-radius: 6px;
color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .4px; white-space: nowrap;
}
/* ── Possible Marks (static display) ── */
.marks-static {
display: inline-block;
padding: 4px 12px;
background: #f0f2f5;
border-radius: 6px;
font-size: 14px;
font-weight: 700;
color: #1a1a2e;
min-width: 44px;
text-align: center;
}
/* Score input */
.score-cell { display: flex; flex-direction: column; gap: 4px; }
.score-row { display: flex; align-items: center; gap: 6px; }
.score-input {
width: 58px; padding: 4px 8px; border: 2px solid #ccc;
border-radius: 6px; font-size: 14px; font-weight: 600;
text-align: center; outline: none; transition: border-color 0.2s;
-moz-appearance: textfield;
}
.score-input::-webkit-outer-spin-button,
.score-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.score-input:focus { outline: 2px solid #4f86c6; outline-offset: 1px; }
.score-input:disabled { background: #f5f6f8; cursor: not-allowed; }
.score-input.empty { border-color: #e0e3e8; }
.score-max { color: #999; font-size: 13px; white-space: nowrap; }
.score-bar-bg { height: 4px; background: #e8eaed; border-radius: 4px; overflow: hidden; }
.score-bar-fill { height: 100%; border-radius: 4px; transition: width .3s, background .3s; }
/* Screenshot cell */
.screenshot-cell { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.screenshot-cell.has-image {
flex-direction: row;
align-items: center;
gap: 10px;
}
.screenshot-cell.has-image .screenshot-thumb-wrap { flex-shrink: 0; }
.screenshot-cell.has-image .shot-dd-wrap { flex-shrink: 0; }
.screenshot-thumb {
width: 110px; height: 76px; object-fit: cover; border-radius: 8px;
border: 1.5px solid #e0e0e0; cursor: pointer; transition: transform .15s, box-shadow .15s;
display: block;
}
.screenshot-thumb:hover { transform: scale(1.04); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.screenshot-name { font-size: 11px; color: #777; max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.screenshot-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.no-screenshot { color: #bbb; font-style: italic; font-size: 13px; }
.btn-upload {
display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px;
background: #f0f2f5; border: 1.5px solid #d0d4db; border-radius: 6px;
font-size: 12px; font-weight: 600; color: #444; cursor: pointer; transition: background .15s;
}
.btn-upload:hover { background: #e4e7ec; border-color: #999; }
.btn-upload.small { font-size: 11px; padding: 3px 8px; }
.btn-upload.required { border-color: #e05c5c; color: #c0392b; }
.btn-upload.required:hover { background: #fde8e8; }
.req-dot { color: #e05c5c; font-weight: 700; margin-left: 2px; }
/* ── Camera modal ── */
.camera-modal {
background: #fff; border-radius: 14px; padding: 24px;
width: 90%; max-width: 520px;
box-shadow: 0 20px 60px rgba(0,0,0,0.3);
animation: modal-in 0.2s ease;
display: flex; flex-direction: column; gap: 16px;
}
.camera-modal-header {
display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.camera-modal-header h3 { font-size: 1.1rem; margin: 0; }
.camera-switch-btn {
background: #f0f4ff; border: 1px solid #c7d4f0; border-radius: 8px;
padding: 5px 12px; font-size: 12px; cursor: pointer; color: #4f86c6;
white-space: nowrap;
}
.camera-switch-btn:hover { background: #dce8ff; }
.camera-preview {
width: 100%; border-radius: 10px; background: #000;
max-height: 360px; object-fit: cover;
}
.camera-mirror { transform: scaleX(-1); }
.camera-error {
color: #e05c5c; font-size: 13px; text-align: center;
padding: 24px 16px; background: #fff5f5; border-radius: 8px;
border: 1px solid #fcc; line-height: 1.6;
}
.shot-dd-wrap { position: relative; display: inline-block; }
.shot-dropdown {
position: absolute; left: 0; top: calc(100% + 5px);
background: #fff; border: 1px solid #e0e3e8; border-radius: 8px;
box-shadow: 0 6px 20px rgba(0,0,0,0.13);
min-width: 150px; z-index: 200; overflow: hidden;
animation: dd-in 0.12s ease;
}
.shot-dd-item {
display: flex; align-items: center; gap: 8px;
padding: 9px 14px; font-size: 13px; font-weight: 500;
color: #333; cursor: pointer; transition: background 0.1s;
}
.shot-dd-item:hover { background: #f0f4ff; }
.screenshot-thumb-wrap {
position: relative;
display: inline-block;
}
.btn-discard-x {
position: absolute; top: -6px; right: -6px;
width: 18px; height: 18px;
background: #e05c5c; color: #fff;
border: 2px solid #fff; border-radius: 50%;
font-size: 9px; font-weight: 700; line-height: 1;
display: flex; align-items: center; justify-content: center;
cursor: pointer; padding: 0;
box-shadow: 0 1px 4px rgba(0,0,0,0.25);
transition: background 0.15s, transform 0.15s;
}
.btn-discard-x:hover { background: #c0392b; transform: scale(1.15); }
/* Eval note sub-row */
.note-row { border-bottom: 2px solid #e8eaed !important; }
.note-row.row-pass { border-left: 4px solid #2d9e5a; }
.note-row.row-warn { border-left: 4px solid #e08c4a; }
.note-row.row-fail { border-left: 4px solid #e05c5c; }
.note-row.row-neutral { border-left: 4px solid #d0d4db; }
.note-cell { padding: 6px 14px 12px 14px !important; background: #fafbfc; }
.note-wrap { display: flex; align-items: flex-start; gap: 10px; }
.note-label {
flex-shrink: 0; font-size: 11px; font-weight: 700; color: #888;
text-transform: uppercase; letter-spacing: 0.4px; padding-top: 8px; min-width: 76px;
}
.note-textarea {
flex: 1; padding: 6px 10px;
border: 1.5px solid #e0e3e8; border-radius: 6px;
font-family: inherit; font-size: 13px; line-height: 1.5; color: #333;
background: #fff; resize: none; outline: none;
transition: border-color 0.15s, box-shadow 0.15s;
}
.note-textarea:focus { border-color: #4f86c6; box-shadow: 0 0 0 3px rgba(79,134,198,0.12); }
.note-textarea:disabled { background: #f5f6f8; color: #555; cursor: default; }
.note-textarea::placeholder { color: #bbb; }
.word-count { flex-shrink: 0; font-size: 11px; color: #aaa; padding-top: 8px; white-space: nowrap; }
.word-count.near-limit { color: #e08c4a; font-weight: 600; }
.word-count.at-limit { color: #e05c5c; font-weight: 700; }
/* Required fields note */
.req-star { color: #e05c5c; font-weight: 700; margin-left: 3px; }
.req-note { font-size: 12px; color: #888; padding: 4px 2px; }
.empty-row { text-align: center; color: #999; padding: 40px !important; font-style: italic; }
/* ── Responsive ── */
/* ── Tablet landscape / small desktop (≀1200px) β†’ 3 per row ─────────────── */
@media (max-width: 1200px) {
.portal-cards { flex-wrap: wrap; gap: 14px; }
.portal-card { flex: 0 1 calc(33.33% - 10px); max-width: calc(33.33% - 10px); }
.portal-body { padding: 20px 20px 32px; }
}
/* ── Tablet portrait (≀900px) β†’ 2 per row ───────────────────────────────── */
@media (max-width: 900px) {
.portal-cards { gap: 12px; }
.portal-card { flex: 0 1 calc(50% - 6px); max-width: calc(50% - 6px); }
.portal-body { padding: 16px 16px 28px; }
.portal-card-icon { font-size: 2rem; }
}
/* ── General tablet tweaks (≀1024px) ─────────────────────────────────────── */
@media (max-width: 1024px) {
.app-header { padding: 12px 20px; }
.app-main { padding: 16px 20px; }
.countdown { min-width: 100px; }
.countdown-time { font-size: 1.1rem; }
.col-obs { min-width: 300px; font-size: 13px; }
.search-box { width: 180px; }
}
/* ── Mobile landscape / small tablet (≀768px) ────────────────────────────── */
@media (max-width: 768px) {
.app-header { padding: 10px 14px; gap: 10px; }
.header-left h1 { font-size: 1.05rem; }
.header-right { gap: 8px; }
.countdown { min-width: 90px; padding: 5px 10px; }
.countdown-time { font-size: 1rem; }
.btn-view-report { padding: 7px 12px; font-size: 12px; }
.btn-danger-outline { padding: 7px 12px; font-size: 12px; }
.profile-name { display: none; }
.app-main { padding: 12px 14px; gap: 14px; }
.summary-card { flex: 1 1 120px; padding: 12px 14px; }
.summary-value { font-size: 1.5rem; }
.filter-chips { gap: 5px; }
.chip { padding: 4px 10px; font-size: 11px; }
.search-box { width: 100%; margin-left: 0; }
.toolbar { gap: 10px; }
.table-wrap { border-radius: 8px; }
.qa-table { min-width: 600px; }
.qa-table thead th, .qa-table td { padding: 8px 10px; font-size: 12px; }
.col-obs { min-width: 160px; font-size: 12px; }
.screenshot-thumb { width: 80px; height: 56px; }
.idle-card { padding: 32px 24px; }
.btn-start { padding: 12px 28px; font-size: 14px; }
.btn-secondary { padding: 11px 24px; font-size: 14px; }
.term-stats { gap: 8px; }
.t-stat { flex: 1 1 70px; padding: 10px 6px; }
.t-val { font-size: 1.1rem; }
.modal { padding: 24px 20px; }
}
/* ── Mobile portrait (≀480px) β†’ 1 per row ───────────────────────────────── */
@media (max-width: 480px) {
.portal-cards { gap: 10px; }
.portal-card { flex: 0 1 100%; max-width: 100%; padding: 20px 16px; }
.portal-card-icon { font-size: 1.8rem; }
.portal-card h3 { font-size: 0.95rem; }
.portal-body { padding: 12px 12px 24px; }
.header-sub { display: none; }
.countdown { display: none; }
.summary-bar { gap: 8px; }
.summary-card { flex: 1 1 100px; padding: 10px 12px; }
.summary-value { font-size: 1.3rem; }
.idle-card { padding: 28px 18px; }
.term-actions { flex-direction: column; align-items: stretch; }
.btn-start, .btn-secondary { width: 100%; text-align: center; }
}
/* ── Test name badge (in tables) ──────────────────────────────────────────── */
.tp-name-badge {
display: inline-block;
padding: 3px 10px;
border-radius: 99px;
background: #eef3fb;
color: #4f86c6;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
}
/* ── Testing Profiles portal ─────────────────────────────────────────────── */
.tp-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.tp-card {
background: #fff;
border-radius: 16px;
padding: 24px 22px;
box-shadow: 0 4px 20px rgba(0,0,0,0.08);
border-top: 4px solid #4f86c6;
display: flex;
flex-direction: column;
gap: 10px;
animation: card-in 0.2s ease;
}
.tp-card-top {
display: flex;
align-items: center;
gap: 10px;
}
.tp-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.tp-card-name { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; }
.tp-card-meta {
display: flex;
align-items: center;
gap: 6px;
font-size: 13px;
color: #555;
font-weight: 500;
}
.tp-dot { color: #bbb; }
.tp-card-date { font-size: 11px; color: #999; }
.tp-card-actions {
display: flex;
gap: 8px;
flex-wrap: wrap;
margin-top: 6px;
}
.tp-empty {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 80px 24px;
text-align: center;
}
.tp-empty-icon { font-size: 3rem; margin-bottom: 16px; }
.tp-empty h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.tp-empty p { color: #666; font-size: 14px; max-width: 400px; }
/* ── Profile picker (full-page list) ─────────────────────────────────────── */
.tp-picker-list {
display: flex;
flex-direction: column;
gap: 12px;
}
.tp-picker-item {
display: flex;
align-items: center;
gap: 18px;
width: 100%;
padding: 20px 22px;
background: #fff;
border: 2px solid #e5e8ee;
border-radius: 14px;
cursor: pointer;
text-align: left;
box-shadow: 0 2px 12px rgba(0,0,0,0.05);
transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
}
.tp-picker-item:hover {
border-color: #4f86c6;
box-shadow: 0 4px 20px rgba(79,134,198,0.15);
transform: translateY(-1px);
}
.tp-picker-icon { font-size: 2rem; flex-shrink: 0; }
.tp-picker-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.tp-picker-info strong { font-size: 15px; font-weight: 700; color: #1a1a2e; }
.tp-picker-info span { font-size: 13px; color: #666; }
.tp-picker-arrow { font-size: 20px; color: #bbb; font-weight: 300; }
.tp-picker-item:hover .tp-picker-arrow { color: #4f86c6; }
.tp-picker-default { border-style: dashed; background: #fafafa; }
.tp-picker-default:hover { border-color: #888; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
/* ── Indigo portal card (Manage Accounts) ─────────────────────────────────── */
.portal-card-indigo { border-top: 4px solid #6c5ce7; }
.btn-start-indigo {
background: linear-gradient(135deg, #6c5ce7, #a29bfe);
box-shadow: 0 4px 14px rgba(108,92,231,0.4);
}
.btn-start-indigo:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
/* ── Session role badge (header subtitle) ─────────────────────────────────── */
.session-role-badge {
display: inline-block;
padding: 2px 9px;
border-radius: 99px;
font-size: 11px;
font-weight: 700;
color: #fff;
letter-spacing: 0.4px;
vertical-align: middle;
}
/* ── Account management table ─────────────────────────────────────────────── */
.acct-table td { vertical-align: middle; }
.acct-user {
display: flex;
align-items: center;
gap: 10px;
}
.acct-avatar {
width: 36px;
height: 36px;
border-radius: 50%;
color: #fff;
font-size: 15px;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.acct-you-badge {
display: inline-block;
margin-left: 7px;
padding: 1px 7px;
border-radius: 99px;
font-size: 10px;
font-weight: 700;
background: #e8f0fe;
color: #4f86c6;
vertical-align: middle;
}
.acct-role-select {
padding: 5px 10px;
border-radius: 7px;
border: 1.5px solid #d0d4db;
font-size: 13px;
font-weight: 600;
background: #fff;
cursor: pointer;
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
}
.acct-role-select:focus { box-shadow: 0 0 0 3px rgba(79,134,198,0.15); }
.acct-desc {
font-size: 13px;
color: #666;
max-width: 280px;
}
/* ── Role legend ──────────────────────────────────────────────────────────── */
.acct-legend {
display: flex;
gap: 20px;
flex-wrap: wrap;
margin-top: 24px;
padding: 20px 24px;
background: #f8f9fb;
border-radius: 12px;
border: 1px solid #e5e8ee;
}
.acct-legend-item {
display: flex;
align-items: center;
gap: 8px;
font-size: 13px;
color: #555;
}
.acct-legend-dot {
width: 10px;
height: 10px;
border-radius: 50%;
flex-shrink: 0;
}
/* ── Phone input with prefix ─────────────────────────────────────────────── */
.acct-phone-wrap {
display: flex;
align-items: center;
border: 1.5px solid #d0d4db;
border-radius: 8px;
overflow: hidden;
transition: border-color 0.2s, box-shadow 0.2s;
}
.acct-phone-wrap:focus-within {
border-color: #4f86c6;
box-shadow: 0 0 0 3px rgba(79,134,198,0.15);
}
.acct-phone-prefix {
padding: 11px 12px;
background: #f0f2f5;
font-size: 14px;
font-weight: 600;
color: #444;
border-right: 1.5px solid #d0d4db;
flex-shrink: 0;
}
.acct-phone-input {
flex: 1;
border: none !important;
border-radius: 0 !important;
box-shadow: none !important;
outline: none;
}
/* ── Danger small button ──────────────────────────────────────────────────── */
.btn-danger-sm {
padding: 5px 12px;
background: #fff;
color: #e05c5c;
border: 1.5px solid #e05c5c;
border-radius: 7px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.btn-danger-sm:hover { background: #e05c5c; color: #fff; }
/* ── Portal card β€” Violet (Planner) ────────────────────────────────────────── */
.portal-card-violet { border-top-color: #7c3aed; }
.btn-start-violet {
background: linear-gradient(135deg, #7c3aed, #5b21b6) !important;
box-shadow: 0 4px 14px rgba(124,58,237,0.35) !important;
}
.btn-start-violet:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
/* ── Portal card β€” Amber (Tickets) ─────────────────────────────────────────── */
.portal-card-amber { border-top-color: #d97706; }
.btn-start-amber {
background: linear-gradient(135deg, #d97706, #b45309) !important;
box-shadow: 0 4px 14px rgba(217,119,6,0.35) !important;
}
.btn-start-amber:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
/* ── Kanban board ───────────────────────────────────────────────────────────── */
/* ── Task / Ticket modal two-column layout ──────────────────────────────────── */
.task-modal {
max-width: 900px !important;
width: 92% !important;
padding: 0 !important;
overflow: hidden;
}
/* Planner β€” violet theme */
.task-modal--planner .task-modal-header {
background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}
.task-modal--planner .task-modal-right {
background: #f3f0ff;
border-left: 1px solid #e0d4ff;
}
.task-modal--planner .task-modal-right .login-label { color: #6040b0; }
.task-modal--planner .task-modal-right .login-input:focus {
border-color: #7c3aed;
box-shadow: 0 0 0 3px rgba(124,58,237,0.12);
}
/* Ticket β€” amber theme */
.task-modal--ticket .task-modal-header {
background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}
.task-modal--ticket .task-modal-right {
background: #fffbeb;
border-left: 1px solid #fde68a;
}
.task-modal--ticket .task-modal-right .login-label { color: #92400e; }
.task-modal--ticket .task-modal-right .login-input:focus {
border-color: #d97706;
box-shadow: 0 0 0 3px rgba(217,119,6,0.12);
}
/* Shared header */
.task-modal-header {
padding: 18px 28px;
display: flex;
align-items: center;
justify-content: space-between;
}
.task-modal-header h3 {
color: #fff;
font-size: 1.1rem;
font-weight: 700;
margin: 0;
}
/* Body */
.task-modal-body { padding: 24px 28px; }
.task-modal-grid {
display: grid;
grid-template-columns: 2fr 240px;
gap: 0;
align-items: stretch;
}
.task-modal-left {
display: flex;
flex-direction: column;
padding-right: 24px;
}
.task-modal-right {
display: flex;
flex-direction: column;
padding: 20px 20px;
border-radius: 0 0 14px 0;
}
@media (max-width: 680px) {
.task-modal-grid { grid-template-columns: 1fr; }
.task-modal-right { border-left: none; border-top: 1px solid #e0e4ea; padding: 16px 0 0; }
}
/* ── Kanban board ───────────────────────────────────────────────────────────── */
.kanban-board {
display: flex;
gap: 16px;
align-items: stretch;
overflow-x: auto;
padding-bottom: 16px;
height: calc(100vh - 160px);
}
/* Column accent colors */
.kanban-col[data-col="backlog"] { background: #f0f4ff; }
.kanban-col[data-col="in-progress"] { background: #fff8ed; }
.kanban-col[data-col="in-review"] { background: #f3f0ff; }
.kanban-col[data-col="done"] { background: #edfaf3; }
.kanban-col[data-col="backlog"] .kanban-col-header { border-bottom-color: #93b4f0; color: #3a5da8; background: #f0f4ff; }
.kanban-col[data-col="in-progress"] .kanban-col-header { border-bottom-color: #f0b060; color: #a05a10; background: #fff8ed; }
.kanban-col[data-col="in-review"] .kanban-col-header { border-bottom-color: #b49af0; color: #6040b0; background: #f3f0ff; }
.kanban-col[data-col="done"] .kanban-col-header { border-bottom-color: #60c890; color: #1a7040; background: #edfaf3; }
.kanban-col[data-col="backlog"] .kanban-col-count { background: #d0deff; color: #3a5da8; }
.kanban-col[data-col="in-progress"] .kanban-col-count { background: #ffe0b0; color: #a05a10; }
.kanban-col[data-col="in-review"] .kanban-col-count { background: #e0d4ff; color: #6040b0; }
.kanban-col[data-col="done"] .kanban-col-count { background: #c0f0d8; color: #1a7040; }
.kanban-col {
flex: 1 1 300px;
border-radius: 12px;
padding: 12px;
min-height: 300px;
overflow-y: auto;
max-height: 100%;
}
.kanban-col-header {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 13px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 10px;
padding-bottom: 8px;
border-bottom: 2px solid #e0e4ea;
position: sticky;
top: 0;
z-index: 2;
}
.kanban-col-count {
background: #e0e4ea;
color: #666;
font-size: 11px;
font-weight: 700;
border-radius: 20px;
padding: 1px 8px;
}
.kanban-empty {
text-align: center;
color: #bbb;
font-size: 13px;
padding: 20px 0;
}
.kanban-card {
background: #fff;
border-radius: 10px;
padding: 12px;
margin-bottom: 10px;
box-shadow: 0 2px 8px rgba(0,0,0,0.07);
transition: box-shadow 0.15s, transform 0.1s;
}
.kanban-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.12); transform: translateY(-1px); }
.kanban-card.card-once { border-left: 4px solid #4f86c6; background: #f7faff; }
.kanban-card.card-daily { border-left: 4px solid #22a05a; background: #f4fbf7; }
.kanban-card.dragging { opacity: 0.45; transform: rotate(2deg); }
.kanban-col.drag-over { background: #eef3ff; outline: 2px dashed #4f86c6; outline-offset: -4px; }
.kanban-card-product {
display: inline-block;
font-size: 10px;
font-weight: 700;
background: #e8f0fe;
color: #4f86c6;
border-radius: 4px;
padding: 2px 6px;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.4px;
}
.kanban-card-title {
font-size: 13px;
font-weight: 700;
color: #1a1a2e;
margin-bottom: 4px;
line-height: 1.3;
}
.kanban-card-desc {
font-size: 12px;
color: #777;
margin-bottom: 6px;
line-height: 1.4;
}
.kanban-card-meta {
display: flex;
gap: 8px;
font-size: 11px;
color: #888;
margin-bottom: 8px;
flex-wrap: wrap;
}
.kanban-card-dates {
display: flex;
gap: 8px;
font-size: 10px;
color: #999;
margin-bottom: 6px;
flex-wrap: wrap;
}
.kanban-date-due { color: #555; }
.kanban-date-due.overdue { color: #e05c5c; font-weight: 600; }
.due-date { color: #555; }
.due-date-overdue { color: #e05c5c; font-weight: 600; }
.kanban-card-footer {
display: flex;
align-items: center;
gap: 6px;
}
.kanban-status-select {
flex: 1;
font-size: 11px;
padding: 4px 6px;
border: 1.5px solid #d0d4db;
border-radius: 6px;
outline: none;
cursor: pointer;
background: #f8f9fa;
color: #333;
}
.kanban-del-btn {
background: none;
border: 1.5px solid #e05c5c;
color: #e05c5c;
border-radius: 6px;
padding: 3px 7px;
font-size: 11px;
cursor: pointer;
transition: background 0.15s, color 0.15s;
}
.kanban-del-btn:hover { background: #e05c5c; color: #fff; }
/* ── Tag chips ──────────────────────────────────────────────────────────────── */
.tag-chip-wrap {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-top: 4px;
margin-bottom: 4px;
}
.tag-chip {
padding: 4px 10px;
background: #f0f2f5;
color: #555;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
cursor: pointer;
border: 1.5px solid transparent;
transition: all 0.15s;
}
.tag-chip.active {
background: #e8f0fe;
color: #4f86c6;
border-color: #4f86c6;
}
.tag-chip:hover { border-color: #aaa; }
/* ── Ticket priority badges ─────────────────────────────────────────────────── */
.priority-high { background: #fde8e8; color: #c0392b; border-radius: 4px; padding: 2px 7px; font-size: 12px; font-weight: 600; }
.priority-medium { background: #fff8e1; color: #d97706; border-radius: 4px; padding: 2px 7px; font-size: 12px; font-weight: 600; }
.priority-low { background: #e6f7ee; color: #1a6e3c; border-radius: 4px; padding: 2px 7px; font-size: 12px; font-weight: 600; }
/* ── Status pill ────────────────────────────────────────────────────────────── */
.status-pill {
background: #f0f2f5;
color: #555;
border-radius: 4px;
padding: 2px 7px;
font-size: 12px;
font-weight: 600;
text-transform: capitalize;
}
/* ── Notification bell ──────────────────────────────────────────────────────── */
.notif-bell-wrap {
position: relative;
}
.notif-bell-btn {
background: rgba(255,255,255,0.12);
border: none;
border-radius: 8px;
color: #fff;
font-size: 18px;
padding: 7px 10px;
cursor: pointer;
position: relative;
transition: background 0.15s;
}
.notif-bell-btn:hover { background: rgba(255,255,255,0.22); }
.notif-badge {
position: absolute;
top: 2px;
right: 2px;
background: #e05c5c;
color: #fff;
font-size: 10px;
font-weight: 700;
border-radius: 10px;
padding: 1px 5px;
min-width: 16px;
text-align: center;
line-height: 1.4;
}
.notif-dropdown {
position: absolute;
top: calc(100% + 8px);
right: 0;
width: 320px;
background: #fff;
border-radius: 12px;
box-shadow: 0 8px 32px rgba(0,0,0,0.18);
z-index: 1000;
overflow: hidden;
max-height: 420px;
overflow-y: auto;
}
.notif-dd-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 12px 16px 10px;
font-size: 13px;
font-weight: 700;
color: #1a1a2e;
border-bottom: 1px solid #f0f2f5;
}
.notif-mark-all {
background: none;
border: none;
color: #4f86c6;
font-size: 12px;
font-weight: 600;
cursor: pointer;
padding: 0;
}
.notif-mark-all:hover { text-decoration: underline; }
.notif-item {
padding: 10px 16px;
border-bottom: 1px solid #f5f7fa;
cursor: pointer;
transition: background 0.1s;
}
.notif-item:hover { background: #f8f9fa; }
.notif-item.unread { background: #eef4ff; border-left: 3px solid #4f86c6; }
.notif-item.unread:hover { background: #e3ecfd; }
.notif-msg {
font-size: 13px;
color: #333;
line-height: 1.4;
margin-bottom: 3px;
}
.notif-time {
font-size: 11px;
color: #aaa;
}
.notif-empty {
padding: 24px 16px;
text-align: center;
color: #aaa;
font-size: 13px;
}
/* ── Primary action button (modal submit) ───────────────────────────────────── */
.btn-primary {
padding: 10px 20px;
background: linear-gradient(135deg, #1a1a2e, #0f3460);
color: #fff;
border: none;
border-radius: 8px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
transition: opacity 0.15s, transform 0.15s;
box-shadow: 0 3px 10px rgba(15,52,96,0.3);
}
.btn-primary:hover:not(:disabled) { opacity: 0.9; transform: translateY(-1px); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
/* ── Log Panel ───────────────────────────────────────────────────────────────── */
.log-panel-overlay {
position: fixed;
inset: 0;
background: rgba(0,0,0,0.35);
z-index: 2000;
display: flex;
justify-content: flex-end;
}
.log-panel {
width: 380px;
max-width: 95vw;
height: 100%;
background: #fff;
display: flex;
flex-direction: column;
box-shadow: -4px 0 24px rgba(0,0,0,0.18);
animation: slideInRight 0.2s ease;
}
@keyframes slideInRight {
from { transform: translateX(100%); }
to { transform: translateX(0); }
}
.log-panel-header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px;
border-bottom: 1px solid #e8ecf4;
font-weight: 700;
font-size: 15px;
color: #1a1a2e;
background: #f7f9ff;
flex-shrink: 0;
}
.log-panel-close {
background: none;
border: none;
font-size: 22px;
cursor: pointer;
color: #888;
line-height: 1;
padding: 0 4px;
}
.log-panel-close:hover { color: #333; }
.log-panel-body {
flex: 1;
overflow-y: auto;
padding: 12px 16px;
display: flex;
flex-direction: column;
gap: 8px;
}
.log-entry {
background: #f7f9ff;
border: 1px solid #e4e9f5;
border-radius: 8px;
padding: 10px 14px;
}
.log-entry-action {
font-size: 13px;
color: #1a1a2e;
font-weight: 500;
margin-bottom: 4px;
word-break: break-word;
}
.log-entry-meta {
font-size: 11px;
color: #888;
}
.log-empty {
color: #aaa;
font-size: 13px;
text-align: center;
padding: 32px 0;
}