/*  cBB Follower StyleSheet
    --------------------------------------------------------------
	Style:	All
	Copyright (c) 2025 CaniDev ( https://www.canidev.com )
    --------------------------------------------------------------
*/

/* Helpers
------------------------ */
.fw-pullcenter { text-align: center; }
.fw-pullright { float: right; }

/* Wall and Dialog
----------------------------- */
body {
	--wall-background-color: #fff;
	--wall-border-color: #e1e8ed;
}
#wall-content {
	color: #000;
	font-size: 1.1em;
	margin: 10px 0;
}

#wall-content,
#wall-content *,
#fwdialog * {
	box-sizing: border-box;
}

.wall-top-buttons {
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	clear: both;
	display: block;
	height: auto;
	line-height: 1px;
	text-align: left;
}

.wall-top-buttons {
	background: var(--wall-background-color);
	padding: 8px;
}

.wall-top-buttons a.fwbutton {
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  margin: 0 6px;
  padding: 10px 20px;
  text-decoration: none;
  vertical-align: middle;
  background-color: #4CAF50; /* Color de fondo verde */
  color: white; /* Color del texto */
  border-radius: 25px; /* Bordes redondeados */
  transition: all 0.3s ease-in-out; /* Suavizado de transición */
}

/* Efecto cuando el botón es hover */
.wall-top-buttons a.fwbutton:hover {
  background-color: #45a049; /* Color más oscuro al pasar el mouse */
  transform: scale(1.1); /* Aumenta el tamaño del botón */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Sombra para resaltar */
}

/* Efecto de foco (cuando el botón es seleccionado) */
.wall-top-buttons a.fwbutton:focus {
  outline: none;
  box-shadow: 0 0 10px rgba(255, 165, 0, 0.8); /* Resaltado con un contorno anaranjado */
}

/* Animación de pulsación al hacer clic */
.wall-top-buttons a.fwbutton:active {
  transform: scale(0.95); /* Hace que el botón se "contraiga" un poco */
  background-color: #388e3c; /* Color más oscuro al hacer clic */
}


.wall-top-buttons .fwbutton .fa {
	font-size: 1.6em;
	margin-right: 5px;
	vertical-align: middle;
}

#wall-header {
	background-size: 100% 100%;
	border: none;
	border-radius: 0;
	display: block;
	height: 145px;
	margin: 0;
	padding-top: 5px;
	text-align: left;
}

#wall-header.has-image {
	background: #b5b5b5 none 50% 50% no-repeat;
	background-size: 100% auto;
}

#wall-tabs {
	background-color: var(--wall-background-color);
	font-size: 12px;
	padding: 0 10px;
}

#wall-tabs a.tab {
	border-bottom: 4px solid transparent;
	display: inline-block;
	height: 50px;
	line-height: 1em;
	margin: 0 2px;
	text-align: center;
	text-transform: uppercase;
	padding: 10px 15px 7px;
	text-decoration: none;
	vertical-align: bottom;
}

#wall-tabs a.tab.active {
	font-weight: bold;
}

#wall-tabs a.tab.fw-tab-menu,
#wall-tabs a.tab.fw-tab-info {
	display: none;
}

#wall-tabs a.tab.fw-tab-menu {
	border-bottom: none;
	font-size: 24px;
    line-height: 28px;
	margin-right: 10px;
}

#wall-tabs a.tab .fw-counter {
	display: block;
	font-size: 1.35em;
	font-weight: bold;
	margin-top: 0.45em;
}

#wall-tabs a.tab.titleonly {
	line-height: 30px;
}

#wall-tabs .fwbutton {
	margin-top: 12px;
}

.cbb-menu.wall-tabs-menu {
    width: 180px;
}

.cbb-menu.wall-tabs-menu a {
	padding: 10px 14px;
}

.cbb-menu.wall-tabs-menu a .fw-counter {
	float: right;
    font-weight: bold;
}

#wall-wrap {
	border-top: 1px solid var(--wall-border-color);
	padding: 8px 8px 4px 8px;
}

.wall-main-content {
	background-color: var(--wall-background-color);
	float: left;
	width: 69%;
	min-height: 400px;
	margin-bottom: 8px;
}

.wall-right-side {
	background-color: var(--wall-background-color);
	width: 30%;
	padding: 10px;
	margin-bottom: 8px;
	float: right;
	clear: right;
}

.fw-info-mode .wall-right-side {
	display: block;
	float: none;
	width: auto;
}

.wall-right-side dl {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten en varias filas */
    gap: 10px; /* Espacio entre los recuadros */
    padding: 20px;
    justify-content: flex-start; /* Alinea los recuadros a la izquierda */
}

