facebook / style.css
Althnayi's picture
Upload 27 files
2a196ac verified
Raw
History Blame Contribute Delete
39.1 kB
/* ============================================================================
File: style.css
============================================================================ */
:root {
--primary: #1877f2;
--primary-hover: #166fe5;
--success: #10b981;
--success-hover: #059669;
--warning: #f59e0b;
--danger: #ef4444;
--danger-hover: #dc2626;
--bg-main: #f0f2f5;
--bg-card: #ffffff;
--text-main: #050505;
--text-muted: #65676b;
--border: #e4e6eb;
--dark-panel: #1e1e24;
--calendar-bg: linear-gradient(180deg, #ffffff, #f7fbfe);
--calendar-border: #e2e8f0;
--history-bg: #fdfdfd;
--insight-bg: #f5f3ff;
--insight-border: #8b5cf6;
--glass-bg: rgba(255, 255, 255, 0.85);
--glass-border: rgba(255, 255, 255, 0.3);
--shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
--shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
--shadow-md: 0 6px 12px rgba(0, 0, 0, 0.12);
--shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.15);
--shadow-hover: 0 10px 20px rgba(24, 119, 242, 0.15);
--radius-sm: 6px;
--radius-md: 8px;
--radius-lg: 12px;
--radius-xl: 16px;
--transition-fast: 0s !important;
--transition-normal: 0s !important;
--font-code: 'Fira Code', 'Courier New', Courier, monospace;
--outline-ring: rgba(24, 119, 242, 0.4);
}
/* ========================================================
App Layout Structure (LTR Optimized)
======================================================== */
.app-layout { display: grid; grid-template-columns: 260px 1fr; min-height: 100vh; gap: 15px; }
@media (max-width: 992px) { .app-layout { grid-template-columns: 1fr; } }
.sidebar { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 15px; display: flex; flex-direction: column; gap: 2px; height: fit-content; position: sticky; top: 15px; box-shadow: var(--shadow-sm); direction: ltr; text-align: left; }
.sidebar-brand { font-size: 16px; font-weight: 600; color: var(--primary); text-align: center; padding-bottom: 10px; border-bottom: 2px solid var(--bg-main); display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 5px; }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 10px 15px; border-radius: var(--radius-md); color: var(--text-muted); font-weight: bold; font-size: 13px; text-decoration: none; cursor: pointer; transition: none !important; border: 1px solid transparent; direction: ltr; text-align: left; }
.nav-item:hover { background: var(--bg-main); color: var(--text-main); }
.nav-item.active { color: var(--primary); background: #eff6ff; border-color: #bfdbfe; }
.content-area { display: flex; flex-direction: column; gap: 15px; direction: ltr; text-align: left; }
.tab-pane { display: none; }
.tab-pane.active { display: flex; flex-direction: column; gap: 15px; }
.wa-import-area { border: 2px dashed #cbd5e1; border-radius: var(--radius-md); padding: 20px; text-align: center; cursor: pointer; transition: none !important; }
.wa-import-area:hover { border-color: #bfdbfe; background: linear-gradient(180deg, #ffffff, #eff6ff); }
.recipient-list-badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 12px; background: #f1f5f9; font-size: 11px; font-weight: bold; border: 1px solid #cbd5e1; }
/* ========================================================
Redesigned Content Library Side-By-Side Split Layout
======================================================== */
.content-lib-layout {
display: grid;
grid-template-columns: 360px 1fr;
gap: 20px;
align-items: start;
}
@media (max-width: 1150px) {
.content-lib-layout {
grid-template-columns: 1fr;
}
}
.content-lib-sidebar {
display: flex;
flex-direction: column;
gap: 15px;
position: sticky;
top: 100px;
max-height: calc(100vh - 120px);
overflow-y: auto;
}
.sidebar-section-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 2px solid var(--bg-main);
padding-bottom: 12px;
margin-bottom: 5px;
}
.automation-control-box {
background: #fdfdfd;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 15px;
box-shadow: var(--shadow-xs);
}
.filters-collapsible-wrapper {
background: #ffffff;
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 15px;
box-shadow: var(--shadow-xs);
}
.cl-template-grid {
display: grid;
grid-template-columns: 1fr;
gap: 12px;
}
.cl-bulk-btn {
transition: all 0.15s ease-in-out !important;
font-weight: 700;
border: 1px solid var(--border);
}
.cl-bulk-btn:hover {
transform: translateY(-1px);
box-shadow: var(--shadow-xs);
}
/* ========================================================
CSS Animations for fluid UX transition
======================================================== */
@keyframes fadeIn {
from { opacity: 0; transform: translateY(4px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
animation: fadeIn 0.15s ease-out forwards;
}
@keyframes slideDown {
from { opacity: 0; max-height: 0; overflow: hidden; margin-top: 0; }
to { opacity: 1; max-height: 100px; overflow: visible; margin-top: 10px; }
}
.animate-slide-down {
animation: slideDown 0.2s ease-out forwards;
}
/* ========================================================
LTR Global Typography & Reset
======================================================== */
* { box-sizing: border-box; margin: 0; padding: 0; font-family: system-ui, -apple-system, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; scroll-behavior: auto !important; text-decoration: none; }
*:focus-visible { outline: none; outline-offset: 2px; border-radius: 2px; }
body { background-color: var(--bg-main); color: var(--text-main); padding: 15px; line-height: 1.6; transition: none !important; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; min-height: 100vh; display: flex; flex-direction: column; direction: ltr; text-align: left; }
::-webkit-scrollbar { width: 0px !important; height: 0px !important; }
::-webkit-scrollbar-track { background: var(--bg-main); border-radius: var(--radius-lg); }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: var(--radius-lg); }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.container { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; width: 100%; flex: 1; }
i.fa-solid, i.fa-regular, i.fa-brands { margin-right: 5px; margin-left: 0; }
/* ========================================================
Header Status Bar Components
======================================================== */
header { background: var(--bg-card); padding: 15px 25px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 15px; z-index: 100; backdrop-filter: blur(10px); border: 1px solid var(--border); transition: none !important; direction: ltr; }
header h1 { font-size: 20px; color: var(--primary); display: flex; align-items: center; gap: 10px; letter-spacing: -0.5px; }
.auth-status { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
#points-badge, #xp-badge, #fb-shares-badge, #wa-shares-badge { transition: none !important; }
#points-badge:hover, #xp-badge:hover, #fb-shares-badge:hover, #wa-shares-badge:hover { transform: none !important; box-shadow: var(--shadow-sm); }
#session-badge { transition: none !important; outline: none; }
#session-badge:hover { transform: none !important; }
#session-badge:active { transform: none !important; }
#session-badge.red:hover { box-shadow: none !important; background: #fef2f2; }
#session-badge.green:hover { box-shadow: none !important; background: #f0fdf4; }
#session-badge.yellow:hover { box-shadow: none !important; background: #fffdf5; }
.badge { padding: 6px 12px; border-radius: 20px; font-size: 13px; font-weight: bold; display: inline-flex; align-items: center; gap: 5px; transition: none !important; }
.badge.red { background: #ffebee; color: var(--danger); border: 1px solid #ffcdd2; }
.badge.green { background: #e8f5e9; color: var(--success); border: 1px solid #c8e6c9 !important; }
.badge.yellow { background: #fffbeb; color: #b45309; border: 1px solid #fde68a !important; }
.badge.live { background: #fee2e2; color: #ef4444; border: 1px solid #fca5a5; }
/* ========================================================
Interactive Buttons
======================================================== */
button { padding: 10px 18px; border: none; border-radius: var(--radius-md); font-weight: bold; cursor: pointer; transition: none !important; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 0px; position: relative; overflow: hidden; user-select: none; }
button:active { transform: none !important; }
button:disabled { opacity: 0.6; cursor: not-allowed; filter: none !important; }
.btn-primary { background: var(--primary); color: white; box-shadow: none !important; }
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); box-shadow: none !important; }
.btn-secondary { background: #f1f5f9; color: #475569; }
.btn-secondary:hover:not(:disabled) { background: #e2e8f0; color: #1e293b; }
.btn-danger { background: var(--danger); color: white; box-shadow: none !important; }
.btn-danger:hover:not(:disabled) { background: #dc2626; box-shadow: none !important; }
#btn-select-all { background: #dcfce7; color: #166534; }
#btn-deselect-all { background: #fee2e2; color: #991b1b; }
#btn-select-admin { background: #e0f2fe; color: #0369a1; }
/* ========================================================
Range Sliders
======================================================== */
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: #e2e8f0; outline: none; transition: none !important; margin: 10px 0; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: none !important; transition: none !important; }
input[type="range"]::-webkit-slider-thumb:hover { transform: none !important; background-color: var(--primary-hover); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border: none; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: none !important; transition: none !important; }
input[type="range"]::-moz-range-thumb:hover { transform: none !important; background-color: var(--primary-hover); }
/* ========================================================
Spintax Panel
======================================================== */
.spintax-panel { background: linear-gradient(180deg, #ffffff, #f7fbfe); border: 1px solid #e2e8f0; border-radius: var(--radius-md); padding: 12px; margin-bottom: 12px; }
.spintax-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.spintax-title { font-size: 13px; font-weight: bold; color: #1e293b; }
.spintax-stats { display: flex; gap: 15px; font-size: 11px; color: #64748b; margin-bottom: 10px; flex-wrap: wrap; }
.spintax-warning { color: var(--danger); font-weight: bold; }
.spintax-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#spintax-preview-box { display: none; margin-top: 10px; padding: 10px; background: #eff6ff; border: 1px dashed #60a5fa; border-radius: var(--radius-sm); font-size: 12px; color: #1e40af; white-space: pre-wrap; }
/* ========================================================
General Grid Systems & Workspace Cards
======================================================== */
.main-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; }
@media (max-width: 900px) { .main-grid { grid-template-columns: 1fr; } }
.card { background: var(--bg-card); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 15px; border: 1px solid var(--border); transition: none !important; position: sticky; overflow: auto; direction: ltr; text-align: left; }
.card:hover { transform: none !important; }
.card-title { font-size: 16px; font-weight: bold; color: #333; border-bottom: 2px solid var(--bg-main); padding-bottom: 8px; margin-bottom: 15px; justify-content: space-between; align-items: center; }
.search-box { width: 100%; padding: 10px 15px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 14px; transition: none !important; background: linear-gradient(180deg, #ffffff, #f7fbfe); text-align: left; }
.search-box:focus { border-color: var(--primary); outline: none; }
/* ========================================================
Store Packages & Interactive Challenges
======================================================== */
.store-package-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 15px; background: var(--bg-card); transition: none !important; display: flex; flex-direction: column; gap: 10px; text-align: left; direction: ltr; }
.store-package-card:hover { border-color: var(--primary); }
.store-sub-card { border: 2px solid var(--border); border-radius: var(--radius-lg); padding: 20px; background: var(--bg-card); transition: none !important; display: flex; flex-direction: column; gap: 12px; text-align: center; position: relative; overflow: hidden; }
.store-sub-card.elite { border-color: #eab308; background: linear-gradient(180deg, #fffbeb, #ffffff); }
.task-card { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 15px; background: var(--bg-card); transition: none !important; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.task-card:hover { border-color: var(--primary); }
/* ========================================================
Target Communities Registry List (LTR Fluid)
======================================================== */
.groups-container { max-height: 650px; overflow-y: auto; background: #ffffff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 8px; }
.group-item { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 10px; border: 1px solid transparent; cursor: pointer; transition: none !important; direction: ltr; }
.group-item + .group-item { margin-top: 6px; }
.group-item:hover { background: linear-gradient(180deg, #ffffff, #f7fbfe); border-color: #e2e8f0; }
.group-item.active { background: linear-gradient(135deg,#eff6ff,#dbeafe); border-color: #93c5fd; }
.group-item.active .group-name { color: #1d4ed8; }
.group-item.active .group-meta { color: #2563eb; }
.group-item img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid transparent; transition: none !important; }
.group-item:hover img { transform: none !important; }
.group-item.active img { border-color: #60a5fa; box-shadow: none !important; }
.group-name { font-size: 14px; font-weight: 700; color: #1e293b; text-align: left; }
.group-meta { font-size: 11px; color: #64748b; margin-top: 2px; text-align: left; display: flex; gap: 6px; flex-wrap: wrap; direction: ltr; }
.tag-chip { display: inline-flex; align-items: center; gap: 6px; background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; border-radius: 20px; padding: 4px 10px; font-size: 11px; cursor: pointer; font-weight: bold; transition: none !important; direction: ltr; }
.tag-chip:hover { background: #bae6fd; }
.tag-delete { cursor: pointer; color: inherit; font-size: 14px; font-weight: bold; transition: none !important; margin-left: 5px; margin-right: 0; }
.tag-delete:hover { opacity: .7; transform: none !important; }
/* ========================================================
Media Uploader and Text Composer Modules
======================================================== */
textarea.main-composer { width: 100%; height: 140px; background: linear-gradient(180deg, #ffffff, #f7fbfe); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 15px; font-size: 14px; resize: vertical; line-height: 1.6; transition: none !important; text-align: left; direction: ltr; }
textarea.main-composer:focus { outline: none; background: white; }
.image-uploader-area { border: 2px dashed #cbd5e1; padding: 30px; border-radius: 18px; text-align: center; cursor: pointer; color: #64748b; font-size: 13px; line-height: 1.6; background: linear-gradient(180deg, #ffffff, #f7fbfe); font-weight: 600; transition: none !important; position: relative; overflow: hidden; }
.image-uploader-area:hover { border-color: #bfdbfe; background: linear-gradient(180deg,#ffffff,#eff6ff); }
.img-preview-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.preview-box { position: relative; width: 82px; height: 82px; border: 1px solid #cbd5e1; border-radius: var(--radius-md); overflow: hidden; }
.preview-box img, .preview-box video { width: 100%; height: 100%; object-fit: cover; }
.preview-box button { position: absolute; top: 4px; right: 4px; left: auto; background: rgba(239, 68, 68, 0.85); color: white; border: none; border-radius: 50%; width: 22px; height: 22px; cursor: pointer; padding: 0; font-size: 11px; display: inline-flex; align-items: center; justify-content: center; }
/* ========================================================
System Sleep Cooldown Mechanics Controls
======================================================== */
.intervals-panel { background: #fff; border: 1px solid #cbd5e1; border-radius: var(--radius-lg); padding: 20px 25px; margin-top: 15px; margin-bottom: 15px; box-shadow: none; }
.intervals-panel .delay-settings { display: flex; flex-direction: column; gap: 15px; }
.interval-row { display: flex; gap: 15px; margin-top: 15px; }
.interval-row > div { flex: 1; display: flex; flex-direction: column; }
.interval-row label { font-size: 12px; font-weight: bold; color: #475569; margin-bottom: 5px; text-align: left; }
.interval-row input { padding: 8px 12px; border: 1px solid #cbd5e1; border-radius: var(--radius-sm); font-size: 13px; outline: none; transition: none !important; text-align: left; }
.interval-row input:focus { border-color: var(--primary); }
.composer-actions { display: flex; gap: 10px; margin-top: 15px; }
/* ========================================================
Active Operations Monitor Terminal Panel (Strict LTR)
======================================================== */
.terminal-card { background: #0f172a; border-radius: var(--radius-lg); border: 1px solid #1e293b; box-shadow: none !important; padding: 15px; }
.terminal-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 8px; margin-bottom: 10px; }
.terminal-title { font-size: 12px; font-weight: bold; color: #94a3b8; font-family: monospace; }
.terminal-body { height: 250px; overflow-y: auto; font-family: var(--font-code); font-size: 12px; color: #e2e8f0; display: flex; flex-direction: column; gap: 4px; direction: ltr; text-align: left; }
.log-line { display: flex; gap: 8px; border-bottom: 1px solid #1e293b; padding-bottom: 4px; }
.log-time { color: #38bdf8; font-weight: bold; }
.log-error { color: #f43f5e; font-weight: bold; }
.log-success { color: #10b981; }
.log-info { color: #e2e8f0; }
.log-warn { color: #f59e0b; }
/* ========================================================
Operational Progress Indicators
======================================================== */
.progress-bar-bg { width: 100%; height: 14px; background: #e4e6eb; border-radius: 10px; overflow: hidden; margin-top: 8px; box-shadow: none !important; position: relative; }
.progress-bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, #10b981, #34d399); transition: none !important; position: absolute; left: 0; right: auto; }
.progress-bar-fill::after { content: ''; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-size: 20px 20px; }
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 15px; }
.stat-box { background: linear-gradient(180deg, #ffffff, #f7fbfe); padding: 10px 5px; border-radius: var(--radius-xl); text-align: center; border: 1px solid #e4e6eb; transition: none !important; box-shadow: none !important; }
.stat-box:hover { border-color: #cbd5e1; }
.stat-box .num { font-size: 22px; font-weight: 900; color: #1e293b; }
.stat-box .lbl { font-size: 12px; color: var(--text-muted); margin-top: 4px; text-transform: uppercase; font-weight: bold; letter-spacing: 0.5px; }
.stats-row.analytics { grid-template-columns: repeat(3, 1fr); }
.analytics .num { color: #3b82f6; }
/* ========================================================
Technical Table Matrix Styles (Standard LTR)
======================================================== */
table { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 15px; font-size: 13px; direction: ltr; text-align: left; }
th, td { padding: 12px 15px; border-bottom: 1px solid var(--border); text-align: left; }
th { background: #f8f9fa; color: var(--text-muted); font-weight: 800; text-transform: uppercase; font-size: 11px; letter-spacing: 0.5px; position: sticky; top: 0; z-index: 10; box-shadow: none !important; }
td { background: white; transition: none !important; }
tr:hover td { background: linear-gradient(180deg, #ffffff, #f7fbfe); }
tr:last-child td { border-bottom: none; }
.status-badge { padding: 4px 10px; border-radius: 12px; font-size: 11px; font-weight: bold; display: inline-block; text-align: center; box-shadow: none !important; }
.status-badge.success { background: #e8f5e9; color: var(--success); border: 1px solid #c8e6c9; }
.status-badge.pending { background: #fef3c7; color: var(--warning); border: 1px solid #fde68a; }
.status-badge.failed { background: #fee2e2; color: var(--danger); border: 1px solid #fca5a5; }
.status-badge.running { background: #e0f2fe; color: #0284c7; border: 1px solid #bae6fd; }
/* ========================================================
Ledger & Analytics Archive Controls
======================================================== */
.history-filters-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 15px; margin-bottom: 24px; padding: 20px; background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); direction: ltr; }
.history-insights { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 24px; direction: ltr; }
.insight-card { background: linear-gradient(180deg, #ffffff, #f7fbfe); border: 1px solid #e0f2fe; border-radius: 22px; padding: 22px; text-align: center; transition: none !important; }
.insight-card .i-val { font-size: 32px; font-weight: 900; color: #0f766e; margin-bottom: 6px; }
.insight-card .i-lbl { font-size: 12px; font-weight: 700; color: #64748b; }
.history-table-container { max-height: 500px; overflow-y: auto; background: #ffffff; border: 1px solid #eef2f7; border-radius: 20px; box-shadow: none !important; }
.history-table th { position: sticky; top: 0; z-index: 10; background: linear-gradient(180deg, #ffffff, #f7fbfe); color: #64748b; font-size: 11px; font-weight: 800; border-bottom: 1px solid #e2e8f0; text-align: left; }
.history-table td { padding: 15px; color: #0f172a; font-size: 13px; text-align: left; }
.history-table tbody tr:nth-child(even) { background: #fcfcfd; }
.action-btn { background: #f1f5f9; border: 1px solid #cbd5e1; cursor: pointer; font-size: 14px; margin: 0 4px; padding: 6px 10px; border-radius: var(--radius-sm); transition: none !important; display: inline-flex; align-items: center; justify-content: center; }
.action-btn:hover { background: white; }
.mini-bar-bg { width: 100%; height: 14px; margin-top: 8px; background: linear-gradient(180deg,#f0fdf4,#dcfce7); border-radius: 999px; overflow: hidden; position: relative; }
.mini-bar-fill { height: 100%; border-radius: inherit; background: linear-gradient(90deg,#4ade80,#22c55e,#16a34a); transition: none !important; position: absolute; left: 0; right: auto; }
.trends-container { background: white; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; margin-bottom: 20px; display: flex; flex-direction: column; height: 220px; box-shadow: var(--shadow-sm); }
.trends-title { font-size: 14px; font-weight: bold; color: var(--text-muted); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; text-align: left; }
.chart-grid { display: flex; align-items: flex-end; justify-content: space-around; flex-grow: 1; gap: 12px; padding-top: 10px; border-bottom: 2px solid #e2e8f0; padding-bottom: 5px; }
.bar-wrapper { display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; justify-content: flex-end; position: relative; }
.bar { width: 70%; background: #e2e8f0; border-radius: 5px 5px 0px 0px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; transition: none !important; min-height: 4px; }
.bar-success { background: linear-gradient(180deg, #34d399, #10b981); width: 100%; transition: none !important; }
.bar-lbl { font-size: 11px; color: #64748b; margin-top: 8px; font-weight: bold; }
.bar-tooltip { position: absolute; top: -35px; font-size: 11px; background: #1e293b; color: white; padding: 4px 8px; border-radius: var(--radius-sm); opacity: 0; transition: none !important; pointer-events: none; white-space: nowrap; z-index: 20; }
.bar-tooltip::after { content:''; position:absolute; top:100%; left:50%; margin-left:-4px; border-width:4px; border-style:solid; border-color: #1e293b transparent transparent transparent; }
.bar-wrapper:hover .bar-tooltip { opacity: 1; }
#btn-export-history { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; padding: 6px 12px; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; border-radius: 12px; cursor: pointer; font-weight: 700; transition: none !important; }
#btn-export-history:hover { background: #dcfce7; border-color: #86efac; }
.export-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; margin-top: 20px; direction: ltr; }
@media (max-width: 900px) { .export-grid { grid-template-columns: 1fr; } }
.export-section { background: var(--history-bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; }
.export-section h3 { font-size: 14px; color: #1e293b; margin-bottom: 15px; border-bottom: 1px solid #e2e8f0; padding-bottom: 8px; font-weight: bold; text-transform: uppercase; text-align: left; }
.export-checkboxes { display: flex; flex-direction: column; gap: 10px; font-size: 13px; text-align: left; }
.export-checkboxes label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.export-checkboxes input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer; }
/* ========================================================
Secure Modal Configurations
======================================================== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; backdrop-filter: blur(4px); display: none; align-items: center; justify-content: center; z-index: 1000; background-color: rgb(0 0 0 / 0.05); }
.modal-content { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-xl); width: 90%; max-width: 580px; max-height: 90%; overflow-y: auto; display: flex; flex-direction: column; direction: ltr; text-align: left; }
.modal-header { padding: 15px 20px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; direction: ltr; }
.modal-title { font-size: 15px; font-weight: bold; color: var(--text-main); display: flex; align-items: center; gap: 8px; }
.modal-close { background: none; border: none; color: var(--text-muted); font-size: 24px; cursor: pointer; line-height: 1; margin-left: auto; margin-right: 0; }
.modal-body { padding: 20px; text-align: left; direction: ltr; }
.form-group { margin-bottom: 15px; display: flex; flex-direction: column; }
.form-group label { font-size: 12px; font-weight: bold; color: var(--text-muted); margin-bottom: 5px; text-align: left; }
.form-group select,
.form-group input[type="text"],
.form-group input[type="datetime-local"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group input[type="password"] { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--radius-md); font-size: 13px; background: linear-gradient(180deg, #ffffff, #f7fbfe); outline: none; text-align: left; }
.form-group select:focus, .form-group input:focus { background: var(--bg-main); border-color: var(--primary); }
.checkbox-group { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fafafa; border: 1px solid #eceff3; border-radius: 16px; cursor: pointer; user-select: none; transition: none !important; direction: ltr; }
.checkbox-group input[type="checkbox"] { width: 20px; height: 20px; accent-color: #2563eb; flex-shrink: 0; }
.checkbox-group label { flex: 1; font-size: 13px; font-weight: 600; color: #0f172a; cursor: pointer; text-align: left; }
.checkbox-group:has(input:checked) { background: linear-gradient(180deg, #ffffff, #f7fbfe); border-color: #bfdbfe; }
#delay-mode { width: 100%; height: 52px; padding: 0 18px; background: linear-gradient(180deg, #ffffff, #f7fbfe); border: 1px solid #e5e7eb; border-radius: 14px; color: #111827; font-size: 14px; font-weight: 600; cursor: pointer; outline: none; appearance: none; text-align: left; }
/* ========================================================
Redesigned Stealth Matrix Grids & Card Classes
======================================================== */
.stealth-section-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 15px;
margin-top: 15px;
}
@media (max-width: 768px) {
.stealth-section-grid {
grid-template-columns: 1fr;
}
}
.stealth-group-card {
border: 1px solid var(--border);
border-radius: var(--radius-lg);
padding: 15px;
background: var(--bg-card);
display: flex;
flex-direction: column;
gap: 12px;
}
.stealth-group-card h4 {
font-size: 13px;
font-weight: bold;
margin-bottom: 5px;
}
/* ========================================================
Content Rotation Matrix Inner Tabs (LTR)
======================================================== */
.rot-nav-tabs { display: flex; background: #ffffff; border-bottom: 1px solid #e2e8f0; width: 100%; border-radius: var(--radius-md) var(--radius-md) 0 0; margin-bottom: 15px; overflow-x: auto; scrollbar-width: none; direction: ltr; }
.rot-nav-tabs::-webkit-scrollbar { display: none; }
.rot-tab-btn { padding: 12px 20px; font-size: 13px; font-weight: bold; color: var(--text-muted); cursor: pointer; border-bottom: 3px solid transparent; transition: none !important; white-space: nowrap; display: flex; align-items: center; gap: 6px; background: transparent; border-radius: 0; }
.rot-tab-btn:hover { color: var(--text-main); background: linear-gradient(180deg, #ffffff, #f7fbfe); }
.rot-tab-btn.active { color: #0d9488; border-bottom-color: #0d9488; background: #f0fdfa; }
.rot-modal-page { display: none; }
/* ========================================================
Rotation Card Grid Configurations (LTR Fluid)
======================================================== */
.rot-layout-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 15px; padding: 5px; direction: ltr; }
.rot-layout-list { display: flex; flex-direction: column; gap: 10px; padding: 5px; direction: ltr; }
.rot-post-item-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: var(--radius-lg); padding: 15px; box-shadow: none !important; transition: none !important; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.rot-post-item-card:hover { border-color: #0d9488; }
.rot-layout-list .rot-post-item-card { flex-direction: row; align-items: center; justify-content: space-between; }
.rot-card-title { font-size: 13px; font-weight: bold; color: #1e293b; margin-bottom: 2px; text-align: left; }
.rot-card-body { font-size: 12px; color: #64748b; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; --webkit-line-clamp: 3; -webkit-box-orient: vertical; line-height: 1.5; text-align: left; }
.rot-card-meta { display: flex; gap: 8px; font-size: 10px; color: #94a3b8; flex-wrap: wrap; justify-content: flex-start; }
.rot-card-badge { font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: bold; text-transform: uppercase; }
/* ========================================================
Complete Dark Mode Layout Overrides (Seamless)
======================================================== */
@media (prefers-color-scheme: dark) {
:root {
--bg-main: #0f172a;
--bg-card: #1e293b;
--text-main: #f8fafc;
--text-muted: #94a3b8;
--border: #334155;
--calendar-bg: #1e293b;
--calendar-border: #334155;
--history-bg: #0f172a;
--insight-bg: #1e293b;
--glass-bg: rgba(30, 41, 59, 0.85);
--glass-border: rgba(255, 255, 255, 0.1);
}
body { color: var(--text-main); }
.card-title, .spintax-title, .group-name, .group-name a { color: var(--text-main); }
.spintax-panel, .cl-form-panel { background: #1e293b; border-color: var(--border); }
.spintax-stats { background: #334155; color: #cbd5e1; border-color: var(--border); }
.group-item:hover { background: #334155; }
th { background: #0f172a; color: var(--text-muted); border-bottom: 2px solid var(--border); }
td { background: var(--bg-card); border-color: var(--border); color: #e2e8f0; }
tr:hover td { background: #334155; }
input, select, textarea { background: #0f172a; color: #f8fafc; border-color: var(--border); }
input:focus, select:focus, textarea:focus { background: #1e293b; }
.search-box, textarea.main-composer { background: #0f172a; color: #e2e8f0; }
#intervals-modal .modal-content { background: #1e293b !important; border-color: var(--border); }
#intervals-modal .intervals-panel { background: #0f172a !important; border-color: var(--border); }
#intervals-modal .interval-row input { background: #1e293b !important; color: #f8fafc; }
#protection-modal .modal-content { background: #1e293b !important; border-color: var(--border); }
#protection-modal label { color: #cbd5e1 !important; }
#protection-modal input, #protection-modal select { background: #0f172a !important; color: #f8fafc !important; border-color: #334155 !important; }
input[type="range"] { background: #334155; }
input[type="range"]::-webkit-slider-thumb { background: #3b82f6; }
input[type="range"]::-webkit-slider-thumb:hover { background: #60a5fa; }
#pane-store .card[style*="background"], #pane-account-details .card[style*="background"] { background: var(--bg-card) !important; border-color: var(--border) !important; }
.store-package-card, .store-sub-card, .task-card { background: #0f172a !important; border-color: #334155 !important; }
.store-package-card:hover, .store-sub-card:hover, .task-card:hover { background: #1e293b !important; border-color: var(--primary) !important; }
.store-sub-card.elite { background: linear-gradient(180deg, #1e293b, #0f172a) !important; border-color: #ca8a04 !important; }
#account-panel { background: var(--bg-card); border-color: var(--border); }
#account-panel .stat-box { background: #0f172a !important; border-color: var(--border); }
#account-panel h4 { color: #cbd5e1 !important; border-bottom-color: var(--border); }
#account-id-display { background: #0f172a !important; border-color: #334155 !important; color: #38bdf8 !important; }
#wallet-panel { background: var(--bg-card); border-color: var(--border); }
.badge.yellow { background: #78350f !important; color: #fef3c7 !important; border: 1px solid #b45309 !important; }
.trends-container { background: var(--bg-card); }
.modal-content { background: var(--bg-card); color: var(--text-main); border: 1px solid var(--border); }
.btn-secondary { background: #334155; color: #cbd5e1; border-color: #475569; }
.btn-secondary:hover:not(:disabled) { background: #475569; color: #f8fafc; }
.btn-var-insert { background: #0f172a; color: #cbd5e1; border-color: #475569; }
.btn-var-insert:hover { background: #334155; color: var(--primary); border-color: var(--primary); }
#spintax-preview-box { background: #1e293b; border-color: #4f46e5; color: #c7d2fe; }
.insight-card { background: #1e293b; border-color: var(--border); }
.insight-card .i-val { color: #f8fafc; }
.terminal-card { background: #0f172a; border-color: #000; box-shadow: none !important; }
.rot-post-item-card { background: #1e293b; border-color: #334155; }
.rot-post-item-card:hover { border-color: #0d9488; }
.rot-card-title { color: #f8fafc; }
.rot-card-body { color: #94a3b8; }
.rot-tab-btn.active { background: #115e59; color: #5eead4; }
.rot-nav-tabs { background: #1e293b; border-color: #334155; }
#rot-evaluation-totals-row { background: #151f32 !important; border-top: 2px solid #334155 !important; }
#rot-evaluation-totals-row td { color: #f8fafc !important; background: #151f32 !important; }
#variant-trace-modal .modal-content { background: #1e293b; border-color: #334155; }
#variant-trace-meta-info { background: #151f32; color: #cbd5e1; }
/* Dark Mode specific additions for Content Library Split View */
.automation-control-box { background: #1e293b !important; border-color: #334155 !important; }
.filters-collapsible-wrapper { background: #1e293b !important; border-color: #334155 !important; }
.bulk-operations-bar { background: #151f32 !important; border-color: #334155 !important; }
.cl-bulk-btn { background: #334155 !important; color: #cbd5e1 !important; border-color: #475569 !important; }
.cl-bulk-btn:hover { background: #475569 !important; color: #ffffff !important; }
.stealth-group-card { background: #1e293b !important; border-color: #334155 !important; }
}
@media print {
body { background: white; padding: 0; color: black; }
.container { max-width: 100%; box-shadow: none; }
header, button, .terminal-card, .spintax-actions, .composer-actions { display: none; }
.card { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
.main-grid { display: block; }
}