/**
 * Admin styles for Simple Banglish Slug Converter
 */

.sbsc-admin-container {
	max-width: 1000px;
}

.sbsc-intro {
	background: #f0f6fc;
	border: 1px solid #c3c4c7;
	border-left: 4px solid #2271b1;
	padding: 12px 16px;
	margin: 20px 0;
	border-radius: 4px;
}

.sbsc-add-mapping {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px;
	margin: 20px 0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.sbsc-add-mapping h3 {
	margin-top: 0;
}

.sbsc-existing-mappings {
	margin-top: 30px;
}

#sbsc-mappings-table {
	margin-top: 10px;
}

#sbsc-mappings-table .column-bengali {
	width: 35%;
}

#sbsc-mappings-table .column-transliteration {
	width: 35%;
}

#sbsc-mappings-table .column-actions {
	width: 30%;
	text-align: center;
}

#sbsc-mappings-list tr.deleting {
	opacity: 0.5;
}

#sbsc-mappings-list .spinner {
	float: none;
	margin: 0 5px;
	visibility: hidden;
}

#sbsc-mappings-list tr.deleting .spinner {
	visibility: visible;
}

#sbsc-add-spinner {
	float: none;
	margin: 0 0 0 10px;
	visibility: hidden;
}

#sbsc-add-spinner.is-active {
	visibility: visible;
}

#sbsc-no-mappings {
	padding: 20px;
	text-align: center;
	background: #f9f9f9;
	border: 1px solid #e1e1e1;
	border-radius: 4px;
}

.sbsc-help {
	background: #fff;
	border: 1px solid #c3c4c7;
	border-radius: 4px;
	padding: 20px;
	margin: 30px 0 20px 0;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
}

.sbsc-help h3 {
	margin-top: 0;
	color: #23282d;
}

.sbsc-help ol {
	padding-left: 20px;
}

.sbsc-help li {
	margin-bottom: 8px;
	line-height: 1.6;
}

/* Responsive */
@media screen and (max-width: 782px) {
	#sbsc-mappings-table .column-actions {
		text-align: left;
	}
	
	.sbsc-add-mapping .form-table th,
	.sbsc-add-mapping .form-table td {
		display: block;
		width: 100%;
		padding: 10px 0;
	}
	
	.sbsc-add-mapping .form-table th {
		font-weight: 600;
	}
}