/* LucrativeIt Support Ticket Plus — Portal Styles */

/* Portal page: use a wide container instead of the theme's narrow 620px column */
body.lit-stp-portal-page {
	--wp--style--global--content-size: 1280px;
	--wp--style--global--wide-size: 1280px;
}
body.lit-stp-portal-page .wp-block-post-content,
body.lit-stp-portal-page .entry-content {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box;
}
body.lit-stp-portal-page .is-layout-constrained > .lit-portal,
body.lit-stp-portal-page .is-layout-constrained > .lit-login-wrap {
	max-width: 100% !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 24px !important;
	padding-right: 24px !important;
	box-sizing: border-box;
}
body.lit-stp-portal-page .entry-header,
body.lit-stp-portal-page .wp-block-post-title {
	display: none !important;
}
body.lit-stp-portal-page main {
	padding-top: 32px !important;
	padding-bottom: 48px !important;
}

.lit-portal { display: flex; width: 100%; max-width: 1280px; margin: 0 auto; min-height: 70vh; font-family: Inter, system-ui, sans-serif; background: #f7f9fb; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; box-sizing: border-box; box-shadow: 0 1px 3px rgba(15, 23, 42, .06); }
.lit-main { flex: 1; min-width: 0; padding: 28px 32px; overflow-y: auto; }
.lit-sidebar { width: 260px; border-right: 1px solid #c2c6d6; display: flex; flex-direction: column; flex-shrink: 0; }
.lit-brand { display: flex; align-items: center; gap: 12px; padding: 24px 20px; }
.lit-brand-icon { width: 40px; height: 40px; background: #0058be; color: #fff; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.lit-brand strong { display: block; color: #0058be; font-size: 16px; }
.lit-brand small { color: #64748b; font-size: 11px; }
.lit-nav { flex: 1; padding: 0 12px; }
.lit-nav-item { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; color: #505f76; text-decoration: none; margin-bottom: 4px; font-size: 14px; }
.lit-nav-item:hover, .lit-nav-item.active { background: #d0e1fb; color: #004395; }
.lit-badge-count { background: #ba1a1a; color: #fff; border-radius: 999px; padding: 1px 6px; font-size: 11px; margin-left: auto; }
.lit-user { padding: 16px 20px; border-top: 1px solid #e2e8f0; font-size: 13px; }
.lit-user a { color: #0058be; margin-left: 8px; }
.lit-page-header h1 { margin: 0 0 4px; font-size: 24px; color: #191c1e; }
.lit-subtitle { color: #64748b; margin: 0 0 20px; }
.lit-stats-row { display: flex; gap: 16px; margin-bottom: 24px; }
.lit-stat { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px 24px; }
.lit-stat-num { display: block; font-size: 28px; font-weight: 700; color: #0058be; }
.lit-ticket-list { display: flex; flex-direction: column; gap: 8px; }
.lit-ticket-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; text-decoration: none; color: inherit; }
.lit-ticket-card:hover { border-color: #0058be; }
.lit-ticket-num { font-weight: 600; color: #0058be; min-width: 90px; }
.lit-ticket-subject { flex: 1; }
.lit-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; }
.lit-status-open { background: #e8f0fe; color: #1557b0; }
.lit-status-resolved, .lit-status-closed { background: #f0fdf4; color: #166534; }
.lit-status-in_progress { background: #fffbeb; color: #92400e; }
.lit-priority-urgent { color: #ba1a1a; font-weight: 600; }
.lit-form .lit-field { margin-bottom: 16px; }
.lit-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: 13px; color: #424754; }
.lit-form input[type=text], .lit-form input[type=email], .lit-form input[type=password], .lit-form input[type=number], .lit-form select, .lit-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #c2c6d6; border-radius: 8px; font-size: 14px; box-sizing: border-box; }
.lit-btn { display: inline-block; padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-size: 14px; font-weight: 500; text-decoration: none; }
.lit-btn-primary { background: #0058be; color: #fff; }
.lit-btn-secondary { background: #eceef0; color: #191c1e; }
.lit-messages { margin: 24px 0; }
.lit-message { margin-bottom: 12px; padding: 14px 16px; border-radius: 10px; max-width: 85%; }
.lit-message-agent { background: #d0e1fb; margin-left: auto; border-bottom-right-radius: 4px; }
.lit-message-customer { background: #eceef0; border-bottom-left-radius: 4px; }
.lit-message-internal { background: #ffdcc6; border: 1px dashed #b75b00; max-width: 100%; }
.lit-message-meta { font-size: 12px; color: #64748b; margin-bottom: 6px; }
.lit-inline-form { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; align-items: center; }
.lit-powered { margin-top: 24px; font-size: 12px; color: #94a3b8; }
@media (max-width: 768px) { .lit-portal { flex-direction: column; border-radius: 0; } .lit-sidebar { width: 100%; } body.lit-stp-portal-page .wp-block-post-content, body.lit-stp-portal-page .entry-content, body.lit-stp-portal-page .is-layout-constrained > .lit-portal, body.lit-stp-portal-page .is-layout-constrained > .lit-login-wrap { padding-left: 16px !important; padding-right: 16px !important; } }
