/* Anbautagebuch – Basis-Styling */

.atb-dashboard, .atb-forum, .atb-gate, .atb-auth-form {
	max-width: 780px;
	margin: 2rem auto;
	font-family: inherit;
}

.atb-dashboard-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.5rem;
}

.atb-error {
	background: #fdeaea;
	color: #a3231f;
	border: 1px solid #f3c2c0;
	padding: 0.75rem 1rem;
	border-radius: 6px;
	margin-bottom: 1rem;
}

.atb-entry-form, .atb-new-topic {
	background: #f7f8f5;
	border: 1px solid #e0e2db;
	border-radius: 10px;
	padding: 1.25rem 1.5rem;
	margin-bottom: 2rem;
}

.atb-entry-form label, .atb-new-topic label, .atb-auth-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.atb-entry-form input,
.atb-entry-form select,
.atb-new-topic input,
.atb-new-topic textarea,
.atb-auth-form input {
	width: 100%;
	padding: 0.5rem 0.6rem;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-sizing: border-box;
}

.atb-form-row {
	display: flex;
	gap: 1.5rem;
}
.atb-form-row > span {
	flex: 1;
}

.atb-entry-form button, .atb-new-topic button, .atb-auth-form button {
	background: #3c7a3c;
	color: #fff;
	border: none;
	padding: 0.6rem 1.4rem;
	border-radius: 6px;
	font-weight: 600;
	cursor: pointer;
}
.atb-entry-form button:hover, .atb-new-topic button:hover, .atb-auth-form button:hover {
	background: #2d5e2d;
}

.atb-table {
	width: 100%;
	border-collapse: collapse;
}
.atb-table th, .atb-table td {
	text-align: left;
	padding: 0.5rem 0.6rem;
	border-bottom: 1px solid #e0e2db;
}
.atb-table th {
	background: #f0f1ec;
}

.atb-delete-link {
	color: #a3231f;
}

.atb-thumb {
	width: 50px;
	height: 50px;
	object-fit: cover;
	border-radius: 6px;
	display: block;
}

.atb-topics {
	list-style: none;
	margin: 0;
	padding: 0;
}
.atb-topics li {
	padding: 0.75rem 0;
	border-bottom: 1px solid #e0e2db;
}
.atb-topics a {
	font-weight: 600;
	font-size: 1.05rem;
}
.atb-topic-meta {
	display: block;
	color: #666;
	font-size: 0.85rem;
	margin-top: 0.2rem;
}

.atb-reply {
	background: #f7f8f5;
	border-radius: 8px;
	padding: 0.75rem 1rem;
	margin-bottom: 0.75rem;
}

.atb-gate-columns {
	display: flex;
	gap: 2rem;
	flex-wrap: wrap;
}
.atb-gate-col {
	flex: 1;
	min-width: 260px;
}