.wall-right-side dl dt,
.wall-right-side dl dd {
    font-size: 14px;
    width: calc(50% - 10px);  /* Ancho de cada recuadro, 50% menos el gap entre ellos */
    display: inline-block;    /* Hace que los recuadros estén en línea */
}

.wall-right-side dl dt {
    font-weight: bold;        /* Negrita para el término (label) */
    color: #333;              /* Color oscuro para el término */
}

.wall-right-side dl dd {
    margin: 0;                /* Elimina el margen por defecto de los <dd> */
    color: #666;              /* Color más suave para los valores */
}



.wall-right-side dt {
	width: 40%;
}

.wall-right-side dd {
	text-align: left;
	width: 55%;
}

.wall-main-content h2,
.wall-right-side h2 {
	font-family: Arial;
	font-size: 1.4em;
	font-weight: bold;
	margin: 0 0 10px 0;
}

.wall-main-content h2 {
	margin: 10px;
}

.wall-user-details {
	list-style-type: none;
	padding: 0;
}

.wall-user-details li {
	display: block;
	padding: 5px;
}

.wall-user-details .fa {
	font-size: 1.4em;
    vertical-align: middle;
    width: 20px;
}

#wall-content,
.wall-main-content,
.wall-right-side,
#wall-user-stats {
	border: 1px solid var(--wall-border-color);
}

/* espacio entre imagen y texto en perfil*/
.row-text.js-row-text p {
	line-height: 1.2em;
	font-size: 1.0em;
	margin-bottom: 1.5em;
}

.wall-row {
	border-bottom: 1px solid var(--wall-border-color);
	line-height: 15px;
	padding: 10px 20px;
	text-align: left;
	min-height: 48px;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	position: relative;
}

.wall-row:last-child {
	border-bottom-width: 0;
}

.wall-row.main {
	border-bottom: none;
	padding: 0 20px 10px 20px;
}

.wall-row.main .comment-text {
	font-size: 18px;
	font-weight: normal;
	line-height: 24px;
	padding: 8px 0px 2px;
}

.wall-row .fw-content {
	margin-left: 64px;
}

.wall-row .fw-counter {
	font-size: 0.9em;
}

.wall-row .fw-row-user-buttons {
	float: right;
}

.wall-row,
.wall-user-details {
	font-size: 15px;
}

#wall-avatar {
	float: left;
	margin: 18px;
	position: relative;
}

#wall-avatar,
#wall-avatar .fw-user-avatar {
	width: 150px;
	height: 150px;
}

#wall-avatar .wall-user-online {
	background: #0eb50e;
	bottom: 8px;
	border-radius: 50%;
	height: 16px;
	position: absolute;
    right: 6px;
	width: 16px;
}

#wall-aboutme {
	margin-left: 135px;
	/*color: #fff;*/
	padding-top: 12px;
}

.has-image #wall-aboutme {
	text-shadow: 0 0 4px #000;
}

#wall-aboutme .full-name {
	font-size: 18px;
	font-weight: bold;
}

#wall-aboutme .full-name {
  font-size: 40px;
  font-weight: bold;
  color: white;
  font-variant-caps: small-caps;   /* Aplica small caps con distinción */
  text-transform: none;            /* No cambiar el caso del texto (mantener mayúsculas y minúsculas originales) */
  text-shadow: 
    0 0 5px rgba(0, 0, 255, 0.8),  /* Resplandor azul */
    0 0 10px rgba(0, 0, 255, 0.8), 
    0 0 15px rgba(0, 0, 255, 0.8);
  animation: neonPulse 3s ease-in-out infinite;
}

@keyframes neonPulse {
  0% {
    color: white;
    text-shadow: 
      0 0 5px rgba(0, 0, 255, 0.8),
      0 0 10px rgba(0, 0, 255, 0.8),
      0 0 15px rgba(0, 0, 255, 0.8);
  }
  50% {
    color: white;
    text-shadow: 
      0 0 5px rgba(255, 20, 147, 0.8),  /* Resplandor rosado */
      0 0 10px rgba(255, 20, 147, 0.8),
      0 0 15px rgba(255, 20, 147, 0.8);
  }
  100% {
    color: white;
    text-shadow: 
      0 0 5px rgba(0, 0, 255, 0.8),
      0 0 10px rgba(0, 0, 255, 0.8),
      0 0 15px rgba(0, 0, 255, 0.8);
  }
}

