/**
 * Pravin Smart Content Scheduler - Admin Styles
 *
 * @package PravinSmartContentScheduler
 */

.pscs-admin-wrap {
	max-width: 1240px;
	margin: 20px 20px 40px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.pscs-admin-header {
	background: #ffffff;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #2271b1;
	padding: 24px 28px;
	margin-bottom: 24px;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.pscs-admin-header h1 {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	color: #1d2327;
}

.pscs-admin-header h1 .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: #2271b1;
}

.pscs-badge {
	display: inline-block;
	background: #2271b1;
	color: #ffffff;
	font-size: 11px;
	font-weight: 600;
	padding: 2px 8px;
	border-radius: 12px;
	margin-left: 10px;
	vertical-align: middle;
}

.pscs-subtitle {
	margin: 8px 0 0 0;
	font-size: 14px;
	color: #646970;
}

.pscs-admin-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 24px;
	align-items: start;
}

@media (max-width: 960px) {
	.pscs-admin-grid {
		grid-template-columns: 1fr;
	}
}

.pscs-card {
	background: #ffffff;
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 22px 24px;
	margin-bottom: 24px;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.pscs-card h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 17px;
	font-weight: 600;
	margin: 0 0 14px 0;
	padding-bottom: 10px;
	border-bottom: 1px solid #f0f0f1;
	color: #1d2327;
}

.pscs-card h2 .dashicons {
	color: #2271b1;
}

.pscs-featured-card {
	border-left: 4px solid #135e96;
	background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}

.pscs-code-box {
	position: relative;
	background: #1e1e1e;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 14px 0 18px 0;
	color: #d4d4d4;
	overflow: hidden;
}

.pscs-code-box pre {
	margin: 0;
	padding: 0;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
	font-size: 13px;
	line-height: 1.6;
	white-space: pre-wrap;
	word-break: break-all;
	color: #a9dc76;
}

.pscs-code-box code {
	background: transparent;
	color: inherit;
	padding: 0;
	font-size: inherit;
}

.pscs-copy-btn {
	margin-top: 12px !important;
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
	font-weight: 500;
}

.pscs-table {
	margin-top: 12px;
	border-collapse: collapse;
}

.pscs-table th {
	font-weight: 600;
	background: #f6f7f7;
}

.pscs-table code {
	background: #f0f0f1;
	color: #d63638;
	padding: 2px 6px;
	border-radius: 3px;
	font-size: 12px;
}

.pscs-example-item {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0f0f1;
}

.pscs-example-item:last-child {
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.pscs-example-item h3 {
	font-size: 14px;
	font-weight: 600;
	margin: 0 0 8px 0;
	color: #2c3338;
}

/* Clocks Card with Live Pulsing Dot */
.pscs-clock-card {
	background: #f0f6fc;
	border-color: #c8d8ea;
}

.pscs-live-pill {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #def7ec;
	color: #03543f;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 10px;
	margin-left: auto;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.pscs-live-dot {
	width: 6px;
	height: 6px;
	background: #0e9f6e;
	border-radius: 50%;
	animation: pscs-pulse 1.5s infinite;
}

@keyframes pscs-pulse {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(14, 159, 110, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 5px rgba(14, 159, 110, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(14, 159, 110, 0);
	}
}

.pscs-hint {
	font-size: 12px;
	color: #646970;
	margin: 0 0 12px 0;
}

.pscs-clock-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pscs-clock-item {
	background: #ffffff;
	border: 1px solid #d0dbe5;
	border-radius: 4px;
	padding: 10px 12px;
	margin-bottom: 10px;
	display: flex;
	flex-direction: column;
	gap: 3px;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pscs-clock-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.pscs-clock-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	color: #646970;
	letter-spacing: 0.5px;
}

.pscs-clock-value {
	font-size: 15px;
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
	color: #1d2327;
	font-weight: 600;
}

.pscs-clock-day {
	font-size: 11px;
	color: #2271b1;
	font-weight: 500;
}

/* Info Summary Card */
.pscs-summary-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.pscs-summary-list li {
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f1;
	font-size: 13px;
	color: #50575e;
}

.pscs-summary-list li:last-child {
	border-bottom: none;
}