/* ==========================================================================
   Socialify design system (2026). Loaded after the legacy style*.css and the
   PrimeFaces "saga" theme: tokens, app shell, public pages, and a restyle of
   the legacy classes that the pages still use.
   ========================================================================== */

:root {
	--sfy-primary: #4351c4;
	--sfy-primary-600: #3742a8;
	--sfy-primary-50: #eef0fc;
	--sfy-primary-100: #dde1f8;
	--sfy-accent: #f59e0b;
	--sfy-grad: linear-gradient(135deg, #3f48b5 0%, #5b7fd6 100%);

	--sfy-bg: #f5f6fa;
	--sfy-surface: #ffffff;
	--sfy-surface-2: #f9fafc;
	--sfy-border: #e4e7ef;
	--sfy-text: #1c2033;
	--sfy-text-2: #5b6178;
	--sfy-text-3: #8a90a6;

	--sfy-success: #16a34a;
	--sfy-danger: #dc2626;
	--sfy-warning: #d97706;

	--sfy-radius: 10px;
	--sfy-radius-sm: 6px;
	--sfy-radius-lg: 16px;
	--sfy-shadow-sm: 0 1px 2px rgba(20, 24, 45, .06);
	--sfy-shadow: 0 1px 3px rgba(20, 24, 45, .06), 0 6px 16px rgba(20, 24, 45, .06);
	--sfy-shadow-lg: 0 12px 40px rgba(20, 24, 45, .14);

	--sfy-sidebar-w: 248px;
	--sfy-sidebar-mini-w: 72px;
	--sfy-topbar-h: 60px;
	--sfy-font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- base ---------- */

html { -webkit-text-size-adjust: 100%; }

body,
body.sfy-app,
body.sfy-public {
	min-width: 0;
	margin: 0;
	background: var(--sfy-bg);
	color: var(--sfy-text);
	font-family: var(--sfy-font);
	font-size: 14px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

body .ui-widget,
body .ui-widget input,
body .ui-widget select,
body .ui-widget textarea,
body .ui-widget button,
body input, body select, body textarea, body button {
	font-family: var(--sfy-font);
}

a { color: var(--sfy-primary); }
a:hover { color: var(--sfy-primary-600); }

:focus-visible { outline: 2px solid var(--sfy-primary); outline-offset: 2px; }

img { max-width: 100%; }

/* ---------- buttons, chips, badges ---------- */

.sfy-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 38px;
	padding: 0 16px;
	border: 1px solid transparent;
	border-radius: var(--sfy-radius-sm);
	background: var(--sfy-primary);
	color: #fff !important;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none !important;
	white-space: nowrap;
	cursor: pointer;
	transition: background .15s, box-shadow .15s, transform .05s;
}
.sfy-btn:hover { background: var(--sfy-primary-600); }
.sfy-btn:active { transform: translateY(1px); }
.sfy-btn-ghost { background: transparent; color: var(--sfy-text) !important; border-color: var(--sfy-border); }
.sfy-btn-ghost:hover { background: var(--sfy-surface-2); border-color: #cfd4e2; }
.sfy-btn-light { background: #fff; color: var(--sfy-primary) !important; }
.sfy-btn-light:hover { background: var(--sfy-primary-50); }
.sfy-btn-lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: var(--sfy-radius); }
.sfy-btn-sm { height: 30px; padding: 0 12px; font-size: 13px; }

.sfy-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--sfy-primary-50);
	color: var(--sfy-primary) !important;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
}
.sfy-chip:hover { background: var(--sfy-primary-100); }

.sfy-badge {
	margin-left: auto;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	border-radius: 999px;
	background: var(--sfy-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 20px;
	text-align: center;
}

.sfy-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: var(--sfy-radius-sm);
	color: var(--sfy-text-2) !important;
	font-size: 18px;
	text-decoration: none !important;
	cursor: pointer;
}
.sfy-icon-btn:hover { background: var(--sfy-surface-2); color: var(--sfy-text) !important; }

.sfy-dot-badge {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--sfy-danger);
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	line-height: 16px;
	text-align: center;
	box-shadow: 0 0 0 2px #fff;
}

/* ---------- logo ---------- */

.sfy-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none !important;
}
.sfy-logo img { width: 28px; height: auto; }
.sfy-logo-text {
	color: var(--sfy-text);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: -.02em;
}

