/* Red Social WP – Mejoras para BuddyPress: estilos ligeros, pensados para
   integrarse con la mayoría de temas compatibles con BuddyPress sin
   imponer un diseño propio agresivo. */

.rswpb-follow-button {
	cursor: pointer;
}

.rswpb-follow-button.is-following {
	opacity: 0.8;
}

.rswpb-member-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rswpb-member-list li {
	display: flex;
	align-items: center;
	gap: 0.5em;
	padding: 0.5em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rswpb-member-list img {
	border-radius: 50%;
}

.rswpb-events-list {
	display: flex;
	flex-direction: column;
	gap: 1.25em;
}

.rswpb-event-card {
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 8px;
	padding: 1em 1.25em;
}

.rswpb-event-card h3 {
	margin-top: 0;
}

.rswpb-event-meta {
	color: rgba(0, 0, 0, 0.6);
	font-size: 0.9em;
}

.rswpb-rsvp-buttons {
	margin-top: 0.75em;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5em;
}

.rswpb-rsvp.is-active {
	font-weight: 600;
	text-decoration: underline;
}

.rswpb-rsvp-counts {
	margin: 0;
	color: rgba(0, 0, 0, 0.6);
	font-size: 0.9em;
}

.rswpb-event-form p {
	margin-bottom: 0.75em;
}

.rswpb-event-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.25em;
}

.rswpb-event-form input[type="text"],
.rswpb-event-form input[type="datetime-local"],
.rswpb-event-form textarea {
	width: 100%;
	max-width: 480px;
}

.rswpb-event-form-message {
	color: #b32d2e;
}

.rswpb-following-feed .activity-item {
	display: flex;
	gap: 0.75em;
	padding: 0.75em 0;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rswpb-following-feed .activity-avatar img {
	border-radius: 50%;
}

/* Widget de barra lateral "Próximos eventos". */
.rswpb-events-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rswpb-events-widget-item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rswpb-events-widget-item:last-child {
	border-bottom: none;
}

.rswpb-events-widget-link {
	display: flex;
	align-items: center;
	gap: 0.7em;
	padding: 0.55em 0;
	text-decoration: none;
	color: inherit;
}

.rswpb-events-widget-date {
	flex: none;
	background: rgba(63, 94, 251, 0.1);
	color: #2f45c9;
	border-radius: 8px;
	text-align: center;
	padding: 0.3em 0.5em;
	min-width: 2.6em;
	font-weight: 700;
	line-height: 1.15;
}

.rswpb-events-widget-date .n {
	display: block;
	font-size: 0.95em;
}

.rswpb-events-widget-date .m {
	font-size: 0.65em;
	text-transform: uppercase;
}

.rswpb-events-widget-info .t {
	display: block;
	font-size: 0.9em;
	font-weight: 600;
}

.rswpb-events-widget-info .l {
	display: block;
	font-size: 0.78em;
	color: rgba(0, 0, 0, 0.55);
}

.rswpb-widget-empty {
	font-size: 0.85em;
	color: rgba(0, 0, 0, 0.55);
}

/* Widget de barra lateral "Últimas entradas". */
.rswpb-posts-widget-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.rswpb-posts-widget-item {
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.rswpb-posts-widget-item:last-child {
	border-bottom: none;
}

.rswpb-posts-widget-link {
	display: block;
	padding: 0.6em 0;
	text-decoration: none;
	color: inherit;
}

.rswpb-posts-widget-link .t {
	display: block;
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.3;
}

.rswpb-posts-widget-link .e {
	display: block;
	font-size: 0.8em;
	color: rgba(0, 0, 0, 0.6);
	margin-top: 0.2em;
	line-height: 1.4;
}

.rswpb-posts-widget-link .d {
	display: block;
	font-size: 0.72em;
	color: rgba(0, 0, 0, 0.45);
	margin-top: 0.3em;
}

/* Widget "Buzón de sugerencias". */
.rswpb-suggestion-intro {
	font-size: 0.85em;
	color: rgba(0, 0, 0, 0.6);
	margin-top: 0;
}

.rswpb-suggestion-form input[type="text"],
.rswpb-suggestion-form input[type="email"],
.rswpb-suggestion-form textarea {
	width: 100%;
	font-family: inherit;
	font-size: 0.9em;
	padding: 0.5em 0.6em;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 6px;
}

.rswpb-suggestion-form textarea {
	resize: vertical;
}

.rswpb-suggestion-form p {
	margin-bottom: 0.6em;
}

/* Campo trampa antispam: oculto para personas, visible para bots torpes. */
.rswpb-hp-field {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rswpb-suggestion-message {
	font-size: 0.85em;
	margin-top: 0.4em;
}

.rswpb-suggestion-message.is-success {
	color: #1f9d55;
}

.rswpb-suggestion-message.is-error {
	color: #b32d2e;
}
