/* ==========================================================================
   WP Help Center - Styles
   ========================================================================== */

:root{
	--wphc-primary:#1f4fd6;
	--wphc-primary-dark:#1638a0;
	--wphc-bg-light:#eef4ff;
	--wphc-text-dark:#0f172a;
	--wphc-text-muted:#64748b;
	--wphc-border:#e2e8f0;
	--wphc-radius:14px;
}

.wphc-wrap{
	max-width:1200px;
	margin:0 auto;
	padding:0 24px 60px;
	color:var(--wphc-text-dark);
}

/* ---------- Top bar button ---------- */
.wphc-top-bar{
	display:flex;
	justify-content:flex-end;
	padding:20px 0 0;
}
.wphc-btn{
	display:inline-flex;
	align-items:center;
	gap:6px;
	background:var(--wphc-primary);
	color:#fff;
	padding:10px 18px;
	border-radius:8px;
	font-weight:600;
	text-decoration:none;
	font-size:14px;
	transition:background .2s ease;
}
.wphc-btn:hover{ background:var(--wphc-primary-dark); color:#fff; }

/* ---------- Hero ---------- */
.wphc-hero {
    background: url(https://store.liyanitsolution.com/wp-content/uploads/2026/09/ChatGPT-Image-Sep-11-2026-03_32_25-PM.png) no-repeat;
    background-size: cover;
    background-position: bottom;
    border-radius: 0;
    padding: 110px 60px;
    margin: 0px 0 40px;
    text-align: center;
}
.wphc-hero-small{ padding:100px 30px; margin-bottom:30px; }
.wphc-hero-inner{ max-width:680px; margin:0 auto; }
.wphc-hero-title{
	font-size:38px;
	font-weight:800;
	margin:0 0 10px;
	color:var(--wphc-text-dark);
}
.wphc-hero-small .wphc-hero-title{ font-size:28px; }
.wphc-hero-title .wphc-accent,
.wphc-hero-title{ }
.wphc-hero-title{ }
.wphc-hero-title{ }
.wphc-hero-title span.wphc-accent{ color:var(--wphc-primary); }
.wphc-hero-subtitle{
	color:var(--wphc-text-muted);
	font-size:16px;
	margin:0 0 24px;
}

.wphc-search-form{
	display:flex;
	max-width:520px;
	margin:0 auto;
	background:#fff;
	border-radius:10px;
	overflow:hidden;
	box-shadow:0 4px 14px rgba(15,23,42,.08);
}
.wphc-search-input{
	flex:1;
	border:none;
	padding:14px 16px;
	font-size:14px;
	outline:none;
}
.wphc-search-btn{
	background:var(--wphc-primary);
	border:none;
	color:#fff;
	padding:0 20px;
	cursor:pointer;
}
.wphc-search-btn:hover{ background:var(--wphc-primary-dark); }

.wphc-article-content h1 {
    font-size: 26px;
	margin-bottom: 15px !important;
}

/* ---------- Grid ---------- */
.wphc-grid{
	display:grid;
	grid-template-columns:repeat(3,1fr);
	gap:24px;
	margin-bottom:40px;
}
.wphc-article-content hr {
	margin: 0px 0 20px 0;
}

@media (max-width:900px){ .wphc-grid{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ 
	.wphc-grid{ grid-template-columns:1fr;}
	.wphc-hero {
		padding: 50px 10px;
	}
	.wphc-hero-title {
		font-size: 30px;
	}
	.wphc-hero-inner {
    	max-width: 100%;
	}
	form.wphc-search-form {
		max-width: 94%;
		overflow: visible;
	}
	.wphc-wrap {
		padding: 0 14px 60px;
	}
	section.wphc-satisfaction-bar {
		flex-direction: column;
		text-align: center;
		padding: 20px !important;
	}

	section.wphc-satisfaction-bar .wphc-satisfaction-divider {
		display: none;
	}

	section.wphc-satisfaction-bar .wphc-smile {
		display: none;
	}
	.wphc-doc-layout {
		display: block !important;
	}
	aside.wphc-sidebar {
		margin-bottom: 24px;
	}
	.wphc-main-content {
		padding: 30px 14px !important;
	}
	.wphc-article-title {
		font-size: 22px !important;
	}
	.help_doc.type-help_doc h3 {
		font-size: 17px !important;
		line-height: 27px;
	}
	.wphc-article-content hr {
		margin: 10px 0;
	}
	.wphc-satisfaction-text {
		max-width: 100% !important;
	}
	.wphc-satisfaction-label br {
		display: none;
	}
}

.wphc-card{
	display:block;
	background:#fff;
	border:1px solid var(--wphc-border);
	border-radius:var(--wphc-radius);
	padding:26px;
	text-decoration:none;
	color:inherit;
	transition:box-shadow .2s ease, transform .2s ease;
}
.wphc-card:hover{
	box-shadow:0 10px 24px rgba(15,23,42,.08);
	transform:translateY(-2px);
	color:inherit;
}
.wphc-card-icon{
	width:52px;
	height:52px;
	border-radius:50%;
	background:var(--wphc-bg-light);
	display:flex;
	align-items:center;
	justify-content:center;
	margin-bottom:16px;
}
.wphc-card-icon img{ width:26px; height:26px; object-fit:contain; }
.wphc-card-icon .dashicons{ color:var(--wphc-primary); font-size:24px; }

.wphc-card-title{
	font-size:19px;
	font-weight:700;
	margin:0 0 8px;
}
.wphc-card-desc{
	color:var(--wphc-text-muted);
	font-size:14px;
	margin:0 0 14px;
	line-height:1.5;
}
.wphc-card-links{
	list-style:none;
	margin:0 0 14px;
	padding:0;
}
.wphc-card-links li{
	font-size:13.5px;
	color:var(--wphc-primary);
	margin-bottom:8px;
	display:flex;
	align-items:center;
	gap:6px;
}
.wphc-card-links .dashicons{ font-size:14px; width:14px; height:14px; }
.wphc-card-readmore{
	color:var(--wphc-primary);
	font-weight:600;
	font-size:14px;
}

/* ---------- Satisfaction bar ---------- */
.wphc-satisfaction-bar{
	background:var(--wphc-bg-light);
	border-radius:16px;
	padding:24px 32px;
	display:flex;
	align-items:center;
	justify-content: center;
	gap:18px;
	flex-wrap:wrap;
}
.wphc-smile{ font-size:70px; }
.wphc-satisfaction-pct{ font-size:54px; font-weight:800; color:var(--wphc-primary); }
.wphc-satisfaction-label{ font-weight:700; font-size:21px; line-height:1.2; }
.wphc-satisfaction-divider{ width:1px; height:34px; background:var(--wphc-border); }
.wphc-satisfaction-text {
    color: var(--wphc-text-muted);
    font-size: 15px;
    margin: 0;
    flex: 1;
    max-width: 43%;
}

/* ---------- Single doc layout ---------- */
.wphc-doc-layout{
	display:grid;
	grid-template-columns:320px 1fr;
	gap:30px;
	align-items:start;
}
@media (max-width:820px){
	.wphc-doc-layout{ grid-template-columns:1fr; }
}

/* Sidebar */
.wphc-sidebar{
	background:#fff;
	border:1px solid var(--wphc-border);
	border-radius:var(--wphc-radius);
	padding:10px;
	position:sticky;
	top:20px;
}

/* "Documentation - Browse all help topics" static top link */
.wphc-sidebar-home{
	display:flex;
	align-items:center;
	gap:12px;
	padding:14px 12px;
	text-decoration:none;
	color:inherit;
	border-bottom:1px solid var(--wphc-border);
	margin-bottom:6px;
}
.wphc-sidebar-home:hover{ color:var(--wphc-primary); }
.wphc-sidebar-home .wphc-tab-title{ color:inherit; }

/* Icon circle - used both for top link and each tab */
.wphc-tab-icon{
	flex:0 0 auto;
	width:38px;
	height:38px;
	border-radius:10px;
	background:var(--wphc-bg-light);
	display:flex;
	align-items:center;
	justify-content:center;
	overflow:hidden;
}
.wphc-tab-icon img{ width:20px; height:20px; object-fit:contain; }
.wphc-tab-icon .dashicons{ color:var(--wphc-primary); font-size:20px; width:20px; height:20px; }
.wphc-tab-icon-default{ background:var(--wphc-bg-light); }

/* Title + description text block (used inside tab-toggle and sidebar-home) */
.wphc-tab-text{
	display:flex;
	flex-direction:column;
	gap:2px;
	text-align:left;
	min-width:0; 
	flex:1 1 auto;
}
.wphc-tab-title{
	font-weight:700;
	font-size:14.5px;
	color:var(--wphc-text-dark);
}
.wphc-tab-desc{
	font-size:12.5px;
	color:var(--wphc-text-muted);
	font-weight:400;
	white-space:nowrap;
	overflow:hidden;
	text-overflow:ellipsis;
	max-width:100%;
}

.wphc-tab{ border-bottom:1px solid var(--wphc-border); }
.wphc-tab:last-child{ border-bottom:none; }
.wphc-tab-toggle{
	width:100%;
	background:none;
	border:none;
	display:flex;
	align-items:center;
	gap:12px;
	padding:13px 12px;
	cursor:pointer;
	text-align:left;
}
.wphc-tab.is-open > .wphc-tab-toggle .wphc-tab-title{ color:var(--wphc-primary); }
.wphc-tab-arrow{
	flex:0 0 auto;
	margin-left:auto;
	transition:transform .2s ease;
	color:var(--wphc-text-muted);
}
.wphc-tab.is-open .wphc-tab-arrow{ transform:rotate(180deg); color:var(--wphc-primary); }

.wphc-tab-panel{
	list-style:none;
	margin:0;
	padding:0 8px 10px 10px; /* icon ke barabar indent taaki sub-items align dikhein */
}
.wphc-tab-panel li{ margin:0; }
.wphc-tab-link{
	display:flex;
	align-items:center;
	gap:6px;
	padding:8px 10px;
	border-radius:6px;
	font-size:13.5px;
	color:var(--wphc-text-muted);
	text-decoration:none;
}
.wphc-tab-link .dashicons{ font-size:14px; width:14px; height:14px; }
.wphc-tab-link:hover{ background:var(--wphc-bg-light); color:var(--wphc-primary); }
.wphc-tab-link.is-active{
	background:var(--wphc-bg-light);
	color:var(--wphc-primary);
	font-weight:700;
}

/* Main content */
.wphc-breadcrumb{
	font-size:13px;
	color:var(--wphc-text-muted);
	margin-bottom:16px;
}
.wphc-breadcrumb a{ color:var(--wphc-text-muted); text-decoration:none; }
.wphc-main-content{
	background:#fff;
	border:1px solid var(--wphc-border);
	border-radius:var(--wphc-radius);
	padding:34px;
}
.wphc-article-title{ font-size:28px; font-weight:800; margin:0 0 16px; }
.wphc-article-content{ line-height:1.75; font-size:15.5px; color:#1e293b; }
.wphc-article-content h2,
.wphc-article-content h3{ margin-top:28px; }
.wphc-article-content ol,
.wphc-article-content ul{ padding-left:22px; }
.wphc-article-content img{ max-width:100%; border-radius:10px; }

.wphc-need-help{
	display:flex;
	gap:12px;
	background:var(--wphc-bg-light);
	border-radius:10px;
	padding:16px 18px;
	margin:28px 0;
	align-items:flex-start;
}
.wphc-need-help .dashicons{ color:var(--wphc-primary); margin-top:2px; }
.wphc-need-help p{ margin:4px 0 0; color:var(--wphc-text-muted); font-size:14px; }

.wphc-bottom-grid{
	display:grid;
	grid-template-columns:1fr 1fr;
	gap:20px;
	margin-top:20px;
}
@media (max-width:600px){ .wphc-bottom-grid{ grid-template-columns:1fr; } }
.wphc-related,
.wphc-feedback{
	border:1px solid var(--wphc-border);
	border-radius:10px;
	padding:16px 18px;
	font-size:14px;
}
.wphc-related ul{ margin:10px 0 0; padding-left:18px; }
.wphc-related a{ color:var(--wphc-primary); text-decoration:none; }
.wphc-feedback-btns{ display:flex; gap:10px; margin-top:12px; }
.wphc-btn-outline{
	border:1px solid var(--wphc-border);
	background:#fff;
	border-radius:8px;
	padding:8px 14px;
	cursor:pointer;
	font-size:14px;
}
.wphc-btn-outline:hover{ border-color:var(--wphc-primary); }


.help_doc.type-help_doc h2{ font-size: 24px; font-weight: 800; margin: 32px 0 14px; color: #111827; }
.help_doc.type-help_doc h3{ font-size: 20px; font-weight: 700; margin: 28px 0 12px; color: #111827; }
.help_doc.type-help_doc p{ margin: 0 0 18px; }
.help_doc.type-help_doc ul,
.help_doc.type-help_doc ol{ margin: 0 0 18px 22px; padding: 0; }
.help_doc.type-help_doc li{ margin-bottom: 8px; }
.help_doc.type-help_doc a{ color: var(--wphc-primary); text-decoration: underline; }
.help_doc.type-help_doc img{ max-width: 100%; height: auto; border-radius: var(--afb-radius-sm); margin: 8px 0 20px; }
.help_doc.type-help_doc blockquote{
  border-left: 3px solid var(--wphc-primary);
  background: #f8fafc;
  padding: 14px 20px;
  margin: 0 0 20px;
  color: #6b7280;
  font-style: italic;
  border-radius: 0 10px 10px 0;
}
.help_doc.type-help_doc pre,
.help_doc.type-help_doc code{
  background: #0f172a;
  color: #e2e8f0;
  border-radius: 10px;
}
.help_doc.type-help_doc pre{ padding: 16px; overflow-x: auto; margin: 12px 0 20px; }
.help_doc.type-help_doc code{ padding: 2px 6px; font-size: 13.5px; }

/* ---------- Table design (article content ke andar) ----------
   Ye .wphc-article-content aur .help_doc.type-help_doc dono jagah kaam karega,
   kyunki editor content in dono classes ke andar aata hai.
   ---------------------------------------------------------- */
.wphc-article-content table,
.help_doc.type-help_doc table{
	width:100%;
	border-collapse:separate;
	border-spacing:0;
	margin:0 0 26px;
	font-size:14.5px;
	background:#fff;
	border:1px solid var(--wphc-border);
	border-radius:12px;
	overflow:hidden;
}

/* Table ko chhoti screen par horizontally scroll karne ke liye wrap karo */
.wphc-article-content{ overflow-x:auto; }

.wphc-article-content table thead th,
.help_doc.type-help_doc table thead th{
	background:var(--wphc-bg-light);
	color:var(--wphc-text-dark);
	font-weight:700;
	font-size:13.5px;
	text-transform:uppercase;
	letter-spacing:.03em;
	text-align:left;
	padding:14px 16px;
	border-bottom:1px solid var(--wphc-border);
}

.wphc-article-content table tbody td,
.help_doc.type-help_doc table tbody td{
	padding:14px 16px;
	vertical-align:top;
	border-bottom:1px solid var(--wphc-border);
	color:#1e293b;
	line-height:1.6;
}

.wphc-article-content table tbody tr:last-child td,
.help_doc.type-help_doc table tbody tr:last-child td{
	border-bottom:none;
}

.wphc-article-content table tbody tr:nth-child(even),
.help_doc.type-help_doc table tbody tr:nth-child(even){
	background:#fafbfc;
}

.wphc-article-content table tbody tr:hover,
.help_doc.type-help_doc table tbody tr:hover{
	background:#f0f5ff;
}

/* Attribute-name jaisi cells me agar <code> use kiya hai to wo already
   pill/badge jaisa dikhega upar defined .help_doc code style se.
   Agar table ke pehle column ko hamesha bold-pill dikhana ho bina <code> ke,
   to editor me pehle column ko <code>attribute_name</code> se wrap karein. */
.wphc-article-content table code,
.help_doc.type-help_doc table code{
	white-space:nowrap;
}

/* Responsive: chhoti screen par table font thoda chhota */
@media (max-width:600px){
	.wphc-article-content table,
	.help_doc.type-help_doc table{ font-size:13px; }
	.wphc-article-content table thead th,
	.help_doc.type-help_doc table thead th,
	.wphc-article-content table tbody td,
	.help_doc.type-help_doc table tbody td{ padding:10px 12px; }
}