/* =========================================================
   WPvivid v2 Dashboard Unified Style (WP Admin Compatible)
   Author: ChatGPT (WPvivid v2 Visual Refresh)
   ========================================================= */

/* ---------- Base Layout ---------- */
.wpvivid-v2-dashboard-container {
	max-width: 1600px;
	margin: 0 auto;
	padding: 20px;
	background: #ffffff; /* WordPress admin gray background */
	color: #1d2327;
	box-sizing: border-box;
}

/* ---------- Header ---------- */
.wpvivid-v2-dashboard-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: #f8fafc;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 20px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
	margin-bottom: 20px;
}

.wpvivid-v2-dashboard-header h1 {
	margin: 0;
	color: #071c4d;
	font-size: 22px;
	font-weight: 700;
}

.wpvivid-v2-dashboard-header p {
	margin: 5px 0 0 0;
	color: #50575e;
	font-size: 13px;
}

.wpvivid-v2-dashboard-header-right {
	text-align: right;
	color: #50575e;
	font-size: 13px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

/* ---------- 3 Columns Layout ---------- */
.wpvivid-v2-dashboard-columns {
	display: flex;
	gap: 20px;
	align-items: flex-start;
}

/* Each column */
.wpvivid-v2-dashboard-column {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0; /* force flex items to shrink */
}

/* ---------- Card Base ---------- */
.wpvivid-v2-dashboard-card,
.wpvivid-v2-dashboard-card-action {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.15s ease-in-out, transform 0.15s;
}

.wpvivid-v2-dashboard-card:hover {
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
	transform: translateY(-1px);
}

.wpvivid-v2-dashboard-card h3 {
	margin-top: 0;
	margin-bottom: 10px;
	color: #1d2327;
	font-size: 16px;
	font-weight: 600;
}

.wpvivid-v2-dashboard-card p,
.wpvivid-v2-dashboard-card li {
	font-size: 13px;
	color: #2c3338;
	line-height: 1.5;
}
/* ===== Beautiful Last Backup Card ===== */

.wpvivid-v2-dashboard-last-backup {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
	padding: 0; /* move padding to sections for layered spacing */
}

.wpvivid-v2-dashboard-last-backup:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header Section */
.wpvivid-v2-last-backup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
	border-radius: 3px 3px 0 0;
}

.wpvivid-v2-last-backup-header h3 {
	margin: 0;
	font-size: 15px;
	color: #1d2327;
	font-weight: 600;
}

.wpvivid-v2-backup-status {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 3px;
}

.wpvivid-v2-status-success {
	background: #e6f6ea;
	color: #2f8f46;
	border: 1px solid #b7e0c2;
}
.wpvivid-v2-status-span{
	padding:0 0.2rem;
}

.wpvivid-v2-status-warning {
	background: #fff8e5;
	color: #c37b00;
	border: 1px solid #f6d77e;
}

.wpvivid-v2-status-error {
	background: #fceaea;
	color: #b90000;
	border: 1px solid #f5b5b5;
}

/* Content Section */
.wpvivid-v2-last-backup-content {
	padding: 14px 18px 16px 18px;
}

/* Main Time Line */
.wpvivid-v2-last-backup-time {
	display: flex;
	align-items: center;
	font-size: 13.5px;
	color: #1d2327;
	margin-bottom: 10px;
}

.wpvivid-v2-last-backup-time .dashicons {
	color: #0073aa;
	margin-right: 6px;
}

.wpvivid-v2-backup-type {
	margin-left: 5px;
	color: #50575e;
}

/* Metadata Section */
.wpvivid-v2-last-backup-meta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	margin-bottom: 12px;
}

.wpvivid-v2-last-backup-meta div {
	font-size: 13px;
	color: #2c3338;
	align-items: center;
}

.wpvivid-v2-last-backup-meta .dashicons {
	font-size: 14px;
	margin-right: 6px;
	color: #82878c;
}

/* Actions */
.wpvivid-v2-last-backup-actions a {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	margin-right: 18px;
	font-size: 13px;
}

.wpvivid-v2-last-backup-actions a:hover {
	text-decoration: underline;
}
/* ======================================
   WPvivid v2 - Last Manual Backup (Empty State)
   ====================================== */
.wpvivid-v2-last-backup-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 3px;
	padding: 28px 16px;
	color: #50575e;
}

.wpvivid-v2-last-backup-empty-icon {
	font-size: 42px;
	color: #a7aaad;
	margin-bottom: 8px;
}

.wpvivid-v2-last-backup-empty-content strong {
	display: block;
	font-size: 14px;
	color: #1d2327;
	margin-bottom: 4px;
}

.wpvivid-v2-last-backup-empty-content p {
	font-size: 13px;
	color: #646970;
	margin: 4px 0 12px;
}

