.teap-agent-signup__hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.teap-agent-signup__form h3 {
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

.teap-agent-signup__form h3:first-child {
	margin-top: 0;
}

.teap-fields-row {
	--teap-gap: 16px;
	display: flex;
	flex-wrap: wrap;
	margin-left: calc(var(--teap-gap) / -2);
	margin-right: calc(var(--teap-gap) / -2);
}

.teap-field {
	box-sizing: border-box;
	padding-left: calc(var(--teap-gap) / 2);
	padding-right: calc(var(--teap-gap) / 2);
	margin-bottom: 1.2em;
	flex-basis: 100%;
	max-width: 100%;
}

.teap-agent-signup__form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.teap-required {
	color: #c0392b;
}

.teap-agent-signup__form input[type="text"],
.teap-agent-signup__form input[type="email"],
.teap-agent-signup__form input[type="password"],
.teap-agent-signup__form input[type="url"],
.teap-agent-signup__form select,
.teap-agent-signup__form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 0.6em 0.75em;
}

.teap-agent-signup__form input[type="file"] {
	display: block;
}

.teap-agent-signup__form textarea {
	resize: vertical;
}

.teap-agent-signup__warning {
	border-left: 3px solid #b26a00;
	padding: 0.75em 1em;
	background: rgba(178, 106, 0, 0.06);
	margin-top: 0.75em;
}

.teap-agency-profile__meta {
	margin-bottom: 1.5em;
	padding-bottom: 1em;
	border-bottom: 1px solid #dcdcde;
}

.teap-agency-profile__meta p {
	margin: 0.3em 0;
}

/*
 * This tab's field widths are hard-coded per-field (not admin-configurable
 * like the Elementor widget's responsive controls), so the mobile collapse
 * is a plain breakpoint here rather than per-device Elementor selectors.
 * Deliberately scoped to .teap-agency-profile specifically, not a bare
 * .teap-field rule, so this can never affect the Elementor widget's own
 * independent responsive system elsewhere on the site.
 */
@media (max-width: 767px) {
	.teap-agency-profile .teap-field {
		flex-basis: 100% !important;
		max-width: 100% !important;
	}
}

.teap-agent-signup__form small {
	display: block;
	margin-top: 0.3em;
	opacity: 0.75;
}

.teap-agent-signup__error {
	border-left: 3px solid #c0392b;
	padding: 0.75em 1em;
	background: rgba(192, 57, 43, 0.06);
	margin-bottom: 1.2em;
}

.teap-agent-signup--success {
	border-left: 3px solid #2e7d32;
	padding: 0.75em 1em;
	background: rgba(46, 125, 50, 0.06);
}


/* Partner Resources dashboard tab */
.teap-drive-button {
    display: inline-block;
    padding: 12px 24px;
    background: #264AB3;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.2s ease;
}
.teap-drive-button:hover,
.teap-drive-button:focus {
    background: #1d398c;
    color: #fff !important;
}