/* Clase para avatares de usuario - VERSIÓN MEJORADA */
.fw-user-avatar {
	border-radius: 50%;
	float: left;
	overflow: hidden;
	position: relative;
	background-color: #f3f4f6;
	border: 2px solid #e5e7eb;
	width: 50px; /* Tamaño por defecto para wall rows */
	height: 50px; /* Tamaño por defecto para wall rows */
	flex-shrink: 0; /* Evitar que se reduzca */
}

/* Imagen dentro del avatar - VERSIÓN MEJORADA */
.fw-user-avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Esto es clave para que la imagen se ajuste */
	display: block;
	position: static; /* Reset de posición absoluta anterior */
	transform: none; /* Reset de transform anterior */
	left: auto; /* Reset de left anterior */
	top: auto; /* Reset de top anterior */
}

/* Tamaños específicos para diferentes contextos */
#wall-avatar .fw-user-avatar {
	width: 150px;
	height: 150px;
}

.who-follow-row .fw-user-avatar {
	width: 32px;
	height: 32px;
}

.fw-user-selector .fw-user-avatar {
	width: 20px;
	height: 20px;
}

.fw-user-card .fw-user-avatar {
	width: 40px;
	height: 40px;
}

.avatar-inline .fw-user-avatar {
	width: 24px;
	height: 24px;
}

/* Fallback para versiones antiguas - mantener compatibilidad */
.fw-user-avatar .cbb-no-avatar {
	height: 100%;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2em;
	color: #9ca3af;
}

.wall-row .row-share-info {
	padding: 0 0 5px 40px;
}

.wall-row .fw-row-header .fw-icon {
	margin: 0 5px 0 2px;
}

.wall-row .row-text {
	margin-top: 5px;
}

.wall-row[data-type="comment"] .row-text {
	cursor: pointer;
}

.wall-row .row-small,
.fwsmall-text {
	font-size: 0.9em;
	color: #999;
}

.wall-row .row-actions {
	align-items: center;
	display: flex;
	gap: 30px;
	margin-top: 12px;
}

.wall-row .row-actions a {
	align-items: center;
	display: flex;
	gap: 5px;
	opacity: 0.4;
	text-decoration: none;
	white-space: nowrap;
}

.wall-row .row-actions a i {
	font-size: 16px;
}

.wall-row .row-actions a.disabled {
	cursor: default;
}

.wall-row .fw-options-dropdown {
	float: right;
	font-size: 1.1em;
	margin-right: -5px;
	opacity: 0.4;
}

.wall-row .row-actions a:not(.disabled):hover,
.wall-row .fw-options-dropdown:hover,
.wall-row .row-actions a.active {
	opacity: 1;
}

a[data-action="share"].active {
	color: #17bf63;
}

a[data-action="like"].active,
a[data-action="like"].active .icon {
	color: #e0245e;
}

.fw-pagination-container {
	margin: 10px 0 5px 0;
	text-align: center;
}

.post-buttons .fw-counter {
	font-size: 0.8em !important;
    vertical-align: top;
    line-height: 16px
}

#fwdialog .cbb-dialog-content {
	min-height: 80px;
}

#fwdialog .cbb-dialog-content > .cbb-loading {
	height: 40px;
	margin: 0 auto;
	width: 40px;
}

#fwdialog .cbb-dialog-content > .cbb-loading > span {
	height: 40px;
	margin-top: -20px;
	margin-left: -20px;
	width: 40px;
}

#fwdialog .wall-row {
	border: none;
	margin-bottom: 10px;
	padding-top: 0;
}

.fw-replies-separator {
	border-bottom: 1px solid var(--wall-border-color);
	padding-bottom: 5px;
	margin-bottom: 15px;
	margin-top: 20px;
}

.avatar-inline {
	display: inline-block;
	float: none;
	overflow: hidden;
	width: 24px;
    height: 24px;
}

.who-follow-row {
	margin-bottom: 15px;
}

.who-follow-row .fw-user-avatar {
	width: 32px;
	height: 32px;
}

.who-follow-row .row-content {
	margin-left: 40px;
	text-align: left;
}

.wall-notice {
	font-size: 12px;
	padding: 10px 20px;
}

.fw-comment-extra {
	float: left;
}

.fw-comment-extra a.cbb-btn {
	font-size: 1.2em;
	min-width: 34px;
	text-align: center;
}

#wall-content,
.wall-main-content,
.wall-right-side,
#wall-user-stats {
	border-radius: 6px;
}

