/* === BOGO Admin UI Styles === */

.vc-bogo-wrap {
	max-width: 1200px;
	margin: 0;
}

.vc-bogo-header {
	background: #ffffff;
	color: #000000;
	padding: 30px;
	border-radius: 8px;
	margin-bottom: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	border: 1px solid #e1e5e9;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.vc-bogo-content-wrapper {
	margin-top: 24px;
}

.vc-bogo-header-content h1 {
	color: #000000;
	margin: 0 0 8px 0;
	font-size: 28px;
	font-weight: 700;
}

.vc-bogo-header-content h1 .dashicons {
	vertical-align: middle;
	margin-right: 10px;
	color: #0978EE;
}

.vc-bogo-subtitle {
	color: #666666;
	margin: 0;
	font-size: 16px;
	font-weight: 500;
}

.vc-bogo-status-card {
	background: #f8f9fa;
	border: 1px solid #e1e5e9;
	border-radius: 8px;
	padding: 20px;
	min-width: 280px;
}

.vc-bogo-status-item {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 12px;
}

.vc-bogo-status-item:last-child {
	margin-bottom: 0;
}

.vc-bogo-status-label {
	font-weight: 600;
	color: #000000;
}

.vc-bogo-status-value {
	font-weight: 700;
	color: #0978EE;
}

.vc-bogo-status-value.status-active {
	color: #0978EE;
	font-weight: 700;
}

.vc-bogo-status-value.status-inactive {
	color: #666666;
	font-weight: 700;
}

.vc-bogo-tabs {
	background: white;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	border: 1px solid #e1e5e9;
}

.vc-bogo-tab-nav {
	display: flex;
	border-bottom: 1px solid #e1e5e9;
	background: #f8f9fa;
	border-radius: 8px 8px 0 0;
}

.vc-bogo-tab {
	padding: 16px 24px;
	text-decoration: none;
	color: #666666;
	font-weight: 600;
	border-bottom: 3px solid transparent;
	transition: all 0.2s ease;
}

.vc-bogo-tab:hover {
	color: #000000;
	background: rgba(9, 120, 238, 0.05);
}

.vc-bogo-tab.active {
	color: #0978EE;
	border-bottom-color: #0978EE;
	background: white;
}

.vc-bogo-form {
	padding: 0;
}

.vc-bogo-tab-content {
	display: none;
	padding: 30px;
}

.vc-bogo-tab-content.active {
	display: block;
}

.vc-bogo-card {
	background: white;
	border-radius: 8px;
}

.vc-bogo-card-title {
	font-size: 20px;
	font-weight: 700;
	margin: 0 0 16px 0;
	color: #000000;
}

.vc-bogo-card-description {
	color: #666666;
	margin: 0 0 24px 0;
	font-size: 14px;
}

.vc-bogo-setting-group {
	space-y: 24px;
}

.vc-bogo-setting-row {
	display: flex;
	align-items: flex-start;
	padding: 24px 0;
	border-bottom: 1px solid #f1f3f4;
}

.vc-bogo-setting-row:last-child {
	border-bottom: none;
}

.vc-bogo-setting-label {
	flex: 0 0 300px;
	padding-right: 30px;
}

.vc-bogo-setting-label label {
	font-weight: 700;
	color: #000000;
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
}

.vc-bogo-description {
	color: #666666;
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
}

.vc-bogo-setting-field {
	flex: 1;
	min-width: 0;
}

/* Switch Toggle */
.vc-bogo-switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
	vertical-align: middle;
}

.vc-bogo-switch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.vc-bogo-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
	border-radius: 24px;
}

.vc-bogo-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	transition: .4s;
	border-radius: 50%;
}

input:checked + .vc-bogo-slider {
	background-color: #0978EE;
}

input:checked + .vc-bogo-slider:before {
	transform: translateX(26px);
}

.vc-bogo-switch-label {
	margin-left: 12px;
	font-weight: 700;
	color: #000000;
	vertical-align: middle;
}

/* Radio Buttons */
.vc-bogo-radio-group {
	space-y: 12px;
}

.vc-bogo-radio {
	display: flex;
	align-items: center;
	padding: 20px;
	border: 2px solid #e9ecef;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	position: relative;
}

.vc-bogo-radio:hover {
	border-color: #0978EE;
	background: rgba(9, 120, 238, 0.02);
}

.vc-bogo-radio input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}

