/**
 * Reels Feed Gallery - Frontend Management Portal (/gestion-videos)
 * Clean, self-contained modern studio UI for non-WordPress users.
 */

.rfe-portal-standalone-body {
	margin: 0;
	padding: 0;
	background: #f3f4f6;
	color: #111827;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.rfe-portal-shell {
	--rp-bg: #f4f5f7;
	--rp-surface: #ffffff;
	--rp-surface-alt: #f9fafb;
	--rp-border: #e5e7eb;
	--rp-border-strong: #d1d5db;
	--rp-text: #111827;
	--rp-muted: #6b7280;
	--rp-accent: #e1306c;
	--rp-accent-hover: #c9255c;
	--rp-primary: #111827;
	--rp-primary-hover: #1f2937;
	--rp-danger: #dc2626;
	--rp-success: #059669;
	--rp-radius: 14px;
	--rp-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 16px rgba(0, 0, 0, 0.04);

	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--rp-text);
	background: var(--rp-bg);
	line-height: 1.5;
	box-sizing: border-box;
}

.rfe-portal-shell *,
.rfe-portal-shell *::before,
.rfe-portal-shell *::after {
	box-sizing: border-box;
}

.rfe-portal-shell--standalone {
	min-height: 100vh;
}

.rfe-portal-shell--login {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 16px;
	min-height: 540px;
}

.rfe-portal-shell--standalone.rfe-portal-shell--login {
	min-height: 100vh;
}

/* ==========================================================================
   Login Card
   ========================================================================== */

.rfe-login-card {
	width: 100%;
	max-width: 420px;
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: 20px;
	padding: 36px 32px;
	box-shadow: 0 20px 50px rgba(17, 24, 39, 0.08);
}

.rfe-login-logo {
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 55%, #fcb045 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px;
	box-shadow: 0 10px 24px rgba(225, 48, 108, 0.28);
}

.rfe-login-card h1 {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 700;
	text-align: center;
	color: var(--rp-text);
	letter-spacing: -0.02em;
}

.rfe-login-subtitle {
	margin: 0 0 24px;
	font-size: 14px;
	color: var(--rp-muted);
	text-align: center;
}

.rfe-login-error {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 10px;
	background: #fef2f2;
	border: 1px solid #fecaca;
	color: #b91c1c;
	font-size: 13.5px;
	font-weight: 500;
}

.rfe-login-form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rfe-login-footer {
	margin-top: 22px;
	text-align: center;
	font-size: 13px;
}

.rfe-login-footer a {
	color: var(--rp-muted);
	text-decoration: none;
}

.rfe-login-footer a:hover {
	color: var(--rp-text);
}

/* ==========================================================================
   Buttons & Inputs
   ========================================================================== */

.rfe-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 9px 16px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.14s ease, box-shadow 0.16s ease;
	white-space: nowrap;
}

.rfe-btn:active:not(:disabled) {
	transform: scale(0.98);
}

.rfe-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.rfe-btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.rfe-btn--primary {
	background: var(--rp-primary);
	color: #ffffff;
}

.rfe-btn--primary:hover:not(:disabled) {
	background: var(--rp-primary-hover);
	color: #ffffff;
}

