/* ==========================================================================
   RS ARC Manager - Dedicated Reader Experience Portal Styles
   BookSirens-Style Modern Luxury UI & Interactive Components
   ========================================================================== */

:root {
	--rs-primary: #2c1328;
	--rs-primary-hover: #1a0918;
	--rs-primary-light: #fdf5e6;
	--rs-gold: #c5a059;
	--rs-gold-hover: #dfb76c;
	--rs-slate-900: #0f172a;
	--rs-slate-800: #1e293b;
	--rs-slate-700: #334155;
	--rs-slate-600: #475569;
	--rs-slate-500: #64748b;
	--rs-slate-400: #94a3b8;
	--rs-slate-200: #e2e8f0;
	--rs-slate-100: #f1f5f9;
	--rs-slate-50: #f8fafc;
	--rs-white: #ffffff;
	--rs-radius-lg: 16px;
	--rs-radius-md: 10px;
	--rs-radius-sm: 6px;
	--rs-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--rs-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.06), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
	--rs-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.rs-arc-reader-dashboard {
	max-width: 1180px;
	margin: 0 auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	color: var(--rs-slate-800);
	line-height: 1.5;
	box-sizing: border-box;
}

.rs-arc-reader-dashboard * {
	box-sizing: border-box;
}

/* --------------------------------------------------------------------------
   Anti-Ghosting Frozen Notice Banner
   -------------------------------------------------------------------------- */
.rs-arc-freeze-banner {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	border-left: 5px solid #ef4444;
	border-radius: var(--rs-radius-md);
	padding: 18px 22px;
	margin-bottom: 24px;
	box-shadow: var(--rs-shadow-sm);
	animation: rsPortalFadeIn 0.3s ease;
}

.rs-arc-freeze-banner .freeze-icon {
	font-size: 28px;
	line-height: 1;
	flex-shrink: 0;
}

.rs-arc-freeze-banner .freeze-details h4 {
	margin: 0 0 4px 0;
	color: #991b1b;
	font-size: 16px;
	font-weight: 700;
}

.rs-arc-freeze-banner .freeze-details p {
	margin: 0 0 6px 0;
	color: #b91c1c;
	font-size: 14px;
	line-height: 1.5;
}

.rs-arc-freeze-banner .freeze-action-hint {
	color: #7f1d1d;
	font-weight: 600;
	font-size: 13px;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Header Bar / Profile & Capacity Ribbon
   -------------------------------------------------------------------------- */
.rs-arc-reader-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: var(--rs-white);
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-lg);
	padding: 24px 30px;
	margin-bottom: 24px;
	box-shadow: var(--rs-shadow-md);
	flex-wrap: wrap;
	gap: 24px;
}

.reader-profile-col {
	display: flex;
	align-items: center;
	gap: 18px;
	flex: 1;
	min-width: 300px;
}

.reader-avatar img {
	border-radius: 50%;
	border: 3px solid var(--rs-slate-200);
	display: block;
	width: 58px;
	height: 58px;
	object-fit: cover;
	box-shadow: var(--rs-shadow-sm);
}

.reader-meta {
	flex: 1;
}

.reader-tier-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 4px;
}

.reader-tier-row h2 {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	color: var(--rs-slate-900);
	letter-spacing: -0.3px;
}