.vc-bogo-radio-checkmark {
	width: 20px;
	height: 20px;
	border: 2px solid #ddd;
	border-radius: 50%;
	margin-right: 16px;
	flex-shrink: 0;
	position: relative;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vc-bogo-radio input:checked + .vc-bogo-radio-checkmark {
	border-color: #0978EE;
	background: #0978EE;
}

.vc-bogo-radio input:checked + .vc-bogo-radio-checkmark:after {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: white;
	display: block;
}

.vc-bogo-radio-content {
	display: flex;
	align-items: center;
	flex: 1;
}

.vc-bogo-radio-icon {
	width: 40px;
	height: 40px;
	background: #f8f9fa;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 16px;
	flex-shrink: 0;
}

.vc-bogo-radio-icon .dashicons {
	font-size: 20px;
	color: #0978EE;
	width: 20px;
	height: 20px;
}

.vc-bogo-radio-text {
	flex: 1;
}

.vc-bogo-radio-text strong {
	display: block;
	color: #000000;
	margin-bottom: 4px;
	font-weight: 700;
	font-size: 14px;
}

.vc-bogo-radio-text span {
	color: #666666;
	font-size: 13px;
	line-height: 1.4;
}

/* Action Buttons */
.vc-bogo-action-buttons {
	margin-top: 12px;
}

.vc-bogo-action-buttons .button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.vc-bogo-field-description {
	color: #666666;
	font-size: 12px;
	margin: 8px 0 0 0;
	font-style: italic;
}

/* Guide Grid */
.vc-bogo-guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 24px;
	margin: 24px 0;
}

.vc-bogo-guide-item {
	text-align: center;
	padding: 24px;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	transition: all 0.2s ease;
}

.vc-bogo-guide-item:hover {
	border-color: #0978EE;
	transform: translateY(-2px);
}

.vc-bogo-guide-icon {
	width: 60px;
	height: 60px;
	background: #0978EE;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.vc-bogo-guide-icon .dashicons {
	font-size: 24px;
	color: white;
	width: 24px;
	height: 24px;
}

.vc-bogo-guide-item h3 {
	margin: 0 0 12px 0;
	color: #000000;
	font-size: 16px;
	font-weight: 700;
}

.vc-bogo-guide-item p {
	color: #666666;
	font-size: 13px;
	line-height: 1.5;
	margin: 0;
}

/* Info Box */
.vc-bogo-info-box {
	background: #f8f9fa;
	border-left: 4px solid #0978EE;
	padding: 20px;
	border-radius: 4px;
	margin-top: 24px;
}

.vc-bogo-info-box h4 {
	margin: 0 0 12px 0;
	color: #000000;
	font-weight: 700;
}

.vc-bogo-info-box ul {
	margin: 0;
	color: #666666;
}

.vc-bogo-info-box li {
	margin-bottom: 6px;
	line-height: 1.5;
}

.vc-bogo-info-box li:last-child {
	margin-bottom: 0;
}

/* Form Actions */
.vc-bogo-form-actions {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 24px 30px;
	border-top: 1px solid #e1e5e9;
	background: #f8f9fa;
	border-radius: 0 0 8px 8px;
}

.vc-bogo-save-btn {
	padding: 12px 30px;
	font-size: 16px;
	font-weight: 700;
	background: #0978EE;
	border-color: #0978EE;
}

.vc-bogo-save-btn:hover {
	background: #0866d4;
	border-color: #0866d4;
}

.vc-bogo-preview {
	display: flex;
	align-items: center;
	gap: 12px;
}

.vc-bogo-preview-label {
	color: #666666;
	font-weight: 600;
}

.vc-bogo-preview-badge {
	padding: 8px 16px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.vc-bogo-preview-badge.preview-active {
	background: #0978EE;
	color: #ffffff;
}

.vc-bogo-preview-badge.preview-inactive {
	background: #666666;
	color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
	.vc-bogo-header {
		flex-direction: column;
		gap: 20px;
	}

	.vc-bogo-status-card {
		width: 100%;
	}

	.vc-bogo-setting-row {
		flex-direction: column;
		gap: 16px;
	}

	.vc-bogo-setting-label {
		flex: none;
		padding-right: 0;
	}

	.vc-bogo-tab-nav {
		flex-wrap: wrap;
	}

	.vc-bogo-tab {
		flex: 1;
		min-width: 120px;
		text-align: center;
	}

	.vc-bogo-form-actions {
		flex-direction: column;
		gap: 16px;
		align-items: stretch;
	}

	.vc-bogo-preview {
		justify-content: center;
	}

	.vc-bogo-radio-content {
		flex-direction: column;
		align-items: flex-start;
	}

	.vc-bogo-radio-icon {
		margin-bottom: 8px;
		margin-right: 0;
	}
}

/* Force BOGO UI priority */
.vc-bogo-wrap * {
	box-sizing: border-box;
}