.rfe-btn--accent {
	background: linear-gradient(135deg, #833ab4 0%, #e1306c 60%, #f77737 100%);
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(225, 48, 108, 0.25);
}

.rfe-btn--accent:hover:not(:disabled) {
	filter: brightness(1.06);
	color: #ffffff;
}

.rfe-btn--secondary {
	background: var(--rp-surface);
	border-color: var(--rp-border-strong);
	color: var(--rp-text);
}

.rfe-btn--secondary:hover:not(:disabled) {
	background: var(--rp-surface-alt);
	border-color: #9ca3af;
}

.rfe-btn--ghost {
	background: transparent;
	color: var(--rp-muted);
}

.rfe-btn--ghost:hover:not(:disabled) {
	background: rgba(17, 24, 39, 0.06);
	color: var(--rp-text);
}

.rfe-btn--danger-ghost {
	background: transparent;
	color: var(--rp-danger);
}

.rfe-btn--danger-ghost:hover:not(:disabled) {
	background: #fef2f2;
}

.rfe-btn--sm {
	padding: 6px 11px;
	font-size: 12.5px;
	border-radius: 8px;
}

.rfe-btn--icon {
	width: 34px;
	height: 34px;
	padding: 0;
	border-radius: 8px;
}

.rfe-btn--block {
	width: 100%;
	padding: 12px 18px;
}

.rfe-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rfe-field label {
	font-size: 13px;
	font-weight: 600;
	color: #374151;
}

.rfe-field input[type="text"],
.rfe-field input[type="password"],
.rfe-field input[type="url"],
.rfe-field input[type="email"],
.rfe-field input[type="number"],
.rfe-field select,
.rfe-field textarea {
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid var(--rp-border-strong);
	background: #ffffff;
	color: var(--rp-text);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.4;
	transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.rfe-field textarea {
	min-height: 82px;
	resize: vertical;
}

.rfe-field input:focus,
.rfe-field select:focus,
.rfe-field textarea:focus {
	outline: none;
	border-color: var(--rp-accent);
	box-shadow: 0 0 0 3px rgba(225, 48, 108, 0.14);
}

.rfe-help {
	font-size: 12px;
	color: var(--rp-muted);
	line-height: 1.4;
}

.rfe-checkbox-row {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-size: 13.5px;
	color: #374151;
	cursor: pointer;
}

.rfe-checkbox-row input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--rp-accent);
	cursor: pointer;
}

/* Toggle Switch */
.rfe-switch-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px;
	border-radius: 11px;
	border: 1px solid var(--rp-border);
	background: var(--rp-surface-alt);
	cursor: pointer;
}

.rfe-switch-meta {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.rfe-switch-title {
	font-size: 13.5px;
	font-weight: 600;
	color: var(--rp-text);
}

.rfe-switch-desc {
	font-size: 12px;
	color: var(--rp-muted);
}

.rfe-switch {
	position: relative;
	width: 44px;
	height: 24px;
	flex-shrink: 0;
}

.rfe-switch input {
	opacity: 0;
	width: 0;
	height: 0;
	position: absolute;
}

.rfe-switch-track {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: #d1d5db;
	transition: background 0.2s ease;
}

.rfe-switch-track::after {
	content: "";
	position: absolute;
	top: 3px;
	left: 3px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
	transition: transform 0.2s ease;
}

.rfe-switch input:checked + .rfe-switch-track {
	background: var(--rp-accent);
}

.rfe-switch input:checked + .rfe-switch-track::after {
	transform: translateX(20px);
}

/* Range Slider */
.rfe-range-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rfe-range-value {
	font-size: 12.5px;
	font-weight: 700;
	color: var(--rp-accent);
	background: rgba(225, 48, 108, 0.1);
	padding: 2px 8px;
	border-radius: 999px;
}

.rfe-field input[type="range"] {
	width: 100%;
	accent-color: var(--rp-accent);
	cursor: pointer;
}

/* ==========================================================================
   Main App Layout (Topbar + Tabs + Content)
   ========================================================================== */

.rfe-portal-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 80px 20px;
	color: var(--rp-muted);
	font-size: 14px;
}

.rfe-portal-spinner {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: 3px solid #e5e7eb;
	border-top-color: var(--rp-accent);
	animation: rfe-portal-spin 0.8s linear infinite;
}

@keyframes rfe-portal-spin {
	to { transform: rotate(360deg); }
}

.rfe-topbar {
	position: sticky;
	top: 0;
	z-index: 40;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid var(--rp-border);
}

.rfe-topbar-inner {
	max-width: 1120px;
	margin: 0 auto;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}

.rfe-brand {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rfe-brand-icon {
	width: 38px;
	height: 38px;
	border-radius: 11px;
	background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 55%, #fcb045 100%);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rfe-brand-text {
	display: flex;
	flex-direction: column;
}

.rfe-brand-title {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.rfe-brand-sub {
	font-size: 12px;
	color: var(--rp-muted);
}

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

.rfe-dirty-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #fffbeb;
	border: 1px solid #fde68a;
	color: #b45309;
	font-size: 12px;
	font-weight: 600;
}

.rfe-dirty-dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #f59e0b;
}

.rfe-user-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding-left: 10px;
	border-left: 1px solid var(--rp-border);
	font-size: 13px;
	color: var(--rp-muted);
}

/* Main container */
.rfe-portal-main {
	max-width: 1120px;
	margin: 0 auto;
	padding: 22px 20px 64px;
}

/* Gallery Selector Bar */
.rfe-gallery-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
	padding: 14px 16px;
	border-radius: var(--rp-radius);
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	box-shadow: var(--rp-shadow);
}