.rs-arc-tier-pill {
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 9999px;
	letter-spacing: 0.3px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rs-arc-standing-pill {
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.standing-good {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.standing-frozen {
	background: #fee2e2;
	color: #b91c1c;
	border: 1px solid #fecaca;
}

.reader-sub {
	margin: 0;
	color: var(--rs-slate-500);
	font-size: 13px;
}

/* Active Capacity Meter Box */
.reader-capacity-col {
	min-width: 280px;
	flex-shrink: 0;
}

.capacity-stat-box {
	background: var(--rs-slate-50);
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-md);
	padding: 16px 20px;
}

.capacity-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	font-size: 13px;
	color: var(--rs-slate-700);
	margin-bottom: 8px;
}

.capacity-header span {
	font-weight: 600;
	color: var(--rs-slate-600);
}

.capacity-header strong {
	font-size: 14px;
	color: var(--rs-slate-900);
}

.capacity-bar-wrap {
	width: 100%;
	height: 10px;
	background: var(--rs-slate-200);
	border-radius: 9999px;
	overflow: hidden;
}

.capacity-bar-fill {
	height: 100%;
	background: linear-gradient(90deg, #4f46e5 0%, #7c3aed 100%);
	border-radius: 9999px;
	transition: width 0.4s ease;
}

.tier-advance-hint {
	display: block;
	font-size: 12px;
	color: var(--rs-slate-500);
	margin-top: 8px;
	line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Metrics Ribbon / 3 Status Counters
   -------------------------------------------------------------------------- */
.rs-arc-metrics-ribbon,
.rs-arc-reader-metrics-ribbon {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
	margin-bottom: 28px;
}

.rs-arc-metrics-ribbon .rs-arc-metric-item,
.rs-arc-reader-metrics-ribbon .rs-arc-metric-item {
	background: #fdfbf7;
	border: 1px solid #ebd9b8;
	border-radius: 14px;
	padding: 20px 24px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 18px;
	text-align: left;
	box-shadow: 0 2px 8px rgba(44, 19, 40, 0.04);
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rs-arc-metrics-ribbon .rs-arc-metric-item:hover,
.rs-arc-reader-metrics-ribbon .rs-arc-metric-item:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(44, 19, 40, 0.08);
	border-color: #c5a059;
}

.rs-arc-reader-metrics-ribbon .metric-icon-wrap {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: #f5eedf;
	border: 1px solid #e2cfb0;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.8);
}

.rs-arc-reader-metrics-ribbon .metric-icon {
	font-size: 24px;
	line-height: 1;
}

.rs-arc-reader-metrics-ribbon .metric-data {
	display: flex;
	flex-direction: column;
}

.rs-arc-reader-metrics-ribbon .metric-val {
	font-family: "Cinzel", "Playfair Display", Georgia, serif;
	font-size: 32px;
	font-weight: 700;
	color: #2c1328;
	line-height: 1;
	margin-bottom: 4px;
}

.rs-arc-reader-metrics-ribbon .metric-label {
	font-size: 11.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #6b5c65;
	margin: 0;
}

/* --------------------------------------------------------------------------
   Tab Navigation & Segmented Controls
   -------------------------------------------------------------------------- */

.buddypress-component-content .rs-arc-tab-nav {
	flex-flow: wrap;
	overflow: inherit;
	padding-bottom: 20px;
}

body.arc-portal ul#member-secondary-nav {
	display: none !important;
}

.rs-arc-tab-nav {
	display: flex;
	gap: 10px;
	border-bottom: 2px solid var(--rs-slate-200);
	margin-bottom: 24px;
	padding-bottom: 0;
	overflow-x: auto;
}

.rs-arc-tab-btn {
	background: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 12px 22px;
	font-size: 15px;
	font-weight: 600;
	color: var(--rs-slate-500);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: -2px;
	transition: all 0.2s ease;
	white-space: nowrap;
	border-radius: 6px 6px 0 0;
	outline: none;
}

.rs-arc-tab-btn:hover {
	color: var(--rs-slate-800);
	background: rgba(241, 245, 249, 0.6);
}

.rs-arc-tab-btn.active {
	color: var(--rs-primary);
	border-bottom-color: var(--rs-primary);
	background: transparent;
	font-weight: 700;
}

.tab-badge {
	background: var(--rs-slate-200);
	color: var(--rs-slate-700);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 9999px;
	line-height: 1.2;
}

.rs-arc-tab-btn.active .tab-badge {
	background: var(--rs-primary-light);
	color: var(--rs-primary);
}

/* Tab Content Visibility */
.rs-arc-tab-content {
	display: none !important;
}

.rs-arc-tab-content.active {
	display: block !important;
	animation: rsPortalFadeIn 0.25s ease;
}

@keyframes rsPortalFadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* --------------------------------------------------------------------------
   TAB 1: Active ARCs Cards
   -------------------------------------------------------------------------- */
.active-arcs-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.active-arc-card {
	display: flex;
	background: var(--rs-white);
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-lg);
	padding: 22px;
	box-shadow: var(--rs-shadow-sm);
	gap: 22px;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.active-arc-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--rs-shadow-md);
	border-color: #cbd5e1;
}

.arc-card-cover {
	width: 125px;
	flex-shrink: 0;
}

.arc-card-cover img {
	width: 100%;
	height: 175px;
	object-fit: cover;
	border-radius: var(--rs-radius-md);
	box-shadow: 0 4px 8px -1px rgba(0, 0, 0, 0.12);
	display: block;
}

.cover-placeholder {
	width: 100%;
	height: 175px;
	background: var(--rs-slate-100);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 38px;
	border-radius: var(--rs-radius-md);
	border: 1px dashed var(--rs-slate-300);
}

.arc-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.arc-card-header-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 8px;
	flex-wrap: wrap;
	gap: 8px;
}

