/**
 * SEO Read More Buttons - Admin styles
 *
 * Settings page, promotional banner, and activation notice styles.
 *
 * @package SEO_Read_More_Buttons_AyudaWP
 * @since 1.0.4
 */

/* ==========================================================================
   Settings page title icon
   ========================================================================== */

.srmb-page-icon {
	font-size: 28px;
	width: 28px;
	height: 28px;
	margin-right: 8px;
	vertical-align: middle;
	color: #0073aa;
}

/* ==========================================================================
   Retirement notice
   ========================================================================== */

.srmb-retirement-notice {
	margin: 15px 0 20px;
	max-width: 800px;
}

/* ==========================================================================
   Settings form elements
   ========================================================================== */

.srmb-label-block {
	display: block;
	margin-bottom: 5px;
}

.srmb-fieldset-block,
.srmb-fieldset-block.srmb-fieldset-block {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

/* ==========================================================================
   Dashicon alignment helper for description text
   ========================================================================== */

.srmb-dashicon-notice {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.srmb-dashicon-notice .dashicons {
	font-size: 16px;
	width: 16px;
	height: 16px;
	color: #0073aa;
}

/* ==========================================================================
   Activation notice
   ========================================================================== */

.srmb-activation-btn {
	margin-left: 10px;
	vertical-align: baseline;
}

/* ==========================================================================
   Custom CSS example box (dark theme)
   ========================================================================== */

.srmb-css-example {
	margin-top: 20px;
	background: #2c3338;
}

.srmb-css-example .inside {
	padding: 15px;
}

.srmb-css-example h3 {
	color: #f0f0f1;
	margin-top: 0;
}

.srmb-css-example p {
	color: #c3c4c7;
}

.srmb-css-example p:last-child {
	margin-bottom: 0;
}

.srmb-css-example pre {
	background: #1d2327;
	color: #f0f0f1;
	padding: 15px;
	border-radius: 4px;
	overflow-x: auto;
	border: 1px solid #3c434a;
}

.srmb-css-example code {
	color: #f0f0f1;
	font-family: 'Courier New', monospace;
	font-size: 13px;
}

/* ==========================================================================
   Promotional notice - Plugin install boxes
   ========================================================================== */

.srmb-promo-notice {
	background: #f6f7f7;
	border: 1px solid #c3c4c7;
	padding: 20px;
	margin-top: 10px;
}

.srmb-promo-notice > h4 {
	margin: 0 0 20px;
	font-size: 15px;
	font-weight: 600;
	color: #1d2327;
}

.srmb-promo-columns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 25px;
}

.srmb-promo-column {
	background: #fff;
	border: 1px solid #dcdcde;
	padding: 20px;
	display: flex;
	flex-direction: column;
}

.srmb-promo-column > .dashicons {
	font-size: 28px;
	width: 28px;
	height: 28px;
	color: var(--srmb-brand, #0073aa);
	margin-bottom: 12px;
}

.srmb-promo-column h5 {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
	line-height: 1.4;
}

.srmb-promo-column p {
	margin: 0 0 15px;
	color: #50575e;
	font-size: 13px;
	line-height: 1.5;
	flex-grow: 1;
}

/* Button fix: 3-level specificity to override WP 7.0 core .wp-core-ui .button (0,3,0) */
.srmb-promo-notice .srmb-promo-column .button {
	align-self: flex-start;
	margin-top: auto;
	white-space: normal;
	height: auto;
	min-height: auto;
	line-height: 1.4;
	padding: 6px 12px;
	text-align: center;
}

/* Responsive: 2 columns on medium screens */
@media screen and (max-width: 1200px) {
	.srmb-promo-columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Responsive: 1 column on mobile */
@media screen and (max-width: 782px) {
	.srmb-promo-columns {
		grid-template-columns: 1fr;
	}
}