@use "../../reset";

.hulk_affef_image_choices_wrap {
	max-width: 100%;
	flex-basis: 100%;
	display: flex;
	flex-wrap: nowrap;
	flex-direction: column;
	align-items: flex-start;
	position: relative;

	.hulk-image-choices {
		display: inline-flex;
		flex-wrap: wrap;
		margin: 0;
		padding: 0;
		list-style: none;
		flex-direction: row;
		gap: 10px;
	}

	.hulk-item-button {
		@extend %element-reset;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
		margin: 0;
		padding: 12px 16px;
		gap: 10px;
		font-family: inherit;
		font-feature-settings: inherit;
		font-variation-settings: inherit;
		cursor: pointer;
		position: relative;
		color: #444444;
		font-weight: 600;
		font-size: 14px;
		border: 1px solid #69727D;
		box-shadow: 0 0 #0000, 0 0 #0000,
		0 1px 3px 0 rgb(0 0 0 / 0.1),
		0 1px 2px -1px rgb(0 0 0 / 0.1);
		background-color: #ffffff;
		border-radius: 4px;
		min-height: 0;
		width: 100px;
		transition: all .2s ease-in-out;

		&[aria-pressed="true"] {
			background-color: rgb(0 0 0 / 10%);
		}
	}

	.hulk-item:first-child {
		.hulk-item-button {
			border-top-left-radius: 4px;
			border-bottom-left-radius: 4px;
		}
	}

	.hulk-item:last-child {
		.hulk-item-button {
			border-top-right-radius: 4px;
			border-bottom-right-radius: 4px;
		}
	}

	.hulk-item-icon {
		overflow: hidden;
		width: 40px;
		height: 40px;
		font-size: 40px;
		display: block;

		img {
			object-fit: fill;
			width: 100%;
			height: 100%;
		}

		svg {
			width: 100%;
			height: 100%;
			fill: currentColor;
		}
	}

	.hulk-item-label {
		display: block;
		word-break: break-word;
		text-overflow: ellipsis;
		overflow: hidden;
	}
}

