/* BG Conference Manager — Public Author Submissions Portal & Conference Proceedings */
.bgcman-subpub {
	max-width: 960px;
	margin: 24px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: #1e293b;
	line-height: 1.55;
}

.bgcman-subpub * {
	box-sizing: border-box;
}

.bgcman-subpub-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 22px 24px;
	box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
	margin-bottom: 18px;
}

.bgcman-subpub-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	padding-bottom: 14px;
	margin-bottom: 18px;
	border-bottom: 1px solid #e2e8f0;
}

.bgcman-subpub-header h2 {
	margin: 0;
	font-size: 22px;
	color: #0f172a;
}

.bgcman-subpub-notice {
	padding: 12px 16px;
	border-radius: 6px;
	margin-bottom: 16px;
	border-left: 4px solid #0f766e;
	background: #f0fdfa;
	color: #134e4a;
	font-size: 14px;
}

.bgcman-subpub-notice.is-error {
	border-left-color: #dc2626;
	background: #fef2f2;
	color: #991b1b;
}

.bgcman-subpub-tabs {
	display: flex;
	gap: 8px;
	border-bottom: 1px solid #cbd5e1;
	margin-bottom: 20px;
}

.bgcman-subpub-tab {
	background: transparent;
	border: 1px solid transparent;
	border-bottom: none;
	padding: 10px 18px;
	font-size: 14.5px;
	font-weight: 500;
	color: #475569;
	cursor: pointer;
	border-radius: 6px 6px 0 0;
	margin-bottom: -1px;
}

.bgcman-subpub-tab.is-active {
	background: #fff;
	color: #0f766e;
	border-color: #cbd5e1;
	border-bottom-color: #fff;
	font-weight: 600;
}

.bgcman-subpub-field {
	margin-bottom: 14px;
}

.bgcman-subpub-field label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 5px;
}

.bgcman-subpub-field input[type="text"],
.bgcman-subpub-field input[type="email"],
.bgcman-subpub-field input[type="search"],
.bgcman-subpub-field input[type="file"],
.bgcman-subpub-field select,
.bgcman-subpub-field textarea {
	width: 100%;
	padding: 9px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	font-size: 14px;
	background: #fff;
	color: #0f172a;
}

.bgcman-subpub-field textarea {
	resize: vertical;
}

.bgcman-subpub-row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
}

.bgcman-subpub-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 9px 18px;
	border-radius: 6px;
	border: 1px solid #cbd5e1;
	background: #f8fafc;
	color: #1e293b;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}

.bgcman-subpub-btn:hover {
	background: #f1f5f9;
}

.bgcman-subpub-btn--primary {
	background: #0f766e;
	border-color: #0f766e;
	color: #ffffff;
}

.bgcman-subpub-btn--primary:hover {
	background: #115e59;
	color: #ffffff;
}

.bgcman-subpub-btn--sm {
	padding: 5px 11px;
	font-size: 12.5px;
}

.bgcman-subpub-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.bgcman-subpub-help {
	font-size: 12.5px;
	color: #64748b;
	margin-top: 4px;
}

.bgcman-coauthor-item {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px;
	margin-bottom: 10px;
}

.bgcman-coauthor-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 10px;
}

/* Badges */
.bgcman-pub-badge {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	white-space: nowrap;
}

.bgcman-pub-badge--submitted { background: #e0f2fe; color: #0369a1; }
.bgcman-pub-badge--under_review { background: #fef3c7; color: #92400e; }
.bgcman-pub-badge--revision_required { background: #ffedd5; color: #c2410c; }
.bgcman-pub-badge--accepted { background: #dcfce7; color: #166534; }
.bgcman-pub-badge--rejected { background: #fee2e2; color: #991b1b; }
.bgcman-pub-badge--published { background: #ccfbf1; color: #115e59; }
.bgcman-pub-badge--meta { background: #f1f5f9; color: #334155; }

.bgcman-pub-doi {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	color: #1d4ed8;
	padding: 4px 10px;
	border-radius: 6px;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 12px;
	text-decoration: none;
	font-weight: 600;
}

.bgcman-pub-doi:hover {
	background: #dbeafe;
	text-decoration: underline;
}

.bgcman-pub-orcid {
	display: inline-block;
	font-size: 11.5px;
	color: #15803d;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 4px;
	padding: 1px 6px;
	margin-left: 4px;
	text-decoration: none;
}

.bgcman-pub-feedback {
	background: #f8fafc;
	border-left: 3px solid #0f766e;
	padding: 10px 14px;
	border-radius: 4px;
	margin-top: 10px;
	font-size: 13.5px;
}

/* Proceedings Archive */
.bgcman-proc-event-header {
	margin-bottom: 16px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.bgcman-proc-event-header__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 10px;
	margin-bottom: 10px;
}

.bgcman-proc-event-header__badge {
	display: inline-block;
	padding: 4px 11px;
	border-radius: 999px;
	background: #eff6ff;
	color: #1e3a8a;
	font-size: 12.5px;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.bgcman-proc-event-header__back {
	font-size: 13.5px;
	font-weight: 600;
	color: #0f766e !important;
	text-decoration: none !important;
}

.bgcman-proc-event-header__back:hover {
	text-decoration: underline !important;
}

.bgcman-proc-event-header__title {
	margin: 0 0 6px 0;
	font-size: 26px;
	line-height: 1.25;
	color: #0f172a;
}

.bgcman-proc-event-header__meta {
	margin: 0;
	font-size: 14px;
	color: #64748b;
}

.bgcman-proc-toolbar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 18px;
}

.bgcman-proc-toolbar input[type="search"] {
	flex: 1;
	min-width: 220px;
	padding: 9px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}

.bgcman-proc-toolbar select {
	min-width: 210px;
	padding: 9px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
}

.bgcman-proc-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px 22px;
	margin-bottom: 16px;
	box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}

.bgcman-proc-title {
	margin: 8px 0 6px 0;
	font-size: 18px;
	color: #0f172a;
	line-height: 1.35;
}

.bgcman-proc-authors {
	font-size: 14px;
	color: #334155;
	margin-bottom: 10px;
}

.bgcman-proc-abstract {
	font-size: 14px;
	color: #475569;
	margin: 10px 0;
	white-space: pre-wrap;
}

.bgcman-proc-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin: 10px 0;
}

.bgcman-proc-kw {
	background: #f1f5f9;
	color: #475569;
	padding: 2px 9px;
	border-radius: 999px;
	font-size: 12px;
}

.bgcman-proc-footer {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-top: 14px;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
}

/* Embedded in My Page / Participant Area */
.bgcman-mypage .bgcman-subpub {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.bgcman-mypage .bgcman-subpub-card {
	padding: 18px 20px;
	border-radius: 8px;
}

.bgcman-mypage__submissions-section h3 {
	margin-top: 0;
	margin-bottom: 16px;
}
