.modal-content-component {
	position: fixed;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;

	button.modal-close {
		position: absolute;
		right: 25px;
		top: 40px;
		background: unset;
		border: unset;
		transition: all 0.3s ease;

		&:hover {
			cursor: pointer;
			transform: scale(1.1);
		}
	}
}

.modal-overlay {
	position: fixed;
	height: 100vh;
	width: 100%;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	background: rgba(0, 0, 0, .4);
	z-index: 9989;
}

.modal-content-inner {
	max-width: 820px;
	width: 100%;

	&.mode-switch-popup {
		max-width: 640px;
	}

	@media only screen and (max-width: 991.98px) {
		width: 670px;
	}
}

.delete-table-modal-wrap {
	width: 450px;
	height: 400px;
	background: #ffffff;

	@media screen and (max-width: 575px) {
		width: 320px;
	}
}

.cross_sign {
	text-align: right;
	padding: 10px;
	position: absolute;
	right: 0;
	top: 0;
	cursor: pointer;
}

.delete-table-modal {
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px;

	.action-buttons {
		button {
			margin: 0 7px;
		}
	}
}

.delete-table-modal-wrap {

	.cross_sign {
		margin-top: 8px;
		margin-right: 13px;
	}

	.delete-table-modal {
		text-align: center;

		h2 {
			color: #1E1E1E;
			margin-top: 0;
			font-weight: 600;
			font-size: 20px;
			line-height: 27px;
			margin-bottom: 10px;
		}

		h2.cf7-notice {
			font-size: 18px;
		}

		p {
			color: #5A5A5A;
			margin-top: 0;
			font-weight: 400;
			font-size: 14px;
			line-height: 150%;
			max-width: 343px;
			margin-left: auto;
			margin-right: auto;
			margin-bottom: 24px;
		}

		.modal-media {
			margin-bottom: 22px;
		}

		.action-buttons {

			.simpleform-button {
				outline: 0;
				cursor: pointer;
				font-weight: 400;
				font-size: 16px;
				line-height: 21px;
				padding: 9px 30px;

				&.cancel-button {
					border-radius: 4px;
					background: #FFFFFF;
					border: 1px solid #E1E4EA;
					color: #1E1E1E;
				}

				&.confirm-button {
					color: #F8F9FA;
					border-radius: 4px;
					background: #ff2e2e;
					border: 1px solid #ff2e2e;

					display: flex;
					align-items: center;
					gap: 5px;

				}

			}
		}
	}
}

.action-buttons {
	display: flex;
}