.thumbpress_img_btn.button,
.thumbpress_img_btn.button:focus,
.thumbpress_img_btn.button:active {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 16px;
	height: 36px;
	border: 1.5px solid #40189D;
	border-radius: 6px;
	background: #ffffff;
	color: #40189D;
	font-size: 13px;
	font-weight: 500;
	font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	box-shadow: none;
	outline: none;
	transition: background 0.15s, color 0.15s;
}

.thumbpress_img_btn.button:hover {
	background: #40189D;
	color: #ffffff;
	border-color: #40189D;
	box-shadow: none;
}

.compat-attachment-fields th {
	padding-top: 0;
}

.toplevel_page_thumbpress #wpcontent {
	padding-left: 0;
}

.toplevel_page_thumbpress .wrap {
    margin: 0;
}

.toplevel_page_thumbpress .wrap>h2:first-child {
	padding: 0;
}

.toplevel_page_thumbpress .wrap .notice {
	margin: 15px;
}

input.tp-max-size-input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}
.cx-notice a{
	color: #2271b1!important;
}
/* ThumbPress Toast */
#thumbpress-toast {
	position: fixed;
	top: 56px;
	right: 24px;
	padding: 12px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	color: #fff;
	z-index: 160001;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
}
#thumbpress-toast.thumbpress-toast--visible { opacity: 1; pointer-events: auto; }
#thumbpress-toast.thumbpress-toast--success { background: #22c55e; }
#thumbpress-toast.thumbpress-toast--error   { background: #ef4444; }
