/* ==========================================================================
   FEIVER — Botón flotante de Emergencias + Tarjeta Handle RSI en BuddyNext
   ========================================================================== */

.feiver-emg-fab {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 9990;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	padding: 11px 16px;
	background: #111822;
	color: #f3d0d0 !important;
	border: 1px solid rgba(217, 107, 107, 0.48);
	border-radius: 6px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.42), inset 0 0 0 1px rgba(217, 107, 107, 0.14);
	text-decoration: none !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.feiver-emg-fab:hover {
	transform: translateY(-2px);
	background: #18212e;
	border-color: #d96b6b;
	color: #ffffff !important;
}

.feiver-emg-fab__pulse {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #d96b6b;
	box-shadow: 0 0 0 0 rgba(217, 107, 107, 0.7);
	animation: feiverEmgBeacon 2.2s infinite;
}

.feiver-emg-fab__icon {
	color: #d96b6b;
	flex-shrink: 0;
}

.feiver-emg-fab__ext {
	font-size: 11px;
	opacity: 0.75;
}

@keyframes feiverEmgBeacon {
	0% { box-shadow: 0 0 0 0 rgba(217, 107, 107, 0.65); }
	70% { box-shadow: 0 0 0 8px rgba(217, 107, 107, 0); }
	100% { box-shadow: 0 0 0 0 rgba(217, 107, 107, 0); }
}

/* Shortcode inline */
.feiver-emg-inline-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: #111822;
	color: #f3d0d0 !important;
	border: 1px solid rgba(217, 107, 107, 0.5);
	border-radius: 5px;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 13px;
}

.feiver-emg-inline-btn:hover {
	background: #1b2534;
	border-color: #d96b6b;
	color: #fff !important;
}

.feiver-emg-inline-btn__dot {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #d96b6b;
}

/* Tarjeta de Handle RSI en Editar Perfil de BuddyNext */
.feiver-bn-rsi-card {
	max-width: 1120px;
	margin: 0 auto 18px;
	padding: 18px 20px;
	background: #111822;
	color: #e7eef6;
	border: 1px solid rgba(101, 184, 201, 0.34);
	border-left: 3px solid #65b8c9;
	border-radius: 8px;
}

.feiver-bn-rsi-card__head {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 6px;
}

.feiver-bn-rsi-card__badge {
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	padding: 2px 7px;
	border-radius: 3px;
	background: rgba(101, 184, 201, 0.15);
	color: #65b8c9;
}

.feiver-bn-rsi-card__title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: #e7eef6;
}

.feiver-bn-rsi-card__desc {
	margin: 0 0 12px;
	font-size: 13px;
	color: #a2b2c5;
	line-height: 1.45;
}

.feiver-bn-rsi-card__row {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.feiver-bn-rsi-card__input {
	flex: 1;
	min-width: 220px;
	padding: 9px 12px;
	background: #0a0e14;
	border: 1px solid rgba(154, 178, 204, 0.28);
	border-radius: 5px;
	color: #e7eef6;
	font-size: 14px;
}

.feiver-bn-rsi-card__input:focus {
	outline: none;
	border-color: #65b8c9;
}

.feiver-bn-rsi-card__btn {
	padding: 9px 16px;
	background: rgba(101, 184, 201, 0.18);
	color: #bfe9f2;
	border: 1px solid rgba(101, 184, 201, 0.45);
	border-radius: 5px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.feiver-bn-rsi-card__btn:hover:not(:disabled) {
	background: rgba(101, 184, 201, 0.3);
	color: #fff;
}

.feiver-bn-rsi-card__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 8px;
	font-size: 12px;
	min-height: 18px;
}

.feiver-bn-rsi-card__status {
	color: #a2b2c5;
}

.feiver-bn-rsi-card__status.is-ok {
	color: #64b88c;
}

.feiver-bn-rsi-card__status.is-error {
	color: #d96b6b;
}

.feiver-bn-rsi-card__link {
	color: #65b8c9 !important;
	text-decoration: none;
	font-weight: 600;
}

.feiver-bn-rsi-card__link:hover {
	text-decoration: underline;
}

@media (max-width: 640px) {
	.feiver-emg-fab {
		right: 14px;
		bottom: 72px;
		padding: 10px 13px;
		font-size: 12px;
	}
}