/* Countdown Badges */
.countdown-badge {
	font-size: 12px;
	font-weight: 700;
	padding: 4px 10px;
	border-radius: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.cd-normal {
	background: #e0f2fe;
	color: #0369a1;
	border: 1px solid #bae6fd;
}

.cd-warning {
	background: #fef3c7;
	color: #b45309;
	border: 1px solid #fde68a;
}

.cd-urgent {
	background: #ffedd5;
	color: #c2410c;
	border: 1px solid #fed7aa;
	animation: pulse-urgent 2s infinite;
}

.cd-overdue {
	background: #fee2e2;
	color: #b91c1c;
	font-weight: 800;
	border: 1px solid #fca5a5;
}

@keyframes pulse-urgent {
	0% {
		opacity: 1;
	}

	50% {
		opacity: 0.8;
	}

	100% {
		opacity: 1;
	}
}

.genre-tag {
	font-size: 12px;
	color: var(--rs-slate-600);
	background: var(--rs-slate-100);
	padding: 3px 10px;
	border-radius: 9999px;
	font-weight: 600;
}

.arc-book-title {
	margin: 0 0 4px 0;
	font-size: 19px;
	font-weight: 700;
	color: var(--rs-slate-900);
	letter-spacing: -0.2px;
}

.arc-book-author {
	margin: 0 0 12px 0;
	color: var(--rs-slate-600);
	font-size: 14px;
}

.arc-meta-details {
	display: flex;
	gap: 20px;
	font-size: 13px;
	color: var(--rs-slate-500);
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.arc-download-buttons {
	display: flex;
	gap: 10px;
	margin-bottom: 14px;
	flex-wrap: wrap;
}

.btn-download {
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	border-radius: var(--rs-radius-sm);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.btn-epub {
	background: #eff6ff;
	color: #1d4ed8 !important;
	border: 1px solid #bfdbfe;
}

.btn-epub:hover {
	background: #dbeafe;
	border-color: #93c5fd;
	transform: translateY(-1px);
}

.btn-pdf {
	background: #fef2f2;
	color: #b91c1c !important;
	border: 1px solid #fecaca;
}

.btn-pdf:hover {
	background: #fee2e2;
	border-color: #fca5a5;
	transform: translateY(-1px);
}

.btn-teasers {
	background: #f5f3ff;
	color: #6d28d9 !important;
	border: 1px solid #ddd6fe;
}

.btn-teasers:hover {
	background: #ede9fe;
	border-color: #c4b5fd;
	transform: translateY(-1px);
}

.btn-ask-author {
	background: #fffbeb;
	color: #b45309 !important;
	border: 1px solid #fde68a;
	padding: 8px 14px;
	font-size: 13px;
	font-weight: 600;
	border-radius: var(--rs-radius-sm);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: all 0.2s ease;
}

.btn-ask-author:hover {
	background: #fef3c7;
	border-color: #fcd34d;
	transform: translateY(-1px);
}

.arc-card-actions-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	margin-top: 10px;
	flex-wrap: wrap;
}

.arc-review-cta-wrap {
	display: flex;
	justify-content: flex-end;
	margin-top: 4px;
}

/* DNF Private Feedback Toggle */
.rs-arc-dnf-toggle-wrap {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 12px 16px;
	margin-bottom: 16px;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.rs-arc-dnf-toggle-wrap.active {
	background: #fffbeb;
	border-color: #fde68a;
}

.rs-arc-dnf-toggle-label {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	cursor: pointer;
	margin-bottom: 0;
}

.rs-arc-dnf-toggle-text .dnf-title {
	color: #334155;
	font-size: 13.5px;
	font-weight: 700;
	display: block;
}

.rs-arc-dnf-toggle-text .dnf-desc {
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
	display: block;
	margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Action Buttons (Luxury SaaS Styling)
   -------------------------------------------------------------------------- */
.rs-arc-btn-action,
.browse-actions .rs-arc-btn-action {
	background: #2c1328 !important;
	color: #c5a059 !important;
	border: 1px solid #c5a059 !important;
	padding: 9px 18px;
	border-radius: var(--rs-radius-sm);
	font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
	font-size: 12px !important;
	font-weight: 700 !important;
	text-transform: uppercase !important;
	letter-spacing: 0.05em !important;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
	box-shadow: 0 1px 3px rgba(44, 19, 40, 0.25) !important;
}

.rs-arc-btn-action:hover,
.browse-actions .rs-arc-btn-action:hover {
	background: #1a0918 !important;
	color: #dfb76c !important;
	border-color: #dfb76c !important;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(44, 19, 40, 0.35) !important;
}

.rs-arc-btn-secondary {
	background: var(--rs-slate-100);
	color: var(--rs-slate-700) !important;
	border: 1px solid var(--rs-slate-300);
	padding: 10px 18px;
	border-radius: var(--rs-radius-sm);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	text-decoration: none;
}

.rs-arc-btn-secondary:hover {
	background: var(--rs-slate-200);
}

.rs-arc-btn-sm {
	padding: 6px 14px;
	font-size: 13px;
}

/* --------------------------------------------------------------------------
   TAB 2: Completed Reviews Table
   -------------------------------------------------------------------------- */
.rs-arc-campaigns-table-container {
	background: var(--rs-white);
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-md);
	overflow: hidden;
	box-shadow: var(--rs-shadow-sm);
}

.rs-arc-author-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.rs-arc-author-table th {
	background: var(--rs-slate-50);
	color: var(--rs-slate-600);
	font-weight: 600;
	text-align: left;
	padding: 14px 18px;
	border-bottom: 1px solid var(--rs-slate-200);
}

.rs-arc-author-table td {
	padding: 14px 18px;
	border-bottom: 1px solid var(--rs-slate-100);
	vertical-align: middle;
}

.rs-arc-author-table tr:last-child td {
	border-bottom: none;
}

.rs-arc-author-table tr:hover td {
	background: var(--rs-slate-50);
}

.rs-arc-link-pill {
	display: inline-block;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 4px;
	text-decoration: none;
	margin-right: 4px;
	border: 1px solid #bfdbfe;
}

.rs-arc-link-pill:hover {
	background: #dbeafe;
}

.rs-arc-status-pill {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 9999px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
}

.rs-arc-status-pill.status-active {
	background: #dcfce7;
	color: #15803d;
}

/* --------------------------------------------------------------------------
   TAB 3: Browse Open ARCs Grid
   -------------------------------------------------------------------------- */
.browse-header-banner {
	margin-bottom: 20px;
	background: var(--rs-white);
	padding: 18px 22px;
	border-radius: var(--rs-radius-md);
	border: 1px solid var(--rs-slate-200);
	box-shadow: var(--rs-shadow-sm);
}

.browse-header-banner h3 {
	margin: 0 0 6px 0;
	font-size: 18px;
	color: var(--rs-slate-900);
	font-weight: 700;
}

.browse-header-banner p {
	margin: 0;
	font-size: 14px;
	color: var(--rs-slate-500);
}

.browse-arcs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 20px;
}

.browse-arc-card {
	background: var(--rs-white);
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-md);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--rs-shadow-sm);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.browse-arc-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--rs-shadow-md);
}

