/**
 * Abhinavdev Environment Badge - Settings UI Styles
 *
 * @package Abhinavdev_Environment_Badge
 */

.adeb-settings-wrap {
	max-width: 1200px;
	margin-top: 20px;
}

.adeb-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 20px;
	font-weight: 600;
}

.adeb-title .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #2271b1;
}

/* Card Box */
.adeb-card {
	background: #ffffff;
	border: 1px solid #c3c4c7;
	border-radius: 6px;
	padding: 20px 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.adeb-card h2 {
	margin-top: 0;
	padding-bottom: 12px;
	border-bottom: 1px solid #f0f0f1;
	font-size: 16px;
	font-weight: 600;
}

.adeb-card h3 {
	margin-top: 0;
	font-size: 14px;
	font-weight: 600;
}

/* Live Preview Admin Bar Mock */
.adeb-preview-card {
	border-left: 4px solid #2271b1;
}

.adeb-preview-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 15px;
}

.adeb-preview-header h2 {
	border: none;
	padding: 0;
	margin: 0;
}

.adeb-badge-meta {
	font-size: 13px;
	color: #646970;
}

.adeb-mock-adminbar {
	display: flex;
	align-items: center;
	background-color: #1d2327;
	color: #f0f0f1;
	height: 36px;
	padding: 0 14px;
	border-radius: 4px;
	font-size: 13px;
	position: relative;
}

.adeb-mock-item {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-right: 20px;
	color: #c3c4c7;
}

.adeb-mock-preview-container {
	margin-left: auto;
}

.adeb-mock-preview-container.align-left {
	margin-left: 10px;
	margin-right: auto;
	order: -1;
}

.adeb-preview-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 12px;
	border-radius: 12px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.adeb-preview-dot {
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
}

/* Grid Layout */
.adeb-layout-grid {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 24px;
}

@media screen and (max-width: 960px) {
	.adeb-layout-grid {
		grid-template-columns: 1fr;
	}
}

/* Environment Color Grid */
.adeb-color-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 16px;
	margin-top: 16px;
}

.adeb-color-item {
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 14px;
}

.adeb-color-item h3 {
	margin-bottom: 12px;
	color: #1d2327;
}

.adeb-field-row {
	margin-bottom: 12px;
}

.adeb-field-row label {
	display: block;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 4px;
	color: #50575e;
}

.adeb-field-row input.regular-text {
	width: 100%;
}

.adeb-author-card hr {
	border: 0;
	border-top: 1px solid #f0f0f1;
	margin: 15px 0;
}
