/* AM-Sites License Manager — Register form */

.amslm-form {
	display: flex;
	flex-direction: column;
	gap: var(--amslm-row-gap, 16px);
}

.amslm-row-1,
.amslm-row-2 {
	display: grid;
	gap: var(--amslm-row-gap, 16px) var(--amslm-col-gap, 16px);
}

.amslm-row-2 {
	grid-template-columns: 1fr 1fr;
}

.amslm-row-name {
	grid-template-columns: var(--amslm-name-col1, 1fr) var(--amslm-name-col2, 1fr);
}

.amslm-row-contact {
	grid-template-columns: var(--amslm-contact-col1, 1fr) var(--amslm-contact-col2, 1fr);
}

.amslm-row-password {
	grid-template-columns: var(--amslm-password-col1, 1fr) var(--amslm-password-col2, 1fr);
}

@media (max-width: 600px) {
	.amslm-row-2 {
		grid-template-columns: 1fr;
	}
}

.amslm-form input[type="text"],
.amslm-form input[type="email"],
.amslm-form input[type="tel"],
.amslm-form input[type="url"],
.amslm-form input[type="password"],
.amslm-form select {
	width: 100% !important;
	padding: 12px 14px !important;
	border: 1px solid #ccc !important;
	border-radius: 8px !important;
	font-size: 15px !important;
	box-sizing: border-box !important;
	background: #fff !important;
}

.amslm-phone-combo {
	position: relative !important;
	display: flex !important;
	align-items: center !important;
	border: 1px solid #ccc !important;
	border-radius: 8px !important;
	background: #fff !important;
	overflow: visible !important;
}

.amslm-phone-code-btn {
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 4px !important;
	flex: 0 0 auto !important;
	flex-shrink: 0 !important;
	white-space: nowrap !important;
	border: none !important;
	background: transparent !important;
	padding: 12px 10px 12px 14px !important;
	margin: 0 !important;
	cursor: pointer !important;
	font-size: 15px !important;
	line-height: 1.4 !important;
	color: #111 !important;
	opacity: 1 !important;
	visibility: visible !important;
	border-right: 1px solid #e2e2e2 !important;
	box-shadow: none !important;
	outline: none !important;
	width: auto !important;
	height: auto !important;
	min-width: 62px !important;
}

.amslm-phone-code-btn span {
	color: #111 !important;
	font-size: 15px !important;
	display: inline-block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.amslm-phone-code-btn svg {
	flex: 0 0 auto !important;
	display: inline-block !important;
	color: #111 !important;
}

.amslm-phone-combo input[type="tel"] {
	border: none !important;
	flex: 1 1 auto !important;
	padding: 12px 14px !important;
	min-width: 0 !important;
}

.amslm-phone-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	width: 280px;
	max-height: 260px;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	z-index: 50;
	display: flex;
	flex-direction: column;
}

.amslm-phone-search {
	margin: 8px !important;
	width: calc(100% - 16px) !important;
	padding: 8px 10px !important;
	border: 1px solid #ddd !important;
	border-radius: 6px !important;
}

.amslm-phone-list {
	list-style: none;
	margin: 0;
	padding: 0 0 8px;
	overflow-y: auto;
}

.amslm-phone-option {
	padding: 8px 14px;
	cursor: pointer;
	font-size: 14px;
}

.amslm-phone-option:hover {
	background: #f4f4f5;
}

.amslm-password-wrapper {
	position: relative !important;
	display: block !important;
}

.amslm-password-wrapper input {
	padding-right: 44px !important;
}

.amslm-checkbox-row {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-size: 14px;
	cursor: pointer;
}

.amslm-checkbox-row input[type="checkbox"] {
	margin-top: 3px;
	flex: 0 0 auto;
}

.amslm-field-msg {
	font-size: 13px;
	margin-top: -8px;
	min-height: 1em;
}

.amslm-field-msg-error {
	color: #b3261e;
}

.amslm-btn-solid {
	width: 100%;
	padding: 12px;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	border-radius: 8px;
	background: #000 !important;
	color: #fff !important;
	font-size: 15px;
	cursor: pointer;
	transition: opacity 0.15s ease;
}

.amslm-btn-solid:disabled {
	opacity: 0.45 !important;
	cursor: not-allowed !important;
}

.amslm-confirm-note {
	color: #888;
	font-size: 13px;
}
