@import "~@wordpress/base-styles/colors";
@import "~@wordpress/base-styles/variables";
@import "~@wordpress/base-styles/mixins";
@import "~@wordpress/base-styles/breakpoints";
@import "~@wordpress/base-styles/animations";
@import "~@wordpress/base-styles/z-index";

@include wordpress-admin-schemes();

body.admin-color-fresh {
	@include admin-scheme(#2271b1);
}

.simpay-setup-wizard {

	hr {
		margin: 30px 0;
		width: 100%;
		height: 1px;
		background-color: rgb(226, 228, 231);
		border: 0;
	}

	.components-base-control__label {
		font-weight: bold;
	}

	.components-base-control__help {
		color: #838383;
		font-style: normal;
		margin: 0;
	}

	&-toasts {
		position: fixed;
		left: 0;
		bottom: 20px;
		padding-left: 16px;
		padding-right: 16px;
		z-index: 100001; // Above modals.
		width: auto;
		display: inline-block;
	}

	&-subtle-link.is-link {
		color: rgba(0, 0, 0, 0.50);
	}

	&-large-input {

		&.is-error {

			.components-text-control__input {
				border-color: red;
			}

			.components-base-control__help {
				color: red;
			}
		}

		.components-text-control__input {
			font-size: 18px !important;
			padding: 15px !important;
		}
	}

	&-content-list {
		color: #555555;
		display: flex;
		justify-content: space-between;

		&__content {
			width: 55%;

			p {
				font-size: 15px;
				line-height: 1.55;
				margin: 0 0 20px;

				&:last-child {
					margin-bottom: 0;
				}
			}
		}

		&__list {
			width: 40%;
		}
	}

	&-check-list,
	&-bullet-list {
		margin: 0;
		padding: 0;

		li {
			color: #555;
			font-size: 13px;
			font-weight: bold;
			line-height: 24px;
			margin: 0 0 5px;
			display: flex;
			align-items: center;

			svg {
				fill: var(--wp-admin-theme-color);
				margin-right: 5px;
			}
		}
	}

	&-check-list {
		list-style: none;
	}

	&-bullet-list {
		list-style: disc;
		list-style-position: inside;

		li {
			display: list-item;
		}
	}

	&-toggle-list {
		margin: 0;
		padding: 0;

		li {
			display: flex;
			align-items: flex-start;
			justify-content: space-between;
			margin-bottom: 30px;

			&:last-child {
				margin-bottom: 0;
			}
		}

		&__child {
			border-left: 1px solid rgb(226, 228, 231);
			padding-left: 15px;
			margin-top: -15px;
		}

		h3 {
			font-size: 18px;
			color: #1e1e1e;
			margin: 0;
		}

		p {
			color: rgba(0, 0, 0, 0.60);
			font-size: 13px;
			margin: 5px 0 0;
		}

		.components-form-toggle {
			margin-top: 12px;
		}
	}

	&-welcome-step {
		text-align: center;
		max-width: 600px;
		padding: 80px 65px;

		h1 {
			line-height: 1;
			margin: 0;
		}

		p {
			color: rgba(0, 0, 0, 0.60);
			font-size: 16px;
		}

		.components-button {
			margin-top: 1.5rem;
		}
	}

	&-doc-suggestions {
		color: rgba(0, 0, 0, 0.60);
		display: flex;
		justify-content: space-between;

		> div {
			flex: 0 0 48%;
		}

		h3 {
			font-size: 16px;
			margin-top: 0;
		}

		p {
			font-size: 13px;
			line-height: 1.5;
		}
	}
}
