@use 'variables';

.sub-domain {
	width: 87%;
	margin: 20px;
	margin-top: 50px;

	&__input {
		display: flex;
		align-items: center;
		font-size: 12px;
		input {
			width: 100%;
			height: 40px;
			margin-top: 10px;
			margin-bottom: 10px;
			padding: 10px;
			border-top: 1px solid variables.$border;
			border-right: none;
			border-bottom: 1px solid variables.$border;
			border-left: none;
		}
		&--prepend {
			display: flex;
			align-items: center;
			padding: 0 5px;
			height: 40px;
			background-color: variables.$lighter_text;
			border-top-left-radius: 3px;
			border-bottom-left-radius: 3px;
		}
		&--append {
			display: flex;
			align-items: center;
			padding: 0 5px;
			height: 40px;
			background-color: variables.$lighter_text;
			border-top-right-radius: 3px;
			border-bottom-right-radius: 3px;
		}
	}

	&__label {
		margin: 10px;
		font-size: 14px;
		font-weight: bold;
		color: variables.$middle_light_text;
	}

	&__server_url {
		font-size: 14px;
		font-weight: bold;
		color: variables.$middle_light_text;
	}

	&__logo {
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	&__actions {
		width: 87%;
		margin-right: auto;
		margin-left: auto;
		text-align: center;

		&--submit {
			display: block;
			padding: 5px 10px;
			margin-bottom: 30px;
			width: 100%;
			font-size: 14px;
			height: 50px;
			border: 1px solid variables.$blue;
			background-color: variables.$blue;
			text-transform: uppercase;
			color: #ffffff;
		}

		&--cancel {
			color: variables.$blue;
			font-size: 14px;
			text-decoration: none;
			cursor: pointer;

			&:hover {
				color: variables.$blue_hover;
				text-decoration: underline;
			}
		}
	}
}
