.td-form-wrapper,
.td-directory {
	max-width: 900px;
	margin: 20px auto;
}

.td-form {
	padding: 24px;
	border: 1px solid #d7dee8;
	border-radius: 12px;
	background: #ffffff;
	color: #172033;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.td-form p {
	margin: 0 0 18px;
}

.td-form label {
	display: block;
	margin-bottom: 7px;
	color: #172033;
	font-weight: 600;
}

.td-form input[type="text"],
.td-form input[type="url"],
.td-form textarea,
.td-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 11px 13px;
	border: 1px solid #aeb9c8;
	border-radius: 7px;
	background: #ffffff;
	color: #172033;
	font-size: 16px;
	line-height: 1.4;
}

.td-form input::placeholder,
.td-form textarea::placeholder {
	color: #718096;
	opacity: 1;
}

.td-form input:focus,
.td-form textarea:focus,
.td-form select:focus {
	border-color: #229ed9;
	outline: 2px solid rgba(34, 158, 217, 0.2);
}

.td-form button,
.td-button {
	display: inline-block;
	padding: 11px 18px;
	border: 0;
	border-radius: 7px;
	background: #229ed9;
	color: #ffffff;
	text-decoration: none;
	cursor: pointer;
	font-size: 15px;
	line-height: 1.4;
}

.td-form button:hover,
.td-button:hover {
	background: #168ac0;
	color: #ffffff;
}

.td-form button:disabled {
	opacity: 0.7;
	cursor: wait;
}

.td-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.td-message {
	margin-bottom: 20px;
	padding: 14px 16px;
	border-radius: 7px;
}

.td-success {
	background: #dcfce7;
	color: #166534;
}

.td-error {
	background: #fee2e2;
	color: #991b1b;
}

.td-empty {
	padding: 20px;
	border: 1px solid #d7dee8;
	border-radius: 10px;
	background: #ffffff;
	color: #172033;
}

.td-directory {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.td-card {
	display: flex;
	flex-direction: column;
	padding: 22px;
	border: 1px solid #d7dee8;
	border-radius: 12px;
	background: #ffffff;
	color: #172033;
	box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
}

.td-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.td-card h3 {
	margin: 0 0 10px;
	color: #172033;
	font-size: 20px;
	line-height: 1.25;
}

.td-type,
.td-category {
	display: inline-block;
	padding: 4px 8px;
	border-radius: 5px;
	background: #edf2f7;
	color: #344054;
	font-size: 13px;
}

.td-category {
	margin-bottom: 13px;
}

.td-description {
	flex: 1;
	margin-bottom: 20px;
	color: #344054;
	line-height: 1.55;
}

.td-button {
	align-self: flex-start;
}

@media (max-width: 600px) {
	.td-form {
		padding: 18px;
	}

	.td-card-header {
		display: block;
	}

	.td-type {
		margin-bottom: 10px;
	}
}