/* ==========================================================================
   App shell (signed-in pages)
   ========================================================================== */

.sfy-sidebar {
	position: fixed;
	inset: 0 auto 0 0;
	z-index: 1001;
	display: flex;
	flex-direction: column;
	width: var(--sfy-sidebar-w);
	background: var(--sfy-surface);
	border-right: 1px solid var(--sfy-border);
	transition: width .2s ease, transform .2s ease;
}

.sfy-sidebar-brand {
	display: flex;
	align-items: center;
	height: var(--sfy-topbar-h);
	padding: 0 20px;
	flex: 0 0 auto;
}

.sfy-nav-search {
	position: relative;
	margin: 4px 14px 8px;
}
.sfy-nav-search i {
	position: absolute;
	top: 50%;
	left: 11px;
	transform: translateY(-50%);
	color: var(--sfy-text-3);
	font-size: 13px;
}
.sfy-nav-search input {
	box-sizing: border-box;
	width: 100%;
	height: 34px;
	padding: 0 10px 0 32px;
	border: 1px solid var(--sfy-border);
	border-radius: var(--sfy-radius-sm);
	background: var(--sfy-surface-2);
	color: var(--sfy-text);
	font-size: 13px;
}
.sfy-nav-search input:focus { outline: none; border-color: var(--sfy-primary); background: #fff; box-shadow: 0 0 0 3px var(--sfy-primary-50); }

.sfy-nav {
	flex: 1 1 auto;
	overflow-y: auto;
	padding: 4px 10px 24px;
}

.sfy-nav-section {
	margin: 18px 10px 6px;
	color: var(--sfy-text-3);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	white-space: nowrap;
}
.sfy-nav-section:first-child { margin-top: 8px; }

.sfy-nav-item {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 38px;
	margin: 1px 0;
	padding: 0 10px;
	border-radius: var(--sfy-radius-sm);
	color: var(--sfy-text-2) !important;
	font-weight: 500;
	text-decoration: none !important;
	white-space: nowrap;
	transition: background .12s, color .12s;
}
.sfy-nav-item i { width: 20px; flex: 0 0 20px; font-size: 16px; text-align: center; color: var(--sfy-text-3); }
.sfy-nav-item:hover { background: var(--sfy-surface-2); color: var(--sfy-text) !important; }
.sfy-nav-item:hover i { color: var(--sfy-text-2); }
.sfy-nav-item.is-active { background: var(--sfy-primary-50); color: var(--sfy-primary) !important; font-weight: 600; }
.sfy-nav-item.is-active i { color: var(--sfy-primary); }
.sfy-nav-label { overflow: hidden; text-overflow: ellipsis; }

.sfy-main {
	min-height: 100vh;
	margin-left: var(--sfy-sidebar-w);
	display: flex;
	flex-direction: column;
	transition: margin-left .2s ease;
}
body.sfy-bare .sfy-main { margin-left: 0; }

.sfy-topbar {
	position: sticky;
	top: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 12px;
	height: var(--sfy-topbar-h);
	padding: 0 20px 0 12px;
	background: rgba(255, 255, 255, .92);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid var(--sfy-border);
	box-sizing: border-box;
}

.sfy-topbar-context { display: flex; align-items: center; gap: 10px; min-width: 0; }
.sfy-context-label {
	overflow: hidden;
	color: var(--sfy-text);
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.sfy-topbar-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* account menu (markup + jQuery from the old header: .dropdown/.account/.submenu) */
.sfy-account { position: relative; }
.sfy-account-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 8px 0 4px;
	border-radius: 999px;
	color: var(--sfy-text) !important;
	text-decoration: none !important;
}
.sfy-account-btn:hover { background: var(--sfy-surface-2); }
.sfy-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--sfy-grad);
	color: #fff;
	font-weight: 700;
	font-size: 14px;
}
.sfy-account-name { max-width: 160px; overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }

