/**
 * Password Protect Master â€” Admin Dashboard Styles
 *
 * Modern SaaS-style admin interface.
 *
 * @package PasswordProtectMaster
 */

/* ===== Variables ===== */
:root {
	--ppmstr-primary: #6C5CE7;
	--ppmstr-primary-light: #A29BFE;
	--ppmstr-primary-dark: #5A4BD1;
	--ppmstr-primary-gradient: linear-gradient(135deg, #6C5CE7 0%, #A855F7 100%);
	--ppmstr-secondary: #00B894;
	--ppmstr-accent: #FD79A8;
	--ppmstr-sidebar-bg: #1A1A2E;
	--ppmstr-sidebar-hover: #16213E;
	--ppmstr-sidebar-text: #8B8FAE;
	--ppmstr-sidebar-active-text: #FFFFFF;
	--ppmstr-content-bg: #F0F2F8;
	--ppmstr-card-bg: #FFFFFF;
	--ppmstr-text: #1A1A2E;
	--ppmstr-text-muted: #6C7293;
	--ppmstr-border: #E4E6EF;
	--ppmstr-success: #00B894;
	--ppmstr-warning: #FDCB6E;
	--ppmstr-danger: #E17055;
	--ppmstr-info: #74B9FF;
	--ppmstr-radius: 12px;
	--ppmstr-radius-sm: 8px;
	--ppmstr-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
	--ppmstr-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
	--ppmstr-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
	--ppmstr-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
	--ppmstr-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ===== Override WP Core Padding for Full Bleed ===== */
#wpcontent, #wpbody-content {
	padding: 0 !important;
}
#wpbody-content {
	padding-bottom: 0 !important;
}

/* ===== Admin Wrap ===== */
.ppmstr-admin-wrap {
	margin: 0;
	font-family: var(--ppmstr-font);
	color: var(--ppmstr-text);
	-webkit-font-smoothing: antialiased;
	border-radius: 0;
	overflow: hidden;
	box-shadow: var(--ppmstr-shadow-lg);
	background: var(--ppmstr-content-bg);
}

/* ===== Header ===== */
.ppmstr-admin-header {
	background: var(--ppmstr-primary-gradient);
	padding: 0 24px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.ppmstr-header-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ppmstr-header-icon {
	color: rgba(255, 255, 255, 0.9);
	display: flex;
	align-items: center;
}

.ppmstr-header-title {
	font-size: 18px;
	font-weight: 600;
	color: #FFFFFF;
	margin: 0;
	padding: 0;
	letter-spacing: -0.3px;
	line-height: 1;
}

.ppmstr-header-version {
	background: rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.9);
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.5px;
}

/* ===== Body (Sidebar + Content) ===== */
.ppmstr-admin-body {
	display: flex;
	min-height: 600px;
}

/* ===== Sidebar ===== */
.ppmstr-admin-sidebar {
	width: 220px;
	min-width: 220px;
	background: var(--ppmstr-sidebar-bg);
	padding: 16px 0;
}

.ppmstr-nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ppmstr-nav-item a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 20px;
	color: var(--ppmstr-sidebar-text);
	text-decoration: none;
	font-size: 13.5px;
	font-weight: 500;
	transition: var(--ppmstr-transition);
	border-left: 3px solid transparent;
	position: relative;
}

.ppmstr-nav-item a:hover {
	background: var(--ppmstr-sidebar-hover);
	color: #FFFFFF;
}

.ppmstr-nav-item.ppmstr-nav-active a {
	background: var(--ppmstr-sidebar-hover);
	color: var(--ppmstr-sidebar-active-text);
	border-left-color: var(--ppmstr-primary-light);
}

.ppmstr-nav-icon {
	display: flex;
	align-items: center;
	opacity: 0.7;
}

.ppmstr-nav-item.ppmstr-nav-active .ppmstr-nav-icon,
.ppmstr-nav-item a:hover .ppmstr-nav-icon {
	opacity: 1;
}