.wpvivid-v2-last-backup-start {
	background: linear-gradient(180deg, #007cba, #006ba1);
	color: #fff;
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #006ba1;
}
.wpvivid-v2-last-backup-start:hover {
	background: linear-gradient(180deg, #008ec2, #0073aa);
	cursor: pointer;
}

/* =============================================
   WPvivid v2 - General & Incremental Schedules
   ============================================= */

/* --- Common Card Base --- */
.wpvivid-v2-schedule-general,
.wpvivid-v2-schedule-incremental {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
	padding: 0;
}

.wpvivid-v2-schedule-general:hover,
.wpvivid-v2-schedule-incremental:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* --- Header --- */
.wpvivid-v2-schedule-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}

.wpvivid-v2-schedule-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* --- Status Badges --- */
.wpvivid-v2-schedule-status {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 3px;
	border: 1px solid transparent;
}

.wpvivid-v2-status-success {
	background: #e6f6ea;
	color: #2f8f46;
	border-color: #b7e0c2;
}

.wpvivid-v2-status-warning {
	background: #fff8e5;
	color: #c37b00;
	border-color: #f6d77e;
}

.wpvivid-v2-status-error {
	background: #fceaea;
	color: #b90000;
	border-color: #f5b5b5;
}

.wpvivid-v2-status-running {
	background: #e7f5fc;
	color: #0073aa;
	border-color: #b8e0f7;
}

/* --- Content --- */
.wpvivid-v2-schedule-content {
	padding: 14px 18px 16px 18px;
}

/* Time Info */
.wpvivid-v2-schedule-time {
	display: flex;
	align-items: start;
	font-size: 13.5px;
	color: #1d2327;
	margin-bottom: 10px;
}
.wpvivid-v2-schedule-time .dashicons {
	color: #0073aa;
	margin-right: 6px;
}
.wpvivid-v2-schedule-time-next-run, .wpvivid-v2-schedule-time-last-run{
	padding:0 0.5rem;
}
/* Metadata Info */
.wpvivid-v2-schedule-meta {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	margin-bottom: 12px;
}
.wpvivid-v2-schedule-meta div {
	font-size: 13px;
	color: #2c3338;
}

/* Last Run */
.wpvivid-v2-schedule-last {
	display: flex;
	align-items: start;
	font-size: 13px;
	color: #1d2327;
	margin-bottom: 12px;
}
.wpvivid-v2-schedule-last .dashicons {
	color: #0073aa;
	margin-right: 6px;
}

/* --- Actions --- */
.wpvivid-v2-schedule-actions {
	margin-top: 8px;
}
.wpvivid-v2-schedule-actions a {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	margin-right: 18px;
	font-size: 13px;
}
.wpvivid-v2-schedule-actions a:hover {
	text-decoration: underline;
}

/* Buttons */
.wpvivid-v2-schedule-button-primary {
	background: #0073aa;
	color: #fff;
	padding: 6px 14px;
	border-radius: 3px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s ease;
}
.wpvivid-v2-schedule-button-primary:hover {
	background: #005e8c;
}
.wpvivid-v2-schedule-button-secondary {
	background: #f0f0f1;
	border: 1px solid #ccc;
	color: #1d2327;
	padding: 6px 14px;
	border-radius: 3px;
	font-weight: 500;
	text-decoration: none;
}
.wpvivid-v2-schedule-button-secondary:hover {
	background: #e2e2e2;
}

/* --- Color Differentiation --- */
.wpvivid-v2-schedule-general h3 {
	color: #004b8c;
}
.wpvivid-v2-schedule-incremental h3 {
	color: #137752;
}

/* =========================================================
   Container for all DB rows
   ========================================================= */
.wpvivid-v2-db-container {
	display: flex;
	flex-direction: column;
	background: linear-gradient(135deg, #f9fbfd, #f1f6ff);
	border:1px solid #dbe3f0;
	padding:0.5rem;
	max-height: 300px;           /* limit height */
	overflow-y: auto;            /* enable vertical scroll */
	gap: 8px;
}

.wpvivid-v2-db-row {
	display: grid;
	grid-template-columns: 1.5rem 1fr 200px 200px; /* checkbox / name / rows / size */
	border-bottom: 1px solid #d0d0d0;
	padding: 8px 10px;
	align-items: center;
	box-sizing: border-box;
}

.wpvivid-v2-db-col {
	font-size: 14px;
}

/* ======================================
   WPvivid v2 - Schedule (Empty State)
   ====================================== */
.wpvivid-v2-schedule-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 3px;
	padding: 28px 16px;
	color: #50575e;
}

.wpvivid-v2-schedule-empty-icon {
	font-size: 40px;
	color: #a7aaad;
	margin-bottom: 8px;
}

.wpvivid-v2-schedule-empty-content strong {
	display: block;
	font-size: 14px;
	color: #1d2327;
	margin-bottom: 4px;
}

.wpvivid-v2-schedule-empty-content p {
	font-size: 13px;
	color: #646970;
	margin: 4px 0 12px;
}

.wpvivid-v2-schedule-create {
	background: linear-gradient(180deg, #007cba, #006ba1);
	color: #fff;
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #006ba1;
}
.wpvivid-v2-schedule-create:hover {
	background: linear-gradient(180deg, #008ec2, #0073aa);
	cursor: pointer;
}


/* ===============================
   WPvivid v2 - Cloud Storage Card (Updated)
   =============================== */

.wpvivid-v2-dashboard-storage {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
	padding: 0;
}
.wpvivid-v2-dashboard-storage:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-storage-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-storage-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* Content */
.wpvivid-v2-storage-content {
	padding: 14px 18px 16px 18px;
}

/* Cloud Item */
.wpvivid-v2-storage-item {
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid #e2e4e7;
	border-radius: 3px;
	padding: 10px 12px;
	background: #f9fafb;
	margin-bottom: 12px;
}
.wpvivid-v2-storage-item img {
	width: 26px;
	height: 26px;
	border-radius: 3px;
}
.wpvivid-v2-storage-info {
	flex: 1;
	font-size: 13px;
	color: #1d2327;
}

/* Top Row: Name + Default Tag */
.wpvivid-v2-storage-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 3px;
}
.wpvivid-v2-storage-top strong {
	font-size: 13.5px;
	color: #1d2327;
}
.wpvivid-v2-storage-default {
	font-size: 12px;
	font-weight: 600;
	background: #e6f6ea;
	color: #2f8f46;
	border: 1px solid #b7e0c2;
	border-radius: 3px;
	padding: 2px 8px;
	cursor: default;
}

/* Storage Meta */
.wpvivid-v2-storage-meta {
	font-size: 12.5px;
	color: #50575e;
	margin-bottom: 4px;
}

/* Capacity Bar */
.wpvivid-v2-storage-bar {
	width: 100%;
	height: 6px;
	background: #f0f0f1;
	border-radius: 3px;
	overflow: hidden;
}
.wpvivid-v2-storage-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #0073aa, #00a0d2);
	border-radius: 3px;
	transition: width 0.3s ease-in-out;
}

/* Actions */
.wpvivid-v2-storage-actions a {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	font-size: 13px;
}
.wpvivid-v2-storage-actions a:hover {
	text-decoration: underline;
}
/* ======================================
   WPvivid v2 - Cloud Storage (Empty State)
   ====================================== */
.wpvivid-v2-storage-empty {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	border: 1px dashed #c3c4c7;
	border-radius: 3px;
	background: #fafafa;
	padding: 24px 10px;
	margin-bottom: 0;
	text-align: center;
	color: #50575e;
}

.wpvivid-v2-storage-empty-icon {
	font-size: 40px;
	color: #a7aaad;
	margin-bottom: 8px;
}

.wpvivid-v2-storage-empty-content strong {
	display: block;
	font-size: 14px;
	color: #1d2327;
	margin-bottom: 4px;
}

.wpvivid-v2-storage-empty-content p {
	font-size: 13px;
	color: #646970;
	margin: 4px 0 12px;
}

.wpvivid-v2-storage-connect-button {
	background: linear-gradient(180deg, #007cba, #006ba1);
	color: #fff;
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #006ba1;
}

.wpvivid-v2-storage-connect-button:hover {
	background: linear-gradient(180deg, #008ec2, #0073aa);
	cursor: pointer;
}

/* ======================================
   WPvivid v2 - Disk Usage Card
   ====================================== */

.wpvivid-v2-dashboard-disk {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}
.wpvivid-v2-dashboard-disk:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-disk-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-disk-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* Summary line */
.wpvivid-v2-disk-summary {
	display: flex;
	justify-content: space-between;
	padding: 10px 18px;
	font-size: 13px;
	color: #2c3338;
	background: #f9fafb;
	border-bottom: 1px solid #f0f0f1;
}

/* Disk list */
.wpvivid-v2-disk-list {
	padding: 12px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.wpvivid-v2-disk-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
}
.wpvivid-v2-disk-item label {
	margin-left: 6px;
	flex: 1;
	color: #1d2327;
}
.wpvivid-v2-disk-size {
	color: #50575e;
}

/* Actions */
.wpvivid-v2-disk-actions {
	padding: 12px 18px 16px 18px;
	border-top: 1px solid #e2e4e7;
	display: flex;
	align-items: center;
	gap: 10px;
}
.wpvivid-v2-disk-sep {
	font-size: 13px;
	color: #50575e;
}
.wpvivid-v2-disk-actions select {
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	font-size: 13px;
	padding: 4px 6px;
	background: #fff;
}

/* Disk list with dividers */
.wpvivid-v2-disk-list {
	padding: 12px 18px;
	display: flex;
	flex-direction: column;
	gap: 0; /* remove gap, use border instead */
}

.wpvivid-v2-disk-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	padding: 8px 0;
	border-bottom: 1px solid #f0f0f1; /* subtle divider */
	transition: background 0.15s ease-in-out;
}

.wpvivid-v2-disk-item:last-child {
	border-bottom: none; /* remove last divider */
}

.wpvivid-v2-disk-item:hover {
	background: #f9fbfc; /* slight hover highlight */
}

.wpvivid-v2-disk-item label {
	margin-left: 6px;
	flex: 1;
	color: #1d2327;
}

.wpvivid-v2-disk-size {
	color: #50575e;
}
/* ======================================
   WPvivid v2 - Site Size List Style
   ====================================== */
.wpvivid-v2-dashboard-site-size {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}
.wpvivid-v2-dashboard-site-size:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-size-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-size-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* Summary Info */
.wpvivid-v2-size-summary-info {
	padding: 12px 18px 8px 18px;
	font-size: 13.5px;
	color: #1d2327;
}
.wpvivid-v2-size-summary-info p {
	margin: 3px 0;
}
.wpvivid-v2-size-last-calc {
	font-size: 12.5px;
	color: #50575e;
}

/* List */
.wpvivid-v2-size-list {
	padding: 10px 18px 14px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-top: 1px solid #f0f0f1;
	border-bottom: 1px solid #f0f0f1;
}
.wpvivid-v2-size-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: #1d2327;
	padding: 6px 0;
	border-bottom: 1px solid #f3f4f5;
}
.wpvivid-v2-size-item:hover{
	background: linear-gradient(180deg, #f9fbfc, #f3f4f5);
}
.wpvivid-v2-size-item:last-child {
	border-bottom: none;
}
.wpvivid-v2-size-item .dashicons {
	margin-right: 8px;
	color: #0073aa;
}
.wpvivid-v2-size-label {
	flex: 1;
	display: flex;
	align-items: center;
	font-weight: 500;
}
.wpvivid-v2-size-value {
	font-weight: 600;
	color: #2c3338;
}

/* Footnote */
.wpvivid-v2-size-footnote {
	padding: 10px 18px 14px 18px;
	font-size: 12.5px;
	color: #50575e;
	line-height: 1.4;
	margin: 0;
}

/* Buttons */
.wpvivid-v2-dashboard-button-secondary {
	background: linear-gradient(180deg, #f8f9fa, #f1f1f1);
	color: #1d2327;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.wpvivid-v2-dashboard-button-secondary:hover {
	background: linear-gradient(180deg, #f1f1f1, #e6e7e8);
}

/* ==========================================
   WPvivid v2 - Quick Actions Card
   ========================================== */

/* Base Card */
.wpvivid-v2-dashboard-card-action {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
	padding: 0;
}

.wpvivid-v2-dashboard-card-action:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-action-header {
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}

.wpvivid-v2-action-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* Actions Container */
.wpvivid-v2-dashboard-actions {
	padding: 14px 18px 16px 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}


/* Dashicons alignment */
.wpvivid-v2-dashboard-actions .dashicons {
	font-size: 15px;
	margin-right: 2px;
	vertical-align: middle;
}

/* ==========================================
   WPvivid v2 - Addons & Tools (Global Progress)
   ========================================== */

.wpvivid-v2-dashboard-addons {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	padding: 0;
}

/* Header */
.wpvivid-v2-addons-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-addons-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}
.wpvivid-v2-addons-update-all {
	font-size: 13px;
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
}
.wpvivid-v2-addons-update-all:hover {
	text-decoration: underline;
}

/* License Section */
.wpvivid-v2-license-section {
	padding: 14px 18px 10px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-license-input-row {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 10px;
}
.wpvivid-v2-license-section input {
	flex: 1;
	min-width: 150px;
	padding: 6px 8px;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	font-size: 13px;
}
.wpvivid-v2-license-auth {
	background: #0073aa;
	border: 1px solid #0073aa;
	color: #fff;
	border-radius: 3px;
	padding: 6px 10px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}
.wpvivid-v2-license-auth:hover {
	background: #005e8c;
}
.wpvivid-v2-license-tip {
	font-size: 12.5px;
	color: #50575e;
	margin-top: 8px;
}

/* Global Progress Bar */
.wpvivid-v2-global-progress {
	background: #f0f0f1;
	border-radius: 3px;
	height: 8px;
	overflow: hidden;
	margin-bottom: 8px;
}
.wpvivid-v2-global-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #0073aa, #00a0d2);
	width: 0%;
	transition: width 0.3s ease-in-out;
}

/* Addon Grid */
.wpvivid-v2-addons-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
	gap: 12px;
	padding: 1rem 1rem 0.5rem 1rem;
}
/* Grid Layout: Two Columns for Other Addons */
.wpvivid-v2-addons-grid-2col {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 0.5rem 1rem 1rem 1rem;
}

/* Staging Addon Full Width */
.wpvivid-v2-addon-staging {
	margin: 18px;
	border: 1px solid #c3c4c7;
	background: #f7faff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Addon Card */
.wpvivid-v2-addon-card {
	border: 1px solid #e2e4e7;
	border-radius: 3px;
	padding: 10px 12px 12px 12px;
	background: #ffffff;
	transition: all 0.2s ease;
}
.wpvivid-v2-addon-card:hover {
	background: #f9fafb;
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Addon Inner Elements */
.wpvivid-v2-addon-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wpvivid-v2-addon-title {
	display: flex;
	align-items: center;
	gap: 6px;
}
.wpvivid-v2-addon-title strong {
	color: #1d2327;
}
.wpvivid-v2-addon-update {
	font-size: 12.5px;
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-addon-update:hover {
	text-decoration: underline;
}
.wpvivid-v2-addon-desc {
	font-size: 13px;
	color: #50575e;
	margin: 6px 0 8px 0;
	min-height: 40px;
}
.wpvivid-v2-addon-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wpvivid-v2-addon-status {
	font-size: 12px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 3px;
}
.wpvivid-v2-status-success {
	background: #e6f6ea;
	color: #2f8f46;
	border: 1px solid #b7e0c2;
}
.wpvivid-v2-status-inactive {
	background: #f0f0f1;
	color: #50575e;
	border: 1px solid #ccc;
}
.wpvivid-v2-addon-button {
	font-size: 13px;
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
}
.wpvivid-v2-addon-button:hover {
	text-decoration: underline;
}
/* ==========================================
   WPvivid v2 - Addon Colored Icons
   ========================================== */
.wpvivid-v2-addon-title .dashicons {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 3px;
	color: #fff;
	font-size: 14px;
	margin-right: 6px;
}

/* Individual icon colors */
.wpvivid-v2-addon-icon-staging {
	background: linear-gradient(135deg, #0073aa, #00a0d2);
}
.wpvivid-v2-addon-icon-database {
	background: linear-gradient(135deg, #2f8f46, #7dd56f);
}
.wpvivid-v2-addon-icon-image {
	background: linear-gradient(135deg, #6f42c1, #9b7de5);
}
.wpvivid-v2-addon-icon-url {
	background: linear-gradient(135deg, #00897b, #26a69a);
}
.wpvivid-v2-addon-icon-rollback {
	background: linear-gradient(135deg, #ff9800, #ffc107);
}
.wpvivid-v2-addon-icon-roles {
	background: linear-gradient(135deg, #5c6bc0, #7986cb);
}
.wpvivid-v2-addon-icon-export {
	background: linear-gradient(135deg, #ec407a, #f48fb1);
}
/* ==========================================
   WPvivid v2 - Staging Card (Full)
   ========================================== */

.wpvivid-v2-dashboard-staging {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}
.wpvivid-v2-dashboard-staging:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-staging-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-staging-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* Status Badges */
.wpvivid-v2-staging-status {
	font-size: 12px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 3px;
}
.wpvivid-v2-status-success {
	background: #e6f6ea;
	color: #2f8f46;
	border: 1px solid #b7e0c2;
}
.wpvivid-v2-status-warning {
	background: #fff8e5;
	color: #c37b00;
	border: 1px solid #f6d77e;
}
.wpvivid-v2-status-error {
	background: #fceaea;
	color: #b90000;
	border: 1px solid #f5b5b5;
}

/* Staging list */
.wpvivid-v2-staging-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 18px 10px 18px;
}
.wpvivid-v2-staging-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border: 1px solid #f0f0f1;
	border-radius: 3px;
	padding: 8px 10px;
	background: linear-gradient(180deg, #ffffff, #fafafa);
	transition: background 0.15s ease-in-out;
}
.wpvivid-v2-staging-item:hover {
	background: linear-gradient(180deg, #f9fbfc, #f3f4f5);
}

/* Staging info */
.wpvivid-v2-staging-info {
	display: flex;
	align-items: center;
	gap: 10px;
}
.wpvivid-v2-staging-info .dashicons {
	font-size: 18px;
	color: #0073aa;
}
.wpvivid-v2-staging-info strong a {
	color: #1d2327;
	text-decoration: none;
}
.wpvivid-v2-staging-info strong a:hover {
	color: #0073aa;
	text-decoration: underline;
}
.wpvivid-v2-staging-meta {
	font-size: 12.5px;
	color: #50575e;
}

/* Per item actions */
.wpvivid-v2-staging-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}
.wpvivid-v2-staging-label {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
	border: 1px solid;
}
.wpvivid-v2-staging-link {
	font-size: 13px;
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
}
.wpvivid-v2-staging-link:hover {
	text-decoration: underline;
}

/* Empty state */
.wpvivid-v2-staging-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 25px 10px;
	border-top: 1px solid #f0f0f1;
}
.wpvivid-v2-staging-empty-icon {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: linear-gradient(180deg, #f8f9fa, #f1f1f1);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: inset 0 0 4px rgba(0,0,0,0.05);
}
.wpvivid-v2-staging-empty-icon .dashicons {
	font-size: 24px;
	color: #0073aa;
}
.wpvivid-v2-staging-empty-text {
	font-size: 13px;
	color: #50575e;
	margin: 0;
	line-height: 1.5;
	text-align: center;
	max-width: 300px;
}
/* Footer actions */
.wpvivid-v2-staging-actions-bottom {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	padding: 12px 18px;
	border-top: 1px solid #e2e4e7;
}
.wpvivid-v2-dashboard-button-primary,
.wpvivid-v2-dashboard-button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 3px;
	font-size: 13px;
	text-decoration: none;
	font-weight: 600;
	padding: 8px 16px;
}
.wpvivid-v2-dashboard-button-primary {
	background: linear-gradient(180deg, #0073aa, #006799);
	color: #fff;
	border: 1px solid #006799;
}
.wpvivid-v2-dashboard-button-primary:hover {
	background: linear-gradient(180deg, #006799, #005b88);
}
.wpvivid-v2-dashboard-button-secondary {
	background: linear-gradient(180deg, #f8f9fa, #f1f1f1);
	color: #1d2327;
	border: 1px solid #c3c4c7;
}
.wpvivid-v2-dashboard-button-secondary:hover {
	background: linear-gradient(180deg, #f1f1f1, #e6e7e8);
	border-color: #a7aaad;
}

/* Tip */
.wpvivid-v2-staging-tip {
	font-size: 12.5px;
	color: #50575e;
	padding: 0 18px 14px 18px;
	margin: 0;
}

/* ===== Conditional behavior ===== */
/* When no staging sites, hide list & show empty */
.wpvivid-v2-dashboard-staging.empty .wpvivid-v2-staging-list {
	display: none;
}
.wpvivid-v2-dashboard-staging.empty .wpvivid-v2-staging-empty {
	display: flex;
}


/* ==========================================
   WPvivid v2 - Recent Backups Card
   ========================================== */

.wpvivid-v2-dashboard-recent-backups {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	padding: 0;
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}
.wpvivid-v2-dashboard-recent-backups:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-backup-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-backup-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}
.wpvivid-v2-backup-view-all {
	font-size: 13px;
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-backup-view-all:hover {
	text-decoration: underline;
}

/* Backup List */
.wpvivid-v2-backup-list {
	padding: 10px 18px 0 18px;
}

/* Each Row */
.wpvivid-v2-backup-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #f0f0f1;
	padding: 10px 0;
	font-size: 13px;
}
.wpvivid-v2-backup-row:last-child {
	border-bottom: none;
}

/* Backup Info */
.wpvivid-v2-backup-info {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #1d2327;
}
.wpvivid-v2-backup-info .dashicons {
	color: #0073aa;
	font-size: 18px;
}
.wpvivid-v2-backup-meta {
	color: #50575e;
	font-size: 12.5px;
}

/* Actions */
.wpvivid-v2-backup-actions {
	display: flex;
	gap: 10px;
}
.wpvivid-v2-backup-action-link {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	font-size: 13px;
}
.wpvivid-v2-backup-action-link:hover {
	text-decoration: underline;
}

/* Footer */
.wpvivid-v2-backup-footer {
	padding: 12px 18px 16px 18px;
	border-top: 1px solid #e2e4e7;
	text-align: right;
}
.wpvivid-v2-dashboard-button-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: linear-gradient(180deg, #f8f9fa, #f1f1f1);
	color: #1d2327;
	border: 1px solid #c3c4c7;
	border-radius: 3px;
	padding: 7px 14px;
	font-size: 13px;
	font-weight: 500;
	text-decoration: none;
	transition: all 0.15s ease;
}
.wpvivid-v2-dashboard-button-secondary:hover {
	background: linear-gradient(180deg, #f1f1f1, #e6e7e8);
	border-color: #a7aaad;
}
/* ======================================
   WPvivid v2 - Recent Backups (Empty State)
   ====================================== */
.wpvivid-v2-backup-list-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-radius: 3px;
	padding: 28px 16px;
	color: #50575e;
}

.wpvivid-v2-backup-empty-icon {
	font-size: 40px;
	color: #a7aaad;
	margin-bottom: 8px;
}

.wpvivid-v2-backup-empty-content strong {
	display: block;
	font-size: 14px;
	color: #1d2327;
	margin-bottom: 4px;
}

.wpvivid-v2-backup-empty-content p {
	font-size: 13px;
	color: #646970;
	margin: 4px 0 12px;
}

.wpvivid-v2-backup-start {
	background: linear-gradient(180deg, #007cba, #006ba1);
	color: #fff;
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	border: 1px solid #006ba1;
}
.wpvivid-v2-backup-start:hover {
	background: linear-gradient(180deg, #008ec2, #0073aa);
	cursor: pointer;
}

/* ==========================================
   ===== Backup Retention Wrapper =====
   ========================================== */
.wpvivid-v2-backup-retention-container {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 3px; /* consistent 3px radius */
	box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ===== Header ===== */
.wpvivid-v2-backup-retention-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
}
.wpvivid-v2-backup-retention-header h3 {
	margin: 0;
	font-size: 15px;
	color: #1d2327;
	font-weight: 600;
}
.wpvivid-v2-backup-retention-title {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
}

.wpvivid-v2-backup-retention-edit {
	color: #0073aa;
	font-size: 14px;
	text-decoration: none;
}

.wpvivid-v2-backup-retention-edit:hover {
	text-decoration: underline;
}

/* ===== Tabs ===== */
.wpvivid-v2-backup-retention-tabs {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding:0 0.5rem;
}

.wpvivid-v2-backup-retention-tab {
	border: 1px solid #d1d5db;
	padding: 6px 14px;
	font-size: 14px;
	color: #374151;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.wpvivid-v2-backup-retention-tab.active {
	background: linear-gradient(180deg, #0073aa, #006699);
	color: #fff;
	border-color: #006699;
}

.wpvivid-v2-backup-retention-tab:hover:not(.active) {
	background: #e5e7eb;
}

/* ===== Content ===== */
.wpvivid-v2-backup-retention-content-manual,
.wpvivid-v2-backup-retention-content-schedule-gen,
.wpvivid-v2-backup-retention-content-schedule-icre {
	border-radius: 3px;
	padding: 18px;
}

/* ===== Rows ===== */
.wpvivid-v2-backup-retention-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid #f0f0f0;
	padding: 10px 0;
}

.wpvivid-v2-backup-retention-row:last-child {
	border-bottom: none;
}

.wpvivid-v2-backup-retention-row span {
	color: #374151;
	font-size: 14px;
}

.wpvivid-v2-backup-retention-row input {
	width: 80px;
	text-align: center;
	border: 1px solid #cbd5e1;
	border-radius: 3px;
	padding: 5px;
	font-size: 14px;
	color: #111827;
	background: #fff;
}

.wpvivid-v2-backup-retention-row input:focus {
	outline: none;
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa40;
}

/* ==========================================
   WPvivid v2 - License & Support Card
   ========================================== */

.wpvivid-v2-dashboard-license-support {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	padding: 0;
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}
.wpvivid-v2-dashboard-license-support:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-license-support-header {
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-license-support-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

/* Content */
.wpvivid-v2-license-support-content {
	display: flex;
	justify-content: flex-end; /* Default align to right */
	gap:2rem;
}

/* Left column - License */
.wpvivid-v2-license-column h4 {
	margin: 0 0 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}
.wpvivid-v2-license-column p {
	margin: 3px 0;
	font-size: 13px;
	color: #2c3338;
}
.wpvivid-v2-license-status {
	background: #e6f6ea;
	color: #2f8f46;
	border: 1px solid #b7e0c2;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
	font-weight: 600;
}
.wpvivid-v2-license-status.wpvivid-v2-status-error {
	background: #fceaea;
	color: #b90000;
	border: 1px solid #f5b5b5;
}
.wpvivid-v2-license-link {
	color: #0073aa;
	font-size: 13px;
	text-decoration: none;
	font-weight: 500;
}
.wpvivid-v2-license-link:hover {
	text-decoration: underline;
}

/* Right column - Support */
.wpvivid-v2-version-column {
	text-align: right; /* Keep text readable */
	width: auto;
	min-width: 260px; /* Optional: control box width */
}

.wpvivid-v2-version-column h4,
.wpvivid-v2-support-column h4 {
	margin: 0 0 8px 0;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.wpvivid-v2-support-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.wpvivid-v2-support-list li {
	margin-bottom: 4px;
}
.wpvivid-v2-support-list a {
	color: #0073aa;
	text-decoration: none;
	font-size: 13px;
}
.wpvivid-v2-support-list a:hover {
	text-decoration: underline;
}

/* ==========================================
   WPvivid v2 - Tips & News Card
   ========================================== */

.wpvivid-v2-dashboard-tips-news {
	border: 1px solid #dcdcde;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0,0,0,0.08);
	padding: 0;
	transition: box-shadow 0.2s ease-in-out, transform 0.2s;
}
.wpvivid-v2-dashboard-tips-news:hover {
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
	transform: translateY(-1px);
}

/* Header */
.wpvivid-v2-tips-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 18px;
	border-bottom: 1px solid #e2e4e7;
}
.wpvivid-v2-tips-header h3 {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}
.wpvivid-v2-tips-view-all {
	font-size: 13px;
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-tips-view-all:hover {
	text-decoration: underline;
}

/* List */
.wpvivid-v2-tips-list {
	padding: 14px 18px 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

/* Each item */
.wpvivid-v2-tips-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.4;
}
.wpvivid-v2-tips-icon {
	font-size: 16px;
	width: 20px;
	text-align: center;
}
.wpvivid-v2-tips-content {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}
.wpvivid-v2-tips-title {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	flex-grow: 1;
}
.wpvivid-v2-tips-title:hover {
	text-decoration: underline;
}

/* Tags */
.wpvivid-v2-tips-tag {
	font-size: 11px;
	font-weight: 600;
	padding: 2px 6px;
	border-radius: 3px;
	border: 1px solid;
}
.wpvivid-v2-tag-tip {
	background: #e6f6ea;
	color: #2f8f46;
	border-color: #b7e0c2;
}
.wpvivid-v2-tag-news {
	background: #eaf1fe;
	color: #0073aa;
	border-color: #9cc7f7;
}
.wpvivid-v2-tag-new {
	background: #fff8e5;
	color: #c37b00;
	border-color: #f6d77e;
}


.wpvivid-v2-dashboard-last-backup-actions a {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
	margin-right: 15px;
}

.wpvivid-v2-dashboard-last-backup-actions a:hover {
	text-decoration: underline;
}

/* ----- Status Colors ----- */
.wpvivid-v2-status-success {
	color: #46b450; /* green */
}

.wpvivid-v2-status-warning {
	color: #ffb900; /* yellow/orange */
}

.wpvivid-v2-status-error {
	color: #dc3232; /* red */
}

/* ---------- Buttons ---------- */
.wpvivid-v2-dashboard-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.wpvivid-v2-dashboard-button-primary,
.wpvivid-v2-dashboard-button-secondary {
	display: inline-block;
	padding: 8px 12px;
	border-radius: 3px;
	font-weight: 600;
	font-size: 13px;
	text-decoration: none;
	transition: all 0.15s ease;
	cursor: pointer;
}

/* Primary button (WP blue) */
.wpvivid-v2-dashboard-button-primary {
	background: #0073aa;
	border: 1px solid #006ba1;
	color: #ffffff;
}
.wpvivid-v2-dashboard-button-primary:hover {
	background: #006799;
	border-color: #005e8c;
	color: #ffffff;
}

/* Secondary button (gray) */
.wpvivid-v2-dashboard-button-secondary {
	background: #f0f0f1;
	border: 1px solid #cccccc;
	color: #1d2327;
}
.wpvivid-v2-dashboard-button-secondary:hover {
	background: #e4e4e7;
}

/* ---------- Tools Grid ---------- */
.wpvivid-v2-dashboard-tools-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
}

.wpvivid-v2-dashboard-tool-card {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 3px;
	padding: 12px;
	text-align: center;
	transition: all 0.15s ease-in-out;
}

.wpvivid-v2-dashboard-tool-card:hover {
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.wpvivid-v2-dashboard-tool-card h4 {
	margin: 0.4em 0;
	font-size: 14px;
	font-weight: 600;
	color: #1d2327;
}

.wpvivid-v2-dashboard-tool-card p {
	font-size: 12.5px;
	color: #50575e;
}

.wpvivid-v2-dashboard-tool-card a {
	color: #0073aa;
	font-weight: 600;
	text-decoration: none;
	display: inline-block;
	margin-top: 5px;
}
.wpvivid-v2-dashboard-tool-card a:hover {
	text-decoration: underline;
}

/* ---------- Links ---------- */
.wpvivid-v2-dashboard-card a {
	color: #0073aa;
	text-decoration: none;
	font-weight: 500;
}
.wpvivid-v2-dashboard-card a:hover {
	text-decoration: underline;
}

/* ---------- Footer ---------- */
.wpvivid-v2-dashboard-footer {
	text-align: center;
	margin-top: 40px;
	font-size: 13px;
	color: #50575e;
	border-top: 1px solid #dcdcde;
	padding-top: 15px;
}
.wpvivid-v2-dashboard-footer a {
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-dashboard-footer a:hover {
	text-decoration: underline;
}

/* ---------- Utility: Icons & Lists ---------- */
.wpvivid-v2-dashboard-card ul {
	list-style: none;
	padding-left: 0;
	margin: 0;
}
.wpvivid-v2-dashboard-card ul li {
	padding-left: 20px;
	position: relative;
	margin-bottom: 4px;
}
.wpvivid-v2-dashboard-card ul li::before {
	content: "\2022";
	/*content: "•";*/
	position: absolute;
	left: 8px;
	color: #0073aa;
}

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.wpvivid-v2-dashboard-columns {
		flex-wrap: wrap;
	}
	.wpvivid-v2-dashboard-column {
		flex: 1 1 48%;
	}
}

@media (max-width: 800px) {
	.wpvivid-v2-dashboard-column {
		flex: 1 1 100%;
	}
}

/**
 * All of the CSS for WPvivid Plugins Dashboard should be
 * included in this file.
 */
.wpvivid-canvas {
	--color-border:#c3c4c7;
	--color-border-light:#d8d8d8;
	--color-border-light-2:#f1f1f1;
	--color-bg-white:#ffffff;
	--color-bg-hover-1:#eaf1fe;
}
.wpvivid-canvas {

	max-width:1600px;
	box-sizing: border-box;
}
.wpvivid-dashboard, .wpvivid-backup{
	position: relative;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	background: #fff;
}
.wpvivid-welcome-panel {
	width:100%;
	padding: 0px 10px 0;
	border: 1px solid #ccd0d4;
	box-shadow: 0 1px 1px rgba(0,0,0,.04);
	background: #fff;
	box-sizing: border-box;
}
.wpvivid-red {
	background:red;
	color:#fff;
}
.wpvivid-green {
	background:#8bc34a;
	color:#fff;
}
.wpvivid-blue {
	background:#007cba;
	color:#fff;
}
.wpvivid-orange {
	background:orange;
	color:#fff;
}
.wpvivid-grey {
	background-color:grey;
	color: #fff;
}
.wpvivid-grey-light {
	background-color:#eee;
	color: grey;
}
.wpvivid-hover-blue:hover{
	background:#007cba;
	color:#fff;
	cursor:pointer;
}
.wpvivid-font-hover-blue:hover{
	color:#007cba;
	cursor:pointer;
}
.wpvivid-hover-green:hover{
	background:#8bc34a;
	color:#fff;
	cursor:pointer;
}
span.dashicons{
	margin-right:2px;
}
.wpvivid-welcome-panel .about-description{
	font-size: 16px;
	margin: 0;
}
.wpvivid-page-title {
	font-weight: 700;
	font-size:1.2em;
}
.wpvivid-dashicons-large {
	font-size:5em;
	width:1.2em;
	height:1.2em;
	float:left;
}

.wpvivid-dashicons-large:hover{
	text-shadow: 0px 0px 2px rgba(0,0,0,0.4);
}
.wpvivid-dashicons-middle {
	font-size:4em;
	text-align:center;
	width:1.5em;
	height:1.5em;
	float:left;

}

/*   margin */
.wpvivid-margin-top-5{
	margin-top: 5px;
}
.wpvivid-margin-bottom-1rem{
	margin-bottom:1rem;
}
/*   Padding */
.wpvivid-padding-1rem {
	padding:1rem;
}


.wpvivid-welcome-bar{
	width:100%;
	box-sizing: border-box;
	background: #f8fafc; /* light grey-blue background */
	border: 1px solid #e1e5ea;
	border-radius: 3px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap; /* ensure responsive layout */
}
.wpvivid-welcome-bar-left, .wpvivid-block-left {
	width:50%;
	float:left;
	padding:1em;
	box-sizing: border-box;
}
.wpvivid-welcome-bar-right, .wpvivid-block-right {
	width:50%;
	float:left;
	padding:1em;
	box-sizing: border-box;
}
.wpvivid-features-box, .wpvivid-two-cols{
	width:50%;
	float:left;
	font:14px;
	padding:1em 1em 1em 1em;
	box-sizing: border-box;
}

.wpvivid-four-cols{
	width:25%;
	float:left;
	box-sizing: border-box;
	border:1px solid #f1f1f1;
}
.wpvivid-one-coloum {
	width:100%;
	float:left;
	padding:1em 1em 1em 1em;
	box-sizing: border-box;
}
.wpvivid-dashboard-list {
	padding:1em;
	border:1px solid #eee;
	box-sizing: border-box;
}
.wpvivid-dashboard li {
	border: 1px solid #eee;
	margin: 0px;
	padding: 10px;
	box-sizing: border-box;

}
.wpvivid-dashboard .wpvivid-two-col li {
	border: 1px solid #eee;
	margin: 0px;
	padding: 10px;
	box-sizing: border-box;

}

.wpvivid-dashboard li::after {
	content: "";
	clear: both;
	display: table;
}
.wpvivid-dashboard .wpvivid-two-col li::after {
	content: "";
	clear: both;
	display: table;
}
.wpvivid-3-cols{
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1rem;
}
.wpvivid-dashboard .wpvivid-three-cols li img {
	padding:1em;
	width: 5em;
	height: 5em;
	float: left;
	margin: 0.5em;
}
.wpvivid-dashboard .wpvivid-two-col .wpvivid-three-cols li img {
	padding:1em;
	width: 5em;
	height: 5em;
	float: left;
	margin: 0.5em;
}
.wpvivid-dashboard .wpvivid-three-cols li{
	width:33%;
	float:left;
	box-sizing: border-box;

}
.wpvivid-dashboard .wpvivid-three-cols-update{
	position:absolute;
	display:block;
	width:1.5em;
	height:1.5em;
	border:1px solid orange;
	border-radius:50%;
	text-align:center;
	background:orange;
	color:#fff;
}
.wpvivid-dashboard .wpvivid-three-cols  li {
	border: 1px solid #eee;
	padding:0.2em 0.2em 0 0.2em;
	box-sizing: border-box;

}

.wpvivid-dashboard .wpvivid-three-cols li::after {
	content: "";
	clear: both;
	display: table;
}
.wpvivid-dashboard .wpvivid-three-cols-li {
	padding:0.5em 0;
}
.wpvivid-dashboard .wpvivid-three-cols-active {
	background:#eaf1fe;
}
.wpvivid-sidebar-main{
	width:100%;
	float:left;
	font:13px;
	box-sizing: border-box;

}
.wpvivid-sidebar-main li::after {
	content: "";
	clear: both;
	display: table;
}
.wpvivid-sidebar-main li {
	margin: 0px;
	padding: 10px;
	box-sizing: border-box;

}
.wpvivid-sidebar-main li img {
	padding:1em;
	width: 5em;
	height: 5em;
	float: left;
	margin: 0.5em;
}
.wpvivid-sidebar{
	width:100%;
	float:left;
	font:13px;
	box-sizing: border-box;

}
.wpvivid-sidebar li::after {
	content: "";
	clear: both;
	display: table;
}
.wpvivid-sidebar li {
	border-bottom: 1px solid #eee;
	margin: 0px;
	padding: 10px;
	box-sizing: border-box;

}
.wpvivid-sidebar li img {
	padding:1em;
	width: 5em;
	height: 5em;
	float: left;
	margin: 0.5em;
}
.wpvivid-features-box-image-progress {
	width:100%;
}
.wpvivid-features-box-image-optimiztion-details {
	width:50%;
}
.wpvivid-features-box-image-optimiztion-plate {
	width:50%;
}
.wpvivid-features-box-image-optimiztion-percentage{
	margin-top:2.5em;
}
.wpvivid-features-box-image-optimiztion-number {
	font-size: 5em;
	font-family:Sans-serif;
	font-weight:600;
	color:orange;
	float:left;
	text-shadow:0 0.05em 0.05em rgba(0,0,0,0.4);
}
.wpvivid-features-box-image-optimiztion-percentage-unit  {
	font-size:1em;
	color:grey;
	float:left;
	font-size:1.2em;
	padding-bottom:1em;
}
.wpvivid-rectangle {
	border-radius:0.4em;
	padding:0.5em;
	margin-left: 0.5em;
	margin-right:0.5em;
	font-size:0.8em;
}
.wpvivid-rectangle-small {
	border-radius:0.4em;
	padding:0.2em;
	margin-left: 0.5em;
	margin-right:0.5em;
	font-size:0.6em;
}
.wpvivid-icon-16px{
	font-size:16px;
	margin-top:2px;
	color:#aaa;
	cursor:pointer;
}
.wpvivid-icon-16px-nopointer{
	font-size:16px;
	margin-top:2px;
}
.wpvivid-text-line{
	padding:1px;
	white-space:nowrap;
}
.wpvivid-text-selected{
	background:#eee;
}
.wpvivid-text-line:hover{
	background:#eee;
}
/* --- Container for progress bar --- */
.wpvivid-span-progress {
	display: block;
	position: relative;
	width: 100%;
	height: 24px;
	background: #e6e6e6;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
/* --- Filled progress portion --- */
.wpvivid-span-processed-progress {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	width: 53%;
	background: linear-gradient(90deg, #20c997 0%, #28a745 50%, #a8e063 100%);
	background-size: 200% 100%;
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	border-radius: 3px;
	box-shadow: inset 0 1px 1px rgba(255,255,255,0.3);
	transition: width 0.4s ease;
	animation: gradientShift 4s ease infinite;
}

/* --- Animation when progress updates --- */
@keyframes wpvivid-progress-pulse {
	0% { opacity: 0.9; }
	50% { opacity: 1; }
	100% { opacity: 0.9; }
}

.wpvivid-span-processed-progress {
	animation: wpvivid-progress-pulse 2s infinite ease-in-out;
}


/* Progress bar 2wo-column container */
/* Two-column wrapper */
.wpvivid-status-row {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin-top: 10px;
	align-items: stretch; /* make both columns equal height */
}

/* Left column */
.wpvivid-status-left {
	flex: 1 1 49%;
	display: flex;             /* allow equal height stretching */
}
.wpvivid-status-info {
	flex: 1;                   /* fill full height */
	display: flex;
	flex-wrap: wrap;
	align-content: flex-start;  /* keep items tidy */
	gap: 10px 20px;
	padding: 12px 14px;
	background: #f9fafb;
	border: 1px solid #e1e4e8;
	border-radius: 3px;
	font-size: 13px;
	color: #444;
}

/* Each status item */
.wpvivid-status-item {
	display: flex;
	align-items: center;
	gap: 4px;
	min-width: 170px;
}
.wpvivid-status-item .label {
	font-weight: 500;
	color: #333;
}
.wpvivid-status-item .value {
	font-weight: 600;
}
.wpvivid-status-item .value.ok {
	color: #28a745;
}

/* Dashicons colors */
.wpvivid-dashicons-blue { color: #17a2b8; }
.wpvivid-dashicons-green { color: #28a745; }
.wpvivid-dashicons-orange { color: #ff9800; }
.wpvivid-status-item .dashicons {
	font-size: 16px;
	line-height: 1;
	vertical-align: middle;
	opacity: 0.9;
}

/* Right column */
.wpvivid-status-right {
	flex: 1 1 49%;
	display: flex; /* equal height stretching */
}
.wpvivid-log-block {
	flex: 1;
	display: flex;
	overflow-y: auto;
	flex-direction: column;
	background: #f8f9fa;
	border: 1px solid #dee2e6;
	border-radius: 3px;
	height: 120px;
	overflow-y: auto;
	box-shadow: inset 0 1px 2px rgba(0,0,0,0.05);
}

/* Log title & content */
.wpvivid-log-title {
	font-weight: 600;
	color: #2c3e50;
	border-bottom: 1px solid #e1e4e8;
	padding-top: 4px;
	padding-bottom: 4px;
	padding-left: 0.5rem;
}
.wpvivid-log-content {
	flex: 1;             /* fill remaining space */
	overflow-y: auto;    /* scrollable log area */
	padding:0.5rem;
	word-break: break-all;
}
.wpvivid-log-content p {
	margin: 3px 0;
	font-family: monospace;
	color: #555;
}


/* Main success block */
.wpvivid-backup-success {
	background: #f1f7fd; /* light WordPress blue background */
	border: 1px solid #cce3f5;
	border-radius: 3px;
	padding: 16px;
	box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Header */
.wpvivid-success-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wpvivid-success-title {
	color: #1d4f7a;
	font-size: 16px;
	font-weight: 600;
	color: #2e7d32;
}
.wpvivid-header-buttons {
	display: flex;
	gap: 6px;
}

/* Buttons */
.wpvivid-toggle-btn,
.wpvivid-close-btn {
	border-radius: 3px;
	padding: 6px 14px;
	font-size: 13px;
	cursor: pointer;
	transition: all 0.2s ease;
}

/* Blue button (expand) */
.wpvivid-toggle-btn {
	background: #0073aa;
	color: #fff;
	border: none;
}
.wpvivid-toggle-btn:hover {
	background: #005f8d;
}

/* Gray button (close) */
.wpvivid-close-btn {
	background: #e0e0e0;
	color: #333;
	border: 1px solid #ccc;
}
.wpvivid-close-btn:hover {
	background: #d5d5d5;
}

/* Success content wrapper */
.wpvivid-success-content {
	margin-top: 12px;
}

/* Subtitle (提示文字) */
.wpvivid-success-subtitle {
	font-size: 13px;
	color: #444;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.wpvivid-success-subtitle a {
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-success-subtitle a:hover {
	text-decoration: underline;
}

/* Files list container */
.wpvivid-success-files {
	border: 1px solid #d6e9d7;
	border-radius: 3px;
	background: #ffffff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	overflow: hidden;
}

/* Each file item: 4-column layout */
.wpvivid-file-item {
	display: grid;
	grid-template-columns: 28px 1fr 80px 100px; /* icon | name | size | download */
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-bottom: 1px solid #eef3ee;
	transition: background 0.2s ease;
}

.wpvivid-file-item:last-child {
	border-bottom: none;
}

/* Hover */
.wpvivid-file-item:hover {
	background: #f7fdf8;
}

/* Icon */
.wpvivid-file-item .dashicons {
	font-size: 18px;
	color: #ff9800;
}

/* Filename */
.wpvivid-file-name {
	font-size: 13px;
	color: #333;
	word-break: break-all;
}

/* File size */
.wpvivid-file-size {
	font-size: 13px;
	color: #555;
	text-align: right;
	font-family: monospace;
}

/* Download action */
.wpvivid-file-action {
	text-align: right;
}
.wpvivid-file-action a {
	color: #0073aa;
	font-weight: 500;
	text-decoration: none;
}
.wpvivid-file-action a:hover {
	text-decoration: underline;
}


/* Footer (checkbox + button) */
.wpvivid-success-footer {
	margin-top: 14px;
	text-align: right;
	font-size: 13px;
	color: #444;
}
.wpvivid-success-footer label {
	margin-right: 10px;
	cursor: pointer;
}
.wpvivid-btn-primary {
	background: #0073aa;
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 8px 16px;
	cursor: pointer;
	font-size: 13px;
	transition: all 0.2s ease;
	box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.wpvivid-btn-primary:hover {
	background: #005f8d;
}


/* Animation */
@keyframes wpvivid-fade-in {
	from { opacity: 0; transform: translateY(-5px); }
	to { opacity: 1; transform: translateY(0); }
}



.wpvivid-backup-custom-content{
	background: #f9f9f9;
	border: 1px solid #e5e5e5;
	border-radius: 3px;
	padding: 10px 12px;
}





.wpvivid-clear-float {
	content: "";
	clear: both;
	display: table;
	width:100%;
}
.wpvivid-title {
	font-size:1.2em;
	color:#000;
}
.wpvivid-nav-bar{
	width: 100%;
	float: left;
	padding: 1em;
	background-color: #fff;
	margin-bottom: 1em;
	border-top:1px solid #ddd;
	border-bottom:1px solid #ddd;
	box-sizing: border-box;

}
.wpvivid-loader {
	border: 4px solid #f3f3f3; /* Light grey */
	border-top: 4px solid #3498db; /* Blue */
	border-radius: 50%;
	width: 30px;
	height: 30px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}
.wpvivid-two-col{
	width:50%;
	float:left;
	box-sizing: border-box;
}
.wpvivid-two-of-three{
	width:67%;
	float:left;
	box-sizing: border-box;
}
.wpvivid-one-of-three{
	width:33%;
	float:left;
	box-sizing: border-box;
}
.wpvivid-float-right{
	float:right;
}
.wpvivid-float-left{
	float:left;
}
.wpvivid-dashicons-white {
	color:#ffffff;
}
.wpvivid-dashicons-green {
	color:#8bc34a;
}
.wpvivid-dashicons-red {
	color:red;
}
.wpvivid-dashicons-orange  {
	color:orange;
}
.wpvivid-dashicons-blue {
	color:#007cba;
}
.wpvivid-dashicons-grey, .wpvivid-dashicons-editor-help{
	color:#999;
}
.wpvivid-nav-tab-wrapper {
	padding-bottom:0!important;

}
.wpvivid-nav-tab {
	background:#ffffff;
}
.wpvivid-nav-tab-active,.wpvivid-nav-tab-active, .wpvivid-nav-tab-active:focus:active, .wpvivid-nav-tab-active:hover {
	border-bottom:1px solid #ffffff;
	background:#ffffff;
}
.wpvivid-tabcontent {
	display: none;
}
.wpvivid-remote-storage-incremental{
	border:1px solid #eaf1fe;
}
.wpvivid-remote-storage-incremental-left{
	width:250px;
	float:left;
	background:#eaf1fe;
	height:800px;
}
.wpvivid-remote-storage-incremental-right{
	width:calc(100% - 250px);
	float:left;
	box-sizing:border-box;
}
.wpvivid-incremental-folder{
	padding:1em;
}
.wpvivid-incremental-folder-active{
	background:#fff;
}
.wpvivid-incremental-folder:hover{
	background:#fff;
	cursor:pointer;
}
.wpvivid-workflow {
	padding:1em;
	border:1px solid var(--color-border);
	border-radius:3px;
}
.wpvivid-image-large {
	width:8em;
	height:8em;
}
.wpvivid-footer{
	background-color: var(--color-bg-white);
}
.wpvivid-footer-two-cols{
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
}
.wpvivid-footer-two-cols-left, .wpvivid-footer-two-cols-right{
	padding:1rem;
}
.wpvivid-footer-two-cols-left-list, .wpvivid-footer-two-cols-right-list{
	border: 1px solid var(--color-border-light);
	border-radius: 3px;
	padding:0 1rem;
	margin-top: 1rem;
}
.wpvivid-footer-two-cols-left-list li, .wpvivid-footer-two-cols-right-list li{
	display: flex;
	align-items: center;
	border-bottom: 1px solid var(--color-border-light-2);
}

/* tooltip */
.wpvivid-tooltip {
	display:inline-block;
	position:relative;
	text-align:left;
}
/* tooltip - top */
.wpvivid-top {
	min-width:300px;
	top:-20px;
	left:50%;
	transform:translate(-50%, -100%);
	padding:10px 20px;
	color:#444444;
	background-color:#ffffff;
	font-weight:normal;
	font-size:13px;
	border-radius:8px;
	position:absolute;
	z-index:99999999;
	box-sizing:border-box;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
	visibility:hidden; opacity:0; transition:opacity 0.8s;
}

.wpvivid-tooltip:hover .wpvivid-top {
	visibility:visible; opacity:1;
}

.wpvivid-tooltip .wpvivid-top i {
	position:absolute;
	top:100%;
	left:50%;
	margin-left:-12px;
	width:24px;
	height:12px;
	overflow:hidden;
}

.wpvivid-tooltip .wpvivid-top i::after {
	content:'';
	position:absolute;
	width:12px;
	height:12px;
	left:50%;
	transform:translate(-50%,-50%) rotate(45deg);
	background-color:#ffffff;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
}

/* tooltip - bottom */
.wpvivid-bottom {
	min-width:300px;
	top:40px;
	left:50%;
	transform:translate(-50%, 0);
	padding:10px 20px;
	color:#444444;
	background-color:#fff;
	font-weight:normal;
	font-size:13px;
	border-radius:8px;
	position:absolute;
	z-index:99999999;
	box-sizing:border-box;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
	visibility:hidden; opacity:0; transition:opacity 0.4s;
}

.wpvivid-dashicons-editor-help:hover .wpvivid-bottom {
	visibility:visible; opacity:1;
}
.wpvivid-dashicons-white:hover .wpvivid-bottom{
	visibility:visible; opacity:1;
}
.wpvivid-tooltip .wpvivid-bottom i {
	position:absolute;
	bottom:100%;
	left:50%;
	margin-left:-12px;
	width:24px;
	height:12px;
	overflow:hidden;
}

.wpvivid-tooltip .wpvivid-bottom i::after {
	content:'';
	position:absolute;
	width:12px;
	height:12px;
	left:50%;
	transform:translate(-50%,50%) rotate(45deg);
	background-color:#fff;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
}
/* tooltip - left */
.wpvivid-left {
	min-width:300px;
	top:50%;
	right:100%;
	margin-right:20px;
	transform:translate(0, -50%);
	padding:10px 20px;
	color:#444444;
	background-color:#ffffff;
	font-weight:normal;
	font-size:13px;
	border-radius:8px;
	position:absolute;
	z-index:99999999;
	box-sizing:border-box;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
	visibility:hidden; opacity:0; transition:opacity 0.8s;
}

.wpvivid-tooltip:hover .wpvivid-left {
	visibility:visible; opacity:1;
}

.wpvivid-tooltip .wpvivid-left i {
	position:absolute;
	top:50%;
	left:100%;
	margin-top:-12px;
	width:12px;
	height:24px;
	overflow:hidden;
}

.wpvivid-tooltip .wpvivid-left i::after {
	content:'';
	position:absolute;
	width:12px;
	height:12px;
	left:0;
	top:50%;
	transform:translate(-50%,-50%) rotate(-45deg);
	background-color:#fff;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
}
/* tooltip - right */
.wpvivid-right {
	min-width:300px;
	top:50%;
	left:100%;
	margin-left:20px;
	transform:translate(0, -50%);
	padding:10px 20px;
	color:#444444;
	background-color:#ffffff;
	font-weight:normal;
	font-size:13px;
	border-radius:8px;
	position:absolute;
	z-index:99999999;
	box-sizing:border-box;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
	visibility:hidden;
	opacity:0;
	transition:opacity 0.8s;
}

.wpvivid-tooltip:hover .wpvivid-right {
	visibility:visible; opacity:1;
}
.wpvivid-installer-list li{
	padding:0.2em 0;
}
.wpvivid-tooltip .wpvivid-right i {
	position:absolute;
	top:50%;
	right:100%;
	margin-top:-12px;
	width:12px;
	height:24px;
	overflow:hidden;
}

.wpvivid-tooltip .wpvivid-right i::after {
	content:'';
	position:absolute;
	width:12px;
	height:12px;
	left:0;
	top:50%;
	transform:translate(50%,-50%) rotate(-45deg);
	background-color:#ffffff;
	box-shadow:0 1px 8px rgba(0,0,0,0.5);
}

/* radio box style */

.wpvivid-radio {
	display: block;
	position: relative;
	padding-left: 2em;
	margin-bottom: 1em;
	cursor: pointer;
	font-size: 1em;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* Hide the browser's default radio button */
.wpvivid-radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}
/* Create a custom radio button */
.wpvivid-radio-checkmark {
	position: absolute;
	top: 2px;
	left: 0;
	height: 16px;
	width: 16px;
	background-color: #eee;
	border-radius: 50%;
}
/* On mouse-over, add a grey background color */
.wpvivid-radio:hover input ~ .wpvivid-radio-checkmark {
	background-color: #ccc;
}
/* When the radio button is checked, add a blue background */
.wpvivid-radio input:checked ~ .wpvivid-radio-checkmark {
	background-color: #8bc34a;
}
/* Create the indicator (the dot/circle - hidden when not checked) */
.wpvivid-radio-checkmark:after {
	content: "✔";
	position: absolute;
	font-size:12px;
	top:-1px;
	left:3px;
	display: none;
	color:white;
}
/* Show the indicator (dot/circle) when checked */
.wpvivid-radio input:checked ~ .wpvivid-radio-checkmark:after {
	display: block;
}

@keyframes flickerAnimation {
	0%   { opacity:1; }
	50%  { opacity:0; }
	100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
	0%   { opacity:1; }
	50%  { opacity:0; }
	100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
	0%   { opacity:1; }
	50%  { opacity:0; }
	100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
	0%   { opacity:1; }
	50%  { opacity:0; }
	100% { opacity:1; }
}
.wpvivid-animate-flicker {
	-webkit-animation: flickerAnimation .5s infinite;
	-moz-animation: flickerAnimation .5s infinite;
	-o-animation: flickerAnimation .5s infinite;
	animation: flickerAnimation .5s infinite;
}


/* custom checkbox */

/* Customize the label (the container) */
.wpvivid-checkbox {
	display: block;
	position: relative;

	padding-left: 2em;
	cursor: pointer;
	font-size: 1em;

	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
/* Hide the browser's default checkbox */
.wpvivid-checkbox input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}
/* Create a custom checkbox */
.wpvivid-checkbox-checkmark {
	position: absolute;
	top: 3px;
	left: 0;
	height: 16px;
	width: 16px;
	background-color: #eee;
	border-radius: 4px;
}
/* On mouse-over, add a grey background color */
.wpvivid-checkbox:hover input ~ .wpvivid-checkbox-checkmark {
	background-color: #ccc;
	border-radius: 4px;
}
/* When the checkbox is checked, add a blue background */
.wpvivid-checkbox input:checked ~ .wpvivid-checkbox-checkmark {
	background-color: #8bc34a;
	border-radius: 4px;
}
/* Create the checkmark/indicator (hidden when not checked) */
.wpvivid-checkbox-checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
/* Show the checkmark when checked */
.wpvivid-checkbox input:checked ~ .wpvivid-checkbox-checkmark:after {
	display: block;
}
/* Style the checkmark/indicator */
.wpvivid-checkbox .wpvivid-checkbox-checkmark:after {
	left: 4px;
	top: 0px;
	width: 5px;
	height: 10px;
	border: solid white;
	border-width: 0px 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
/* toggle switch */

/* The switch - the box around the slider */
.wpvivid-switch {
	position: relative;
	display: inline-block;
	width: 32px;
	height: 16px;
}

/* Hide default HTML checkbox */
.wpvivid-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

/* The slider */
.wpvivid-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0px;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}

.wpvivid-slider:before {
	position: absolute;
	content: "";
	height: 12px;
	width: 12px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .wpvivid-slider {
	background-color: #8bc34a;
}

input:focus + .wpvivid-slider {
	box-shadow: 0 0 1px #8bc34a;
}


input:checked + .wpvivid-slider:before {
	-webkit-transform: translateX(16px);
	-ms-transform: translateX(16px);
	transform: translateX(16px);
}

/* Rounded sliders */
.wpvivid-slider.wpvivid-round {
	border-radius: 16px;
}

.wpvivid-slider.wpvivid-round:before {
	border-radius: 50%;
}


/*general postion*/
.wpvivid-tooltip-padding-top {

}
.wpvivid-tooltip-padding-top-small {
	padding-top:0.1em;
}

/* WPvivid Restore Progress Bar */
.wpvivid-stepper-wrapper {
	margin-top: auto;
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
}
.wpvivid-stepper-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

@media (max-width: 768px)
{
	.wpvivid-stepper-item
	{
		font-size: 12px;
	}
}


.wpvivid-stepper-item::before {
	position: absolute;
	content: "";
	border-bottom: 2px solid #ccc;
	width: 100%;
	top: 20px;
	left: -50%;
	z-index: 2;
}

.wpvivid-stepper-item::after {
	position: absolute;
	content: "";
	border-bottom: 2px solid #ccc;
	width: 100%;
	top: 20px;
	left: 50%;
	z-index: 2;
}

.wpvivid-stepper-item .wpvivid-step-counter {
	position: relative;
	z-index: 5;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ccc;
	margin-bottom: 6px;
}

.wpvivid-stepper-item.active {
	font-weight: bold;
}

.wpvivid-stepper-item.completed .wpvivid-step-counter {
	background-color: #8bc34a;
	color:#fff;
}

.wpvivid-stepper-item.completed::after {
	position: absolute;
	content: "";
	border-bottom: 2px solid #4bb543;
	width: 100%;
	top: 20px;
	left: 50%;
	z-index: 3;
}

.wpvivid-stepper-item:first-child::before {
	content: none;
}
.wpvivid-stepper-item:last-child::after {
	content: none;
}
/*  HD computer monitor */

@media only screen and (min-width: 1366px) {

	.wpvivid-four-cols{
		width:100%;
		margin-bottom:1em;
	}
}

/*  Tablets in landscape mode, older desktop monitors */

@media only screen and (min-width: 1024px) and (max-width: 1365px) {


	#poststuff #post-body.columns-2 {
		margin-right: 0px;
	}
	#wpbody-content #post-body.columns-2 #postbox-container-1 {
		margin-right: 0;
		width: 100%;
	}
	.wpvivid-one-of-three{
		width:100%;
		float:left;
		box-sizing: border-box;
	}
	.wpvivid-four-cols{
		width:100%;
		margin-bottom:1em;
	}
}



/*  Tablets in portrait mode, large display smartphones landscape mode */

@media only screen and (min-width: 768px) and (max-width: 1023px) {
	.wpvivid-two-col {
		width:100%;
	}
	.wpvivid-float-right{
		float:left;
	}
	.wpvivid-dashboard .wpvivid-three-cols{
		width:100%;
		box-sizing: border-box;
	}
	.wpvivid-one-of-three{
		width:100%;
		float:left;
		box-sizing: border-box;
	}
	.wpvivid-four-cols{
		width:100%;
		margin-bottom:1em;
	}
	.wpvivid-welcome-bar-left{
		width:100%;

	}
	.wpvivid-welcome-bar-right{
		display:none;
	}
	.wpvivid-ignore{
		display:none;
	}

}

/*  Smartphones in landscape mode */

@media only screen and (min-width: 421px) and (max-width: 767px) {
	.wpvivid-features-box,.wpvivid-two-col {
		width:100%;
	}
	.wpvivid-float-right{
		float:left;
	}
	.wpvivid-welcome-bar-left{
		width:100%;
	}
	.wpvivid-welcome-bar-right{
		display:none;
	}
	.wpvivid-one-of-three{
		width:100%;
		float:left;
		box-sizing: border-box;
	}
	.wpvivid-four-cols{
		width:100%;
		margin-bottom:1em;
	}
	.wpvivid-ignore{
		display:none;
	}
}


/*  Smartphones in portrait mode  */

@media only screen and (max-width: 420px) {
	.wpvivid-features-box,.wpvivid-two-col {
		width:100%;
	}
	.wpvivid-float-right{
		float:left;
	}
	.wpvivid-welcome-bar-left{
		width:100%;

	}
	.wpvivid-welcome-bar-right{
		display:none;
	}
	.wpvivid-one-of-three{
		width:100%;
		float:left;
		box-sizing: border-box;
	}
	.wpvivid-four-cols{
		width:100%;
		margin-bottom:1em;
	}
	.wpvivid-ignore{
		display:none;
	}
	.wpvivid-img-opt-responsive{
		margin-top:1em;
		padding-top:1em;
		border-top:1px solid #f1f1f1;
	}
}


/* Base style */
.wpvivid-v2-padding{
	padding:1rem;
}
.wpvivid-v2-notice {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 12px 16px;
	border-radius: 3px;
	margin-bottom: 12px;
	font-size: 13px;
	line-height: 1.5;
	border-left: 4px solid transparent;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	animation: wpvivid-v2-fadeIn 0.3s ease;
}

/* Icon */
.wpvivid-v2-notice .dashicons {
	font-size: 18px;
	margin-top: 2px;
}

/* Text */
.wpvivid-v2-notice p {
	margin: 0;
	flex: 1;
}

/* Close Button */
.wpvivid-v2-notice-close {
	background: transparent;
	border: none;
	cursor: pointer;
	color: #777;
	font-size: 16px;
	padding: 2px;
	transition: color 0.2s ease;
}
.wpvivid-v2-notice-close:hover {
	color: #000;
}

/* --- Notice Types --- */

/* Success */
.wpvivid-v2-notice-success {
	background: #f1f7f4;
	border-left-color: #46b450;
	color: #155724;
}

/* Warning */
.wpvivid-v2-notice-warning {
	background: #fff8e5;
	border-left-color: #ffb900;
	color: #7a5d00;
}

/* Error */
.wpvivid-v2-notice-error {
	background: #fde8e8;
	border-left-color: #dc3232;
	color: #721c24;
}

/* Info */
.wpvivid-v2-notice-info {
	background: #f0f6fc;
	border-left-color: #0073aa;
	color: #0c5460;
}

/* Animation */
@keyframes wpvivid-v2-fadeIn {
	from {
		opacity: 0;
		transform: translateY(-4px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}



/* Storage List Container */
.wpvivid-v2-storage-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
	background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
	padding: 16px;
	border: 1px solid #dbe5f0;
	border-radius: 3px;
	margin-bottom: 1rem;
}

/* Storage Item */
.wpvivid-v2-storage-item {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #dce3ea;
	border-radius: 3px;
	padding: 10px 12px;
	font-size: 13px;
	font-weight: 500;
	color: #1e293b;
	cursor: pointer;
	transition: all 0.2s ease;
}

/* Hover effect */
.wpvivid-v2-storage-item:hover {
	background: #eaf3ff;
	border-color: #0073aa;
	box-shadow: 0 1px 3px rgba(0,0,0,0.05);
	color: #0073aa;
}

/* Image and icon styling */
.wpvivid-v2-storage-item img {
	width: 20px;
	height: 20px;
	vertical-align: middle;
}
.wpvivid-v2-storage-item .dashicons {
	font-size: 18px;
	color: #0073aa;
}

/* Responsive behavior */
@media (max-width: 600px) {
	.wpvivid-v2-storage-list {
		grid-template-columns: repeat(2, 1fr);
	}
}


/* Container - on Import Page */
.wpvivid-v2-uploaded-box {
	background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f8fbff54 100%);
	border: 1px solid #d8e4f2;
	border-radius: 3px;
	padding: 16px;
	margin-top: 16px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.05);
	font-size: 13px;
	color: #1e293b;
}

/* Header */
.wpvivid-v2-uploaded-header {
	text-align: center;
	margin-bottom: 12px;
}

.wpvivid-v2-uploaded-title {
	color: #0073aa;
	font-size: 16px;
	font-weight: 600;
	margin: 0;
}

.wpvivid-v2-uploaded-title .dashicons {
	color: #0073aa;
	vertical-align: middle;
	margin-right: 4px;
}

.wpvivid-v2-uploaded-tip {
	color: #333;
	font-size: 13px;
	margin: 6px 0 0;
}

.wpvivid-v2-uploaded-tip a {
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-uploaded-tip a:hover {
	text-decoration: underline;
}

/* File List */
.wpvivid-v2-uploaded-list {
	border: 1px solid #e3ebf4;
	background: #fff;
	border-radius: 3px;
	margin-top: 10px;
}

.wpvivid-v2-uploaded-item {
	display: grid;
	grid-template-columns: 24px 1fr 60px;
	align-items: center;
	padding: 8px 12px;
	border-bottom: 1px solid #eef3f9;
	transition: background 0.2s ease;
}
.wpvivid-v2-uploaded-item:last-child {
	border-bottom: none;
}

.wpvivid-v2-uploaded-item:hover {
	background: #f1f7fe;
}

.wpvivid-v2-file-name {
	word-break: break-all;
	color: #1e293b;
}

.wpvivid-v2-file-size {
	text-align: right;
	color: #555;
	font-family: monospace;
}

.wpvivid-v2-dashicons-orange {
	color: #f39c12;
}

/* Footer */
.wpvivid-v2-uploaded-footer {
	text-align: center;
	margin-top: 12px;
}

/* Button */
.wpvivid-v2-btn-primary {
	background: linear-gradient(90deg, #0073aa 0%, #0a84c1 100%);
	border: none;
	color: #fff;
	font-weight: 500;
	border-radius: 3px;
	padding: 8px 18px;
	cursor: pointer;
	transition: background 0.25s ease;
}
.wpvivid-v2-btn-primary:hover {
	background: linear-gradient(90deg, #006799 0%, #0a7db3 100%);
}



/* ========== Container on import from remote storage tab ========== */
/* Base Section */
.wpvivid-v2-section {
	margin-top: 16px;
	font-size: 13px;
	color: #1e293b;
}

/* Info Alert */
.wpvivid-v2-alert {
	border: 1px solid #dbe5f0;
	border-radius: 3px;
	padding: 10px 12px;
	margin-bottom: 16px;
}
.wpvivid-v2-alert a {
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-alert a:hover {
	text-decoration: underline;
}

/* Remote Storage Container */
.wpvivid-v2-remote-box {
	background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f8fbff54 100%);
	border: 1px solid #d8e4f2;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
	padding: 16px;
	font-size: 13px;
	color: #1e293b;
}

/* Header */
.wpvivid-v2-remote-header {
	text-align: center;
	margin-bottom: 14px;
	border-bottom: 1px solid #e2e8f0;
	padding-bottom: 10px;
}
.wpvivid-v2-remote-header h2 {
	color: #0073aa;
	font-size: 16px;
	margin: 0 0 6px 0;
}
.wpvivid-v2-remote-header .dashicons-cloud {
	vertical-align: middle;
	margin-right: 6px;
}
.wpvivid-v2-remote-header select {
	border: 1px solid #ccd4dd;
	border-radius: 3px;
	padding: 3px 8px;
	font-size: 13px;
	background: #fff;
}
.wpvivid-v2-reload {
	color: #0073aa;
	cursor: pointer;
	margin-left: 6px;
	transition: transform 0.2s ease;
}
.wpvivid-v2-reload:hover {
	transform: rotate(90deg);
}

/* List */
.wpvivid-v2-remote-list {
	margin-bottom: 12px;
}
.wpvivid-v2-remote-item {
	background: #fff;
	border: 1px solid #e3ebf4;
	border-radius: 3px;
	margin-bottom: 8px;
	padding: 10px 12px;
	transition: background 0.2s ease;
}
.wpvivid-v2-remote-item:hover {
	background: #f1f7fe;
}

/* File Row */
.wpvivid-v2-remote-main {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.wpvivid-v2-file-name {
	flex: 1;
	margin-left: 6px;
	color: #1e293b;
}
.wpvivid-v2-dashicons-blue {
	color: #0073aa;
}

/* Meta Row */
.wpvivid-v2-remote-meta {
	display: flex;
	justify-content: space-between;
	margin-top: 4px;
	color: #555;
}

/* Restore Button */
.wpvivid-v2-btn-link {
	background: none;
	border: none;
	color: #0073aa;
	font-weight: 500;
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 3px;
	transition: color 0.25s ease;
}
.wpvivid-v2-btn-link:hover {
	color: #005f8d;
}

/* Footer */
.wpvivid-v2-remote-footer {
	border-top: 1px solid #e2e8f0;
	padding-top: 10px;
	text-align: center;
	color: #333;
}
.wpvivid-v2-remote-footer a {
	color: #0073aa;
	text-decoration: none;
}
.wpvivid-v2-remote-footer a:hover {
	text-decoration: underline;
}
.wpvivid-v2-dashicons-orange {
	color: #f39c12;
	margin-right: 4px;
}

/******************* Key Generation **************************/
/* Container */
.wpvivid-v2-key-box {
	background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f8fbff54 100%);
	border: 1px solid #e3ebf3;
	border-radius: 3px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
	padding: 16px;
	color: #1e293b;
	font-size: 13px;
}

/* Header */
.wpvivid-v2-key-header {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}
.wpvivid-v2-key-header h2 {
	margin: 0;
	font-size: 16px;
	color: #0073aa;
	font-weight: 600;
}
.wpvivid-v2-dashicons-blue {
	color: #0073aa;
	font-size: 20px;
}

/* Description */
.wpvivid-v2-key-desc {
	color: #333;
	line-height: 1.5;
	margin-bottom: 14px;
}

/* Expiration Row */
.wpvivid-v2-key-expire {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 10px;
}
.wpvivid-v2-key-expire label {
	font-weight: 500;
}
.wpvivid-v2-key-expire select {
	border: 1px solid #cbd5e1;
	border-radius: 3px;
	padding: 4px 8px;
	font-size: 13px;
	background: #fff;
}
.wpvivid-v2-tooltip {
	color: #64748b;
	cursor: pointer;
}
.wpvivid-v2-tooltip:hover {
	color: #0073aa;
}

/* Textarea */
.wpvivid-v2-key-box textarea {
	width: 100%;
	height: 140px;
	border: 1px solid #d0dae4;
	border-radius: 3px;
	padding: 8px;
	resize: none;
	background: #fff;
	font-family: monospace;
	margin-bottom: 12px;
	color: #333;
}
.wpvivid-v2-key-box textarea:focus {
	border-color: #0073aa;
	box-shadow: 0 0 0 1px #0073aa;
	outline: none;
}

/* Footer & Button */
.wpvivid-v2-key-footer {
	text-align: left;
}
.wpvivid-v2-btn-primary {
	background: linear-gradient(90deg, #0073aa 0%, #0a84c1 100%);
	color: #fff;
	border: none;
	border-radius: 3px;
	padding: 8px 18px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.25s ease;
}
.wpvivid-v2-btn-primary:hover {
	background: linear-gradient(90deg, #006799 0%, #0a7db3 100%);
}


/****************Restore-stepper*************************/
/*.completed the class is the progress compeleted********/
/*.active the class is the progress "precessing" ********/
.wpvivid-v2-card {
	background: radial-gradient(circle at 50% 20%, #ffffff 0%, #f8fbff 100%);
	border: 1px solid #e3ebf3;
	padding: 2em 2em 3em;
	text-align: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.wpvivid-stepper-header h2 {
	font-size: 1.6em;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 2em;
}

.wpvivid-v2-stepper {
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.wpvivid-v2-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	z-index: 2;
}

.wpvivid-step-circle {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	color: #fff;
	background: #cbd5e1;
	transition: all 0.3s ease;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.wpvivid-v2-step.completed .wpvivid-step-circle {
	background: linear-gradient(135deg, #28a745, #7dd56f);
}

.wpvivid-v2-step.active .wpvivid-step-circle {
	background: linear-gradient(135deg, #2271b1, #3aa0ff);
	box-shadow: 0 0 0 4px rgba(34, 113, 177, 0.15);
}

.wpvivid-step-title {
	margin-top: 0.6em;
	font-size: 0.95em;
	color: #1e293b;
	font-weight: 500;
}

.wpvivid-v2-line {
	flex-grow: 1;
	height: 3px;
	background: #e2e8f0;
	margin: 0 1em;
	position: relative;
	top: -10px;
	border-radius: 2px;
}

.wpvivid-v2-line.completed {
	background: linear-gradient(90deg, #28a745, #7dd56f);
}


/***************Restore step one ************************/
.wpvivid-v2-warning-bar {
	background: linear-gradient(90deg, #fff8e5, #ffe7b8);
	border: 1px solid #f3c052;
	border-radius: 3px;
	padding: 0.8em 1em;
	margin-bottom: 1em;
	color: #805300;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.wpvivid-v2-restore-info {
	display: flex;
	justify-content: space-between;
	background: linear-gradient(135deg, #f8fbff, #eaf1fe);
	border: 1px solid #d8e3f0;
	border-radius: 3px;
	padding: 1em;
	margin-bottom: 1em;
}

.wpvivid-v2-info-left p,
.wpvivid-v2-info-right p {
	margin: 0.3em 0;
}

.wpvivid-v2-btn-blue {
	background: linear-gradient(90deg, #1e73be, #2271b1);
	border: none;
	border-radius: 3px;
	color: #fff;
	padding: 0.4em 1.2em;
	margin-top: 0.8em;
	cursor: pointer;
}

.wpvivid-v2-system-title {
	background: linear-gradient(90deg, #f1f5f9, #e4ebf2);
	padding: 0.6em;
	font-weight: 600;
	border-radius: 3px;
	margin-bottom: 0.5em;
}

.wpvivid-v2-system-grid {
	display: flex;
	justify-content: space-between;
	gap: 2em;
}

.wpvivid-v2-progress-bar-wrap {
	background: linear-gradient(135deg, #f9fdf9, #edf9ed);
	border: 1px solid #cbe8c5;
	border-radius: 3px;
	padding: 1em;
}

.wpvivid-v2-progress-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.95em;
	margin-bottom: 0.6em;
	color: #0a3622;
}

.wpvivid-v2-progress-track {
	background: #e1e4e8;
	border-radius: 3px;
	overflow: hidden;
	height: 16px;
	margin-bottom: 0.5em;
}

.wpvivid-v2-progress-fill {
	background: linear-gradient(90deg, #34d399, #10b981);
	height: 100%;
	position: relative;
	border-radius: 3px;
	color: #fff;
	font-size: 0.8em;
	display: flex;
	align-items: center;
	justify-content: center;
}
/*****************Restore- step one - advanced *****************/
.wpvivid-v2-section {
	background: radial-gradient(circle at top left, #fdfefe, #f4f8ff);
	border: 1px solid #dce7f5;
	border-radius: 3px;
	box-shadow: 0 1px 2px rgba(0,0,0,0.03);
	padding: 1rem 1rem;
	color: #071c4d;
}
.wpvivid-v2-settings-list{
	padding-top: 1rem;
}
.wpvivid-v2-section-header {
	font-weight: 600;
	color: #1e3a8a;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.wpvivid-v2-item {
	margin-bottom: 0.6em;
}

.wpvivid-v2-item label {
	color: #334155;
}

.wpvivid-v2-item input[type="text"] {
	width: 6em;
	border: 1px solid #c7d6f3;
	border-radius: 3px;
	padding: 0.25em 0.4em;
	background: #fff;
	transition: border 0.2s;
}

.wpvivid-v2-item input[type="text"]:focus {
	border: 1px solid #6aa8ff;
	outline: none;
}

.wpvivid-v2-item input[type="radio"],
.wpvivid-v2-item input[type="checkbox"] {
	accent-color: #2271b1;
	margin-right: 0.3em;
}

.wpvivid-v2-item strong {
	color: #0f172a;
}

.wpvivid-v2-section:hover {
	box-shadow: 0 2px 4px rgba(0,0,0,0.06);
	transition: box-shadow 0.2s ease-in-out;
}


/* ================================
   WPvivid v2 - Restore UI Styles
   ================================ */

.wpvivid-v2-restore-container {
	border-radius: 3px;
	padding: 1em;
	/*margin-top: 1.5em;*/
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	font-family: "Segoe UI", Roboto, sans-serif;
}

/* Header */
.wpvivid-v2-restore-header h2 {
	font-size: 1.6em;
	color: #2b3e78;
	font-weight: 700;
	margin-bottom: 1em;
	display: flex;
	align-items: center;
	gap: 0.4em;
}


/* Progress bar */
.wpvivid-v2-progress-bar {
	width: 100%;
	background: #eaeef5;
	border-radius: 3px;
	height: 24px;
	overflow: hidden;
	margin-bottom: 1em;
}

.wpvivid-v2-progress-fill {
	height: 100%;
	background: linear-gradient(135deg, #4caf50, #66bb6a);
	border-radius: 3px;
	color: white;
	text-align: center;
	font-size: 0.9em;
	line-height: 24px;
}

/* Section */
/* Section shell */
.wpvivid-v2-restore-section{
	margin-top:2em;border-radius:3px;
	background:linear-gradient(135deg,#ffffff,#f4f7fb);
	border:1px solid #dde3ef;
}
.wpvivid-v2-section-header{
	display:flex;align-items:center;gap:.5em;
	padding:.8em 1em;border-bottom:1px solid #dde3ef;
}
.wpvivid-v2-orange{background:linear-gradient(135deg,#fff3e0,#fff8f3);color:#e65100;}
.wpvivid-v2-section-status{margin-left:auto;font-weight:700;color:#43a047;}
.wpvivid-v2-section-body{padding:1em 1.5em;}

/* Rows */
.wpvivid-v2-restore-item{
	border-bottom:1px solid #eceff5;padding:.7em 0;
	font-size:1em;display:block;
}
.wpvivid-v2-restore-item:last-child{border-bottom:none;}
.wpvivid-v2-status-complete{color:#4caf50;font-weight:600;float:right;}
.wpvivid-v2-status-running{color:#ff9800;font-weight:600;float:right;}
.wpvivid-v2-status-waiting{color:#9e9e9e;font-weight:600;float:right;}
.wpvivid-v2-subinfo{margin:.4em 0 0 1.5em;color:#555;font-size:.92em}

/* details/summary to avoid JS */
.wpvivid-v2-has-list summary{
	list-style:none;display:flex;align-items:center;
}
.wpvivid-v2-has-list summary::-webkit-details-marker{display:none;}
.wpvivid-v2-has-list[open] summary{margin-bottom:.6em;}
.wpvivid-v2-has-list summary label{flex:1}

/* Sublist box (with scroll) */
.wpvivid-v2-sublist{
	border: 1px solid #dbe3f0;
	border-radius: 3px;
	background: linear-gradient(135deg, #f9fbfd, #f1f6ff);
	padding: 1em;
	max-height: 240px;
	overflow-y: auto;
	scrollbar-width: thin;
}

/* Optional: make scrollbar look cleaner on WebKit browsers */
.wpvivid-v2-sublist::-webkit-scrollbar { width: 6px; }
.wpvivid-v2-sublist::-webkit-scrollbar-thumb {
	background: #c5cde3;
	border-radius: 3px;
}
.wpvivid-v2-sublist::-webkit-scrollbar-thumb:hover {
	background: #9aa4c7;
}
.wpvivid-v2-expand-toggle {
	cursor:pointer;
	margin-right:.5em;
	transition:transform .2s ease;
}
.wpvivid-v2-has-list[open] .wpvivid-v2-expand-toggle {
	transform:rotate(180deg);
}


/* List styles */
.wpvivid-v2-list{margin:0;padding:0;list-style:none;}
.wpvivid-v2-list-grid{
	display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6em 1em;
}
.wpvivid-v2-list-3col {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.6em 1em;
	list-style: none;
	margin: 0;
	padding: 0;
}
.wpvivid-v2-list-item{
	background: linear-gradient(135deg, #ffffff, #f7faff);
	border: 1px solid #e6ecf7;
	border-radius: 3px;
	padding: 0.5em 0.8em;
	font-size: 0.95em;
	display: flex;
	align-items: center;
	gap: 0.4em;
	transition: background 0.2s ease;
}
.wpvivid-v2-list-item:hover {
	background: linear-gradient(135deg, #f3f7ff, #ebf2ff);
}
.wpvivid-v2-size{margin-left:auto;color:#6b7480;font-size:.9em}

/* Tiny progress bar for each item */
.wpvivid-v2-mini-progress{
	position:relative;height:6px;flex-basis:120px;flex-grow:0;flex-shrink:0;
	border-radius:3px;background:#e9eef8;overflow:hidden;
}
.wpvivid-v2-mini-progress>span{
	display:block;height:100%;border-radius:3px;
	background:linear-gradient(135deg,#4caf50,#66bb6a);
}
/* =============================
   WPvivid v2 Database Section
   ============================= */

/* Section wrapper */
.wpvivid-v2-db-section {
	border-radius: 3px;
	overflow: hidden;
	margin-top: 2em;
	border: 1px solid #dde3ef;
}

/* Header */
.wpvivid-v2-db-header {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.8em 1em;
	background: linear-gradient(135deg, #eaf1fe, #f5f8ff);
	color: #1e88e5;
	font-weight: 700;
}

.wpvivid-v2-db-header .dashicons {
	font-size: 1.2em;
	line-height: 1;
	position: relative;
	top: 1px;
}

/* Body */
.wpvivid-v2-db-body {
	background: linear-gradient(135deg, #ffffff, #f7faff);
	padding: 1em 1.5em;
}

/* Each item */
.wpvivid-v2-db-item {
	border-bottom: 1px solid #e5e9f2;
	padding: 0.8em 0;
}

.wpvivid-v2-db-item:last-child {
	border-bottom: none;
}

/* Main line inside each item */
.wpvivid-v2-db-line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

/* Text and checkbox */
.wpvivid-v2-db-line label {
	font-weight: 500;
	color: #333;
}

.wpvivid-v2-db-size {
	color: #7a8699;
	font-size: 0.9em;
	margin-left: 0.4em;
}

/* Status */
.wpvivid-v2-db-status {
	font-weight: 600;
}

.wpvivid-v2-db-status-progress {
	color: #2196f3;
}

.wpvivid-v2-db-status-waiting {
	color: #9e9e9e;
}

/* Subinfo line (Extracting file...) */
.wpvivid-v2-db-subinfo {
	flex-basis: 100%;
	margin: 0.4em 0 0 1.8em;
	color: #555;
	font-size: 0.9em;
}
/* =============================
   WPvivid v2 Restore Action Buttons
   ============================= */

/* Button container */
.wpvivid-v2-restore-actions {
	display: flex;
	gap: 1em;
	justify-content: flex-start;
	margin-top: 1.5em;
}

/* Base button style */
.wpvivid-v2-btn {
	border: none;
	border-radius: 3px;
	padding: 0.6em 1.4em;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	color: #fff;
}

/* Primary: Blue gradient */
.wpvivid-v2-btn-primary {
	background: linear-gradient(135deg, #2196f3, #1976d2);
}
.wpvivid-v2-btn-primary:hover {
	background: linear-gradient(135deg, #42a5f5, #1e88e5);
}

/* Secondary: Grey gradient */
.wpvivid-v2-btn-secondary {
	background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
	color: #333;
}
.wpvivid-v2-btn-secondary:hover {
	background: linear-gradient(135deg, #eeeeee, #cfcfcf);
}

/* Cancel: Red/Orange gradient */
.wpvivid-v2-btn-cancel {
	background: linear-gradient(135deg, #ef5350, #e53935);
}
.wpvivid-v2-btn-cancel:hover {
	background: linear-gradient(135deg, #f44336, #c62828);
}

/* Optional: active state */
.wpvivid-v2-btn:active {
	transform: scale(0.98);
}

/* =============================
   WPvivid v2 Incremental Restore Section
   ============================= */

/* =============================
   WPvivid v2 Incremental Restore Section
   ============================= */

/* Container */
.wpvivid-v2-incremental-section {
	border: 1px solid #dde5f1;
	border-radius: 3px;
	background: linear-gradient(135deg, #ffffff, #f7faff);
	box-shadow: 0 2px 6px rgba(0,0,0,0.05);
	overflow: hidden;
	margin-top: 2em;
}

/* Header */
.wpvivid-v2-incremental-header {
	background: linear-gradient(135deg, #f7faff, #eaf1fe);
	padding: 1em 1.2em;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 0.5em;
	color: #ff9800;
	border-bottom: 1px solid #dde5f1;
}

/* List Container - now scrollable */
.wpvivid-v2-incremental-list {
	display: flex;
	flex-direction: column;
	padding: 0.5em 1em;
	max-height: 300px;           /* 🔹 limit visible height */
	scrollbar-width: thin;         /* Firefox support */
	scrollbar-color: #cbd5e0 #f1f5f9;
}

/* Scrollbar (WebKit) */
.wpvivid-v2-incremental-list::-webkit-scrollbar {
	width: 8px;
}
.wpvivid-v2-incremental-list::-webkit-scrollbar-track {
	background: #f1f5f9;
	border-radius: 3px;
}
.wpvivid-v2-incremental-list::-webkit-scrollbar-thumb {
	background: #cbd5e0;
	border-radius: 3px;
}
.wpvivid-v2-incremental-list::-webkit-scrollbar-thumb:hover {
	background: #a0aec0;
}

/* Row layout */
.wpvivid-v2-incremental-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.7em 0;
	border-bottom: 1px solid #e0e6f0;
	transition: background 0.2s ease-in-out;
}

.wpvivid-v2-incremental-row:hover {
	background: linear-gradient(135deg, #f5f9ff, #eef5ff);
}

/* Left section (checkbox + icon + date) */
.wpvivid-v2-incremental-left {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

.wpvivid-v2-incremental-left .dashicons {
	color: #2196f3;
	font-size: 1em;
}

.wpvivid-v2-incremental-date {
	color: #333;
	font-weight: 500;
}

/* Right section (badge) */
.wpvivid-v2-incremental-right {
	display: flex;
	align-items: center;
}

.wpvivid-v2-incremental-type {
	background: linear-gradient(135deg, #f2f5fa, #e7edf7);
	border-radius: 3px;
	padding: 0.3em 0.7em;
	font-size: 0.9em;
	color: #4a5568;
	font-weight: 600;
}

/* Pagination */
.wpvivid-v2-incremental-pagination {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0.8em 1em;
	border-top: 1px solid #e0e6f0;
	background: linear-gradient(135deg, #f9fafc, #eef3fb);
	color: #555;
	font-size: 0.9em;
}

.wpvivid-v2-incremental-pages {
	display: flex;
	align-items: center;
	gap: 0.3em;
}

.wpvivid-v2-incremental-btn {
	border: none;
	border-radius: 3px;
	padding: 0.3em 0.6em;
	background: linear-gradient(135deg, #e4ebf7, #d6e0f4);
	cursor: pointer;
	transition: all 0.2s ease-in-out;
}

.wpvivid-v2-incremental-btn:hover:not(:disabled) {
	background: linear-gradient(135deg, #d6e0fb, #c8d4f8);
}

.wpvivid-v2-incremental-btn:disabled {
	opacity: 0.4;
	cursor: default;
}




/* congratulations container */
.wpvivid-v2-congra-container {
	width: 100%;
	max-width: 900px;
	margin: 3em auto;
	font-family: "Segoe UI", Roboto, sans-serif;
}

/* Card */
.wpvivid-v2-congra-card {
	margin: 0 auto 3em auto;
	max-width: 700px; /* prevent stretch */
	border-radius: 3px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	padding: 2.5em;
	background: linear-gradient(135deg, #f9fafc, #eef3fb);
	border: 1px solid #dde5f1;
}

/* Title */
.wpvivid-v2-congra-title {
	text-align: center;
	font-size: 2.5em;
	font-weight: 800;
	margin-bottom: 1.2em;
}

/* Text */
.wpvivid-v2-congra-content {
	font-size: 1.1em;
	text-align: center;
	line-height: 1.8em;
	color: #333;
}

/* Success Style */
.wpvivid-v2-congra-success {
	border-left: 6px solid #8bc34a;
	background: linear-gradient(135deg, #e8f5e9, #f3fdf3);
}

.wpvivid-v2-congra-success .wpvivid-v2-congra-title {
	color: #4caf50;
}

/* Error Style */
.wpvivid-v2-congra-error {
	border-left: 6px solid #ff9800;
	background: linear-gradient(135deg, #fff3e0, #fff8f3);
}

.wpvivid-v2-congra-error .wpvivid-v2-congra-title {
	color: #e65100;
}

/* Buttons */
.wpvivid-v2-congra-btn {
	display: inline-block;
	margin-top: 1.5em;
	padding: 0.6em 1.5em;
	border-radius: 3px;
	border: none;
	background: linear-gradient(135deg, #f0f4ff, #dce4f9);
	color: #2b3e78;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.2s ease-in-out;
}

.wpvivid-v2-congra-btn:hover {
	background: linear-gradient(135deg, #d6e0fb, #c8d4f8);
	transform: translateY(-1px);
}

/* Primary Button */
.wpvivid-v2-congra-btn-primary {
	background: linear-gradient(135deg, #4caf50, #66bb6a);
	color: white;
}

.wpvivid-v2-congra-btn-primary:hover {
	background: linear-gradient(135deg, #43a047, #5cb85c);
}


/* Simple inline loading spinner - loading icon*/
.wpvivid-v2-loading-btn.loading::before {
	content: "";
	width: 14px;
	height: 14px;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-top-color: #ffffff;
	border-radius: 50%;
	display: inline-block;
	margin-right: 8px;
	animation: wpvivid-v2-inline-spin 0.6s linear infinite;
	vertical-align: middle;
}

/* spin animation */
@keyframes wpvivid-v2-inline-spin {
	to {
		transform: rotate(360deg);
	}
}


/**********Export Container**************/
.wpvivid-v2-export-container {
	background: #f1f7fd;
	border:1px solid #cce3f5;
	border-radius: 3px;
	padding: 2em;
	margin-bottom: 1em;
	text-align: center;
	box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.wpvivid-v2-export-title {
	color: #2e7d32;
	font-size: 1.5em;
	margin-bottom: 1em;
}

.wpvivid-v2-export-icon {
	color: #ff9a00;
	font-size: 1.4em;
	vertical-align: middle;
	margin-right: 0.3em;
}

.wpvivid-v2-export-message {
	color: #333;
	font-size: 1em;
	line-height: 1.6em;
	margin-bottom: 1.5em;
}

.wpvivid-v2-export-link {
	color: #0057ff;
	text-decoration: none;
}

.wpvivid-v2-export-link:hover {
	text-decoration: underline;
}

.wpvivid-v2-export-action {
	margin-top: 1.5em;
}

/* =========================================================
   WPvivid v2 - Responsive Framework (Empty Template)
   ========================================================= */

/* ========================
   Default (Desktop First)
   ======================== */
/* Put your default desktop CSS here */


/* =========================================================
   Large Desktop ≥ 1400px
   ========================================================= */
@media (min-width: 1400px) {
	/* Add your large desktop CSS here */
}


/* =========================================================
   Desktop ≥ 1200px
   ========================================================= */
@media (min-width: 1200px) {
	/* Add your desktop CSS here */
}


/* =========================================================
   Tablet ≥ 992px
   ========================================================= */
@media (min-width: 992px) {
	/* Add your tablet CSS here */
}


/* =========================================================
   Medium Tablet ≥ 768px
   ========================================================= */
@media (min-width: 768px) {
	/* Add your medium tablet CSS here */
}


/* =========================================================
   Mobile ≤ 576px
   ========================================================= */
@media (max-width: 576px) {
	/* Add your mobile CSS here */
	.wpvivid-v2-dashboard-header, .wpvivid-v2-restore-info{
		display: flex;              /* must re-define */
		flex-direction: column;   /* vertical stacking */
	}
	.wpvivid-v2-license-support-content{
		display: none;
	}
	.wpvivid-v2-list-3col {
		display: grid;
		grid-template-columns: 1fr;
	}
	.wpvivid-v2-db-row {
		grid-template-columns: 1fr 1fr; /* convert into two columns */
		padding: 10px;                 /* optional improved spacing */
		gap: 8px;                      /* space between grid items */
	}

	/* Make each child auto fit inside 2-column grid */
	.wpvivid-v2-db-row > * {
		width: 100%;
	}
}

/* reset dashboard li pollution for jstree */
.wpvivid-dashboard .wpvivid-custom-exclude-tree-info li,
.wpvivid-dashboard .wpvivid-custom-exclude-tree-info .jstree-node,
.wpvivid-dashboard .wpvivid-custom-additional-folder-tree-info li,
.wpvivid-dashboard .wpvivid-custom-additional-folder-tree-info .jstree-node {
	border: none !important;
	padding: 0 !important;
	box-sizing: content-box !important;
}

/* remove clearfix injected by dashboard li */
.wpvivid-dashboard .wpvivid-custom-exclude-tree-info li::after,
.wpvivid-dashboard .wpvivid-custom-exclude-tree-info .jstree-node::after,
.wpvivid-dashboard .wpvivid-custom-additional-folder-tree-info li::after,
.wpvivid-dashboard .wpvivid-custom-additional-folder-tree-info .jstree-node::after {
	content: none !important;
	display: none !important;
}

/* restore jstree indentation */
.wpvivid-dashboard .wpvivid-custom-exclude-tree-info .jstree-default .jstree-node,
.wpvivid-dashboard .wpvivid-custom-additional-folder-tree-info .jstree-default .jstree-node {
	margin-left: 24px !important;
	min-width: 24px;
}

/* top-level nodes should not be indented */
.wpvivid-dashboard .wpvivid-custom-exclude-tree-info .jstree-default > .jstree-container-ul > .jstree-node,
.wpvivid-dashboard .wpvivid-custom-additional-folder-tree-info .jstree-default > .jstree-container-ul > .jstree-node {
	margin-left: 0 !important;
	margin-right: 0 !important;
}