/* =========================================================
   PinCodeSeva – Global Styles (v1.4)
   Author: ChatGPT (refactor for clarity, consistency, a11y)
   ========================================================= */

/* ===========================
   0) Design Tokens & Base
   =========================== */
:root{
  --brand:#11436d;               /* deep blue header */
  --brand-2:#1974d2;             /* primary blue */
  --accent:#16c8e0;              /* teal accent */
  --text:#0d1b2a;
  --muted:#5a6b7e;
  --muted-2:#8aa0b6;
  --ring:rgba(22,120,255,.25);
  --bg-hero:linear-gradient(180deg,#f6fbff 0%,#ffffff 60%);
  --card:#ffffff;
  --soft:#f6fbff;
  --soft-2:#eaf6ff;
  --shadow:0 10px 30px rgba(0,0,0,.08);
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

img{max-width:100%; height:auto; display:block}
a{color:var(--brand-2); text-decoration:none}
a:hover{text-decoration:underline}

.container-1600{width:100%; max-width:1600px; margin-inline:auto; padding:0 20px}
.visually-hidden{position:absolute; width:1px; height:1px; margin:-1px; padding:0; overflow:hidden; clip:rect(0 0 0 0); border:0}
.accent{color:var(--brand-2); font-weight:700}

/* ===========================
   1) HEADER / NAVIGATION
   =========================== */
.pcs-header-outer{
  position:relative;
  background:linear-gradient(90deg,#11436d 70%, #1372ec 100%);
  box-shadow:0 6px 32px #6ac9fd20;
  padding:0;
}
.pcs-header-inner{
  display:flex; align-items:center; justify-content:space-between;
  max-width:1020px; margin:0 auto; padding:18px 18px 14px;
  position:relative; z-index:2;
}

/* brand */
.pcs-header-logo-link{display:flex; align-items:center; gap:10px}
.pcs-header-logo{
  height:56px; width:auto; border-radius:12px; background:#fff; padding:4px 8px;
  box-shadow:0 2px 8px #d0e8ff75; transition:transform .18s;
}
.pcs-header-logo-link:hover .pcs-header-logo{transform:scale(1.07) rotate(-3deg)}
.pcs-header-title-area{display:flex; flex-direction:column; justify-content:center}
.pcs-header-title{font-size:1.8rem; font-weight:700; color:#fff; letter-spacing:1px; text-shadow:0 2px 10px #12446944}
.pcs-header-subtitle{color:#e3f2fd; font-size:1.07rem; margin-top:2px; font-weight:500; letter-spacing:.7px}

/* nav links (desktop) */
.pcs-header-nav{display:flex; align-items:center; position:relative}
.pcs-nav-toggle{display:none}
.pcs-nav-hamburger{display:none; flex-direction:column; justify-content:center; width:38px; height:38px; cursor:pointer; z-index:101; margin-right:6px}
.pcs-nav-hamburger span{height:4px; width:100%; background:#fff; margin:4px 0; border-radius:2px; transition:all .2s; display:block}

.pcs-nav-links{display:flex; gap:7px}
.pcs-header-nav-link{
  color:#fff !important; font-weight:500; opacity:.96;
  padding:8px 15px; font-size:1.08rem; border-bottom:2px solid transparent;
  transition:color .14s, border-bottom .15s, opacity .15s, background .15s;
  text-decoration:none; border-radius:8px;
}
.pcs-header-nav-link:hover,
.pcs-header-nav-link:focus,
.pcs-header-nav-link.active{
  color:#ffe05b !important; border-bottom:2px solid #ffe05b; background:none; opacity:1; text-decoration:none;
}

/* decorative glow */
.pcs-header-glow{position:absolute; left:0; right:0; bottom:0; height:9px; background:linear-gradient(90deg,#11a7ff44 0%,#f8f8ff00 100%); filter:blur(7px); z-index:1}

/* mobile nav */
@media (max-width:820px){
  .pcs-nav-hamburger{display:flex}
  .pcs-nav-links{
    display:none; position:absolute; right:0; top:48px; background:#fff; border-radius:12px;
    box-shadow:0 7px 16px rgba(30,70,150,.12); flex-direction:column; width:185px; z-index:100; padding:12px 0; animation:fadeNav .3s;
  }
  .pcs-nav-links a{margin:0 0 2px; padding:10px 23px; border-radius:0; border-bottom:1px solid #eee; color:#12386b !important}
  .pcs-nav-links a:hover{background:#e2eefa; color:#1372ec !important}
  .pcs-nav-toggle:checked + .pcs-nav-hamburger + .pcs-nav-links{display:flex}
  .pcs-nav-toggle:checked + .pcs-nav-hamburger span:nth-child(1){transform:rotate(45deg) translate(5px,6px)}
  .pcs-nav-toggle:checked + .pcs-nav-hamburger span:nth-child(2){opacity:0}
  .pcs-nav-toggle:checked + .pcs-nav-hamburger span:nth-child(3){transform:rotate(-45deg) translate(5px,-6px)}
}
@keyframes fadeNav{from{opacity:0; top:70px} to{opacity:1; top:48px}}

/* ===========================
   2) MAIN LAYOUT
   =========================== */
.pcs-main{max-width:640px; margin:48px auto 0; padding:0 14px}

/* ===========================
   3) HERO / SEARCH
   =========================== */
.pcs-search-section.hero{padding:36px 0 20px; background:var(--bg-hero)}
.hero__bg{position:absolute; inset:0; background:radial-gradient(60rem 20rem at 50% -2rem, rgba(22,120,255,.10), transparent); pointer-events:none}
.hero__card{
  background:var(--card); border-radius:16px; box-shadow:var(--shadow); padding:24px;
  max-width:880px; margin:0 auto; animation:pcs-fadein .7s;
}
@keyframes pcs-fadein{from{opacity:0; transform:translateY(30px)} to{opacity:1; transform:none}}

.hero__title{margin:0 0 10px; font-size:clamp(22px,3.2vw,34px); font-weight:700; color:var(--text)}
.helper{margin:.5rem 0 0; color:var(--muted); font-size:14px}
.trust-note{margin:12px 0 0; color:var(--muted-2); font-size:13px}

/* search form */
.pcs-search-form{display:flex; gap:9px; margin-bottom:18px; position:relative}
.input-group{display:flex; gap:10px; width:100%}
.pcs-search-input{
  flex:1; padding:14px 16px; border-radius:12px; border:1.5px solid #d9e6f5; font-size:16px; outline:none;
  box-shadow:0 1px 0 rgba(0,0,0,.02) inset; background:#fff; font-weight:500; letter-spacing:.3px;
}
.pcs-search-input:focus{border-color:var(--brand-2); box-shadow:0 0 0 4px var(--ring), 0 1px 0 rgba(0,0,0,.02) inset; background:#fff}
.pcs-search-btn,
.btn{display:inline-flex; align-items:center; justify-content:center; border:0; cursor:pointer; border-radius:12px; padding:12px 18px; font-weight:600}
.pcs-search-btn,
.btn-primary{background:linear-gradient(90deg, var(--brand-2) 60%, var(--accent) 100%); color:#fff; box-shadow:0 1px 5px #1372ec28; transition:filter .15s}
.pcs-search-btn:hover,
.btn-primary:hover{filter:brightness(1.05)}

@media (max-width:560px){
  .input-group{flex-direction:column}
  .pcs-search-btn{width:100%}
}

/* ===========================
   3a) Suggestions DROPDOWN
   =========================== */
.pcs-search-form{ position: relative; }      /* anchor for absolute child */
.pcs-suggestions{
  position:absolute;
  left:0;
  top:calc(100% + 6px);                      /* just below the form */
  width:100%;
  max-height:260px;                          /* keep list compact */
  overflow-y:auto;                           /* scroll within */
  background:#fff;
  border:1px solid #e0e6ed;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  display:none;
  z-index:50;                                /* above card, not full page */
}
.pcs-suggestion-item{
  padding:10px 12px;
  cursor:pointer;
  outline:0;
  border-bottom:1px solid #f1f1f1;
  font-size:15px;
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis;
}
.pcs-suggestion-item:last-child{border-bottom:none}
.pcs-suggestion-item:hover,
.pcs-suggestion-item:focus{background:#f6fbff}

/* ===========================
   4) TABLE / RESULTS
   =========================== */
.pcs-search-result{margin-top:14px; min-height:20px}
.pcs-loader{width:32px; height:32px; border:3px solid #e9f1ff; border-top-color:#1678ff; border-radius:50%; animation:sp 1s linear infinite; margin:10px auto}
@keyframes sp{to{transform:rotate(360deg)}}
.pcs-empty{padding:12px; background:#fff8e6; border:1px solid #ffe1a6; border-radius:10px}
.pcs-error{padding:12px; background:#ffe6e6; border:1px solid #ffb3b3; border-radius:10px}

.pcs-table-wrap{
  overflow-x:auto; background:#f8fafb; border-radius:14px; margin-top:12px; box-shadow:0 2px 10px #3b82f611
}
.pcs-table{border-collapse:collapse; width:100%; min-width:440px; font-size:1.07rem; border-radius:13px; overflow:hidden}
.pcs-table th, .pcs-table td{padding:12px 10px; text-align:left}
.pcs-table th{background:#1974d211; color:var(--brand-2); font-weight:700}
.pcs-table tr{border-bottom:1px solid #e0e6ef; transition:background .22s}
.pcs-table tr:hover{background:#e4f3ff55}
.pcs-noresult{text-align:center; color:#e74c3c; padding:28px 0 16px; font-size:1.13rem; font-weight:500; letter-spacing:.4px}

/* ===========================
   5) BROWSE BY STATE
   =========================== */
.pcs-browse-section{margin-top:48px}
.pcs-browse-title{font-size:1.17rem; color:var(--brand-2); margin-bottom:18px; font-weight:700; text-align:center; letter-spacing:.3px}
.pcs-browse-grid{display:grid; grid-template-columns:repeat(auto-fit, minmax(132px, 1fr)); gap:17px}
.pcs-browse-card{
  background:var(--soft-2); border-radius:10px; color:var(--brand-2);
  font-weight:600; font-size:1.08rem; padding:15px 8px; text-align:center;
  box-shadow:0 2px 12px #13d3ec11; transition:background .21s, color .17s, box-shadow .2s, transform .15s;
}
.pcs-browse-card:hover{background:var(--brand-2); color:#fff; box-shadow:0 4px 20px #1974d255; transform:translateY(-2px) scale(1.03)}

/* grid variant (for new section titles) */
.states{padding:22px 0 44px}
.section-title{text-align:center; font-weight:700; color:#123a63; font-size:clamp(18px,2.4vw,22px); margin:10px 0 16px}
.state-grid{--cols:4; display:grid; grid-template-columns:repeat(var(--cols), minmax(0,1fr)); gap:14px; list-style:none; padding:0; margin:10px auto 0; max-width:1080px}
@media (max-width:1024px){.state-grid{--cols:3}}
@media (max-width:720px){.state-grid{--cols:2}}
@media (max-width:420px){.state-grid{--cols:1}}
.state-card{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:#f6fbff; color:#123a63; padding:14px 16px; border-radius:14px; border:1px solid #e6f0fb; font-weight:600; transition:.2s ease;
}
.state-card:hover{background:#eefdff; border-color:#d9f6ff; transform:translateY(-1px); box-shadow:0 6px 18px rgba(0,0,0,.05)}
.state-card__icon{opacity:.7}

/* ===========================
   6) FOOTER
   =========================== */
.pcs-footer-outer{
  margin-top:65px; background:linear-gradient(90deg,#e3f1fd 60%, #d7ebff 100%);
  border-top:1px solid #b9def855; padding:0;
}
.pcs-footer-inner{
  max-width:960px; margin:0 auto; padding:26px 18px 16px;
  display:flex; flex-direction:column; align-items:center; gap:7px;
}
.pcs-footer-brand{display:flex; align-items:center; gap:9px}
.pcs-footer-logo{height:34px; width:auto; border-radius:8px; background:#fff; box-shadow:0 1px 6px #cdeeff30; padding:2px 7px}
.pcs-footer-brand-name{color:var(--brand-2); font-size:1.2rem; font-weight:700; letter-spacing:.7px}
.pcs-footer-info{color:#5a6b7e; font-size:1rem; display:flex; gap:8px; align-items:center}
.pcs-footer-dot{color:#79b1ec; font-size:1.4em}
.pcs-footer-link{color:var(--brand-2); font-weight:600; border-bottom:2px dotted #1974d222}
.pcs-footer-link:hover{color:#1372ec; border-bottom:2px solid #1974d2}
.pcs-footer-credit{color:#ab4168; font-size:.99rem; font-weight:500; margin-top:5px; letter-spacing:.5px}

/* ===========================
   7) RESPONSIVE TWEAKS
   =========================== */
@media (max-width:700px){
  .pcs-header-inner, .pcs-footer-inner{flex-direction:column; gap:8px}
  .pcs-header-inner{padding:12px 6px}
  .pcs-footer-inner{padding:18px 6px 11px}
  .pcs-header-title{font-size:1.25rem}
  .pcs-header-subtitle{font-size:.98rem}
  .pcs-header-logo{height:36px}
  .pcs-main{max-width:98vw}
  .pcs-search-section{padding:18px 6px 18px}
  .pcs-browse-grid{gap:11px}
  .pcs-table{font-size:1rem}
}

/* ===========================
   8) OPTIONAL UTILS
   =========================== */
.shadow{box-shadow:var(--shadow)}
.round{border-radius:var(--radius-md)}
.card{background:#fff; border:1px solid #eef3fa; border-radius:var(--radius-lg); box-shadow:var(--shadow)}


/* ---- Home hero helpers ---- */
.hero__card { background:#fff; border:1px solid #e2e8f0; border-radius:16px; padding:18px; position:relative }
.hero__title { font-weight:800; font-size:clamp(22px,4.2vw,38px); margin:6px 0 10px }
.hero__title .accent { color:#0ea5e9 }
.helper { color:#64748b; margin:6px 0 0; font-size:14px }
.cta-row { display:flex; gap:12px; flex-wrap:wrap; margin:10px 0 10px }

/* suggestions dropdown */
.pcs-suggestions{border:1px solid #e2e8f0;border-radius:12px;margin-top:8px;max-width:640px;background:#fff;box-shadow:0 10px 24px rgba(2,6,23,.08)}
.pcs-suggestion-item{padding:10px 12px;cursor:pointer}
.pcs-suggestion-item:hover,.pcs-suggestion-item:focus{background:#f8fafc;outline:none}

/* loader */
.pcs-loader{width:36px;height:36px;border-radius:50%;border:3px solid #e2e8f0;border-top-color:#0ea5e9;margin:16px auto;animation:spin 0.8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

/* geo card */
.geo-card{border:1px solid #e2e8f0;border-radius:14px;padding:12px;margin:8px 16px;background:#fff}
.geo-card__title{font-weight:700;margin-bottom:4px}
.geo-card__meta{color:#334155;margin-bottom:10px}
.geo-card__actions{display:flex;gap:10px;flex-wrap:wrap}

/* buttons (if not already present) */
.btn-primary{padding:10px 16px;border-radius:10px;background:#0ea5e9;color:#fff;border:none;font-weight:700;display:inline-block;text-decoration:none}
.btn-primary:hover{opacity:.92}
.btn-outline{padding:10px 16px;border-radius:10px;border:2px solid #0ea5e9;color:#0ea5e9;font-weight:700;display:inline-block;text-decoration:none}
.btn-outline:hover{background:#e6f6fd}
.btn-ghost{padding:10px 14px;border-radius:10px;border:1px dashed #94a3b8;color:#0f172a;background:#fff;display:inline-block}

/* a11y utility */
.visually-hidden{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}

.pcs-browse-table-container {
  overflow-x: auto;
  background: #f6fbff;
  border-radius: 18px;
  box-shadow: 0 2px 14px 0 #e2f0ffb0;
  padding: 16px 10px 12px 10px;
  margin: 0 auto 36px auto;
  max-width: 1000px;
}
.pcs-browse-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 12px;
  background: none;
}
.pcs-browse-table td {
  padding: 0;
}
.pcs-browse-table-link {
  display: flex;
  align-items: center;
  min-width: 155px;
  height: 44px;
  background: #fff;
  color: #18559a;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 12px;
  box-shadow: 0 1.5px 8px 0 #9dcefd18;
  padding: 0 14px;
  margin: 0 7px;
  text-decoration: none;
  transition: box-shadow .18s, background .15s, color .15s;
  border: 1px solid #e5edfc;
}
.pcs-browse-table-link:hover, .pcs-browse-table-link:focus {
  background: linear-gradient(92deg, #e3f0ff 70%, #d2e5ff 100%);
  color: #1977e6;
  box-shadow: 0 3px 16px #73bcff45;
  border-color: #b6d3fb;
  outline: none;
}
.pcs-browse-table-link .arrow {
  margin-left: auto;
  font-size: 1.15em;
  color: #3793f7;
  transition: transform 0.13s;
}
.pcs-browse-table-link:hover .arrow { transform: translateX(4px);}
@media (max-width: 900px) {
  .pcs-browse-table-link { min-width: 105px; font-size: .95rem; }
}
@media (max-width: 650px) {
  .pcs-browse-table-link { min-width: 90px; font-size: .91rem; height: 38px;}
  .pcs-browse-table-container { padding: 6px 2px; }
}



.pcs-pin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.pcs-pin-table th,
.pcs-pin-table td {
  border: 1px solid #e5e7eb;
  padding: 10px 12px;
  font-size: 14px;
}

.pcs-pin-table th {
  background: #f8fafc;
  font-weight: 600;
}

.badge {
  padding: 4px 10px;
  border-radius: 14px;
  font-size: 12px;
  font-weight: 600;
}

.badge-delivery {
  background: #e6f9f0;
  color: #047857;
}

.badge-non-delivery {
  background: #fff1f2;
  color: #b91c1c;
}

.pcs-delivery-note {
  background: #f9fafb;
  border-left: 4px solid #2563eb;
  padding: 16px;
  margin-top: 24px;
  font-size: 14px;
}

/* ================= GOOGLE STYLE SEARCH ================= */

.google-search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  max-width: 640px;
  margin-top: 18px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  border: 1px solid #dadce0;
}

.google-search-box:focus-within {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border-color: #1a73e8;
}

.gs-icon {
  font-size: 18px;
  color: #5f6368;
}

.google-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  padding: 8px;
}

.gs-btn {
  background: #1a73e8;
  color: #fff;
  border: none;
  padding: 8px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
}

.gs-btn:hover {
  background: #1558c0;
}

/* ================= AUTOCOMPLETE (GOOGLE STYLE) ================= */

.pcs-autocomplete-box {
  position: absolute;
  top: 110%;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  border: 1px solid #dadce0;
  z-index: 9999;
  max-height: 280px;
  overflow-y: auto;
  display: none;
}

.pcs-autocomplete-box div {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pcs-autocomplete-box div::before {
  content: "📍";
  opacity: 0.6;
}

.pcs-autocomplete-box div:hover {
  background: #f1f3f4;
}

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .google-search-box {
    flex-direction: column;
    border-radius: 18px;
    gap: 8px;
  }

  .gs-btn {
    width: 100%;
  }
}
.pcs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin-top: 20px;
}

.pcs-table th,
.pcs-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #e5e7eb;
}

.pcs-table th {
  background: #f8fafc;
  font-weight: 600;
}

.pcs-table tr:hover {
  background: #f1f5f9;
}

.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin: 15px 0;
}

.alert-success {
  background: #e6fffa;
  color: #065f46;
}

.alert-warning {
  background: #fff7ed;
  color: #92400e;
}