.browse-card-cover img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
}

.browse-card-info {
	padding: 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.browse-card-info h4 {
	margin: 6px 0 2px 0;
	font-size: 16px;
	color: var(--rs-slate-900);
	font-weight: 700;
}

.author-line {
	margin: 0 0 10px 0;
	color: var(--rs-slate-500);
	font-size: 13px;
}

.seats-left-pill {
	display: inline-block;
	background: #f0fdf4;
	color: #166534;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 9999px;
	margin-bottom: 12px;
	border: 1px solid #bbf7d0;
	width: fit-content;
}

.browse-actions {
	margin-top: auto;
}

/* --------------------------------------------------------------------------
   Empty States
   -------------------------------------------------------------------------- */
.rs-arc-empty-state {
	text-align: center;
	padding: 48px 24px;
	background: var(--rs-white);
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-lg);
	box-shadow: var(--rs-shadow-sm);
}

.rs-arc-empty-state .empty-icon {
	font-size: 48px;
	margin-bottom: 14px;
	line-height: 1;
}

.rs-arc-empty-state h3 {
	margin: 0 0 8px 0;
	font-size: 20px;
	font-weight: 700;
	color: var(--rs-slate-900);
}

.rs-arc-empty-state p {
	margin: 0 auto 20px auto;
	max-width: 480px;
	color: var(--rs-slate-500);
	font-size: 14px;
	line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Portal Review Submission Modal
   -------------------------------------------------------------------------- */
.rs-arc-portal-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

.portal-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
}

.portal-modal-dialog {
	position: relative;
	background: var(--rs-white);
	border-radius: var(--rs-radius-lg);
	max-width: 560px;
	width: 90%;
	max-height: 90vh;
	overflow-y: auto;
	box-shadow: var(--rs-shadow-lg);
	z-index: 2;
	animation: rsModalScaleIn 0.2s ease;
}

@keyframes rsModalScaleIn {
	from {
		opacity: 0;
		transform: scale(0.96);
	}

	to {
		opacity: 1;
		transform: scale(1);
	}
}

.portal-modal-header {
	padding: 20px 26px;
	border-bottom: 1px solid var(--rs-slate-200);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.portal-modal-header h3 {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--rs-slate-900);
}

.portal-modal-close {
	background: none;
	border: none;
	font-size: 24px;
	color: var(--rs-slate-400);
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

.portal-modal-close:hover {
	color: var(--rs-slate-800);
}

.portal-modal-body {
	padding: 24px 26px;
}

.portal-modal-body .form-group {
	margin-bottom: 18px;
}

.portal-modal-body label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--rs-slate-700);
	margin-bottom: 6px;
}

.portal-modal-body .form-control {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--rs-slate-300);
	border-radius: var(--rs-radius-sm);
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.portal-modal-body .form-control:focus,
.portal-modal-body .rs-arc-input:focus {
	border-color: var(--rs-primary);
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

.portal-modal-body .rs-arc-input {
	width: 100%;
	box-sizing: border-box;
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--rs-slate-300);
	border-radius: var(--rs-radius-sm);
	font-size: 0.875rem;
	outline: none;
	transition: border-color 0.2s, box-shadow 0.2s;
}

.rs-arc-modal-retail-row {
	margin-bottom: 1rem;
}

.portal-modal-body small {
	display: block;
	font-size: 12px;
	color: var(--rs-slate-500);
	margin-top: 4px;
}

.portal-modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Star Rating Selector & Review Modal Enhancements
   -------------------------------------------------------------------------- */
.rs-arc-rating-selector-group {
	background: #f8fafc;
	border: 1px solid var(--rs-slate-200);
	border-radius: var(--rs-radius-md);
	padding: 14px 16px;
	margin-bottom: 18px;
}

.rs-arc-star-rating-input {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 6px;
	flex-wrap: wrap;
}

.star-rating-options {
	display: inline-flex;
	gap: 4px;
}

.star-item {
	font-size: 26px;
	line-height: 1;
	color: #cbd5e1;
	cursor: pointer;
	transition: color 0.15s ease, transform 0.15s ease;
	user-select: none;
}

.star-item:hover {
	transform: scale(1.15);
}

.star-item.active,
.star-item.hover {
	color: #f59e0b;
}

.rating-text-hint {
	font-size: 13px;
	font-weight: 600;
	color: var(--rs-slate-700);
}

.form-label-with-badge {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 6px;
}

.form-label-with-badge label {
	margin-bottom: 0 !important;
}

