﻿/* Theme Claro — Facebook light (FDS) */
body.theme_claro {
	--page-bg: #f0f2f5;
	--wp-bg: #f0f2f5;
	--body-bg: #f0f2f5;
	--card-bg: #ffffff;
	/* Wash / hover (light). Secondary buttons use --btn-secondary. */
	--surface-2: #f0f2f5;
	--surface-hover: #e4e6eb;
	--btn-secondary: #e4e6eb;
	--btn-secondary-hover: #d8dadf;
	--line: #ced0d4;
	--wp-border: #ced0d4;
	--border: #ced0d4;
	--divider: #e4e6eb;
	--text-main: #050505;
	--text-muted: #65676b;
	--text-soft: #65676b;
	--text-faint: #8a8d91;
	--text-placeholder: #8a8d91;
	--shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	--shadow-hover: 0 2px 8px rgba(0, 0, 0, 0.15);
	--shadow-modal: 0 12px 28px rgba(0, 0, 0, 0.2);
	--wp-blue: #0866ff;
	--wp-blue-dark: #0759db;
	--primary: #0866ff;
	--primary-hover: #0759db;
	--primary-soft: #e7f3ff;
	--theme: #0866ff;
	--theme-dark: #0759db;
	--info: #0866ff;
	--accent: #0866ff;
	--sidebar-active: #0866ff;
	--success: #31a24c;
	--danger: #fa3e3e;
	--warning: #f7b928;
	--live-rail-bg: #ffffff;
	--live-rail-border: #ced0d4;
	--live-rail-shadow: none;
	--live-rail-face-ring: #ffffff;
	--glass-fade: #ffffff;
	--wp-input-bg: #f0f2f5;
	--wp-input-border: transparent;
	--radius: 8px;
	--radius-lg: 8px;
}

body.theme_claro.site_body,
body.theme_claro.admin_body,
body.theme_claro.site_body.has-feed-wallpaper {
	background: #f0f2f5 !important;
	background-attachment: scroll;
	color: #050505;
}

