﻿.inv-wrap {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2rem 1rem;
	background: #f4f6f4;
}

.inv-card {
	background: #ffffff;
	border-radius: 14px;
	border: 1px solid #e2e8e2;
	padding: 2.5rem 2rem;
	max-width: 460px;
	width: 100%;
}

.inv-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 2rem;
}

.inv-brand-mark {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: #1D9E75;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

	.inv-brand-mark svg {
		width: 20px;
		height: 20px;
		fill: white;
	}

.inv-brand-name {
	font-size: 16px;
	font-weight: 600;
	color: #1a2e1a;
	letter-spacing: -0.01em;
}

.inv-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	font-weight: 500;
	padding: 4px 10px;
	border-radius: 100px;
	margin-bottom: 1rem;
}

.inv-badge-green {
	background: #E1F5EE;
	color: #0F6E56;
}

.inv-badge-amber {
	background: #FEF3CD;
	color: #92620A;
}

.inv-badge-red {
	background: #FDECEC;
	color: #9A2424;
}

.inv-badge-blue {
	background: #E6F1FB;
	color: #185FA5;
}

.inv-badge svg {
	width: 13px;
	height: 13px;
}

.inv-title {
	font-size: 22px;
	font-weight: 600;
	color: #1a2e1a;
	margin: 0 0 0.4rem;
	letter-spacing: -0.02em;
}

.inv-body {
	font-size: 15px;
	color: #4a5e4a;
	margin: 0 0 1.5rem;
	line-height: 1.6;
}

.inv-member-row {
	background: #f4f6f4;
	border-radius: 10px;
	padding: 0.9rem 1.1rem;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.75rem;
}

.inv-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #1D9E75;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 14px;
	font-weight: 600;
	color: white;
	letter-spacing: 0.02em;
}

.inv-member-label {
	font-size: 12px;
	color: #6a826a;
	margin: 0 0 2px;
}

.inv-member-name {
	font-size: 15px;
	font-weight: 600;
	color: #1a2e1a;
	margin: 0;
}

.inv-org-row {
	background: #f4f6f4;
	border-radius: 10px;
	padding: 0.9rem 1.1rem;
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 1.75rem;
}

.inv-org-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #E1F5EE;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

	.inv-org-icon svg {
		width: 20px;
		height: 20px;
		fill: #0F6E56;
	}

.inv-org-label {
	font-size: 12px;
	color: #6a826a;
	margin: 0 0 2px;
}

.inv-org-name {
	font-size: 15px;
	font-weight: 600;
	color: #1a2e1a;
	margin: 0;
}

.inv-actions {
	display: flex;
	gap: 10px;
}

.inv-btn-accept {
	flex: 1;
	padding: 11px 0;
	background: #1D9E75;
	color: white;
	border: none;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s;
}

	.inv-btn-accept:hover {
		background: #178a65;
	}

.inv-btn-decline {
	padding: 11px 20px;
	background: transparent;
	color: #6a826a;
	border: 1px solid #d1ddd1;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: background 0.15s, color 0.15s;
}

	.inv-btn-decline:hover {
		background: #fdecec;
		color: #9A2424;
		border-color: #e8c4c4;
	}

.inv-btn-home {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: #1D9E75;
	color: white;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s;
}

	.inv-btn-home:hover {
		background: #178a65;
	}

.inv-btn-dash {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	background: #1D9E75;
	color: white;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background 0.15s;
}

	.inv-btn-dash:hover {
		background: #178a65;
	}

.inv-divider {
	border: none;
	border-top: 1px solid #e2e8e2;
	margin: 1.5rem 0;
}

/* =============================================
   Login/selector page styles
   ============================================= */
html, body { margin: 0; padding: 0; min-height: 100%; }

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	background: linear-gradient(180deg, #f8fbff 0%, #f3f6fb 100%);
	color: #1f2937;
}

.main {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 48px 20px;
	min-height: 100vh;
}

.selector-shell {
	width: 100%;
	max-width: 500px;
	display: flex;
	flex-direction: column;
}

.selector-header {
	text-align: center;
	margin-bottom: 24px;
}

.selector-title {
	margin: 0;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #0f172a;
}

.selector-subtitle {
	margin: 12px auto 0;
	font-size: 14px;
	line-height: 1.55;
	color: #6b7280;
}

.bs-field { margin-bottom: 1rem; }
.bs-label { font-size: 12px; font-weight: 500; color: #6b7280; display: block; margin-bottom: 6px; }
.bs-input { width: 100%; box-sizing: border-box; padding: 9px 12px; border: 1px solid #d1d5db; border-radius: 8px; font-size: 14px; background: #fff; color: #111827; }
.bs-input:focus { outline: none; border-color: #185FA5; box-shadow: 0 0 0 3px rgba(24,95,165,0.1); }
.bs-input-hint { font-size: 12px; color: #9ca3af; margin-top: 4px; }

.bs-btn-primary { display: inline-flex; align-items: center; gap: 8px; background: #185FA5; color: #fff; font-size: 14px; font-weight: 500; padding: 10px 22px; border-radius: 8px; border: none; cursor: pointer; text-decoration: none; }
.bs-btn-primary:hover { background: #0C447C; }
.bs-btn-secondary { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #185FA5; font-size: 14px; font-weight: 500; padding: 10px 22px; border-radius: 8px; border: 1px solid #185FA5; cursor: pointer; }
.bs-btn-secondary:hover { background: #E6F1FB; }
.bs-btn-link { display: inline; background: none; border: none; color: #6b7280; font-size: 13px; cursor: pointer; padding: 0; text-decoration: underline; }
.bs-btn-link:hover { color: #111827; }

.error-message { display: none; font-size: .8em; color: #b42318; margin-bottom: .5rem; }
.error-message.error-shown { display: block; }

/* Utility */
.step-hidden { display: none; }
.username-hidden { display: none; }
.btn-full { width: 100%; justify-content: center; }
.mt-sm { margin-top: .75rem; }
.mt-md { margin-top: 1rem; }
.mt-lg { margin-top: 1.5rem; }
.mb-sm { margin-bottom: .5rem; }
.text-center { text-align: center; }