body .sfy-menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	left: auto;
	z-index: 1100;
	width: 250px;
	margin: 0;
	padding: 6px;
	border: 1px solid var(--sfy-border);
	border-radius: var(--sfy-radius);
	background: #fff;
	box-shadow: var(--sfy-shadow-lg);
}
body .sfy-menu ul.root { margin: 0; padding: 0; list-style: none; border: 0; background: none; box-shadow: none; width: auto; }
body .sfy-menu li { margin: 0; padding: 0; border: 0 !important; background: none; }
body .sfy-menu li a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 10px;
	border-radius: var(--sfy-radius-sm);
	color: var(--sfy-text) !important;
	font-size: 14px;
	font-weight: 500;
	text-align: left;
	text-decoration: none;
}
body .sfy-menu li a:hover { background: var(--sfy-surface-2); }
body .sfy-menu li a i { width: 16px; color: var(--sfy-text-3); text-align: center; }
body .sfy-menu li a.is-active { color: var(--sfy-primary) !important; font-weight: 600; }
.sfy-menu-quota a { flex-direction: column; align-items: flex-start !important; gap: 0 !important; margin-bottom: 4px; background: var(--sfy-primary-50); }
.sfy-menu-quota strong { color: var(--sfy-primary); font-size: 22px; line-height: 1.2; }
.sfy-menu-quota span { color: var(--sfy-text-2); font-size: 12px; }
.sfy-menu-heading { display: block; padding: 8px 10px 2px; color: var(--sfy-text-3); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.sfy-menu-lang img { width: 16px; }
body .sfy-menu li.sfy-menu-sep { margin-top: 4px !important; padding-top: 4px; border-top: 1px solid var(--sfy-border) !important; }

/* content area */
.sfy-content,
body .content.sfy-content {
	flex: 1 0 auto;
	box-sizing: border-box;
	width: 100%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px 28px 40px;
}

/* collapsed sidebar */
body.sfy-mini .sfy-sidebar { width: var(--sfy-sidebar-mini-w); }
body.sfy-mini .sfy-main { margin-left: var(--sfy-sidebar-mini-w); }
body.sfy-mini .sfy-logo-text,
body.sfy-mini .sfy-nav-label,
body.sfy-mini .sfy-nav-search,
body.sfy-mini .sfy-badge { display: none; }
body.sfy-mini .sfy-sidebar-brand { justify-content: center; padding: 0; }
body.sfy-mini .sfy-nav-section { height: 1px; margin: 12px 8px; overflow: hidden; background: var(--sfy-border); color: transparent; }
body.sfy-mini .sfy-nav-item { justify-content: center; padding: 0; }

.sfy-scrim { display: none; }

/* phones and small tablets: the sidebar becomes a drawer */
@media (max-width: 900px) {
	.sfy-sidebar { transform: translateX(-100%); width: var(--sfy-sidebar-w) !important; box-shadow: var(--sfy-shadow-lg); }
	body.sfy-nav-open .sfy-sidebar { transform: none; }
	body.sfy-nav-open .sfy-scrim { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(20, 24, 45, .4); }
	.sfy-main, body.sfy-mini .sfy-main { margin-left: 0; }
	body.sfy-mini .sfy-nav-label, body.sfy-mini .sfy-logo-text, body.sfy-mini .sfy-nav-search { display: initial; }
	.sfy-content, body .content.sfy-content { padding: 16px; }
	.sfy-account-name { display: none; }
	.sfy-topbar { padding: 0 12px 0 8px; }
}

/* ---------- popovers (notifications, role picker) ---------- */

body .ui-overlaypanel.sfy-popover,
body .bildirim-overlay {
	border: 1px solid var(--sfy-border);
	border-radius: var(--sfy-radius);
	box-shadow: var(--sfy-shadow-lg);
}
body .bildirim-overlay:before { display: none; }

/* ---------- footer, cookie bar, loading spinner ---------- */

.sfy-footer { margin-top: auto; background: transparent; }
.sfy-footer-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 18px 28px;
	border-top: 1px solid var(--sfy-border);
	color: var(--sfy-text-3);
	font-size: 13px;
	box-sizing: border-box;
}
.sfy-footer-inner nav { display: flex; gap: 18px; }
.sfy-footer-inner a { color: var(--sfy-text-2); text-decoration: none; }
.sfy-footer-inner a:hover { color: var(--sfy-primary); }
body.sfy-public .sfy-footer { background: var(--sfy-surface); }