/* ===== Content Area ===== */
.ppmstr-admin-content {
	flex: 1;
	padding: 28px 32px;
	background: var(--ppmstr-content-bg);
	min-width: 0;
}

/* ===== Page Header ===== */
.ppmstr-page-header {
	margin-bottom: 24px;
}

.ppmstr-page-header h2 {
	font-size: 24px;
	font-weight: 700;
	margin: 0 0 6px;
	color: var(--ppmstr-text);
	letter-spacing: -0.5px;
}

.ppmstr-page-desc {
	margin: 0;
	color: var(--ppmstr-text-muted);
	font-size: 14px;
}

/* ===== Cards ===== */
.ppmstr-card {
	background: var(--ppmstr-card-bg);
	border-radius: var(--ppmstr-radius);
	box-shadow: var(--ppmstr-shadow);
	margin-bottom: 20px;
	overflow: hidden;
	border: 1px solid var(--ppmstr-border);
}

.ppmstr-card-header {
	padding: 18px 24px;
	border-bottom: 1px solid var(--ppmstr-border);
}

.ppmstr-card-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: var(--ppmstr-text);
}

.ppmstr-card-body {
	padding: 24px;
}

/* ===== Stats Row ===== */
.ppmstr-stats-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 16px;
	margin-bottom: 24px;
}

.ppmstr-stat-card {
	background: var(--ppmstr-card-bg);
	border-radius: var(--ppmstr-radius);
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	box-shadow: var(--ppmstr-shadow);
	border: 1px solid var(--ppmstr-border);
	transition: var(--ppmstr-transition);
}

.ppmstr-stat-card:hover {
	box-shadow: var(--ppmstr-shadow-md);
	transform: translateY(-2px);
}

.ppmstr-stat-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ppmstr-stat-icon--primary {
	background: rgba(108, 92, 231, 0.1);
	color: var(--ppmstr-primary);
}

.ppmstr-stat-icon--success {
	background: rgba(0, 184, 148, 0.1);
	color: var(--ppmstr-success);
}

.ppmstr-stat-icon--info {
	background: rgba(116, 185, 255, 0.1);
	color: var(--ppmstr-info);
}

.ppmstr-stat-icon--warning {
	background: rgba(253, 203, 110, 0.15);
	color: #E67E22;
}

.ppmstr-stat-info {
	display: flex;
	flex-direction: column;
}

.ppmstr-stat-number {
	font-size: 22px;
	font-weight: 700;
	color: var(--ppmstr-text);
	line-height: 1.2;
}

.ppmstr-stat-label {
	font-size: 12.5px;
	color: var(--ppmstr-text-muted);
	margin-top: 2px;
}

/* ===== Quick Actions ===== */
.ppmstr-quick-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.ppmstr-quick-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	background: var(--ppmstr-content-bg);
	border: 1px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius-sm);
	color: var(--ppmstr-text);
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	transition: var(--ppmstr-transition);
}

.ppmstr-quick-btn:hover {
	background: var(--ppmstr-primary);
	color: #FFFFFF;
	border-color: var(--ppmstr-primary);
}

/* ===== Steps ===== */
.ppmstr-steps {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.ppmstr-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
}

.ppmstr-step-number {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--ppmstr-primary-gradient);
	color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	font-weight: 700;
	flex-shrink: 0;
}

.ppmstr-step-text strong {
	display: block;
	margin-bottom: 4px;
	font-size: 14px;
}

.ppmstr-step-text p {
	margin: 0;
	color: var(--ppmstr-text-muted);
	font-size: 13px;
	line-height: 1.5;
}

/* ===== Settings Form ===== */
.ppmstr-settings-form {
	max-width: 100%;
}

.ppmstr-field-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	padding: 16px 0;
	border-bottom: 1px solid var(--ppmstr-border);
	gap: 24px;
}

.ppmstr-field-row:last-child {
	border-bottom: none;
	padding-bottom: 0;
}

.ppmstr-field-row:first-child {
	padding-top: 0;
}

