.integration-details-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 16px;

	.integration-details-content-container {
		display: flex;
		flex-direction: column;
		gap: 16px;

		.loading-integration-details {
			display: flex;
			flex-direction: column;
			gap: 16px;

			.skeleton-1 {
				height: 125px;
				width: 100%;
			}
			.skeleton-2 {
				height: 250px;
				width: 100%;
			}
		}

		.integration-connection-header {
			display: flex;
			flex-direction: column;
			padding: 16px;
			gap: 12px;
			border-radius: 6px;
			border: 1px solid var(--l1-border);
			background: var(--l1-background);

			.integration-detail-header {
				display: flex;
				gap: 10px;
				justify-content: space-between;
				align-items: center;

				.integration-detail-header-icon-title-container {
					display: flex;
					flex-direction: row;
					align-items: center;
					gap: 10px;
				}

				.image-container {
					height: 40px;
					width: 40px;
					flex-shrink: 0;
					border-radius: 2px;
					border: 1px solid var(--l3-border);
					background: var(--l2-background);
					display: flex;
					align-items: center;
					justify-content: center;

					.image {
						height: 24px;
						width: 24px;
					}
				}
				.details {
					display: flex;
					flex-direction: column;
					.heading {
						color: var(--l1-foreground);
						font-family: Inter;
						font-size: 14px;
						font-style: normal;
						font-weight: 500;
						line-height: 20px; /* 142.857% */
						letter-spacing: -0.07px;
					}

					.description {
						color: var(--l2-foreground);
						font-family: Inter;
						font-size: 12px;
						font-style: normal;
						font-weight: 400;
						line-height: 18px; /* 150% */
					}
				}

				.configure-btn {
					display: flex;
					justify-content: center;
					align-items: center;
					align-self: flex-start;
					gap: 2px;
					flex-shrink: 0;
					min-width: 143px;
					height: 30px;
					padding: 6px;
					border-radius: 2px;
					border: 1px solid var(--l3-border);
					background: var(--primary-background);
					color: var(--l1-foreground);
					font-family: Inter;
					font-size: 12px;
					font-style: normal;
					font-weight: 500;
					line-height: 10px; /* 83.333% */
					letter-spacing: 0.12px;
					box-shadow: none;

					&.test-connection {
						border-radius: 2px;
						border: 1px solid var(--l2-border);
						background: var(--l2-background);
						color: var(--l2-foreground);
					}
				}
			}

			.connection-container {
				padding: 0 18px;
				height: 37px;
				display: flex;
				align-items: center;

				.connection-text {
					margin: 0px;
					padding: 0px 0px 0px 10px;
					font-family: Inter;
					font-size: 14px;
					font-style: normal;
					font-weight: 400;
					line-height: 22px; /* 157.143% */
					letter-spacing: -0.07px;
				}
			}

			.testingConnection {
				border-radius: 4px;
				border: 1px solid rgba(255, 205, 86, 0.1);
				background: rgba(255, 205, 86, 0.1);
				color: var(--callout-warning-title);
			}

			.connected {
				border-radius: 4px;
				border: 1px solid rgba(37, 225, 146, 0.1);
				background: rgba(37, 225, 146, 0.1);
				color: var(--callout-success-title);
			}

			.connectionFailed {
				border-radius: 4px;
				border: 1px solid rgba(218, 85, 101, 0.2);
				background: rgba(218, 85, 101, 0.06);
				color: var(--callout-error-title);
			}

			.noDataSinceLong {
				border-radius: 4px;
				border: 1px solid rgba(78, 116, 248, 0.1);
				background: rgba(78, 116, 248, 0.1);
				color: var(--callout-primary-description);
			}
		}

		.integration-detail-container {
			border-radius: 6px;
			padding: 10px 16px;
			border: 1px solid var(--l1-border);
			background: var(--l1-background);

			.integration-tab-btns {
				display: flex;
				align-items: center;
				justify-content: center;
				padding: 8px 8px 18px 8px !important;

				.typography {
					color: var(--l1-foreground);
					font-family: Inter;
					font-size: 14px;
					font-style: normal;
					font-weight: 400;
					line-height: 20px; /* 142.857% */
					letter-spacing: -0.07px;
				}
			}

			.integration-tab-btns:hover {
				&.ant-btn-text {
					background-color: unset !important;
				}
			}

			.ant-tabs-nav-list {
				gap: 24px;
			}

			.ant-tabs-nav {
				padding: 0px !important;
			}

			.ant-tabs-tab {
				padding: 0 !important;
			}

			.ant-tabs-tab + .ant-tabs-tab {
				margin: 0px !important;
			}
		}

		.uninstall-integration-bar {
			display: flex;
			justify-content: space-between;
			padding: 16px;
			border-radius: 4px;
			border: 1px solid rgba(218, 85, 101, 0.2);
			background: rgba(218, 85, 101, 0.06);
			gap: 32px;

			.unintall-integration-bar-text {
				display: flex;
				flex-direction: column;
				gap: 6px;

				.heading {
					color: var(--callout-error-title);
					font-family: Inter;
					font-size: 14px;
					font-style: normal;
					font-weight: 400;
					line-height: normal;
					letter-spacing: -0.07px;
				}

				.subtitle {
					color: var(--callout-error-description);
					font-family: Inter;
					font-size: 14px;
					font-style: normal;
					font-weight: 400;
					line-height: 22px; /* 157.143% */
					letter-spacing: -0.07px;
				}
			}

			.uninstall-integration-btn {
				border-radius: 2px;
				background: var(--danger-background);
				border: none !important;
				padding: 9px 13px;
				display: flex;
				align-items: center;
				justify-content: center;
				color: var(--l1-foreground);
				text-align: center;
				font-family: Inter;
				font-size: 12px;
				font-style: normal;
				font-weight: 500;
				line-height: 13.3px; /* 110.833% */
			}

			.uninstall-integration-btn:hover {
				&.ant-btn-default {
					color: var(--l1-foreground) !important;
				}
			}
		}

		.loading-container {
			display: flex;
			flex-direction: column;
			gap: 8px;

			height: 160px;

			.skeleton-item {
				padding: 16px;
			}
		}
	}

	.error-container {
		display: flex;
		border-radius: 6px;
		border: 1px solid var(--l1-border);
		background: var(--l1-background);
		align-items: center;
		justify-content: center;
		flex-direction: column;

		.error-content {
			display: flex;
			flex-direction: column;
			justify-content: center;
			height: 300px;
			gap: 15px;

			.error-btns {
				display: flex;
				flex-direction: row;
				gap: 12px;
				align-items: center;
			}

			.error-state-svg {
				height: 40px;
				width: 40px;
			}
		}
	}
}