.fw-row-attachments {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.fw-row-attachments li {
	display: inline-block;
	margin-right: 5px;
	max-width: 20%;
}

.fw-row-attachments img {
	height: auto;
	max-width: 100%;
}

/* Follow button
-------------------------*/
.follow-text,
.unfollow-text,
.following-text {
	display: none;
}

.follow .follow-text,
.following .following-text,
.unfollow .unfollow-text {
	display: inline;
}

.fwbutton.follow .fa:before		{ content: "\f055"; }
.fwbutton.following .fa:before	{ content: "\f00c"; }
.fwbutton.unfollow .fa:before	{ content: "\f057"; }

/* Trend list
-------------------------*/
.trendlist {
	list-style-type: none;
	padding: 0;
	text-align:left;
}

.trendlist li {
	padding: 4px;
}

/* Menu
-------------------------*/
.fw-user-selector {
	max-height: 200px;
	overflow: auto;
}

.fw-user-selector li a {
	line-height: 16px;
	padding: 6px 10px;
}

.fw-user-selector .fw-user-avatar {
    height: 20px;
    width: 20px;
}

.fw-user-selector li a > span {
	margin-left: 5px;
}

.fw-user-selector .fw-user-avatar,
.fw-user-selector li a > span {
	vertical-align: middle;
}

/* Editor, mentions and tags
------------------------- */
.fw-comment-box {
	position: relative;
}

.fw-comment-box textarea,
.fw-comment-box .fw-editor {
	border: 1px solid #ccc;
	height: 2.5em;
	outline: none;
	scrollbar-width: thin;
    width: 100%;
}

.fw-comment-box.active textarea,
.fw-comment-box.active .fw-editor {
	height: 65px;
    width: 100%;
}

.fw-comment-box .fw-editor-buttons {
	display: none;
	margin-top: 5px;
	text-align: right;
}

.fw-comment-box.active .fw-editor-buttons {
	display: block;
}

.fw-editor {
	overflow: hidden;
	padding: 5px 40px 5px 5px;
}

.fw-editor-smilies {
	position: absolute;
    right: 13px;
    top: 6px;
    font-size: 1.5em;
}

.fw-editor-counter {
	align-items: center;
	gap: 2px;
	position: absolute;
	right: 12px;
	top: 40px;
}

.fw-editor-counter > svg {
	overflow: visible;
	transform: rotate(-90deg);
}

.fw-editor-counter > span {
	color: #e0245e;
	font-size: 0.8em;
}

.fw-editor-smilies,
.fw-editor-counter {
	display: none;
	line-height: 1.2em;
}

.fw-comment-box.active .fw-editor {
	overflow: auto;
}

.fw-comment-box.active .fw-editor-smilies {
	display: block;
}

.fw-comment-box.active .fw-editor-counter {
	display: flex;
}

.fw-editor-counter .safe {
	stroke: #1da1f2;
}

.fw-editor-counter .warn {
	stroke: #ffad1f;
}

.fw-editor-counter .danger {
	stroke: #e0245e;
}

.fw-editor-counter .mask {
	stroke: #ccd6dd;
}

a.mention {
	font-weight: bold;
}

.fw-editor a.mention:hover {
	text-decoration: none;
}

.fw-editor-attachments .attachment {
	margin: 4px;
}

.fw-smiley-container {
	max-height: 200px;
	max-width: 250px;
	overflow: auto;
}

.fw-smiley-container > a {
	display: inline-block;
    margin: 4px;
}

.fw-editor[placeholder]:empty:before {
	content: attr(placeholder);
	cursor: text;
	display: block;
	line-height: 1.5em;
	opacity: 0.7;
}

/* User card
------------------------------ */
.fw-user-card {
	font-size: 12px;
	width: 250px;
}

.fw-card-header {
	align-items: center;
	border-radius: 4px 4px 0 0;
	display: flex;
    height: 40px;
	justify-content: flex-end;
    margin: -2px;
    margin-bottom: 40px;
	padding: 0 10px;
    position: relative;
	z-index: 1;
}

.fw-card-header.navbar {
	border: none;
	float: none;
	overflow: visible;
	width: auto;
}

.fw-card-header.navbar:before,
.fw-card-header.navbar:after {
	display: none;
}

.fw-user-card .screen-name {
	font-size: 1.1em;
    font-weight: bold;
}

.fw-user-card .fw-user-avatar {
	width: 40px;
    height: 40px;
    position: absolute;
    left: 10px;
    top: 25px;
    border: 2px solid #fff;
}

.fw-user-card .fwbutton {
	position: absolute;
    right: 10px;
    top: 45px;
}

.fw-card-text {
	padding: 4px;
}

.fw-card-stats {
	font-size: 0.95em;
	list-style-type: none;
    margin: 10px 0;
	padding: 0;
	text-align: center;
}

.fw-card-stats li {
	display: inline-block;
    vertical-align: top;
    margin: 0 8px;
}

.fw-card-stats li > span {
	display: block;
    font-weight: bold;
    font-size: 1.5em;
}

/* Embed mode
------------------------------- */
html.embedmode {
	height: auto;
}

.embedmode body {
	margin: 0;
	padding: 0;
}

.embedmode #wall-content {
	border: none;
	margin: 0;
}