.ppmstr-field-label {
	flex: 1;
	min-width: 0;
}

.ppmstr-field-label label {
	font-size: 14px;
	font-weight: 600;
	color: var(--ppmstr-text);
	display: block;
	margin-bottom: 2px;
}

.ppmstr-field-hint {
	margin: 0;
	font-size: 12.5px;
	color: var(--ppmstr-text-muted);
	line-height: 1.4;
}

.ppmstr-field-input {
	flex-shrink: 0;
	min-width: 300px;
}

.ppmstr-field-input input[type="text"],
.ppmstr-field-input input[type="password"],
.ppmstr-field-input input[type="number"],
.ppmstr-field-input select {
	width: 100%;
	padding: 9px 14px;
	border: 1px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius-sm);
	font-size: 13.5px;
	font-family: var(--ppmstr-font);
	color: var(--ppmstr-text);
	background: #FFFFFF;
	transition: var(--ppmstr-transition);
	outline: none;
	box-sizing: border-box;
}

.ppmstr-field-input input:focus,
.ppmstr-field-input select:focus {
	border-color: var(--ppmstr-primary);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.ppmstr-field-input input[type="number"] {
	max-width: 120px;
}

/* ===== Input Group (with eye toggle) ===== */
.ppmstr-input-group {
	position: relative;
	display: flex;
	align-items: center;
}

.ppmstr-input-group input {
	padding-right: 42px !important;
}

.ppmstr-toggle-visibility {
	position: absolute;
	right: 8px;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--ppmstr-text-muted);
	padding: 4px;
	display: flex;
	align-items: center;
	transition: var(--ppmstr-transition);
}

.ppmstr-toggle-visibility:hover {
	color: var(--ppmstr-primary);
}

/* ===== Toggle Switch ===== */
.ppmstr-toggle-wrap {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
}

.ppmstr-toggle-wrap input[type="checkbox"] {
	display: none;
}

.ppmstr-toggle-slider {
	width: 44px;
	height: 24px;
	background: #CED4DA;
	border-radius: 12px;
	position: relative;
	transition: var(--ppmstr-transition);
}

.ppmstr-toggle-slider::after {
	content: '';
	width: 18px;
	height: 18px;
	background: #FFFFFF;
	border-radius: 50%;
	position: absolute;
	top: 3px;
	left: 3px;
	transition: var(--ppmstr-transition);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ppmstr-toggle-wrap input:checked + .ppmstr-toggle-slider {
	background: var(--ppmstr-primary);
}

.ppmstr-toggle-wrap input:checked + .ppmstr-toggle-slider::after {
	transform: translateX(20px);
}

.ppmstr-toggle-label {
	font-size: 13px;
	font-weight: 500;
	color: var(--ppmstr-text);
}

/* ===== Buttons ===== */
.ppmstr-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 28px;
	border: none;
	border-radius: var(--ppmstr-radius-sm);
	font-size: 14px;
	font-weight: 600;
	font-family: var(--ppmstr-font);
	cursor: pointer;
	transition: var(--ppmstr-transition);
	text-decoration: none;
}

.ppmstr-btn--primary {
	background: var(--ppmstr-primary-gradient);
	color: #FFFFFF;
	box-shadow: 0 4px 14px rgba(108, 92, 231, 0.35);
}

.ppmstr-btn--primary:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 20px rgba(108, 92, 231, 0.45);
}

.ppmstr-form-actions {
	margin-top: 4px;
}