.private-badge {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	background: #fef3c7;
	color: #92400e;
	border: 1px solid #fde68a;
	padding: 3px 8px;
	border-radius: 9999px;
}

.rs-arc-private-feedback-group {
	background: #fffbeb;
	border: 1px solid #fef3c7;
	border-radius: var(--rs-radius-md);
	padding: 14px 16px;
}

.rs-arc-private-feedback-group textarea {
	border-color: #fde68a;
	background: #ffffff;
}

.rs-arc-private-feedback-group textarea:focus {
	border-color: #f59e0b;
	box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
}

/* --------------------------------------------------------------------------
   Reader Profile & Settings Card (SaaS Form Styling)
   -------------------------------------------------------------------------- */
.rs-arc-profile-settings-card {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	padding: 32px;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.profile-card-header,
.profile-section-heading {
	margin-bottom: 24px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e2e8f0;
}

.profile-card-header h3,
.profile-section-heading h3 {
	margin: 0 0 6px 0;
	font-size: 20px;
	font-weight: 700;
	color: #0f172a;
}

.profile-card-header p,
.profile-section-heading p {
	margin: 0;
	color: #64748b;
	font-size: 14px;
	line-height: 1.5;
}

/* Form Structure & Grid */
.rs-arc-reader-dashboard .form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	width: 100%;
	box-sizing: border-box;
}

.rs-arc-reader-dashboard .form-group {
	margin-bottom: 24px;
	width: 100%;
	box-sizing: border-box;
}

.rs-arc-reader-dashboard .form-group label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 6px;
	line-height: 1.4;
}

.rs-arc-reader-dashboard .form-control {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	padding: 12px 16px;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	font-size: 15px;
	line-height: 1.5;
	color: #0f172a;
	background-color: #ffffff;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.rs-arc-reader-dashboard .form-control:focus {
	border-color: #4f46e5;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
	background-color: #ffffff;
}

.rs-arc-reader-dashboard .form-control:disabled {
	background-color: #f1f5f9;
	color: #64748b;
	cursor: not-allowed;
	border-color: #e2e8f0;
}

.rs-arc-reader-dashboard .form-group small {
	display: block;
	font-size: 12px;
	color: #64748b;
	margin-top: 6px;
	line-height: 1.4;
}

.rs-arc-reader-dashboard .profile-actions-row {
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #e2e8f0;
	display: flex;
	justify-content: flex-start;
}

.rs-arc-reader-dashboard #rs-arc-save-profile-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 28px;
	background: #4f46e5;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all 0.2s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rs-arc-reader-dashboard #rs-arc-save-profile-btn:hover {
	background: #4338ca;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25);
}

.rs-arc-reader-dashboard #rs-arc-save-profile-btn:active {
	transform: translateY(0);
	box-shadow: 0 1px 2px rgba(79, 70, 229, 0.2);
}

/* --------------------------------------------------------------------------
   Responsive Layout
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
	.rs-arc-metrics-ribbon {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.rs-arc-reader-header {
		flex-direction: column;
		align-items: stretch;
		padding: 20px;
	}

	.reader-profile-col {
		min-width: 100%;
	}

	.reader-capacity-col {
		width: 100%;
		min-width: 100%;
	}

	.active-arc-card {
		flex-direction: column;
	}

	.arc-card-cover {
		width: 100%;
	}

	.arc-card-cover img {
		height: 220px;
	}

	.arc-review-cta-wrap {
		justify-content: stretch;
	}

	.arc-review-cta-wrap button {
		width: 100%;
		justify-content: center;
	}

	.rs-arc-profile-settings-card {
		padding: 20px;
	}

	.rs-arc-reader-dashboard .form-grid-2 {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

@media (max-width: 480px) {
	.rs-arc-metrics-ribbon {
		grid-template-columns: 1fr;
	}
}

/* Review Revision Button & Badge */
.rs-arc-edit-review-modal-btn {
	background: #3b82f6 !important;
	color: #ffffff !important;
	transition: all 0.2s ease !important;
}

.rs-arc-edit-review-modal-btn:hover {
	background: #2563eb !important;
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3) !important;
}

.rs-arc-pill-revised {
	display: inline-flex;
	align-items: center;
	font-size: 10px;
	font-weight: 600;
	background: #e0e7ff;
	color: #4338ca;
	padding: 2px 6px;
	border-radius: 4px;
	border: 1px solid #c7d2fe;
}

/* --------------------------------------------------------------------------
   Tab Badge Count
   -------------------------------------------------------------------------- */
.rs-arc-badge-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--rs-primary, #4f46e5);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 9999px;
	margin-left: 4px;
	line-height: 1;
}

.rs-arc-tab-btn.active .rs-arc-badge-count {
	background: #ffffff;
	color: var(--rs-primary, #4f46e5);
}

/* --------------------------------------------------------------------------
   Saved ARCs Grid & Cards
   -------------------------------------------------------------------------- */
.saved-arcs-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 20px;
}

