.srm-box {
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	padding: 24px;
	margin: 24px 0;
	box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.srm-box h2 {
	margin-top: 0;
	margin-bottom: 10px;
}

.srm-box h3 {
	margin-top: 10px;
	color: #93e547;
	border-bottom: 1px solid rgba(0,0,0,.08);
	padding-bottom: 5px;
}

.srm-auth,
.srm-profile-edit {
	max-width: 820px;
}

.srm-auth form,
.srm-profile-edit form {
	display: grid;
	gap: 18px;
}

.srm-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.srm-box label {
	display: grid;
	gap: 7px;
	font-weight: 700;
}

.srm-box input[type="text"],
.srm-box input[type="email"],
.srm-box input[type="url"],
.srm-box input[type="password"],
.srm-box input[type="date"],
.srm-box input[type="search"],
.srm-box input[type="file"] {
	width: 100%;
	border: 1px solid rgba(0,0,0,.16);
	border-radius: 8px;
	padding: 12px 14px;
	font: inherit;
	background: #fff;
}

.srm-box input[type="password"] {
	margin-left: 0px!important;
}

.srm-check {
	display: flex !important;
	align-items: center;
	gap: 10px;
	font-weight: 500 !important;
}

.srm-check input {
	width: auto;
}

.srm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	padding: 8px 12px;
	background: #93e547;
	color: #20344b;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
}

.srm-btn:hover {
	background: #20344b;
	color: #fff;
}

.srm-follow-btn {
	background: #2563eb;
}

.srm-follow-btn.is-following {
	background: #6b7280;
}

.srm-follow-btn.is-loading {
	opacity: .6;
	pointer-events: none;
}

.srm-alert {
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 18px;
	font-weight: 700;
}

.srm-alert-success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.srm-alert-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.srm-alert-info {
	background: #eff6ff;
	color: #1d4ed8;
	border: 1px solid #bfdbfe;
}

.srm-turnstile {
	margin: 10px 0;
}

.srm-avatar-edit {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
}

.srm-avatar-edit img,
.srm-member-avatar img {
	border-radius: 8px;
	object-fit: cover;
}

.srm-stat-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.srm-stat {
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	padding: 16px;
	background: #f9fafb;
}

.srm-stat strong,
.srm-stat span {
	display: block;
}

.srm-stat span {
	margin-top: 6px;
	font-size: 1.1rem;
	font-weight: 800;
}

.srm-social-list {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.srm-social-list a {
	border-radius: 8px;
	padding: 8px 13px;
	background: #f3f4f6;
	text-decoration: none;
	font-weight: 700;
}

.srm-directory-search {
	display: flex;
	gap: 12px;
	margin-bottom: 22px;
}

.srm-member-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.srm-member-card {
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	padding: 20px;
	text-align: center;
	background: #fff;
}

.srm-member-card h3 {
	margin: 12px 0 8px;
}

.srm-member-card h3 a {
	text-decoration: none;
	color: inherit;
}

.srm-member-meta {
	margin-bottom: 14px;
	color: #6b7280;
	font-size: .95rem;
}

.srm-pagination {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-top: 26px;
}

.srm-pagination a {
	width: 38px;
	height: 38px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #f3f4f6;
	text-decoration: none;
	font-weight: 800;
}

.srm-pagination a.is-active {
	background: #111827;
	color: #fff;
}

.srm-profile {
	max-width: 760px;
	margin: 30px auto;
}

.srm-profile-card {
	display: grid;
	grid-template-columns: 128px 1fr;
	gap: 26px;
	align-items: center;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	padding: 28px;
}

.srm-profile-photo {
	width: 128px;
	height: 128px;
}

.srm-profile-photo img {
	width: 128px;
	height: 128px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
	border: 1px solid rgba(0,0,0,.08);
}

.srm-profile-content {
	display: grid;
	gap: 12px;
	justify-items: start;
}

.srm-profile-content h2 {
	margin: 0;
	font-size: 2em;
	line-height: 1.15;
	color: #93e547;
}

.srm-profile-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
}

.srm-profile-meta span,
.srm-profile-meta a {
	color: #20344b;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.srm-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.srm-profile-actions .srm-btn,
.srm-profile .srm-follow-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 10px 18px;
	border-radius: 8px;
	background: #111827;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 800;
	border: 0;
}

.srm-profile-details {
	margin-top: 22px;
	background: #fff;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	padding: 28px;
}

.srm-profile-section + .srm-profile-section {
	margin-top: 26px;
	padding-top: 26px;
	border-top: 1px solid rgba(0,0,0,.08);
}

.srm-profile-section h3 {
	margin: 0 0 16px;
}

.srm-social-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.srm-social-edit-title {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
}

.srm-social-edit-title i {
	font-size: 16px;
	line-height: 22px;
	background: #20344b;
	width: 22px;
	height: 22px;
	text-align: center;
	border-radius: 4px;
	color: #fff;
}

.srm-social-list a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.srm-social-list i {
	font-size: 1rem;
	line-height: 1;
}

.srm-social-list i,
.srm-company i {
	line-height: 1;
}

.srm-company {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

.srm-follow-count {
	display: inline-flex;
	align-items: center;
	font-weight: 700;
}

.srm-follower-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.srm-follower-item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	background: #fff;
	color: inherit;
	text-decoration: none;
	font-weight: 700;
}