.embedmode #wall-content,
.embedmode .wall-top-buttons {
	border-radius: 0;
}

/* Clear
------------------------------ */
#wall-wrap:after,
.wall-top-buttons:after,
.wall-right-side:after,
.wall-row:after,
.who-follow-row:after,
.fw-comment-box:after,
.fw-user-selector li a:after {
	content: "";
	display: block;
	clear: both;
}

/* RTL
------------------------------ */
.rtl .wall-right-side,
.rtl .fw-pullright,
.rtl .wall-row .fw-row-user-buttons,
.rtl .cbb-menu.wall-tabs-menu a .fw-counter {
	float: left;
}

.rtl .fw-pullleft,
.rtl .wall-main-content,
.rtl .fw-user-avatar,
.rtl #wall-avatar,
.rtl .fw-comment-extra {
	float: right;
}

.rtl .wall-right-side {
	clear: left;
}

.rtl #wall-avatar .wall-user-online {
	left: 6px;
	right: unset;
}

.rtl #wall-aboutme {
	margin-left: auto;
	margin-right: 135px;
}

.rtl .wall-top-buttons,
.rtl #wall-header,
.rtl .wall-row,
.rtl .trendlist {
	text-align: right;
}

.rtl .wall-top-buttons .fwbutton .fa {
	margin-left: 5px;
	margin-right: unset;
}

.rtl .wall-row .fw-content {
	margin-left: 0;
	margin-right: 64px;
}

.rtl .wall-row .fw-options-dropdown {
	float: left;
}

.rtl .wall-row .row-actions a {
	margin-left: 28px;
	margin-right: unset;
}

.rtl .wall-user-details li > strong {
	float: right;
    margin-left: 5px;
}

.rtl .fw-editor {
	padding-left: 40px;
	padding-right: 5px;
}

.rtl .fw-editor-smilies {
	left: 14px;
	right: unset;
}

.rtl .fw-editor-counter {
	left: 12px;
	right: unset;
}

.rtl .who-follow-row .row-content {
	margin-left: 0;
	margin-right: 40px;
	text-align: right;
}

.rtl .fw-user-card .fw-user-avatar {
	left: unset;
	right: 10px;
}

/* Dark Theme
------------------------------ */
.dark-theme #wall-content {
	--wall-background-color: #262626;
	--wall-border-color: #282828;
}

.dark-theme #wall-content {
	color: #a9a9a9;
}

.dark-theme .wall-main-content,
.dark-theme .wall-right-side {
	--wall-background-color: #2f2f2f;
}

.dark-theme .fw-user-card .fw-user-avatar {
	border-color: #1f1f1f;
}

.dark-theme .fw-comment-box textarea,
.dark-theme .fw-comment-box .fw-editor,
.dark-theme .fw-replies-separator {
	border-color: #444;
}

.dark-theme .fw-editor-counter .mask {
    stroke: #444;
}

.dark-theme .fw-editor-counter .safe {
	stroke: #cecece;
}

/* Responsive Layout
------------------------------- */
@media only screen and (max-width: 768px) {
	#wall-tabs a.tab,
	.wall-right-side {
		display: none;
	}
	
	.fw-info-mode .wall-right-side {
		display: block;
	}
	
	#wall-tabs a.tab.active,
	#wall-tabs a.tab.fw-tab-menu	{
		display: inline-block;
	}
	
	.wall-main-content,
	.rtl .wall-main-content,
	.wall-right-side {
		float: none;
		width: auto;
	}
}

@media only screen and (max-width: 500px) {
	.wall-top-buttons > a > span {
		display: none;
	}
}

@media only screen and (max-width: 425px) {
	#wall-header {
		height: 80px;
	}

	#wall-avatar {
		margin: 16px;
	}
	
	#wall-avatar,
	#wall-avatar .fw-user-avatar {
		width: 40px;
		height: 40px;
	}
	
	#wall-avatar .wall-user-online {
		bottom: 0;
		height: 14px;
		right: 0;
		width: 14px;
	}
	
	#wall-aboutme {
		margin-left: 90px;
	}

	.rtl #wall-aboutme {
		margin-right: 90px;
	}
	
	#wall-aboutme .full-name {
		font-size: 14px;
	}

	.wall-row .fw-row-user-buttons {
		left: 35%;
		position: absolute;
		top: 35px;
	}
}