.rfe-gallery-bar-left {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.rfe-gallery-bar-left label {
	font-size: 13px;
	font-weight: 600;
	color: var(--rp-muted);
}

.rfe-gallery-select {
	min-width: 220px;
	padding: 8px 12px;
	border-radius: 9px;
	border: 1px solid var(--rp-border-strong);
	background: #ffffff;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	color: var(--rp-text);
}

/* Navigation Tabs */
.rfe-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 20px;
	padding: 5px;
	border-radius: 13px;
	background: #e9ebef;
	overflow-x: auto;
}

.rfe-tab-btn {
	flex: 1 1 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 9px;
	border: none;
	background: transparent;
	color: #4b5563;
	font-family: inherit;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.rfe-tab-btn:hover {
	color: var(--rp-text);
}

.rfe-tab-btn--active {
	background: var(--rp-surface);
	color: var(--rp-text);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.rfe-tab-pill {
	padding: 1px 7px;
	border-radius: 999px;
	background: rgba(225, 48, 108, 0.12);
	color: var(--rp-accent);
	font-size: 11.5px;
	font-weight: 700;
}

/* Section Cards */
.rfe-card {
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: var(--rp-radius);
	padding: 22px;
	box-shadow: var(--rp-shadow);
	margin-bottom: 18px;
}

.rfe-card-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
	flex-wrap: wrap;
}

.rfe-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	color: var(--rp-text);
}

.rfe-card-desc {
	margin: 4px 0 0;
	font-size: 13px;
	color: var(--rp-muted);
}

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

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

