/**
 * BRKSoft Multichannel UI Styles
 * Visual-only dashboard for marketplace hub.
 */

/* =========================================================================
   HEADER
   ========================================================================= */

.brksoft-multichannel-wrap {
	max-width: 1200px;
	margin: 20px auto;
}

.brksoft-mc-header {
	margin-bottom: 24px;
}

.brksoft-mc-header h1 {
	font-size: 28px;
	font-weight: 600;
	color: #1d2327;
	margin-bottom: 4px;
}

.brksoft-mc-subtitle {
	font-size: 14px;
	color: #50575e;
	margin: 0;
}

/* =========================================================================
   CURRENT STATUS BADGE
   ========================================================================= */

.brksoft-mc-current-status {
	margin-bottom: 32px;
}

.brksoft-mc-status-badge {
	display: flex;
	align-items: center;
	gap: 16px;
	background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 100%);
	border: 1px solid #c3daf0;
	border-radius: 8px;
	padding: 16px 24px;
}

.brksoft-mc-badge-logo {
	width: 48px;
	height: 48px;
	object-fit: contain;
	flex-shrink: 0;
}

.brksoft-mc-badge-info {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.brksoft-mc-badge-info strong {
	font-size: 18px;
	color: #1d2327;
}

.brksoft-mc-badge-label {
	font-size: 13px;
	color: #00a32a;
	font-weight: 500;
}

.brksoft-mc-upgrade-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.brksoft-mc-price {
	opacity: 0.85;
	font-size: 12px;
}

/* =========================================================================
   SECTION TITLE
   ========================================================================= */

.brksoft-mc-section-title {
	font-size: 20px;
	font-weight: 600;
	color: #1d2327;
	margin: 0 0 16px 0;
	padding-bottom: 8px;
	border-bottom: 1px solid #dcdcde;
}

/* =========================================================================
   MARKETPLACE GRID
   ========================================================================= */

.brksoft-mc-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 40px;
}

@media screen and (max-width: 1100px) {
	.brksoft-mc-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 680px) {
	.brksoft-mc-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
   MARKETPLACE CARD — BASE
   ========================================================================= */

.brksoft-mc-card {
	background: #fff;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	padding: 24px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	position: relative;
}

.brksoft-mc-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

/* =========================================================================
   CARD — LOGO
   ========================================================================= */

.brksoft-mc-card-logo {
	width: 72px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 12px;
	position: relative;
}

.brksoft-mc-card-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Lock overlay for non-active, non-coming-soon */
.brksoft-mc-lock-overlay {
	position: absolute;
	bottom: -4px;
	right: -4px;
	width: 24px;
	height: 24px;
	background: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.brksoft-mc-lock-overlay img {
	width: 14px;
	height: 14px;
}

/* =========================================================================
   CARD — TEXT
   ========================================================================= */

.brksoft-mc-card-title {
	font-size: 16px;
	font-weight: 600;
	color: #1d2327;
	margin: 0 0 6px 0;
}

.brksoft-mc-card-desc {
	font-size: 13px;
	color: #50575e;
	margin: 0 0 16px 0;
	line-height: 1.4;
}

/* =========================================================================
   CARD — FOOTER (LABELS + BUTTONS)
   ========================================================================= */

.brksoft-mc-card-footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 12px;
	width: 100%;
}

/* Status labels */
.brksoft-mc-label {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.brksoft-mc-label-active {
	background: #eafaef;
	color: #00a32a;
	border: 1px solid #b8e6c8;
}

.brksoft-mc-label-coming {
	background: #f0f0f1;
	color: #787c82;
	border: 1px solid #dcdcde;
}

/* =========================================================================
   CARD — FEATURES LIST
   ========================================================================= */

.brksoft-mc-card-features {
	list-style: none;
	margin: 0;
	padding: 12px 0 0;
	border-top: 1px solid #f0f0f1;
	width: 100%;
	text-align: left;
}

.brksoft-mc-card-features li {
	font-size: 12px;
	color: #50575e;
	padding: 3px 0 3px 18px;
	position: relative;
	line-height: 1.5;
}

.brksoft-mc-card-features li::before {
	content: "\2713";
	position: absolute;
	left: 0;
	color: #00a32a;
	font-weight: 700;
}

/* =========================================================================
   CARD VARIANTS
   ========================================================================= */

/* Active marketplace */
.brksoft-mc-card-active {
	border-color: #2271b1;
	box-shadow: 0 0 0 1px #2271b1;
}

.brksoft-mc-card-active::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: #2271b1;
	border-radius: 8px 8px 0 0;
}

/* Locked marketplace */
.brksoft-mc-card-locked .brksoft-mc-card-logo img:first-child {
	opacity: 0.5;
	filter: grayscale(40%);
}

.brksoft-mc-card-locked .brksoft-mc-card-title,
.brksoft-mc-card-locked .brksoft-mc-card-desc {
	opacity: 0.7;
}

/* Coming soon */
.brksoft-mc-card-coming {
	background: #f9f9f9;
	border-style: dashed;
}

.brksoft-mc-card-coming .brksoft-mc-card-logo img {
	opacity: 0.35;
	filter: grayscale(100%);
}

.brksoft-mc-card-coming .brksoft-mc-card-title {
	color: #787c82;
}

.brksoft-mc-card-coming .brksoft-mc-card-desc {
	color: #a7aaad;
}

/* =========================================================================
   CTA BOX
   ========================================================================= */

.brksoft-mc-cta-box {
	background: linear-gradient(135deg, #1d2327 0%, #2271b1 100%);
	border-radius: 10px;
	padding: 32px 40px;
	text-align: center;
	color: #fff;
}

.brksoft-mc-cta-box h3 {
	font-size: 22px;
	margin: 0 0 8px 0;
	color: #fff;
}

.brksoft-mc-cta-box p {
	font-size: 14px;
	opacity: 0.9;
	margin: 0 0 20px 0;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.6;
}

.brksoft-mc-cta-box .button-hero {
	background: #fff;
	color: #1d2327;
	border: none;
	font-weight: 600;
	padding: 10px 28px;
	font-size: 14px;
	border-radius: 4px;
	text-decoration: none;
	transition: opacity 0.2s ease;
}

.brksoft-mc-cta-box .button-hero:hover {
	opacity: 0.9;
	color: #1d2327;
}