body .sfy-cookie {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	left: 50%;
	bottom: 16px;
	width: auto;
	max-width: min(720px, calc(100% - 32px));
	padding: 12px 16px;
	transform: translateX(-50%);
	border-radius: var(--sfy-radius);
	background: var(--sfy-text);
	color: #fff;
	text-align: left;
	box-shadow: var(--sfy-shadow-lg);
}
body .sfy-cookie p { margin: 0; font-size: 13px; }
body .sfy-cookie a { color: #c7cdfb; }

.sfy-spinner {
	width: 40px;
	height: 40px;
	margin: 8px;
	border: 4px solid var(--sfy-primary-100);
	border-top-color: var(--sfy-primary);
	border-radius: 50%;
	animation: sfy-spin .8s linear infinite;
}
@keyframes sfy-spin { to { transform: rotate(360deg); } }

.sfy-video { display: block; width: 100%; max-height: 70vh; border-radius: var(--sfy-radius-sm); background: #000; }

/* ==========================================================================
   Public pages (landing, sign in, register, pricing, about)
   ========================================================================== */

.sfy-public-nav {
	position: sticky;
	top: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	box-sizing: border-box;
}
body.sfy-public > form:first-of-type { background: rgba(245, 246, 250, .9); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 1000; }
.sfy-public-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.sfy-public-links > a:not(.sfy-btn) {
	padding: 8px 12px;
	border-radius: var(--sfy-radius-sm);
	color: var(--sfy-text-2);
	font-weight: 500;
	text-decoration: none;
}
.sfy-public-links > a:not(.sfy-btn):hover,
.sfy-public-links > a.is-active { color: var(--sfy-text); background: rgba(67, 81, 196, .06); }
.sfy-lang { display: inline-flex; margin: 0 6px; padding: 2px; border: 1px solid var(--sfy-border); border-radius: 999px; background: #fff; }
.sfy-lang a { padding: 3px 9px; border-radius: 999px; color: var(--sfy-text-3) !important; font-size: 12px; font-weight: 700; text-decoration: none !important; }
.sfy-lang a.is-active { background: var(--sfy-primary); color: #fff !important; }
.sfy-nav-toggle, .sfy-nav-toggle-btn { display: none; }

@media (max-width: 820px) {
	.sfy-nav-toggle-btn { display: inline-flex; margin-left: auto; }
	.sfy-public-links {
		display: none;
		position: absolute;
		top: 100%;
		left: 12px;
		right: 12px;
		flex-direction: column;
		align-items: stretch;
		padding: 10px;
		border: 1px solid var(--sfy-border);
		border-radius: var(--sfy-radius);
		background: #fff;
		box-shadow: var(--sfy-shadow-lg);
	}
	.sfy-nav-toggle:checked ~ .sfy-public-links { display: flex; }
	.sfy-lang { align-self: flex-start; margin: 6px 12px; }
}

/* landing */
.sfy-landing { max-width: 1200px; margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

.sfy-hero {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	align-items: center;
	gap: 48px;
	padding: 56px 0 72px;
}
.sfy-eyebrow {
	display: inline-block;
	margin-bottom: 18px;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--sfy-primary-50);
	color: var(--sfy-primary);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .02em;
}
.sfy-hero h1 {
	margin: 0 0 18px;
	color: var(--sfy-text);
	font-size: clamp(34px, 5vw, 54px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -.03em;
}
.sfy-lead { margin: 0 0 30px; color: var(--sfy-text-2); font-size: 17px; line-height: 1.65; }
.sfy-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.sfy-hero-art {
	position: relative;
	padding: 28px;
	border-radius: 28px;
	background: var(--sfy-grad);
	box-shadow: var(--sfy-shadow-lg);
}
.sfy-hero-art img { display: block; width: 100%; border-radius: var(--sfy-radius-lg); background: #fff; }

.sfy-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 64px; }
.sfy-feature {
	padding: 22px;
	border: 1px solid var(--sfy-border);
	border-radius: var(--sfy-radius-lg);
	background: var(--sfy-surface);
	box-shadow: var(--sfy-shadow-sm);
	transition: box-shadow .2s, transform .2s;
}
.sfy-feature:hover { box-shadow: var(--sfy-shadow); transform: translateY(-2px); }
.sfy-feature-img {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 170px;
	margin-bottom: 18px;
	border-radius: var(--sfy-radius);
	background: var(--sfy-surface-2);
	overflow: hidden;
}
.sfy-feature-img img { max-height: 150px; object-fit: contain; }
.sfy-feature h2 { margin: 0 0 8px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.sfy-feature p { margin: 0; color: var(--sfy-text-2); line-height: 1.6; }

.sfy-cta-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 64px;
	padding: 36px 40px;
	border-radius: 24px;
	background: var(--sfy-grad);
	color: #fff;
}
.sfy-cta-band h2 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }

@media (max-width: 900px) {
	.sfy-hero { grid-template-columns: 1fr; gap: 32px; padding: 28px 0 40px; }
	.sfy-features { grid-template-columns: 1fr; }
	.sfy-cta-band { padding: 28px 24px; }
}

/* the old landing-page scroll arrow is not used any more */
body.sfy-public .dot.boost { display: none; }

/* ---------- auth pages: sign in, register, forgot password, resend ---------- */

body.sfy-public center { display: block; }
body.sfy-public .login-outer-container-1,
body.sfy-public .index-outer-container {
	position: static;
	transform: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-height: calc(100vh - 140px);
	padding: 32px 16px 0;
	box-sizing: border-box;
}
body.sfy-public .login-panel.ui-panel,
body.sfy-public .register-panel.ui-panel,
body.sfy-public .login-panel,
body.sfy-public .register-panel {
	box-sizing: border-box;
	width: 100%;
	max-width: 420px;
	margin: 0 auto 32px;
	padding: 12px 8px;
	border: 1px solid var(--sfy-border);
	border-radius: var(--sfy-radius-lg);
	background: var(--sfy-surface);
	box-shadow: var(--sfy-shadow);
	text-align: left;
}
body.sfy-public .register-panel { max-width: 520px; }
body.sfy-public .login-panel > .ui-panel-content > img:first-child,
body.sfy-public .login-panel img[src*="si-big"] { display: block; width: 56px !important; margin: 8px auto 20px; }
body.sfy-public .login-panel input[type=text],
body.sfy-public .login-panel input[type=password],
body.sfy-public .login-panel button,
body.sfy-public .register-panel button { width: 100% !important; box-sizing: border-box; }
body.sfy-public .girisBilgileri { width: 100%; }
body.sfy-public .girisBilgileri td { padding: 0 0 4px; }

body.sfy-public .input-label-custom { display: block; margin: 10px 0 6px; color: var(--sfy-text); font-size: 13px; font-weight: 600; }

body.sfy-public .giris-button-index,
body.sfy-public .giris-button,
body.sfy-public .register-confirm-button,
body.sfy-public .kaydol-button-index {
	height: 44px;
	margin-top: 14px;
	border: 0 !important;
	border-radius: var(--sfy-radius-sm);
	background: var(--sfy-primary) !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 600 !important;
	box-shadow: none !important;
}
body.sfy-public .giris-button-index:hover,
body.sfy-public .giris-button:hover { background: var(--sfy-primary-600) !important; }

body.sfy-public .facebook-login-back {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 44px;
	border-radius: var(--sfy-radius-sm);
	background: #1877f2;
	color: #fff !important;
	font-weight: 600;
}
body.sfy-public .facebook-login-back i { float: none !important; top: 0 !important; }

body.sfy-public .a-divider-break { position: relative; margin: 18px 0; text-align: center; }
body.sfy-public .a-divider-break h5 { margin: 0; color: var(--sfy-text-3); font-size: 12px; font-weight: 600; }
body.sfy-public .sifre-unuttum { float: none; font-size: 13px; font-weight: 500; }

/* ==========================================================================
   Signed-in pages: legacy content restyled
   ========================================================================== */

body.sfy-app .content { margin-top: 0; }

/* page titles that the old pages build with panels/headers */
body.sfy-app .sfy-content h1,
body.sfy-app .sfy-content h2 { letter-spacing: -.02em; }

/* PrimeFaces containers become cards */
body.sfy-app .sfy-content .ui-panel,
body.sfy-app .sfy-content .ui-datatable,
body.sfy-app .sfy-content .ui-datagrid,
body.sfy-app .sfy-content .ui-tabs,
body.sfy-app .sfy-content .ui-schedule,
body.sfy-app .sfy-content .ui-chart,
body.sfy-app .sfy-content .ui-fieldset,
body.sfy-app .sfy-content .ui-wizard {
	border-radius: var(--sfy-radius);
}
body.sfy-app .sfy-content .ui-panel,
body.sfy-app .sfy-content .ui-fieldset {
	border: 1px solid var(--sfy-border);
	background: var(--sfy-surface);
	box-shadow: var(--sfy-shadow-sm);
}
body.sfy-app .sfy-content .ui-panel .ui-panel-titlebar {
	border: 0;
	border-bottom: 1px solid var(--sfy-border);
	border-radius: var(--sfy-radius) var(--sfy-radius) 0 0;
	background: transparent;
	color: var(--sfy-text);
	font-weight: 700;
}
body.sfy-app .sfy-content .ui-datatable { overflow: hidden; border: 1px solid var(--sfy-border); background: #fff; box-shadow: var(--sfy-shadow-sm); }
body.sfy-app .sfy-content .ui-datatable thead th {
	background: var(--sfy-surface-2) !important;
	color: var(--sfy-text-2) !important;
	font-size: 12px;
	font-weight: 700 !important;
	letter-spacing: .03em;
	text-transform: uppercase;
}
body.sfy-app .sfy-content .ui-datatable .ui-datatable-header,
body.sfy-app .sfy-content .ui-datatable .ui-paginator { background: #fff !important; border-color: var(--sfy-border) !important; }

body.sfy-app .sfy-content .ui-chart { padding: 8px; border: 1px solid var(--sfy-border); background: #fff; }

/* legacy input/button sizes */
body .input-text-custom, body .input-text-custom-1, body .input-text-custom-2,
body .input-text-custom-3, body .input-text-custom-4, body .input-text-custom-5 {
	border-radius: var(--sfy-radius-sm);
	box-sizing: border-box;
}

body .ui-button:not(.ui-button-icon-only) { border-radius: var(--sfy-radius-sm); }

/* growl toasts */
body .ui-growl { top: 76px; }
body .ui-growl-item-container { border-radius: var(--sfy-radius) !important; box-shadow: var(--sfy-shadow-lg) !important; }

/* loading dialog (ajax status) */
body .ui-dialog.ui-widget-content:has(.sfy-spinner) { background: transparent; border: 0; box-shadow: none; }

/* legacy page bits that assumed the old fixed 1180px layout */
body.sfy-app .sfy-content table.content-menu-table { width: 100%; }
@media (max-width: 900px) {
	body.sfy-app .sfy-content .ui-datatable { overflow-x: auto; }
	body.sfy-app .sfy-content [style*="width:1000px"],
	body.sfy-app .sfy-content [style*="width: 1000px"] { width: auto !important; }
}

/* hero illustration: a "scheduled posts" card in HTML/CSS */
.sfy-mock { padding: 18px; border-radius: var(--sfy-radius-lg); background: #fff; box-shadow: 0 20px 50px rgba(20, 24, 45, .25); }
.sfy-mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.sfy-mock-title { color: var(--sfy-text); font-weight: 700; }
.sfy-mock-title i { color: var(--sfy-primary); margin-right: 6px; }
.sfy-mock-pill { padding: 5px 12px; border-radius: 999px; background: var(--sfy-primary); color: #fff; font-size: 12px; font-weight: 700; }
.sfy-mock-row { display: flex; align-items: center; gap: 14px; padding: 12px 6px; border-top: 1px solid var(--sfy-border); }
.sfy-pf { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; height: 38px; border-radius: 10px; color: #fff; font-size: 18px; font-weight: 800; }
.sfy-pf-fb { background: #1877f2; }
.sfy-pf-ig { background: linear-gradient(45deg, #f9a825, #e1306c 50%, #833ab4); }
.sfy-pf-x { background: #111; font-family: var(--sfy-font); }
.sfy-pf-in { background: #0a66c2; }
.sfy-pf-yt { background: #ff0000; }
.sfy-mock-lines { display: flex; flex: 1; flex-direction: column; gap: 7px; }
.sfy-mock-lines b { display: block; height: 8px; border-radius: 4px; background: #e7eaf3; }
.sfy-mock-lines b + b { background: #f1f3f8; }
.sfy-mock-time { padding: 3px 9px; border-radius: 6px; background: var(--sfy-primary-50); color: var(--sfy-primary); font-size: 12px; font-weight: 700; }

/* sign-in card: single card (the p:panel inside had its own border), no legacy icon images in inputs */
body.sfy-public .login-panel .ui-panel-content { border: 0; padding: 12px 18px; }
body.sfy-public .eposta,
body.sfy-public .sifre { padding-left: 12px; background-image: none !important; }
body.sfy-public .girisBilgileri .ui-message:empty,
body.sfy-public .girisBilgileri td:empty { display: none; }
body.sfy-public .facebook-login-back { width: auto; padding: 0 12px; }
body.sfy-public .index-outer-container .sfy-footer { width: 100%; background: transparent; }
body.sfy-public .index-outer-container .sfy-footer-inner { max-width: 420px; justify-content: center; border-top: 0; }
body.sfy-public .ui-inputfield { height: 42px; }

/* legacy ID rules (#menu, #content) beat the class rules above; pin the shell with IDs */
#menu.sfy-sidebar {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: var(--sfy-sidebar-w);
	min-height: 0;
	height: auto;
	background: var(--sfy-surface);
	box-shadow: none;
	overflow: visible;
}
body.sfy-mini #menu.sfy-sidebar { width: var(--sfy-sidebar-mini-w); }
#mainContent.sfy-main { margin-left: var(--sfy-sidebar-w); }
body.sfy-mini #mainContent.sfy-main { margin-left: var(--sfy-sidebar-mini-w); }
body.sfy-bare #mainContent.sfy-main { margin-left: 0; }
#content.sfy-content { margin-top: 0; }
@media (max-width: 900px) {
	#menu.sfy-sidebar { width: var(--sfy-sidebar-w); }
	#mainContent.sfy-main, body.sfy-mini #mainContent.sfy-main { margin-left: 0; }
}
.sfy-topbar .sfy-chip { font-size: 12px; }
.sfy-account-btn { flex-direction: row; white-space: nowrap; }
.sfy-nav-search #myInput { width: 100%; margin: 0; background: var(--sfy-surface-2); background-image: none; padding-left: 32px; font-size: 13px; }
.sfy-nav-search #myInput:focus { background: #fff; }
/* legacy a.account was absolutely positioned with a fixed width */
.sfy-topbar a.account.sfy-account-btn { position: static; width: auto; height: 40px; margin: 0; padding: 0 8px 0 4px; font-size: 14px; line-height: normal; color: var(--sfy-text); }
.sfy-topbar .sfy-account-name { font-size: 14px; }
.sfy-topbar .dropdown.sfy-account { position: relative; left: auto; top: auto; width: auto; height: auto; margin: 0; float: none; }

/* ---------- legacy glossy buttons -> flat ---------- */
body .kaydol-button, body .kaydol-button-1, body .kaydet-button, body .register-confirm-button,
body .up-down-button, body .price-button, body .grey button, body .magic-button {
	background: var(--sfy-primary) !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: var(--sfy-radius-sm) !important;
	box-shadow: none !important;
	color: #fff !important;
	font-weight: 600 !important;
	text-shadow: none !important;
}
body .kaydol-button:hover, body .kaydol-button-1:hover, body .kaydet-button:hover, body .register-confirm-button:hover,
body .up-down-button:hover, body .price-button:hover, body .grey button:hover, body .magic-button:hover {
	background: var(--sfy-primary-600) !important;
}
body .sil-button, body .sil-button-2 { background-image: none !important; background: var(--sfy-danger) !important; border: 0 !important; box-shadow: none !important; border-radius: var(--sfy-radius-sm) !important; }
body .statistic-button, body .small-update-button, body .small-up-down-button, body .question-button {
	background-image: none !important;
	box-shadow: none !important;
	border-radius: var(--sfy-radius-sm) !important;
}

/* ---------- pricing cards (package.xhtml, price.xhtml) ---------- */
body .price {
	overflow: hidden;
	border: 1px solid var(--sfy-border) !important;
	border-radius: var(--sfy-radius-lg);
	background: #fff;
	box-shadow: var(--sfy-shadow-sm) !important;
}
body .price:hover { box-shadow: var(--sfy-shadow) !important; }
body .price .header { background: var(--sfy-grad) !important; color: #fff; font-weight: 700; letter-spacing: -.01em; }
body .price li { border-bottom: 1px solid var(--sfy-border) !important; color: var(--sfy-text-2); }
body .price .grey { background: var(--sfy-surface-2) !important; color: var(--sfy-text); font-weight: 700; }

/* the old pages are built from fixed-width tables: on small screens scroll inside the content box */
@media (max-width: 900px) {
	#content.sfy-content { overflow-x: auto; }
}
body .price .header.sfy-featured { background: linear-gradient(135deg, #f59e0b, #f97316) !important; }