.remove-integration-modal {
	.ant-modal-content {
		width: 400px;
		min-height: 200px;
		flex-shrink: 0;
		border-radius: 4px;
		border: 1px solid var(--l1-border);
		box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);
		background: var(--l1-background);
	}

	.ant-modal-footer {
		margin-top: 28px;
	}

	.ant-modal-header {
		background: unset;
		margin-bottom: 8px;
	}

	.ant-modal-title {
		color: var(--l1-foreground);
		font-family: Inter;
		font-size: 14px;
		font-style: normal;
		font-weight: 500;
		line-height: 20px; /* 142.857% */
		letter-spacing: -0.07px;
	}

	.remove-integration-text {
		color: var(--l2-foreground);
		font-family: Inter;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: 20px; /* 142.857% */
		letter-spacing: -0.07px;
	}
}

.test-connection-modal {
	.ant-modal-content {
		width: 512px;
		min-height: 170px;
		flex-shrink: 0;
		border-radius: 4px;
		border: 1px solid var(--l1-border);
		background: var(--l1-background);
		box-shadow: 0px -4px 16px 2px rgba(0, 0, 0, 0.2);

		.ant-modal-header {
			margin-bottom: 16px;
		}

		.ant-modal-body {
			border-top: 1px solid var(--l1-border);
			padding-top: 16px;
		}

		.ant-modal-footer {
			margin-top: 25px;
			display: flex;
			flex-direction: row-reverse;

			.connection-footer {
				display: flex;
				width: 100%;
				.understandBtn {
					width: 50%;
					border-radius: 2px;
					border: 1px solid var(--l2-border);
					background: var(--l2-background);
					box-shadow: none;
					color: var(--l2-foreground);
					font-family: Inter;
					font-size: 12px;
					font-style: normal;
					font-weight: 400;
					line-height: 10px; /* 83.333% */
					letter-spacing: 0.12px;
					display: flex;
					justify-content: center;
					align-items: center;
					height: 34px;
					padding: 6px;
					flex-shrink: 0;
				}
				.configureBtn {
					width: 50%;
					color: var(--l1-foreground);
					font-family: Inter;
					font-size: 12px;
					font-style: normal;
					font-weight: 400;
					line-height: 10px; /* 83.333% */
					letter-spacing: 0.12px;
					border-radius: 2px;
					background: var(--primary-background);
					display: flex;
					height: 34px;
					padding: 6px;
					justify-content: center;
					align-items: center;
					gap: 6px;
					flex: 1 0 0;
				}

				&.not-pending {
					flex-direction: row-reverse;

					.understandBtn {
						width: 131px;
					}
				}
			}
		}
	}

	.ant-modal-header {
		background: unset;
	}

	.connection-content {
		display: flex;
		flex-direction: column;
		gap: 16px;

		.connection-container {
			padding: 0 10px;
			height: 37px;
			display: flex;
			align-items: center;

			.connection-text {
				margin: 0px;
				padding: 0px 0px 0px 10px;
				font-family: Inter;
				font-size: 14px;
				font-style: normal;
				font-weight: 400;
				line-height: 22px; /* 157.143% */
				letter-spacing: -0.07px;
			}
		}

		.data-test-connection {
			display: flex;
			flex-direction: column;
			gap: 16px;
		}
		.data-info {
			display: flex;
			justify-content: space-between;
			align-items: center;

			.connection-line {
				border: 1px dashed var(--l2-border);
				min-width: 20px;
				height: 0px;
				flex-grow: 1;
				margin: 0px 8px;
			}

			.last-data {
				color: var(--l2-foreground);
				font-family: Inter;
				font-size: 14px;
				font-style: normal;
				font-weight: 400;
				line-height: 22px; /* 157.143% */
				letter-spacing: -0.07px;
			}

			.last-value {
				color: var(--l1-foreground);
				font-family: 'Space Mono';
				font-size: 12px;
				font-style: normal;
				font-weight: 400;
				line-height: 18px; /* 150% */
				max-width: 320px;
			}
		}
		.testingConnection {
			border-radius: 4px;
			border: 1px solid rgba(255, 205, 86, 0.1);
			background: rgba(255, 205, 86, 0.1);
			color: var(--callout-warning-title);
		}

		.connected {
			border-radius: 4px;
			border: 1px solid rgba(37, 225, 146, 0.1);
			background: rgba(37, 225, 146, 0.1);
			color: var(--callout-success-title);
		}

		.connectionFailed {
			border-radius: 4px;
			border: 1px solid rgba(218, 85, 101, 0.2);
			background: rgba(218, 85, 101, 0.06);
			color: var(--callout-error-title);
		}

		.noDataSinceLong {
			border-radius: 4px;
			border: 1px solid rgba(78, 116, 248, 0.1);
			background: rgba(78, 116, 248, 0.1);
			color: var(--callout-primary-description);
		}
	}
}