.srm-follower-item img {
	width: 48px;
	height: 48px;
	border-radius: 8px;
	object-fit: cover;
}

.srm-auth-switch {
	margin: 6px 0 0;
	font-weight: 700;
}

.srm-auth-switch a {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.srm-avatar-edit {
	display: flex;
	align-items: center;
	gap: 18px;
	flex-wrap: wrap;
	border: 1px solid rgba(0,0,0,.08);
	padding: 8px;
	border-radius: 8px;
}

.srm-avatar-preview-wrap {
	position: relative;
	width: 120px;
	height: 120px;
	flex: 0 0 120px;
}

.srm-avatar-preview img {
	width: 120px;
	height: 120px;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.srm-avatar-actions {
	display: flex;
	gap: 10px;
}

.srm-avatar-upload-label,
.srm-avatar-delete {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	padding: 10px 12px;
	background: #111827;
	color: #fff;
	line-height: 1em;
	font-size: 1em;
	font-weight: 700;
	cursor: pointer;
}

.srm-avatar-upload-label input {
	display: none;
}

.srm-avatar-delete {
	background: #b91c1c;
}

.srm-avatar-progress {
	position: absolute;
	left: 50%;
	bottom: 50%;
	transform: translate(-50%, -50%);
	width: 80px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255,255,255,.35);
	backdrop-filter: blur(4px);
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(0,0,0,.18);
}

.srm-avatar-progress span {
	display: block;
	width: 0;
	height: 100%;
	background: #93e547;
	transition: width .2s ease;
}

/* Follower-Erweiterung */
.srm-follows-me {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	border-radius: 8px;
	background: #ecfdf5;
	color: #047857 !important;
	font-weight: 700;
	text-decoration: none !important;
}

.srm-section-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
}

.srm-section-head h3 {
	margin: 0;
}

.srm-section-head a {
	font-weight: 700;
	color: #20344b;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.srm-follower-list-preview {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.srm-followers-page-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 24px;
}

.srm-followers-page-head h2 {
	margin: 0 0 6px;
}

.srm-followers-page-head p {
	margin: 0;
	color: #6b7280;
	font-weight: 700;
}

.srm-follower-card .srm-member-avatar img {
	width: 96px;
	height: 96px;
}

.srm-comments-manager {
	max-width: 920px;
}

.srm-comment-list {
	display: grid;
	gap: 16px;
}

.srm-comment-card {
	border: 1px solid rgba(0,0,0,.08);
	border-radius: 8px;
	padding: 18px;
	background: #fff;
}

.srm-comment-card-head {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	margin-bottom: 12px;
}

.srm-comment-card-head strong {
	display: block;
	color: #20344b;
}

.srm-comment-card-head span {
	display: block;
	margin-top: 4px;
	color: #6b7280;
	font-size: .9em;
}

.srm-comment-content {
	color: #20344b;
	background: #F1F1F9;
	padding: 5px;
	border-radius: 4px;
}

.srm-comment-content p:last-child {
	margin-bottom: 0;
}

.srm-comment-actions,
.srm-comment-tools,
.srm-comment-editor-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 12px;
}

.srm-comment-edit-trigger,
.srm-comment-delete-trigger,
.srm-comment-cancel {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 8px;
	padding: 8px 12px;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	line-height: 1.2em;
}

.srm-comment-edit-trigger {
	background: #93e547;
	color: #20344b;
}

.srm-comment-delete-trigger {
	background: #b91c1c;
	color: #fff;
}

.srm-comment-cancel {
	background: #e5e7eb;
	color: #20344b;
	line-height: 1.2em;
}

.srm-comment-editor {
	margin-top: 12px;
}

.srm-comment-editor textarea {
	width: 100%;
	min-height: 130px;
	border: 1px solid rgba(0,0,0,.16);
	border-radius: 8px;
	padding: 12px 14px;
	font: inherit;
	resize: vertical;
}
.srm-comment-editor-actions button {
	line-height: 1.2em;
}
.srm-comment-save.is-loading {
	opacity: .65;
	pointer-events: none;
}

.srm-comment-notice {
	margin-bottom: 12px;
	padding: 10px 12px;
	border-radius: 8px;
	font-weight: 700;
}

.srm-comment-notice-success {
	background: #ecfdf5;
	color: #047857;
	border: 1px solid #a7f3d0;
}

.srm-comment-notice-error {
	background: #fef2f2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

@media (max-width: 700px) {
	.srm-follower-list {
		grid-template-columns: 1fr;
	}

	.srm-profile-card {
		grid-template-columns: 1fr;
		text-align: center;
		justify-items: center;
	}

	.srm-profile-content {
		justify-items: center;
	}

	.srm-profile-meta,
	.srm-profile-actions {
		justify-content: center;
	}
	.srm-section-head,
	.srm-followers-page-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.srm-follower-list-preview {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 800px) {
	.srm-grid,
	.srm-stat-grid,
	.srm-member-grid {
		grid-template-columns: 1fr;
	}

	.srm-profile-hero {
		align-items: flex-start;
		flex-direction: column;
	}

	.srm-directory-search {
		flex-direction: column;
	}
}