.saved-arc-card {
	background: #ffffff;
	border: 1px solid var(--rs-slate-200, #e2e8f0);
	border-radius: var(--rs-radius-md, 12px);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
	position: relative;
}

.saved-arc-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
	border-color: var(--rs-slate-300, #cbd5e1);
}

.saved-card-cover {
	position: relative;
	height: 180px;
	background: var(--rs-slate-100, #f1f5f9);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.saved-card-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.saved-arc-card:hover .saved-card-cover img {
	transform: scale(1.03);
}

.saved-card-info {
	padding: 16px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	gap: 10px;
}

.saved-card-meta-top {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
}

.saved-book-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--rs-slate-900, #0f172a);
	line-height: 1.35;
}

.saved-author-row,
.browse-author-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 13px;
	color: var(--rs-slate-600, #475569);
	gap: 8px;
}

.saved-deadline-info {
	font-size: 12px;
	color: var(--rs-slate-500, #64748b);
	display: flex;
	align-items: center;
	gap: 5px;
}

.saved-card-actions {
	display: flex;
	gap: 10px;
	margin-top: auto;
	padding-top: 10px;
	border-top: 1px solid var(--rs-slate-100, #f1f5f9);
}

/* --------------------------------------------------------------------------
   Bookmark & Follow Buttons
   -------------------------------------------------------------------------- */
.rs-arc-card-bookmark-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	cursor: pointer;
	transition: all 0.2s ease;
	z-index: 5;
	backdrop-filter: blur(4px);
}

.rs-arc-card-bookmark-btn:hover {
	transform: scale(1.1);
	background: #ffffff;
}

.rs-arc-card-bookmark-btn.active {
	background: #fef3c7;
	border-color: #f59e0b;
	color: #d97706;
}

.rs-arc-follow-btn {
	background: #f1f5f9;
	color: #334155;
	border: 1px solid #cbd5e1;
	border-radius: 9999px;
	font-weight: 600;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: all 0.2s ease;
	text-decoration: none;
	line-height: 1;
}

.rs-arc-follow-btn:hover {
	background: #e2e8f0;
	border-color: #94a3b8;
	color: #0f172a;
}

.rs-arc-follow-sm {
	padding: 4px 10px;
	font-size: 11px;
}

.rs-arc-follow-btn.following {
	background: #ecfdf5;
	color: #059669;
	border-color: #6ee7b7;
}

.rs-arc-follow-btn.following:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fca5a5;
}

.rs-arc-btn-outline {
	background: transparent;
	color: var(--rs-slate-600, #475569);
	border: 1px solid var(--rs-slate-300, #cbd5e1);
	border-radius: var(--rs-radius-sm, 6px);
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.rs-arc-btn-outline:hover {
	background: #fee2e2;
	color: #dc2626;
	border-color: #fca5a5;
}

/* --------------------------------------------------------------------------
   Followed Authors Grid & Cards
   -------------------------------------------------------------------------- */
.followed-authors-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 18px;
}

.followed-author-card {
	background: #ffffff;
	border: 1px solid var(--rs-slate-200, #e2e8f0);
	border-radius: var(--rs-radius-md, 12px);
	padding: 16px;
	display: flex;
	align-items: center;
	gap: 14px;
	transition: all 0.25s ease;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.followed-author-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
	border-color: var(--rs-slate-300, #cbd5e1);
}

.followed-author-card .author-avatar-wrap {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	background: var(--rs-slate-100, #f1f5f9);
	border: 2px solid #ffffff;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.followed-author-card .author-avatar {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.followed-author-card .author-info {
	flex-grow: 1;
	min-width: 0;
}

.followed-author-card .author-name {
	margin: 0 0 4px 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--rs-slate-900, #0f172a);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.followed-author-card .author-meta-row {
	display: flex;
	flex-direction: column;
	gap: 3px;
	font-size: 12px;
	color: var(--rs-slate-500, #64748b);
}

.followed-author-card .author-card-actions {
	flex-shrink: 0;
}

.rs-arc-unfollow-author-btn {
	padding: 6px 14px;
	font-size: 12px;
}

/* --------------------------------------------------------------------------
   Goodreads Library Importer & Shelf UI
   -------------------------------------------------------------------------- */
.rs-arc-gr-container {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.rs-arc-gr-header-card {
	background: #ffffff;
	border: 1px solid var(--rs-slate-200, #e2e8f0);
	border-radius: var(--rs-radius-md, 12px);
	padding: 20px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.gr-header-info h3 {
	margin: 0 0 6px 0;
	font-size: 18px;
	font-weight: 700;
	color: var(--rs-slate-900, #0f172a);
}

.gr-header-info p {
	margin: 0;
	font-size: 13px;
	color: var(--rs-slate-600, #475569);
	max-width: 680px;
	line-height: 1.5;
}

.gr-header-actions {
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}

.rs-arc-gr-importer-box {
	background: #ffffff;
	border: 1px solid var(--rs-slate-200, #e2e8f0);
	border-radius: var(--rs-radius-md, 12px);
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.gr-help-instructions {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-left: 4px solid #4f46e5;
	border-radius: 8px;
	padding: 16px 20px;
	display: flex;
	gap: 14px;
	align-items: flex-start;
}

.gr-help-icon {
	font-size: 20px;
	line-height: 1;
}

.gr-help-text {
	font-size: 13px;
	color: #334155;
	line-height: 1.6;
}

.gr-help-text strong {
	color: #0f172a;
}

.gr-help-text ol {
	margin: 8px 0 0 0;
	padding-left: 18px;
}

.gr-help-text li {
	margin-bottom: 4px;
}

.rs-arc-gr-dropzone {
	border: 2px dashed #cbd5e1;
	border-radius: 12px;
	background: #f8fafc;
	padding: 40px 20px;
	text-align: center;
	transition: all 0.25s ease;
	cursor: pointer;
}

.rs-arc-gr-dropzone:hover,
.rs-arc-gr-dropzone.dragover {
	border-color: #4f46e5;
	background: #eef2ff;
	transform: scale(1.005);
}

.rs-arc-gr-dropzone .dropzone-icon {
	font-size: 42px;
	margin-bottom: 10px;
	line-height: 1;
}

.rs-arc-gr-dropzone h4 {
	margin: 0 0 6px 0;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.rs-arc-gr-dropzone p {
	margin: 0 0 16px 0;
	font-size: 13px;
	color: #64748b;
}

/* Progress Bar */
.rs-arc-gr-progress-container {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.progress-status-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	font-weight: 600;
	color: #0f172a;
}

.rs-arc-gr-progress-bar {
	height: 10px;
	background: #e2e8f0;
	border-radius: 9999px;
	overflow: hidden;
	position: relative;
}

.rs-arc-gr-progress-fill {
	height: 100%;
	background: linear-gradient(90deg, #4f46e5, #06b6d4);
	border-radius: 9999px;
	transition: width 0.3s ease;
}

.progress-sub-hint {
	font-size: 12px;
	color: #64748b;
}

/* Goodreads Catalog Table Specifics */
.rs-arc-gr-catalog-wrap {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: var(--rs-radius-md, 12px);
	padding: 20px;
}

.catalog-header-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 16px;
}

.catalog-header-meta h4 {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: #0f172a;
}

.gr-review-snippet {
	font-size: 11px;
	color: #64748b;
	font-style: italic;
	margin-top: 4px;
	max-width: 320px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gr-avg-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	background: #fef3c7;
	color: #b45309;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
}

/* Goodreads Toolbar & Shelf Filter Pills */
.rs-arc-gr-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	flex-wrap: wrap;
}

.gr-filter-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.gr-filter-pill {
	background: #f1f5f9;
	color: #475569;
	border: 1px solid #cbd5e1;
	border-radius: 9999px;
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.2s ease;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.gr-filter-pill:hover {
	background: #e2e8f0;
	color: #0f172a;
	border-color: #94a3b8;
}

.gr-filter-pill.active {
	background: #4f46e5;
	color: #ffffff;
	border-color: #4f46e5;
	box-shadow: 0 2px 6px rgba(79, 70, 229, 0.25);
}

.gr-filter-pill .filter-count {
	opacity: 0.85;
	font-size: 11px;
}

.gr-search-wrap {
	flex-grow: 1;
	max-width: 360px;
}

.gr-search-input {
	width: 100% !important;
	box-sizing: border-box !important;
	padding: 8px 14px !important;
	border: 1px solid #cbd5e1 !important;
	border-radius: 9999px !important;
	font-size: 13px !important;
	outline: none !important;
	transition: all 0.2s ease !important;
	background: #ffffff !important;
}

.gr-search-input:focus {
	border-color: #4f46e5 !important;
	box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15) !important;
}

/* Shelf Badges */
.rs-arc-shelf-badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	text-transform: capitalize;
}

.rs-arc-shelf-badge.shelf-read {
	background: #dcfce7;
	color: #15803d;
	border: 1px solid #bbf7d0;
}

.rs-arc-shelf-badge.shelf-to-read {
	background: #e0e7ff;
	color: #4338ca;
	border: 1px solid #c7d2fe;
}

.rs-arc-shelf-badge.shelf-currently-reading {
	background: #fef3c7;
	color: #b45309;
	border: 1px solid #fde68a;
}

/* Review Snippet & Modal Buttons */
.gr-review-snippet-wrap {
	margin-top: 6px;
	padding: 8px 10px;
	background: #f8fafc;
	border-left: 3px solid #6366f1;
	border-radius: 4px;
	max-width: 480px;
}

.gr-view-full-review-btn {
	background: none;
	border: none;
	padding: 0;
	margin-top: 4px;
	font-size: 11px;
	font-weight: 600;
	color: #4f46e5;
	cursor: pointer;
	text-decoration: underline;
	display: inline-block;
}

.gr-view-full-review-btn:hover {
	color: #3730a3;
}

/* Goodreads Modal Styles */
#rs-arc-gr-review-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999999;
	display: flex;
	align-items: center;
	justify-content: center;
}

#rs-arc-gr-review-modal .rs-arc-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(15, 23, 42, 0.65);
	backdrop-filter: blur(4px);
}

#rs-arc-gr-review-modal .rs-arc-modal-container {
	position: relative;
	background: #ffffff;
	border-radius: 12px;
	width: 90%;
	max-width: 620px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	z-index: 2;
	overflow: hidden;
	animation: rsModalScaleIn 0.2s ease;
}

#rs-arc-gr-review-modal .rs-arc-modal-header {
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#rs-arc-gr-review-modal .rs-arc-modal-header h3 {
	margin: 0;
	font-size: 17px;
	font-weight: 700;
	color: #0f172a;
}

#rs-arc-gr-review-modal .rs-arc-modal-close {
	background: none;
	border: none;
	font-size: 22px;
	color: #94a3b8;
	cursor: pointer;
	padding: 0;
	line-height: 1;
}

#rs-arc-gr-review-modal .rs-arc-modal-close:hover {
	color: #0f172a;
}

/* --------------------------------------------------------------------------
   Feedback Guidelines Dual-Card Container
   -------------------------------------------------------------------------- */
.rs-arc-feedback-guidelines-section {
	margin-top: 40px;
	margin-bottom: 24px;
	padding-top: 24px;
	border-top: 1px solid #ebd9b8;
}

.rs-arc-feedback-guidelines-header {
	margin-bottom: 20px;
}

.rs-arc-feedback-guidelines-title {
	font-family: "Cinzel", "Playfair Display", Georgia, serif;
	font-size: 20px;
	font-weight: 700;
	color: #2c1328;
	margin: 0 0 6px 0;
	line-height: 1.3;
}

.rs-arc-feedback-guidelines-subtitle {
	font-size: 13.5px;
	color: #6b5c65;
	margin: 0;
	line-height: 1.5;
}

.rs-arc-feedback-guidelines-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.rs-arc-feedback-guideline-card {
	background: #fdfbf7;
	border: 1px solid #ebd9b8;
	border-radius: 12px;
	padding: 22px 24px;
	box-shadow: 0 2px 8px rgba(44, 19, 40, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-arc-feedback-guideline-card:hover {
	border-color: #c5a059;
	box-shadow: 0 6px 16px rgba(44, 19, 40, 0.08);
}

.rs-arc-guideline-card-badge {
	display: inline-block;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	background: #f5eef4;
	color: #2c1328;
	border: 1px solid #e8d7e6;
	padding: 4px 10px;
	border-radius: 9999px;
	margin-bottom: 12px;
}

.rs-arc-guideline-card-text {
	font-size: 13.5px;
	line-height: 1.6;
	color: #4a3d46;
	margin: 0;
}

/* --------------------------------------------------------------------------
   What's Expected of ARC Readers - Sidebar Card
   -------------------------------------------------------------------------- */
.rs-arc-reader-expectations-card,
.rs-arc-expectations-card {
	background: #ffffff;
	border: 1px solid #ebd9b8;
	border-radius: 14px;
	padding: 24px;
	box-shadow: 0 4px 16px rgba(44, 19, 40, 0.05);
	box-sizing: border-box;
}

.rs-arc-expectations-header {
	margin-bottom: 20px;
	padding-bottom: 16px;
	border-bottom: 1px solid #f0e6d6;
}

.rs-arc-expectations-title {
	font-family: "Cinzel", "Playfair Display", Georgia, serif;
	font-size: 19px;
	font-weight: 700;
	color: #2c1328;
	margin: 0 0 8px 0;
	line-height: 1.3;
}

.rs-arc-expectations-subtitle {
	font-size: 13px;
	line-height: 1.5;
	color: #6b5c65;
	margin: 0;
}

.rs-arc-expectations-list {
	list-style: none;
	padding: 0;
	margin: 0 0 20px 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rs-arc-expectations-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #473d44;
}

.rs-arc-expectations-list .rs-arc-check-icon {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: #f7f1e5;
	border: 1px solid #e5d3b3;
	color: #c5a059;
	font-size: 11px;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-top: 2px;
}

.rs-arc-expectations-item-text strong {
	display: block;
	color: #2c1328;
	font-weight: 700;
	margin-bottom: 2px;
}

.rs-arc-expectations-item-text span {
	display: block;
	color: #554850;
	font-size: 12.5px;
	line-height: 1.45;
}

.rs-arc-disclaimer-callout {
	background: #fdfbf7;
	border: 1px solid #f0e6d6;
	border-left: 3px solid #c5a059;
	border-radius: 8px;
	padding: 12px 14px;
	margin-bottom: 12px;
}

.rs-arc-disclaimer-callout-title {
	font-size: 12px;
	font-weight: 700;
	color: #2c1328;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0 0 4px 0;
}

.rs-arc-disclaimer-callout-text {
	font-size: 12px;
	line-height: 1.5;
	color: #5e525a;
	margin: 0;
}

.rs-arc-expectations-footer {
	margin-top: 16px;
	padding-top: 12px;
	border-top: 1px solid #f0e6d6;
}

.rs-arc-guidelines-anchor {
	color: #2c1328;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.2s ease, gap 0.2s ease;
}

.rs-arc-guidelines-anchor:hover {
	color: #c5a059;
	gap: 9px;
}

.sassy-bp-arc-sidebar-sticky {
	position: sticky;
	top: 2rem;
	width: 100%;
}

/* --------------------------------------------------------------------------
   Responsive Layout Rules
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
	.rs-arc-reader-metrics-ribbon,
	.rs-arc-metrics-ribbon {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.rs-arc-feedback-guidelines-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.rs-arc-reader-header {
		padding: 18px 20px;
	}

	.reader-capacity-col {
		min-width: 100%;
		width: 100%;
	}
}