/* ===== Notices ===== */
.ppmstr-notice {
	padding: 14px 20px;
	border-radius: var(--ppmstr-radius-sm);
	font-size: 14px;
	font-weight: 500;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.ppmstr-notice--success {
	background: rgba(0, 184, 148, 0.1);
	color: #00856F;
	border: 1px solid rgba(0, 184, 148, 0.25);
}

/* ===== Placeholder ===== */
.ppmstr-placeholder-card .ppmstr-card-body {
	padding: 60px 24px;
}

.ppmstr-text-center {
	text-align: center;
}

.ppmstr-placeholder-icon {
	margin-bottom: 16px;
}

.ppmstr-placeholder-card h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.ppmstr-text-muted {
	color: var(--ppmstr-text-muted);
}

/* ===== Checkbox Group (Phase 2) ===== */
.ppmstr-checkbox-group {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.ppmstr-checkbox-scroll {
	max-height: 200px;
	overflow-y: auto;
	padding: 12px 14px;
	border: 1px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius-sm);
	background: #FAFBFC;
}

.ppmstr-checkbox-label {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13.5px;
	font-weight: 500;
	color: var(--ppmstr-text);
	cursor: pointer;
}

.ppmstr-checkbox-label input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--ppmstr-primary);
	cursor: pointer;
	flex-shrink: 0;
}

.ppmstr-count {
	font-size: 11.5px;
	color: var(--ppmstr-text-muted);
	font-weight: 400;
}

/* ===== Shortcode Example ===== */
.ppmstr-shortcode-example {
	display: block;
	background: #1A1A2E;
	color: #A29BFE;
	padding: 14px 18px;
	border-radius: var(--ppmstr-radius-sm);
	font-size: 13px;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	word-break: break-all;
	line-height: 1.5;
}

/* ===== Danger Stat Icon ===== */
.ppmstr-stat-icon--danger {
	background: rgba(225, 112, 85, 0.12);
	color: var(--ppmstr-danger);
}

/* ===== Table ===== */
.ppmstr-table-wrap {
	overflow-x: auto;
}

.ppmstr-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13.5px;
}

.ppmstr-table th {
	background: var(--ppmstr-content-bg);
	padding: 12px 16px;
	text-align: left;
	font-weight: 600;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--ppmstr-text-muted);
	border-bottom: 1px solid var(--ppmstr-border);
}

.ppmstr-table td {
	padding: 12px 16px;
	border-bottom: 1px solid var(--ppmstr-border);
	vertical-align: middle;
	color: var(--ppmstr-text);
}

.ppmstr-table tbody tr:last-child td {
	border-bottom: none;
}

.ppmstr-table tbody tr:hover {
	background: rgba(108, 92, 231, 0.03);
}

.ppmstr-td-label {
	font-weight: 600;
}

/* ===== Status Badges ===== */
.ppmstr-badge {
	display: inline-flex;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: 0.3px;
}

.ppmstr-badge--active {
	background: rgba(0, 184, 148, 0.12);
	color: #00856F;
}

.ppmstr-badge--expired {
	background: rgba(225, 112, 85, 0.12);
	color: #C0392B;
}

.ppmstr-badge--disabled {
	background: rgba(108, 114, 147, 0.12);
	color: var(--ppmstr-text-muted);
}

/* ===== Icon Button ===== */
.ppmstr-btn-icon {
	background: none;
	border: none;
	cursor: pointer;
	padding: 6px;
	border-radius: 6px;
	color: var(--ppmstr-text-muted);
	transition: var(--ppmstr-transition);
	display: inline-flex;
	align-items: center;
}

.ppmstr-btn-icon:hover {
	background: rgba(225, 112, 85, 0.1);
	color: var(--ppmstr-danger);
}

/* ===== Form Grid (Passwords Page) ===== */
.ppmstr-form-grid-row {
	display: flex;
	gap: 16px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.ppmstr-form-group {
	flex: 1;
	min-width: 160px;
}

.ppmstr-form-group label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: var(--ppmstr-text);
}

.ppmstr-form-group input,
.ppmstr-form-group select {
	width: 100%;
	padding: 9px 14px;
	border: 1px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius-sm);
	font-size: 13.5px;
	font-family: var(--ppmstr-font);
	color: var(--ppmstr-text);
	background: #FFFFFF;
	transition: var(--ppmstr-transition);
	outline: none;
	box-sizing: border-box;
}