@media (max-width: 767px) {
	.rfe-grid-2,
	.rfe-grid-4 {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Videos List & Expandable Video Cards
   ========================================================================== */

.rfe-videos-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 16px;
}

.rfe-empty-state {
	text-align: center;
	padding: 52px 24px;
	border-radius: var(--rp-radius);
	border: 2px dashed var(--rp-border-strong);
	background: var(--rp-surface);
}

.rfe-empty-state h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.rfe-empty-state p {
	margin: 0 auto 20px;
	max-width: 440px;
	font-size: 14px;
	color: var(--rp-muted);
}

.rfe-video-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.rfe-video-item {
	background: var(--rp-surface);
	border: 1px solid var(--rp-border);
	border-radius: var(--rp-radius);
	box-shadow: var(--rp-shadow);
	overflow: hidden;
	transition: border-color 0.16s ease, box-shadow 0.16s ease, opacity 0.16s ease;
}

.rfe-video-item--dragging {
	opacity: 0.45;
}

.rfe-video-item--drag-over {
	border-color: var(--rp-accent);
	box-shadow: 0 0 0 2px rgba(225, 48, 108, 0.25);
}

.rfe-video-summary {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	cursor: pointer;
	user-select: none;
}

.rfe-video-summary:hover {
	background: #fafafa;
}

.rfe-drag-handle {
	color: #9ca3af;
	cursor: grab;
	padding: 4px;
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.rfe-drag-handle:active {
	cursor: grabbing;
}

.rfe-order-num {
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: #f3f4f6;
	color: #374151;
	font-size: 12px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.rfe-video-thumb {
	width: 42px;
	height: 58px;
	border-radius: 8px;
	background: #111827;
	color: #ffffff;
	overflow: hidden;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	font-weight: 700;
}

.rfe-video-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rfe-video-info {
	flex: 1 1 auto;
	min-width: 0;
}

.rfe-video-info-top {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-bottom: 3px;
}

.rfe-source-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.01em;
}

.rfe-source-badge--upload     { background: #ede9fe; color: #5b21b6; }
.rfe-source-badge--gdrive     { background: #dcfce7; color: #166534; }
.rfe-source-badge--tiktok     { background: #f3f4f6; color: #111827; }
.rfe-source-badge--instagram  { background: #fce7f3; color: #9d174d; }
.rfe-source-badge--direct_url { background: #e0f2fe; color: #075985; }

.rfe-video-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--rp-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 420px;
}

.rfe-video-meta-line {
	font-size: 12.5px;
	color: var(--rp-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rfe-video-controls {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

/* Video Editor Body */
.rfe-video-body {
	border-top: 1px solid var(--rp-border);
	padding: 20px;
	background: #fcfcfd;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.rfe-source-pills {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.rfe-source-pill {
	padding: 8px 14px;
	border-radius: 10px;
	border: 1px solid var(--rp-border-strong);
	background: #ffffff;
	color: #374151;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.16s ease;
}

.rfe-source-pill:hover {
	border-color: #9ca3af;
}

.rfe-source-pill--active {
	background: #111827;
	border-color: #111827;
	color: #ffffff;
}

/* Upload Dropzone */
.rfe-upload-box {
	border: 1.5px dashed var(--rp-border-strong);
	border-radius: 12px;
	padding: 18px;
	background: #ffffff;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

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

.rfe-upload-progress {
	height: 8px;
	border-radius: 999px;
	background: #e5e7eb;
	overflow: hidden;
}

.rfe-upload-progress-bar {
	height: 100%;
	background: linear-gradient(90deg, #833ab4, #e1306c);
	transition: width 0.15s ease;
}

.rfe-url-status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 10px;
	border-radius: 8px;
	font-size: 12px;
	font-weight: 600;
	width: fit-content;
}

.rfe-url-status--ok {
	background: #ecfdf5;
	color: #047857;
}

.rfe-url-status--warn {
	background: #fffbeb;
	color: #b45309;
}

/* Media Image Picker Inline Preview */
.rfe-media-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.rfe-mini-preview {
	width: 50px;
	height: 50px;
	border-radius: 10px;
	background: #f3f4f6;
	border: 1px solid var(--rp-border);
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #9ca3af;
	font-size: 11px;
	flex-shrink: 0;
}

.rfe-mini-preview--circle {
	border-radius: 50%;
}

.rfe-mini-preview--ring {
	padding: 2px;
	background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
	border: none;
}

.rfe-mini-preview-empty {
	width: 100%;
	height: 100%;
	border-radius: inherit;
	background: #f3f4f6;
	color: #4b5563;
	font-size: 10.5px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
}

.rfe-mini-preview img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: inherit;
	display: block;
}

.rfe-subsection-title {
	margin: 4px 0 0;
	padding-top: 12px;
	border-top: 1px solid var(--rp-border);
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--rp-muted);
}

/* Color Picker Field */
.rfe-color-field {
	display: flex;
	align-items: center;
	gap: 10px;
}

.rfe-color-field input[type="color"] {
	width: 46px;
	height: 40px;
	padding: 2px;
	border-radius: 9px;
	border: 1px solid var(--rp-border-strong);
	background: #ffffff;
	cursor: pointer;
	flex-shrink: 0;
}

/* ==========================================================================
   Media Library Modal & Toast Notifications
   ========================================================================== */

.rfe-picker-backdrop {
	position: fixed;
	inset: 0;
	z-index: 99990;
	background: rgba(17, 24, 39, 0.65);
	backdrop-filter: blur(4px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.rfe-picker-dialog {
	width: 100%;
	max-width: 740px;
	max-height: 82vh;
	background: #ffffff;
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.rfe-picker-head {
	padding: 16px 20px;
	border-bottom: 1px solid var(--rp-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.rfe-picker-head h3 {
	margin: 0;
	font-size: 16px;
}

.rfe-picker-grid {
	padding: 18px;
	overflow-y: auto;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 12px;
}

.rfe-picker-card {
	border: 1px solid var(--rp-border);
	border-radius: 11px;
	padding: 10px;
	background: #ffffff;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	display: flex;
	flex-direction: column;
	gap: 8px;
	transition: border-color 0.15s ease, transform 0.14s ease;
}

.rfe-picker-card:hover {
	border-color: var(--rp-accent);
	transform: translateY(-2px);
}

.rfe-picker-thumb {
	width: 100%;
	height: 92px;
	border-radius: 8px;
	background: #111827;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.rfe-picker-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rfe-picker-name {
	font-size: 12.5px;
	font-weight: 600;
	color: var(--rp-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.rfe-picker-date {
	font-size: 11px;
	color: var(--rp-muted);
}

.rfe-portal-toast {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99999;
	padding: 12px 18px;
	border-radius: 12px;
	background: #111827;
	color: #ffffff;
	font-size: 13.5px;
	font-weight: 600;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24);
	transform: translateY(14px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.rfe-portal-toast--show {
	opacity: 1;
	transform: translateY(0);
}

.rfe-portal-toast--error {
	background: #b91c1c;
}

.rfe-portal-toast--success {
	background: #047857;
}
