.changelog-modal {
	.ant-modal-content {
		padding: unset;
		background-color: var(--l2-background);

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

		.ant-modal-footer {
			margin-top: unset;
		}
	}

	&-title {
		display: flex;
		align-items: center;
		gap: 8px;
		background-color: var(--l2-background);
		padding: 16px;
		font-size: 14px;
		line-height: 20px;
		color: var(--l1-foreground);
		border-bottom: 1px solid var(--l1-border);
	}

	&-footer.scroll-available {
		.scroll-btn-container {
			display: block;
		}
	}

	&-footer {
		position: relative;
		border: 1px solid var(--l1-border);
		padding: 12px;
		display: flex;
		align-items: center;
		justify-content: space-between;

		&-label {
			color: var(--text-robin-400);
			font-size: 14px;
			line-height: 24px;
			position: relative;
			padding-left: 14px;

			&::before {
				content: '';
				position: absolute;
				top: 50%;
				left: 0;
				transform: translateY(-50%);
				width: 6px;
				height: 6px;
				border-radius: 100%;
				background-color: var(--primary-background);
			}
		}

		&-ctas {
			display: flex;
			margin-left: auto;

			& svg {
				font-size: 14px;
			}
		}

		.scroll-btn-container {
			display: none;
			position: absolute;
			top: -40px;
			left: 50%;
			transform: translateX(-50%);

			.scroll-btn {
				all: unset;
				padding: 4px 12px 4px 10px;
				background-color: var(--l1-border);
				border-radius: 20px;
				cursor: pointer;
				display: flex;
				align-items: center;
				justify-content: center;
				gap: 4px;
				transition: background-color 0.1s;

				&:hover {
					background-color: var(--l1-border);
				}

				&:active {
					background-color: var(--l1-border);
				}

				span {
					font-size: 12px;
					line-height: 18px;
					color: var(--l2-foreground);
				}

				// add animation to the chevrons down icon
				svg {
					animation: pulse 1s infinite;
				}
			}
		}
	}

	&-content {
		max-height: calc(100vh - 300px);
		overflow-y: auto;
		padding: 16px 16px 18px 16px;
		border: 1px solid var(--l1-border);
		border-top-width: 0;
		border-bottom-width: 0;
	}
}

// pulse for the scroll for more icon
@keyframes pulse {
	0% {
		opacity: 1;
	}
	50% {
		opacity: 0.5;
	}
}