.ppmstr-form-group input:focus,
.ppmstr-form-group select:focus {
	border-color: var(--ppmstr-primary);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.ppmstr-form-grid-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.ppmstr-btn--secondary {
	background: var(--ppmstr-content-bg);
	color: var(--ppmstr-text);
	border: 1px solid var(--ppmstr-border);
}

.ppmstr-btn--secondary:hover {
	border-color: var(--ppmstr-primary);
	color: var(--ppmstr-primary);
}

.ppmstr-btn--sm {
	padding: 8px 16px;
	font-size: 13px;
}

.ppmstr-link {
	color: var(--ppmstr-primary);
	text-decoration: none;
	font-weight: 500;
	cursor: pointer;
}

.ppmstr-link:hover {
	text-decoration: underline;
}

/* ===== AJAX Status ===== */
.ppmstr-ajax-status {
	font-size: 13px;
	font-weight: 500;
	color: var(--ppmstr-success);
}

.ppmstr-ajax-status--error {
	color: var(--ppmstr-danger);
}

/* ===== Textarea ===== */
.ppmstr-textarea {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius-sm);
	font-size: 13px;
	font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
	color: var(--ppmstr-text);
	background: #FAFBFC;
	resize: vertical;
	outline: none;
	box-sizing: border-box;
	transition: var(--ppmstr-transition);
	line-height: 1.6;
}

.ppmstr-textarea:focus {
	border-color: var(--ppmstr-primary);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.12);
}

.ppmstr-textarea--danger {
	border-color: rgba(225, 112, 85, 0.3);
	background: rgba(225, 112, 85, 0.03);
}

.ppmstr-textarea--danger:focus {
	border-color: var(--ppmstr-danger);
	box-shadow: 0 0 0 3px rgba(225, 112, 85, 0.12);
}

/* ===== Template Gallery (Phase 5) ===== */
.ppmstr-tpl-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 16px;
}

.ppmstr-tpl-card {
	display: block;
	border: 2px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius);
	overflow: hidden;
	cursor: pointer;
	transition: var(--ppmstr-transition);
	background: var(--ppmstr-card-bg);
}

.ppmstr-tpl-card:hover {
	border-color: var(--ppmstr-primary-light);
	box-shadow: var(--ppmstr-shadow-md);
	transform: translateY(-2px);
}

.ppmstr-tpl-active {
	border-color: var(--ppmstr-primary) !important;
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.15), var(--ppmstr-shadow-md) !important;
}

.ppmstr-tpl-radio { display: none; }

.ppmstr-tpl-preview {
	height: 140px;
	position: relative;
	display: flex;
	overflow: hidden;
}

.ppmstr-tpl-swatch {
	transition: all 0.3s ease;
}

.ppmstr-tpl-preview-form {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	border-radius: 10px;
	padding: 14px 16px;
	width: 120px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
}

.ppmstr-tpl-pf-icon {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #6C5CE7;
	opacity: 0.6;
}

.ppmstr-tpl-pf-line {
	height: 4px;
	border-radius: 2px;
	background: #CCC;
}

.ppmstr-tpl-pf-line--sm {
	height: 3px;
	opacity: 0.5;
}

.ppmstr-tpl-pf-input {
	width: 100%;
	height: 14px;
	border-radius: 4px;
	background: #F0F0F0;
	border: 1px solid #E0E0E0;
}

.ppmstr-tpl-pf-btn {
	width: 100%;
	height: 14px;
	border-radius: 4px;
}

.ppmstr-tpl-info {
	padding: 10px 14px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.ppmstr-tpl-info strong {
	font-size: 13.5px;
	color: var(--ppmstr-text);
}

.ppmstr-tpl-desc {
	padding: 4px 14px 12px;
	margin: 0;
	font-size: 11.5px;
	color: var(--ppmstr-text-muted);
	line-height: 1.4;
}

.ppmstr-tpl-actions {
	display: flex;
	gap: 6px;
	padding: 4px 14px 12px;
	flex-wrap: wrap;
}

.ppmstr-btn--xs {
	padding: 5px 10px;
	font-size: 11.5px;
	border-radius: 6px;
}

/* ===== Customizer Layout ===== */
.ppmstr-customizer-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 20px;
}

