/* ===== ROOT VARIABLES ===== */
:root {
	--cb-primary: #f5c70f;
	--cb-secondary: #e9e9e9;
	--cb-white: #ffffff;
	--cb-black: #2b3337;
	--cb-big-title: 23px;
	--cb-small-title: 18px;
	--cb-text: 13px;
	--cb-small-text: 12px;
}

/* ===== CONTAINER ===== */
.wrap {
	flex: 1;
	min-width: 0;
}

.cbsmtp-header {
	position: relative;
    padding: 10px 30px;
    background: var(--cb-black);
	display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.cbsmtp-header-left {
	display:flex;
	align-items:center;
	gap:12px;
	flex:0 1 auto;
}

.cbsmtp-header p {
	font-size: var(--cb-big-title);
	color: var(--cb-white);
	margin: 0;
}

.cbsmtp-header span {
	font-size: var(--cb-small-text);
}
.cbsmtp-logo {
	width:48px;
}

.cbsmtp-version {
	color: var(--cb-primary);
}

.cbsmtp-doc-block {
	color: var(--cb-white);
	display: flex;
    padding: 12px;
    border: 1px solid var(--cb-primary);
    border-radius: 3px;
}

.cbsmtp-doc-text a {
	color: var(--cb-primary);
}

.cbsmtp-section {
	background-color: var(--cb-white);
	padding: 24px;
	flex: 1 1 40%;
	box-sizing: border-box;
}

.form-table th {
    vertical-align: middle;
}

/* ===== TOGGLES ===== */
.cbsmtp-toggle {
	display: none !important;
}

.cbsmtp-toggle-label,
.cbsmtp-toggle-label span {
	position: relative;
	display: flex;
	align-items: center;
	cursor: pointer;
}

.cbsmtp-toggle-label .cbsmtp-slider {
	position: relative;
	min-width: 40px;
	height: 24px;
	background-color: var(--cb-secondary);
	border-radius: 34px;
	transition: background-color 0.4s;
	margin-right: 10px;
}

.cbsmtp-toggle-label .cbsmtp-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: var(--cb-white);
	border-radius: 50%;
	transition: transform 0.4s;
}

.cbsmtp-toggle:checked + .cbsmtp-slider {
	background-color: var(--cb-black);
}

.cbsmtp-toggle:checked + .cbsmtp-slider:before {
	transform: translateX(16px);
}

/* ===== BUTTONS ===== */
.wp-core-ui .button-primary {
	background: var(--cb-black)!important;
	color: var(--cb-white)!important;
	border: 1 solid var(--cb-black)!important;
}

.wp-core-ui .button-primary:hover {
	opacity: 0.6;
}