/* A single settings destination with readable, icon-led sections. */
.abientot-admin [data-abientot-settings-tabs] {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 12px;
	margin-bottom: 20px;
	background: #fff;
	border: 1px solid var(--abientot-admin-line);
	border-radius: 16px;
}
.abientot-admin [data-abientot-settings-tabs] .nav-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 10px 12px;
	min-height: 44px;
	box-sizing: border-box;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--abientot-admin-muted);
	font-size: 14px;
}
.abientot-admin [data-abientot-settings-tabs] .nav-tab-active {
	background: #e6f8f2;
	color: #117563;
}
.abientot-admin [data-abientot-settings-tabs] .dashicons {
	width: 20px;
	height: 20px;
	font-size: 20px;
}
.abientot-admin .abientot-settings-panel--payments,
.abientot-admin .abientot-settings-panel--notifications,
.abientot-admin .abientot-settings-panel--integrations {
	display: none;
}
.abientot-admin .abientot-settings-section-title h3 {
	display: flex;
	gap: 10px;
	align-items: center;
	margin: 20px 0 0;
	padding-top: 22px;
	border-top: 1px solid var(--abientot-admin-line);
}
.abientot-admin .abientot-settings-grouped {
	display: grid;
	gap: 24px;
}
.abientot-admin .abientot-settings-provider {
	padding: 24px;
	border: 1px solid var(--abientot-admin-line);
	border-radius: 18px;
	background: #fff;
	min-width: 0;
}
.abientot-admin .abientot-settings-provider > header {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 20px;
}
.abientot-admin .abientot-settings-provider > header > .dashicons {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	background: #f2f5f6;
	color: #117563;
	font-size: 23px;
}
.abientot-admin .abientot-settings-provider > header h2 {
	margin: 0;
}
.abientot-admin .abientot-settings-provider > .wrap {
	margin: 0;
}
.abientot-admin .abientot-settings-provider > .wrap > h1,
.abientot-admin .abientot-settings-provider > .wrap > h2:first-child {
	display: none;
}
.abientot-admin .abientot-settings-provider details {
	padding: 16px;
	margin: 14px 0;
	background: #f7f8fa;
	border: 1px solid var(--abientot-admin-line);
	border-radius: 12px;
}
.abientot-admin .abientot-settings-provider summary {
	cursor: pointer;
	font-weight: 600;
	min-height: 28px;
}
.abientot-admin .abientot-settings-provider :is(.regular-text, .large-text) {
	max-width: 100%;
}
.abientot-admin .abientot-settings-provider .abientot-sms-section {
	margin-block: 16px;
}
.abientot-admin .abientot-settings-provider .form-table {
	margin-top: 0;
}
.abientot-admin .abientot-settings-provider[data-settings-provider='payments'] > .abientot-panel {
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	margin-bottom: 22px;
}
.abientot-admin .abientot-settings-provider .abientot-payment-methods-heading {
	display: none;
}
.abientot-admin .abientot-settings-provider .abientot-payment-methods-grid {
	margin-top: 0;
}
.abientot-admin .abientot-settings-provider .abientot-payment-method-card {
	display: block;
	padding: 16px;
	border: 1px solid var(--abientot-admin-line);
	border-radius: 12px;
	box-shadow: none;
}
.abientot-admin .abientot-settings-provider .abientot-payment-method-card__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
}
.abientot-admin .abientot-settings-provider .abientot-payment-method-card__header > :last-child {
	position: static;
	margin: 0;
}
.abientot-admin .abientot-settings-provider .abientot-payment-method-details {
	margin-top: 12px;
	padding-top: 10px;
}
.abientot-admin .abientot-settings-provider .abientot-payment-method-card h3 {
	display: none;
}
.abientot-admin .abientot-settings-provider .abientot-payment-method-card > p {
	margin: 0;
}
@media (min-width: 1180px) {
	.abientot-admin
		.abientot-settings-grouped[data-abientot-settings-tool='payments']:has(> .abientot-settings-provider:nth-child(2)) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		align-items: start;
	}
	.abientot-admin .abientot-settings-grouped[data-abientot-settings-tool='payments'] .form-table :is(th, td) {
		display: block;
		width: auto;
		padding: 8px 0;
	}
}
@media (max-width: 600px) {
	.abientot-admin [data-abientot-settings-tabs] {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding: 8px;
	}
	.abientot-admin [data-abientot-settings-tabs] .nav-tab {
		flex: 0 0 auto;
		white-space: nowrap;
	}
	.abientot-admin .abientot-settings-provider {
		padding: 16px;
	}
	.abientot-admin .abientot-settings-provider .widefat {
		display: block;
		overflow-x: auto;
	}
}