.ppmstr-customizer-panel,
.ppmstr-preview-panel {
	min-width: 0;
}

.ppmstr-preview-panel .ppmstr-card {
	position: sticky;
	top: 50px;
}

/* ===== Customizer Fields ===== */
.ppmstr-cust-section {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid var(--ppmstr-border);
}

.ppmstr-cust-section:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

.ppmstr-cust-heading {
	font-size: 12.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	color: var(--ppmstr-text-muted);
	margin: 0 0 12px;
}

.ppmstr-cust-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.ppmstr-cust-row:last-child {
	margin-bottom: 0;
}

.ppmstr-cust-row > label {
	font-size: 13px;
	font-weight: 500;
	color: var(--ppmstr-text);
	flex-shrink: 0;
}

.ppmstr-color-input {
	width: 36px;
	height: 30px;
	padding: 0;
	border: 2px solid var(--ppmstr-border);
	border-radius: 6px;
	cursor: pointer;
	flex-shrink: 0;
}

.ppmstr-range-input {
	flex: 1;
	max-width: 120px;
	accent-color: var(--ppmstr-primary);
}

.ppmstr-range-val {
	font-size: 12px;
	font-weight: 600;
	color: var(--ppmstr-text-muted);
	min-width: 36px;
	text-align: right;
}

.ppmstr-toggle-wrap--sm .ppmstr-toggle-slider {
	width: 36px;
	height: 20px;
}

.ppmstr-toggle-wrap--sm .ppmstr-toggle-slider::after {
	width: 14px;
	height: 14px;
}

.ppmstr-toggle-wrap--sm input:checked + .ppmstr-toggle-slider::after {
	transform: translateX(16px);
}

.ppmstr-cust-input {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid var(--ppmstr-border);
	border-radius: var(--ppmstr-radius-sm);
	font-size: 13px;
	font-family: var(--ppmstr-font);
	color: var(--ppmstr-text);
	background: #FFF;
	outline: none;
	box-sizing: border-box;
}

.ppmstr-cust-input:focus {
	border-color: var(--ppmstr-primary);
	box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

/* ===== Live Preview ===== */
.ppmstr-lp-card {
	transition: all 0.3s ease;
}

@media (max-width: 1200px) {
	.ppmstr-customizer-layout {
		grid-template-columns: 1fr;
	}
}


@media (max-width: 960px) {
	.ppmstr-admin-body {
		flex-direction: column;
	}
	.ppmstr-admin-sidebar {
		width: 100%;
		min-width: 100%;
		padding: 8px 0;
	}
	.ppmstr-nav-list {
		display: flex;
		flex-wrap: wrap;
		padding: 0 12px;
		gap: 2px;
	}
	.ppmstr-nav-item a {
		padding: 8px 14px;
		font-size: 12.5px;
		border-left: none;
		border-radius: 6px;
	}
	.ppmstr-nav-item.ppmstr-nav-active a {
		border-left: none;
		background: var(--ppmstr-primary);
		color: #FFFFFF;
	}
	.ppmstr-nav-icon {
		display: none;
	}
	.ppmstr-field-row {
		flex-direction: column;
		gap: 8px;
	}
	.ppmstr-field-input {
		min-width: 100%;
	}
}


/* ===== Pro Badge ===== */
.ppmstr-pro-badge {
	display: inline-flex;
	align-items: center;
	background: linear-gradient(135deg, #6C5CE7 0%, #A855F7 100%);
	color: #FFFFFF;
	font-size: 10px;
	font-weight: 800;
	padding: 2px 6px;
	border-radius: 4px;
	margin-left: 8px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	vertical-align: middle;
	box-shadow: 0 2px 4px rgba(108, 92, 231, 0.35);
}
