/* ============================================================
   India Pincode Plugin v5.0 – Unified Design System
   Color palette matches the premium homepage:
     Navy dark:   #0a0a28 / #1a1a5e
     Saffron:     #ff671f
     Green:       #06a94d
     Gold accent: #ffcc00
     Blue CTA:    #0073aa
   ============================================================ */

/* ── SEARCH FORM (shortcode) ── */
.pincode-search-form {
	max-width: 620px;
	margin: 0 auto;
	padding: 28px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
	border: 1px solid #e8edf2;
}
.form-group { margin-bottom: 18px; }
.form-group h2 {
	font-size: 1rem;
	font-weight: 700;
	color: #1a1a5e;
	margin-bottom: 8px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.form-group input[type="text"] {
	width: 100%;
	padding: 11px 16px;
	font-size: 1rem;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	box-sizing: border-box;
	transition: border-color .2s;
	background: #f8fafc;
	color: #1a1a2e;
}
.form-group input[type="text"]:focus {
	border-color: #0073aa;
	outline: none;
	background: #fff;
}
.search-button {
	display: block;
	width: 100%;
	padding: 13px;
	background: linear-gradient(135deg, #ff671f, #e55a0f);
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	letter-spacing: .3px;
	transition: opacity .2s, transform .1s;
}
.search-button:hover { opacity: .92; transform: translateY(-1px); }

#pincode-result {
	margin-top: 20px;
	padding: 16px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: .95rem;
}

/* ── DETAILS TABLE ── */
.ip-details-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 16px;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.ip-details-table th,
.ip-details-table td {
	padding: 10px 14px;
	border: 1px solid #e8edf2;
	font-size: .93rem;
}
.ip-details-table th {
	background: linear-gradient(135deg, #0a0a28, #1a1a5e);
	color: #fff;
	width: 160px;
	text-align: left;
	font-weight: 600;
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .3px;
}
.ip-details-table td { background: #fff; color: #1a1a2e; }
.ip-details-table tr:nth-child(even) td { background: #f8fafc; }
.ip-details-table tr:hover td { background: #edf4fb; }

/* ── MAP ── */
.pincode-map { margin: 32px 0; }
.pincode-map h2 {
	font-size: 1.1rem;
	color: #1a1a5e;
	margin-bottom: 10px;
	padding-bottom: 8px;
	border-bottom: 2px solid #ff671f;
	display: inline-block;
}
.pincode-map iframe {
	border-radius: 10px;
	display: block;
	box-shadow: 0 4px 16px rgba(0,0,0,.12);
}
.ip-coords {
	font-size: 12px;
	color: #888;
	margin-top: 6px;
}

/* ── DESCRIPTION CARD ── */
.ip-description {
	margin: 32px 0;
	padding: 24px 28px;
	background: linear-gradient(135deg, #f0f6fc 0%, #f8fafc 100%);
	border-left: 5px solid #ff671f;
	border-radius: 0 10px 10px 0;
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
}
.ip-description h2 {
	color: #1a1a5e;
	margin-top: 0;
	font-size: 1.1rem;
	margin-bottom: 14px;
}
.ip-description p {
	line-height: 1.8;
	color: #374151;
	margin-bottom: 14px;
	font-size: .97rem;
}
.ip-description p:last-child { margin-bottom: 0; }

/* ── NEARBY PINCODES ── */
.ip-nearby { margin: 32px 0; }
.ip-nearby h2 {
	color: #1a1a5e;
	font-size: 1.1rem;
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #06a94d;
	display: inline-block;
}
.ip-nearby-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 10px;
	list-style: none;
	padding: 0;
	margin: 0;
}
.ip-nearby-list li a {
	display: block;
	padding: 11px 15px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-size: .87rem;
	color: #0073aa;
	text-decoration: none;
	transition: all .2s;
	line-height: 1.45;
	border-left: 3px solid #0073aa;
}
.ip-nearby-list li a:hover {
	background: #edf4fb;
	border-color: #0073aa;
	transform: translateY(-1px);
	box-shadow: 0 4px 10px rgba(0,115,170,.1);
}

/* ── FAQ ── */
.ip-faq { margin: 32px 0; }
.ip-faq h2 {
	color: #1a1a5e;
	font-size: 1.1rem;
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #ffcc00;
	display: inline-block;
}
.ip-faq-list { margin: 0; padding: 0; }
.ip-faq-list dt {
	font-weight: 700;
	color: #fff;
	padding: 12px 18px;
	background: linear-gradient(135deg, #1a1a5e, #0a0a28);
	border-radius: 6px 6px 0 0;
	margin-top: 10px;
	font-size: .93rem;
}
.ip-faq-list dd {
	margin: 0;
	padding: 13px 18px;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-top: none;
	color: #374151;
	line-height: 1.75;
	border-radius: 0 0 6px 6px;
	font-size: .93rem;
}

/* ── IMPORTANCE SECTION ── */
.sample-content { margin: 32px 0; }
.sample-content h2 {
	color: #1a1a5e;
	font-size: 1.1rem;
	margin-bottom: 14px;
	padding-bottom: 8px;
	border-bottom: 2px solid #06a94d;
	display: inline-block;
}
.sample-content p {
	line-height: 1.8;
	color: #374151;
	font-size: .97rem;
	margin-bottom: 14px;
}

/* ── PINCODE PAGE HERO BANNER ── */
.ip-page-hero {
	background: linear-gradient(135deg, #0a0a28 0%, #1a1a5e 60%, #0d3b2e 100%);
	padding: 36px 24px;
	margin-bottom: 32px;
	border-radius: 0 0 16px 16px;
	box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.ip-page-hero-inner {
	max-width: 900px;
	margin: 0 auto;
}
.ip-page-hero h1 {
	color: #fff !important;
	font-size: clamp(1.4rem, 3vw, 2rem) !important;
	font-weight: 800 !important;
	margin: 0 0 10px !important;
	line-height: 1.3 !important;
	text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.ip-page-hero-meta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.ip-page-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 4px 12px;
	border-radius: 20px;
	font-size: .8rem;
	font-weight: 600;
}
.ip-badge-pin  { background: rgba(255,204,0,.2);  color: #ffcc00; border: 1px solid rgba(255,204,0,.4); }
.ip-badge-dist { background: rgba(6,169,77,.15);  color: #4ade80; border: 1px solid rgba(6,169,77,.3); }
.ip-badge-state{ background: rgba(255,103,31,.15); color: #ffa07a; border: 1px solid rgba(255,103,31,.3); }

/* ── BREADCRUMB ── */
.ip-breadcrumb {
	font-size: .82rem;
	color: rgba(255,255,255,.6);
	margin-bottom: 10px;
}
.ip-breadcrumb a { color: rgba(255,255,255,.7); text-decoration: none; }
.ip-breadcrumb a:hover { color: #fff; }
.ip-breadcrumb span { color: rgba(255,255,255,.4); margin: 0 6px; }

/* ── CONTENT WRAPPER (scoped to pincode pages) ── */
.ip-page-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 20px 40px;
}
.ip-page-content h2 {
	font-size: 1.15rem !important;
	font-weight: 700 !important;
	color: #1a1a5e !important;
	margin: 0 0 12px !important;
}
.pincode-details h2 { display: inline-block; padding-bottom: 6px; border-bottom: 2px solid #ff671f; }

/* ── AD SLOT ── */
.ip-ad-slot { text-align: center; margin: 28px 0; }
.ip-ad-slot-label { font-size: 10px; color: #bbb; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
	.ip-nearby-list { grid-template-columns: 1fr 1fr; }
	.ip-details-table th { width: 120px; font-size: .78rem; }
	.ip-page-hero { padding: 24px 16px; border-radius: 0; }
}
