.rank-math {
	&-tabs {
		button.rank-math-content-ai {
			background-color: transparent !important;
		}

		.rank-math-ca-keywords-wrapper {
			background-color: rgba(0, 0, 0, 0.15);

			.rank-math-ca-credits-wrapper {
				color: #fff;
				input {
					background-color: rgba(0, 0, 0, 0.1);
				}

				.rank-math-ca-force-update {
					background: #33363b;
				}
			}
		}

		div.rank-math-contentai-tab-content-questions h3 {
			background-color: rgba(0, 0, 0, 0.15);
			color: #fff;
		}

		.rank-math-ca-recommendations {
			> div {
				h4,
				strong,
				span {
					color: #fff;
				}

				&.has-children .submenu div h4 {
					color: #26292c;
				}
			}
		}

		.rank-math-contentai-tab-content-questions,
		.rank-math-contentai-tab-content-related-searches {
			.rank-math-section-heading h2,
			button i {
				color: #fff;
			}

			button:not(.is-secondary):not(.is-primary):not(.is-tertiary):not(.is-link) {
				background: #26292c;
			}
		}
	}
}

div.rank-math-content-ai-wrapper {
	.rank-math-ca-keywords-wrapper,
	.rank-math-content-ai-data h3.rank-math-ca-section-title,
	.rank-math-ca-recommendations > div,
	.rank-math-contentai-tabs .components-tab-panel__tabs {
		border-color: #34383c;

		.rank-math-ca-keywords-wrapper {
			background-color: transparent;
			border-color: transparent;
		}
	
		&.has-children {
			.submenu {
				background-color: #26292c;
	
				div h4 {
					color: #fff;
				}
			}

			&.show .submenu:before {
				border-color: transparent transparent #26292c transparent;
			}
		}
	}

	.rank-math-ca-score .score-dot {
		border-color: #404349;
	}
}
