@use "../../../mixins" as *;

.hulk-settings-wrap {

	.hulk-settings-notice {
		padding: 0;
		margin: 20px 20px 0;
		background: #fff;
		box-shadow: 0 1px 1px rgba(0, 0, 0, 0.0392156863);
		border: 1px solid #ddd;

		.components-notice {
			padding-top: 0;
			padding-bottom: 0;
			padding-right: 0;
		}

		.components-notice__content {
			font-weight: 600;
			color: var(--hulk-settings-text-color);
		}
	}

	.hulk-settings-body {
		padding: 0 20px;
		position: relative;
	}

	.hulk-settings-form {
		margin: 0;
		padding: 0;
	}

	.hulk-settings-content {
		margin: 20px 0;
		border-radius: 8px;
		border: none;
		background: #fff;
		position: relative;
		box-shadow: 0 1px 1px #0000000a;
		display: flex;
		flex-wrap: wrap;
		flex-direction: column;
		padding: 0 20px 5px;

		hr {
			width: 100%;
			display: block;
			border: none;
			border-bottom: 1px solid #f0f0f0;
		}
	}

	.hulk-save-btn-wrap {
		display: flex;
		align-items: center;
		position: relative;
		gap: 10px;
	}

	.hulk-logs {
		display: block;
		font-size: 13px;
		background-color: #f0f0f1;
		border-radius: 2px;
		overflow: auto;
		border: 1px solid #949494;
		max-width: 100%;
		line-height: 1.6;
		width: 100%;
	}

	.hulk-log-iframe {
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		box-shadow: none !important;
		width: 100% !important;
		height: 200px !important;
	}

	.hulk-log-type-error {
		color: red;
	}

	.hulk-log-type-debug {
		color: var(--hulk-settings-primary-color);
	}

	.hulk-notice-alert {
		position: fixed;
		top: 40px;
		right: 0;
		left: 0;
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		z-index: 10000;
		pointer-events: none;
	}

	.hulk-notice-snackbar {
		position: relative;
		width: auto;
	}

	.hulk-notice-error {
		background-color: red;
		fill: white;
		border-radius: 100px;
	}

	.hulk-notice-success {
		background-color: #61d345;
		fill: white;
		border-radius: 100px;
	}

	.hulk-dashboard-container {
		display: flex;
		flex-wrap: nowrap;
		margin: 20px 0;
		gap: 20px;

		@include media-breakpoint-down(lg) {
			flex-direction: column;
		}

		.hulk-blocks {
			display: flex;
			flex-wrap: wrap;
			gap: 20px;
			width: 100%;
		}

		.hulk-block-item {
			border-radius: 8px;
			background: #fff;
			position: relative;
			box-shadow: 0 1px 1px #0000000a;
			display: flex;
			flex-wrap: wrap;
			flex-direction: column;
			padding: 20px 20px;
			margin: 0;
			flex: 1 1 calc((100% / 3) - 20px);
			justify-content: space-between;
			border: 1px solid #e2e4e7;

			@include media-breakpoint-down(xl) {
				flex-basis: calc((100% / 2) - 20px);
			}

			@include media-breakpoint-down(md) {
				flex-basis: 100%;
			}
		}

		.hulk-block-heading {
			margin: 0 0 5px;
			font-size: 16px;
			font-weight: 600;
		}

		.hulk-block-text {
			display: block;
			font-size: 13px;
		}

		.components-button {
			margin-top: auto;
			margin-right: auto;
		}

		.hulk-dashboard-sidebar {
			@extend .hulk-block-item;
			justify-content: flex-start;
			margin-bottom: auto;
			max-width: 300px;
			width: 100%;

			@include media-breakpoint-down(md) {
				max-width: 100%;
			}

			.components-button {
				margin: 0 auto 0 0;
				background-color: #1e1e1e;
				width: 100%;
				text-align: center;
				align-items: center;
				justify-content: center;
				padding: 0;
				height: 40px;

				&:hover {
					background-color: #000000;
				}
			}

			h2 {
				margin: 0 0 5px;
				line-height: 1.4;
				font-weight: 400;
			}

			ul {
				margin: 10px 0 20px;
				list-style: none;

				li {
					display: flex;
					gap: 5px;
					align-items: center;
				}

				svg {
					fill: #1e1e1e;
				}
			}

			small {
				margin-top: 10px;
				display: block;
				font-size: 12px;

				a {
					color: #1e1e1e;
					box-shadow: none;
				}
			}
		}
	}
}