body.theme_claro.has-feed-wallpaper .composer-card,
body.theme_claro.has-feed-wallpaper .rang,
body.theme_claro.has-feed-wallpaper .card,
body.theme_claro.has-feed-wallpaper .post-card {
	background: #ffffff;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}

/* —— Header —— */
body.theme_claro:is(.site_body, .admin_body) .site-header {
	--header-pip-ring: #ffffff;
	--glass-fade: #ffffff;
	background: #ffffff !important;
	border-bottom: 1px solid #e4e6eb;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
	overflow: visible;
}

body.theme_claro .site-header::before {
	content: none !important;
	display: none !important;
}

body.theme_claro:is(.site_body, .admin_body) .logo {
	color: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .header-search-wrap {
	background: #f0f2f5 !important;
	border: 0 !important;
	box-shadow: none !important;
}

body.theme_claro:is(.site_body, .admin_body) .header-search-wrap:focus-within {
	background: #ffffff !important;
	box-shadow: 0 0 0 2px #e7f3ff, 0 0 0 4px #0866ff !important;
}

body.theme_claro:is(.site_body, .admin_body) .header-search-wrap i,
body.theme_claro:is(.site_body, .admin_body) .header-search-wrap svg {
	color: #65676b;
	stroke: #65676b;
}

body.theme_claro:is(.site_body, .admin_body) .header-search-input {
	color: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .header-search-input::placeholder {
	color: #65676b;
	opacity: 1;
}

/* FB-style circular chrome buttons */
body.theme_claro:is(.site_body, .admin_body) .nav-actions {
	gap: 10px;
	align-items: center;
}

body.theme_claro:is(.site_body, .admin_body) .nav-actions .icon-btn {
	width: 40px !important;
	height: 40px !important;
	min-width: 40px;
	padding: 0 !important;
	border-radius: 50% !important;
	background: #e4e6eb !important;
	color: #050505 !important;
	border: 0 !important;
}

body.theme_claro:is(.site_body, .admin_body) .nav-actions .icon-btn:hover,
body.theme_claro:is(.site_body, .admin_body) .nav-actions .icon-btn:focus-visible {
	background: #d8dadf !important;
	color: #050505 !important;
}

body.theme_claro:is(.site_body, .admin_body) .nav-actions .icon-btn__mark {
	width: 20px;
	height: 20px;
}

body.theme_claro:is(.site_body, .admin_body) .nav-actions .icon-btn__mark svg,
body.theme_claro:is(.site_body, .admin_body) .nav-actions .icon-btn__mark i {
	width: 20px !important;
	height: 20px !important;
	stroke-width: 2.2;
	color: #050505;
	stroke: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .nav-actions .divider-v {
	display: none;
}

body.theme_claro:is(.site_body, .admin_body) .header-guest__name {
	color: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .header-guest__login {
	color: #65676b;
}

body.theme_claro:is(.site_body, .admin_body) .header-guest__login:hover,
body.theme_claro:is(.site_body, .admin_body) .header-guest__login:focus-visible {
	color: #0866ff;
}

body.theme_claro:is(.site_body, .admin_body) .site-header .profile-trigger .avatar-wrap.avatar-head .avatar {
	border-color: #ced0d4;
	box-shadow: none;
}

/* —— Left side rail —— */
body.theme_claro.site_body .side-rail__inner {
	background: #ffffff !important;
	border-right: 1px solid #e4e6eb !important;
	backdrop-filter: none !important;
	-webkit-backdrop-filter: none !important;
	box-shadow: 1px 0 0 rgba(0, 0, 0, 0.04);
}

body.theme_claro.site_body .side-rail__sep {
	background: #ced0d4 !important;
	opacity: 1;
}

body.theme_claro.site_body .side-rail__btn {
	color: #050505 !important;
}

body.theme_claro.site_body .side-rail__btn i,
body.theme_claro.site_body .side-rail__btn svg {
	color: #050505 !important;
	stroke: #050505 !important;
	stroke-width: 2.15;
	opacity: 1 !important;
}

body.theme_claro.site_body .side-rail__btn:hover,
body.theme_claro.site_body .side-rail__btn:focus-visible {
	background: #e4e6eb !important;
	color: #0866ff !important;
}

body.theme_claro.site_body .side-rail__btn:hover i,
body.theme_claro.site_body .side-rail__btn:hover svg,
body.theme_claro.site_body .side-rail__btn:focus-visible i,
body.theme_claro.site_body .side-rail__btn:focus-visible svg {
	color: #0866ff !important;
	stroke: #0866ff !important;
}

body.theme_claro.site_body .side-rail__btn.is-playing,
body.theme_claro.site_body .side-rail__btn.is-playing:hover {
	color: #f7b928 !important;
	background: #fef6e0 !important;
}

/* —— Cards / feed (FB: white + soft shadow, no hard border) —— */
body.theme_claro:is(.site_body, .admin_body) .card,
body.theme_claro:is(.site_body, .admin_body) .post-card,
body.theme_claro:is(.site_body, .admin_body) .composer-card,
body.theme_claro:is(.site_body, .admin_body) .rang,
body.theme_claro:is(.site_body, .admin_body) .feed-flash-card,
body.theme_claro:is(.site_body, .admin_body) .feed-search-card {
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

@media (hover: hover) and (pointer: fine) {
	body.theme_claro:is(.site_body, .admin_body) .post-card:hover {
		transform: none;
		border-color: transparent !important;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 2px 8px rgba(0, 0, 0, 0.08) !important;
	}
}

body.theme_claro:is(.site_body, .admin_body) .post-actions {
	border-top: 1px solid #e4e6eb !important;
}

body.theme_claro:is(.site_body, .admin_body) .action-btn {
	color: #65676b !important;
}

body.theme_claro:is(.site_body, .admin_body) .action-btn:hover {
	background: #f0f2f5 !important;
	color: #050505 !important;
}

body.theme_claro:is(.site_body, .admin_body) .post-meta,
body.theme_claro:is(.site_body, .admin_body) .post-handle,
body.theme_claro:is(.site_body, .admin_body) .post-time,
body.theme_claro:is(.site_body, .admin_body) .action-btn__count {
	color: #65676b !important;
}

body.theme_claro:is(.site_body, .admin_body) .post-author-name,
body.theme_claro:is(.site_body, .admin_body) .post-text {
	color: #050505 !important;
}

/* —— Composer —— */
body.theme_claro:is(.site_body, .admin_body) .composer-footer {
	border-top: 1px solid #e4e6eb !important;
}

body.theme_claro:is(.site_body, .admin_body) .composer-textarea {
	background: transparent !important;
	color: #050505 !important;
}

body.theme_claro:is(.site_body, .admin_body) .composer-textarea::placeholder {
	color: #65676b !important;
	opacity: 1;
}

body.theme_claro:is(.site_body, .admin_body) .composer-tool-btn {
	color: #65676b !important;
	background: transparent;
	border-radius: 50%;
}

body.theme_claro:is(.site_body, .admin_body) .composer-tool-btn:hover {
	background: #f0f2f5 !important;
	color: #050505 !important;
}

body.theme_claro:is(.site_body, .admin_body) .composer-tool-btn svg,
body.theme_claro:is(.site_body, .admin_body) .composer-tool-btn i {
	stroke-width: 2;
}

body.theme_claro:is(.site_body, .admin_body) .comment-composer__pill,
body.theme_claro:is(.site_body, .admin_body) .comment-composer__input {
	background: #f0f2f5 !important;
	border-color: transparent !important;
	color: #050505 !important;
}

/* —— Buttons —— */
body.theme_claro:is(.site_body, .admin_body) .btn-primary {
	background: #0866ff !important;
	border-color: #0866ff !important;
	color: #ffffff !important;
	border-radius: 6px;
	font-weight: 600;
}

body.theme_claro:is(.site_body, .admin_body) .btn-primary:hover {
	background: #0759db !important;
	border-color: #0759db !important;
}

body.theme_claro:is(.site_body, .admin_body) .btn-primary-soft,
body.theme_claro:is(.site_body, .admin_body) .btn-secondary-soft {
	background: #e4e6eb !important;
	border-color: transparent !important;
	color: #050505 !important;
}

body.theme_claro:is(.site_body, .admin_body) .btn-primary-soft:hover,
body.theme_claro:is(.site_body, .admin_body) .btn-secondary-soft:hover {
	background: #d8dadf !important;
	color: #050505 !important;
}

/* —— Right explore —— */
body.theme_claro.site_body .explore-shell,
body.theme_claro.site_body .site-rightcol .live-rail__bar {
	background: #ffffff !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
}

body.theme_claro.site_body .explore-you:hover,
body.theme_claro.site_body .explore-hot__item:hover,
body.theme_claro.site_body .explore-tag:hover {
	background: #f0f2f5 !important;
}

body.theme_claro.site_body .explore-section__title,
body.theme_claro.site_body .live-rail__head-label {
	color: #050505 !important;
}

body.theme_claro.site_body .explore-foot a,
body.theme_claro.site_body .site-footer-links a {
	color: #65676b !important;
}

body.theme_claro.site_body .explore-foot a:hover,
body.theme_claro.site_body .site-footer-links a:hover {
	color: #050505 !important;
	text-decoration: underline;
}

/* —— Live —— */
body.theme_claro.site_body .live-rail__bar {
	background: #ffffff;
	border-left-color: #ced0d4;
}

body.theme_claro.site_body .live-rail__head {
	color: #65676b;
	border-bottom-color: #e4e6eb;
}

body.theme_claro.site_body .live-rail__toggle {
	background: #f0f2f5;
	color: #65676b;
	border-top-color: #e4e6eb;
}

body.theme_claro.site_body .live-rail__toggle:hover,
body.theme_claro.site_body .live-rail__toggle:focus-visible {
	background: #e4e6eb;
	color: #050505;
}

body.theme_claro.site_body .live-rail__tip {
	background: #050505;
	color: #ffffff;
}

body.theme_claro.site_body .live-rail__tip::after {
	border-left-color: #050505;
}

body.theme_claro.site_body.rtl_mode .live-rail__tip::after {
	border-left-color: transparent;
	border-right-color: #050505;
}

body.theme_claro.site_body .side-rail .live-rail__tip::after {
	border-left-color: transparent;
	border-right-color: #050505;
}

body.theme_claro.site_body.rtl_mode .side-rail .live-rail__tip::after {
	border-right-color: transparent;
	border-left-color: #050505;
}

/* —— Panels —— */
body.theme_claro.site_body .archived-chats-panel__inner {
	background: #ffffff !important;
	border: 0 !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

body.theme_claro.site_body .archived-chats-tab {
	background: #f0f2f5;
	color: #050505;
	border-color: transparent;
}

body.theme_claro.site_body .archived-chats-tab.is-active {
	background: #e7f3ff;
	color: #0866ff;
}

body.theme_claro.site_body .archived-chat-row:hover {
	background: #f0f2f5;
}

/* —— Menus / modals —— */
body.theme_claro:is(.site_body, .admin_body) .profile-menu,
body.theme_claro:is(.site_body, .admin_body) .sysmenu,
body.theme_claro:is(.site_body, .admin_body) .small_modal_in,
body.theme_claro:is(.site_body, .admin_body) .over_modal_in {
	background: #ffffff !important;
	border-color: #ced0d4;
	box-shadow: var(--shadow-modal) !important;
	color: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .profile-menu-item:hover {
	background: #f0f2f5 !important;
	color: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .oly-account__head {
	background: #e7f3ff;
	border-bottom-color: #ced0d4;
}

body.theme_claro:is(.site_body, .admin_body) .oly-account__item:hover,
body.theme_claro:is(.site_body, .admin_body) .oly-account__item.is-active {
	background: #f0f2f5;
}

body.theme_claro:is(.site_body, .admin_body) .oly-account__status-list {
	background: #ffffff;
	border-color: #ced0d4;
}

body.theme_claro:is(.site_body, .admin_body) .oly-account__mood-input {
	background: #f0f2f5;
	border-color: transparent;
}

body.theme_claro:is(.site_body, .admin_body) .oly-account__mood-input:focus {
	background: #ffffff;
	border-color: #0866ff;
}

body.theme_claro:is(.site_body, .admin_body) .form-control,
body.theme_claro:is(.site_body, .admin_body) .form-input,
body.theme_claro:is(.site_body, .admin_body) input.form-control,
body.theme_claro:is(.site_body, .admin_body) textarea.form-control {
	background: #f0f2f5 !important;
	border-color: transparent !important;
	color: #050505;
}

body.theme_claro:is(.site_body, .admin_body) .form-control:focus,
body.theme_claro:is(.site_body, .admin_body) .form-input:focus {
	background: #ffffff !important;
	border-color: #0866ff !important;
	box-shadow: 0 0 0 2px #e7f3ff !important;
	outline: none;
}

/* —— Misc —— */
body.theme_claro .edit-pro__hero {
	background-image: linear-gradient(165deg, #65676b 0%, #050505 78%);
}

body.theme_claro .rank-badge--espectador {
	background: #e4e6eb;
	color: #65676b;
}

body.theme_claro .rank-badge--chatero {
	background: #0866ff;
	color: #fff;
}

body.theme_claro .rank-badge--icon.rank-badge--chatero,
body.theme_claro .rank-badge--icon.rank-badge--admin {
	background: transparent;
	color: inherit;
}

body.theme_claro .support-compose .form-control,
body.theme_claro .support-compose .form-input {
	background: #f0f2f5;
	color: #050505;
	border-color: transparent;
}

body.theme_claro .support-compose .form-control:focus,
body.theme_claro .support-compose .form-input:focus {
	background: #ffffff;
	border-color: #0866ff;
	box-shadow: 0 0 0 2px #e7f3ff;
	outline: none;
}

body.theme_claro .support-compose__foot {
	background: #ffffff;
	border-top-color: #e4e6eb;
}

body.theme_claro .support-compose__chip {
	background: #f0f2f5;
	border-color: transparent;
	color: #050505;
}

body.theme_claro .support-compose__chip:hover {
	background: #e4e6eb;
}

body.theme_claro .contact-entry {
	background: #e7f3ff;
	border-color: #cce0ff;
	color: #050505;
}

body.theme_claro .support-gate__icon {
	background: #e7f3ff;
	color: #0866ff;
}

body.theme_claro:is(.site_body, .admin_body) .feed-tabs {
	border-bottom-color: #e4e6eb;
}

body.theme_claro:is(.site_body, .admin_body) .feed-tab.is-active,
body.theme_claro:is(.site_body, .admin_body) .modal_menu_item.modal_selected {
	color: #0866ff;
}

body.theme_claro:is(.site_body, .admin_body) .notify-pip--alert,
body.theme_claro:is(.site_body, .admin_body) .notify-pip--mail {
	box-shadow: 0 0 0 2px #ffffff;
}

body.theme_claro:is(.site_body, .admin_body) .replies-go,
body.theme_claro:is(.site_body, .admin_body) .comment-reply-btn {
	color: #65676b;
}

body.theme_claro:is(.site_body, .admin_body) .divider-v {
	background: #ced0d4;
}

body.theme_claro.site_body .mobile-dock {
	background: #ffffff !important;
	border-top: 1px solid #e4e6eb !important;
}

body.theme_claro.site_body .mobile-dock__btn {
	color: #050505;
}

body.theme_claro.site_body .mobile-dock__btn:hover,
body.theme_claro.site_body.explore-sheet-open .mobile-dock__btn--explore,
body.theme_claro.site_body.archived-chats-open .mobile-dock__btn--archive {
	color: #0866ff;
}

html body.theme_claro.site_body .card,
html body.theme_claro.site_body .post-card,
html body.theme_claro.site_body .explore-shell,
html body.theme_claro.site_body .feed-flash-card,
html body.theme_claro.site_body .feed-search-card {
	border-radius: 22px !important;
	border: 1px solid rgba(24, 32, 50, 0.11) !important;
	background:
		linear-gradient(90deg, transparent 4%, rgba(24, 32, 50, 0.3) 50%, transparent 96%) top / 100% 1px no-repeat,
		linear-gradient(90deg, transparent 10%, rgba(24, 32, 50, 0.12) 50%, transparent 90%) bottom / 100% 1px no-repeat,
		linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%) !important;
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(24, 32, 50, 0.05),
		0 0 0 1px rgba(255, 255, 255, 0.75),
		0 10px 26px rgba(24, 32, 50, 0.1) !important;
	transition: border-color 0.18s ease;
}

html body.theme_claro.site_body .post-card:hover,
html body.theme_claro.site_body .explore-shell:hover {
	border-color: rgba(24, 32, 50, 0.22) !important;
}

html body.theme_claro.site_body .side-rail__inner {
	background: linear-gradient(180deg, #f6f8fb 0%, #e9ecf1 100%) !important;
	border-inline-end: 1px solid rgba(24, 32, 50, 0.1);
}

body.theme_claro #composer_card.composer-card--glass {
	position: relative;
	overflow: visible;
	isolation: isolate;
	border-radius: 26px !important;
	border: 1px solid rgba(24, 32, 50, 0.12) !important;
	background:
		radial-gradient(120% 90% at 78% -10%, rgba(255, 255, 255, 0.95), transparent 55%),
		linear-gradient(180deg, #ffffff 0%, #f1f3f7 100%) !important;
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(24, 32, 50, 0.06),
		0 0 0 1px rgba(255, 255, 255, 0.8),
		0 0 22px rgba(255, 255, 255, 0.5),
		0 18px 40px rgba(24, 32, 50, 0.16) !important;
}

body.theme_claro #composer_card.composer-card--glass::before {
	content: '';
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1.5px;
	pointer-events: none;
	z-index: 3;
	background:
		linear-gradient(90deg, rgba(24, 32, 50, 0) 0%, rgba(24, 32, 50, 0.45) 62%, rgba(24, 32, 50, 0) 100%) top / 100% 1.5px no-repeat,
		linear-gradient(90deg, rgba(24, 32, 50, 0) 0%, rgba(24, 32, 50, 0.4) 45%, rgba(24, 32, 50, 0) 100%) bottom / 100% 1.5px no-repeat,
		linear-gradient(180deg, rgba(24, 32, 50, 0.3), rgba(24, 32, 50, 0.1) 30%, rgba(24, 32, 50, 0.1) 70%, rgba(24, 32, 50, 0.26));
	-webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor;
	mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
	mask-composite: exclude;
}

body.theme_claro #composer_card.composer-card--glass > * {
	position: relative;
	z-index: 1;
}

body.theme_claro #composer_card.composer-card--glass .composer-field {
	border: 1px solid rgba(24, 32, 50, 0.16);
	background: linear-gradient(180deg, #e6e9ef 0%, #f6f7fa 100%);
	box-shadow:
		inset 0 8px 16px rgba(24, 32, 50, 0.12),
		inset 0 1px 0 rgba(24, 32, 50, 0.05),
		inset 0 -1px 0 #ffffff,
		0 1px 0 #ffffff;
}

body.theme_claro #composer_card.composer-card--glass .composer-field:focus-within {
	border-color: rgba(24, 32, 50, 0.34);
	box-shadow:
		inset 0 8px 16px rgba(24, 32, 50, 0.12),
		inset 0 -1px 0 #ffffff,
		0 0 0 3px rgba(24, 32, 50, 0.07);
}

body.theme_claro #composer_card.composer-card--glass .composer-tool-btn {
	color: #2a3040;
	border: 1px solid rgba(24, 32, 50, 0.17);
	background: linear-gradient(180deg, #ffffff 0%, #f1f3f7 60%, #e3e6ec 100%);
	box-shadow:
		inset 0 1px 0 #ffffff,
		inset 0 -1px 0 rgba(24, 32, 50, 0.08),
		0 0 0 1px rgba(255, 255, 255, 0.8),
		0 5px 12px rgba(24, 32, 50, 0.14);
	transition: color 0.15s ease, border-color 0.15s ease;
}

body.theme_claro #composer_card.composer-card--glass .composer-tool-btn:hover {
	color: #000;
	border-color: rgba(24, 32, 50, 0.4);
	background: linear-gradient(180deg, #ffffff 0%, #f6f7fa 60%, #e9ecf1 100%);
}

body.theme_claro #composer_card.composer-card--glass .composer-actions {
	border-inline-start-color: rgba(24, 32, 50, 0.16);
}

body.theme_claro #composer_card.composer-card--glass .composer-count {
	color: rgba(24, 32, 50, 0.62);
}

body.theme_claro #composer_card.composer-card--glass .composer-emoji-btn {
	color: rgba(24, 32, 50, 0.7);
}

body.theme_claro #composer_card.composer-card--glass .composer-emoji-btn:hover {
	color: #000;
	background: rgba(24, 32, 50, 0.07);
}

html body.theme_claro .pro_menu_wrap .modal_menu_item.modal_selected {
	color: #050505;
	background: rgba(24, 32, 50, 0.1);
}

html body.theme_claro .rank-badge,
html body.theme_claro .profile-tw #probio .proitem,
html body.theme_claro .profile-tw #probio .proitem * {
	text-shadow: none;
}
