/* 
 * Nexura Redirects - Premium Admin Styles
 */

/* ==========================================================================
   Modern Tokens & Typography
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.nexura-redirects-wrap {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: #1e293b;
}

.nexura-redirects-wrap * {
	box-sizing: border-box;
}

/* ==========================================================================
   Setup Wizard Styles
   ========================================================================== */
.nexura-wizard-wrap {
	max-width: 650px;
	margin: 50px auto;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(226, 232, 240, 0.8);
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);
	border-radius: 16px;
	padding: 40px;
	backdrop-filter: blur(10px);
	font-family: 'Inter', sans-serif;
}
.nexura-wizard-header {
	text-align: center;
	margin-bottom: 30px;
}
.nexura-wizard-header img {
	width: 80px;
	border-radius: 16px;
	margin-bottom: 15px;
	box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.nexura-wizard-header h1 {
	margin: 0;
	font-size: 28px;
	font-weight: 700;
	color: #0f172a;
	letter-spacing: -0.5px;
}
.nexura-wizard-header p {
	font-size: 16px;
	color: #64748b;
	margin-top: 10px;
}
.nexura-wizard-content {
	font-size: 15px;
	line-height: 1.6;
	color: #334155;
}
.nexura-setting-row {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 12px;
	display: flex;
	align-items: flex-start;
	transition: all 0.2s ease;
}
.nexura-setting-row:hover {
	border-color: #cbd5e1;
	background: #fff;
	box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.nexura-setting-row input[type="checkbox"] {
	margin-top: 5px;
	margin-right: 15px;
	width: 20px;
	height: 20px;
	border-radius: 6px;
	border-color: #cbd5e1;
}
.nexura-setting-row input[type="checkbox"]:checked {
	background-color: #3b82f6;
	border-color: #3b82f6;
}
.nexura-setting-info h3 {
	margin: 0 0 5px;
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
}
.nexura-setting-info p {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}
.nexura-wizard-footer {
	margin-top: 30px;
	display: flex;
	justify-content: space-between;
}
.nexura-btn-primary {
	background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
	color: #fff;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 8px;
	border: none;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
.nexura-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(37, 99, 235, 0.35);
	color: #fff;
}
.nexura-btn-secondary {
	background: #fff;
	color: #3b82f6;
	border: 1px solid #bfdbfe;
	text-decoration: none;
	padding: 12px 28px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}
.nexura-btn-secondary:hover {
	background: #f0f9ff;
	border-color: #3b82f6;
	color: #2563eb;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */
.nexura-progress-container {
	width: 100%;
	background-color: #f1f5f9;
	border-radius: 9999px;
	margin-top: 25px;
	height: 12px;
	overflow: hidden;
}
.nexura-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #3b82f6, #60a5fa);
	width: 0%;
	transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 9999px;
}
.nexura-status-text {
	font-weight: 600;
	margin-top: 15px;
	font-size: 14px;
	color: #475569;
	text-align: center;
}
.nexura-api-box {
	background: linear-gradient(145deg, #f8fafc, #f1f5f9);
	border: 1px solid #e2e8f0;
	padding: 24px;
	margin-bottom: 24px;
	border-radius: 12px;
	box-shadow: inset 0 2px 4px rgba(255,255,255,0.8);
}
.nexura-badge {
	display: inline-block;
	padding: 4px 12px;
	background: #f59e0b;
	color: #fff;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	margin-left: 10px;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}
.nexura-badge.success {
	background: #10b981;
}

/* ==========================================================================
   Options Tab Styles
   ========================================================================== */
.nexura-options-form {
	max-width: 900px;
	background: #fff;
	border: 1px solid #e2e8f0;
	padding: 30px 40px;
	margin-top: 20px;
	border-radius: 16px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.nexura-options-form h3 {
	font-size: 18px;
	font-weight: 600;
	margin-top: 0;
	padding-bottom: 15px;
	border-bottom: 1px solid #f1f5f9;
	color: #0f172a;
}
.nexura-options-table {
	width: 100%;
	border-collapse: collapse;
}
.nexura-options-table th {
	text-align: left;
	padding: 20px 15px 20px 0;
	width: 250px;
	font-weight: 600;
	color: #334155;
	vertical-align: top;
}
.nexura-options-table td {
	padding: 20px 0;
	vertical-align: top;
}
.nexura-options-table p.description {
	margin-top: 8px;
	font-size: 13px;
	color: #64748b;
	line-height: 1.5;
}
.nexura-danger-zone {
	margin-top: 50px;
	padding-top: 30px;
	border-top: 1px solid #fee2e2;
	background: linear-gradient(to bottom, #fffcfc, #fff);
	border-radius: 0 0 16px 16px;
}

/* ==========================================================================
   Groups Tab Styles
   ========================================================================== */
.nexura-add-group-form {
	margin-top: 50px;
}
.nexura-add-group-form h3 {
	margin-top: 0;
	font-size: 18px;
	color: #0f172a;
	margin-bottom: 20px;
}
.nexura-form-inline {
	display: flex;
	align-items: center;
	gap: 15px;
}
.nexura-form-inline label {
	font-weight: 600;
	color: #334155;
}
.nexura-form-inline input[type="text"] {
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}
.nexura-form-inline select {
	padding: 8px 30px 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}

/* ==========================================================================
   Post Meta Box Styles
   ========================================================================== */
.nexura-meta-box-wrap {
	padding: 15px 5px;
}
.nexura-meta-row {
	margin-bottom: 20px;
}
.nexura-meta-row label {
	display: block;
	font-weight: 600;
	margin-bottom: 8px;
	color: #1e293b;
}
.nexura-meta-row input[type="text"] {
	width: 100%;
	padding: 8px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	transition: border-color 0.2s ease;
}
.nexura-meta-row input[type="text"]:focus {
	border-color: #3b82f6;
	box-shadow: 0 0 0 1px #3b82f6;
	outline: none;
}
.nexura-quick-add-btn {
	margin-top: 15px;
}
.nexura-existing-redirects {
	margin-top: 25px;
	border-top: 1px solid #f1f5f9;
	padding-top: 20px;
}

/* ==========================================================================
   Premium Security CTA
   ========================================================================== */
.nexura-security-cta {
	background: linear-gradient(135deg, #0f172a, #1e293b);
	border-radius: 16px;
	padding: 30px;
	color: #fff;
	text-align: center;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
	position: relative;
	overflow: hidden;
}
.nexura-security-cta::before {
	content: '';
	position: absolute;
	top: -50%; left: -50%; width: 200%; height: 200%;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 60%);
	pointer-events: none;
}
.nexura-security-cta img {
	width: 64px;
	height: 64px;
	margin-bottom: 15px;
	position: relative;
	z-index: 1;
}
.nexura-security-cta h3 {
	color: #fff;
	font-size: 22px;
	margin: 0 0 12px;
	position: relative;
	z-index: 1;
	line-height: 1.3;
	font-weight: 700;
}
.nexura-security-cta p {
	color: #94a3b8;
	font-size: 15px;
	margin-bottom: 25px;
	position: relative;
	z-index: 1;
}
.nexura-pulse-btn {
	background: #10b981;
	color: #fff;
	padding: 12px 30px;
	border-radius: 8px;
	font-weight: 600;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	position: relative;
	z-index: 1;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}
.nexura-pulse-btn:hover {
	background: #059669;
	transform: translateY(-2px);
	color: #fff;
}
.nexura-pulse-dot {
	width: 10px;
	height: 10px;
	background: #fff;
	border-radius: 50%;
	animation: nexuraPulse 2s infinite;
}
@keyframes nexuraPulse {
	0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
	70% { transform: scale(1.1); opacity: 0.8; box-shadow: 0 0 0 10px rgba(255, 255, 255, 0); }
	100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
