/* Shared registration-page card layout and hover-only motion. */

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page, .msme-page, .startup-page).registration-reference-page main :is(article[class$="-card"], article[class$="-trust"]) {
    background: #f8fbf9 !important;
    border-color: #c9ddd2 !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page).registration-reference-page main :is(article[class$="-card"], article[class$="-trust"]):nth-child(5n+1),
html body:is(.msme-page, .startup-page).registration-reference-page main article[class$="-card"]:nth-child(6n+1) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page).registration-reference-page main :is(article[class$="-card"], article[class$="-trust"]):nth-child(5n+2),
html body:is(.msme-page, .startup-page).registration-reference-page main article[class$="-card"]:nth-child(6n+2) {
    background: #fff2b9 !important;
    border-color: #f2bf3d !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page).registration-reference-page main :is(article[class$="-card"], article[class$="-trust"]):nth-child(5n+3),
html body:is(.msme-page, .startup-page).registration-reference-page main article[class$="-card"]:nth-child(6n+3) {
    background: #d9f7eb !important;
    border-color: #48d7a6 !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page).registration-reference-page main :is(article[class$="-card"], article[class$="-trust"]):nth-child(5n+4),
html body:is(.msme-page, .startup-page).registration-reference-page main article[class$="-card"]:nth-child(6n+4) {
    background: #ffe0ec !important;
    border-color: #ef6f9d !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page).registration-reference-page main :is(article[class$="-card"], article[class$="-trust"]):nth-child(5n),
html body:is(.msme-page, .startup-page).registration-reference-page main article[class$="-card"]:nth-child(6n+5) {
    background: #e8ddff !important;
    border-color: #8d6df3 !important;
}

html body:is(.msme-page, .startup-page).registration-reference-page main article[class$="-card"]:nth-child(6n) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

/* Explicit Bank Audit palette for the requested registration pages. */
html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page, .msme-page, .startup-page) main article[class$="-card"]:nth-child(5n+1),
html body:is(.msme-page, .startup-page) main article[class$="-card"]:nth-child(6n+1) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page, .msme-page, .startup-page) main article[class$="-card"]:nth-child(5n+2),
html body:is(.msme-page, .startup-page) main article[class$="-card"]:nth-child(6n+2) {
    background: #fff2b9 !important;
    border-color: #f2bf3d !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page, .msme-page, .startup-page) main article[class$="-card"]:nth-child(5n+3),
html body:is(.msme-page, .startup-page) main article[class$="-card"]:nth-child(6n+3) {
    background: #d9f7eb !important;
    border-color: #48d7a6 !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page, .msme-page, .startup-page) main article[class$="-card"]:nth-child(5n+4),
html body:is(.msme-page, .startup-page) main article[class$="-card"]:nth-child(6n+4) {
    background: #ffe0ec !important;
    border-color: #ef6f9d !important;
}

html body:is(.partnership-body, .llp-body, .plc-body, .uk-page, .usa-page, .msme-page, .startup-page) main article[class$="-card"]:nth-child(5n),
html body:is(.msme-page, .startup-page) main article[class$="-card"]:nth-child(6n+5) {
    background: #e8ddff !important;
    border-color: #8d6df3 !important;
}

html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(5n+1),
html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(6n+1) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(5n+2),
html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(6n+2) {
    background: #fff2b9 !important;
    border-color: #f2bf3d !important;
}

html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(5n+3),
html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(6n+3) {
    background: #d9f7eb !important;
    border-color: #48d7a6 !important;
}

html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(5n+4),
html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(6n+4) {
    background: #ffe0ec !important;
    border-color: #ef6f9d !important;
}

html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(5n),
html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(6n+5) {
    background: #e8ddff !important;
    border-color: #8d6df3 !important;
}

html body:is(.trust-page, .society-page, .ngo-page, .a12-page).registration-reference-page main article[class$="-card"]:nth-child(6n) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body.registration-reference-page main :is(.pt-doc-card, .pt-benefit-card, .pt-penalty):nth-child(6n+1) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body.registration-reference-page main :is(.pt-doc-card, .pt-benefit-card, .pt-penalty):nth-child(6n+2) {
    background: #fff2b9 !important;
    border-color: #f2bf3d !important;
}

html body.registration-reference-page main :is(.pt-doc-card, .pt-benefit-card, .pt-penalty):nth-child(6n+3) {
    background: #d9f7eb !important;
    border-color: #48d7a6 !important;
}

html body.registration-reference-page main :is(.pt-doc-card, .pt-benefit-card, .pt-penalty):nth-child(6n+4) {
    background: #ffe0ec !important;
    border-color: #ef6f9d !important;
}

html body.registration-reference-page main :is(.pt-doc-card, .pt-benefit-card, .pt-penalty):nth-child(6n+5) {
    background: #e8ddff !important;
    border-color: #8d6df3 !important;
}

html body.registration-reference-page main :is(.pt-doc-card, .pt-benefit-card, .pt-penalty):nth-child(6n) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(6n+1),
html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(5n+1) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(6n+2),
html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(5n+2) {
    background: #fff2b9 !important;
    border-color: #f2bf3d !important;
}

html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(6n+3),
html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(5n+3) {
    background: #d9f7eb !important;
    border-color: #48d7a6 !important;
}

html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(6n+4),
html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(5n+4) {
    background: #ffe0ec !important;
    border-color: #ef6f9d !important;
}

html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(6n+5),
html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(5n) {
    background: #e8ddff !important;
    border-color: #8d6df3 !important;
}

html body:is(.esi-page, .lei-page, .trade-page, .labour-page, .fssai-page, .iec-page).registration-reference-page main article[class$="-card"]:nth-child(6n) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(6n+1),
html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(5n+1) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(6n+2),
html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(5n+2) {
    background: #fff2b9 !important;
    border-color: #f2bf3d !important;
}

html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(6n+3),
html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(5n+3) {
    background: #d9f7eb !important;
    border-color: #48d7a6 !important;
}

html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(6n+4),
html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(5n+4) {
    background: #ffe0ec !important;
    border-color: #ef6f9d !important;
}

html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(6n+5),
html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(5n) {
    background: #e8ddff !important;
    border-color: #8d6df3 !important;
}

html body:is(.iso-page, .fcra-page, .tm-page, .copy-page, .pat-page, .rera-page).registration-reference-page main article[class$="-card"]:nth-child(6n) {
    background: #e1efff !important;
    border-color: #80b7ff !important;
}

body.registration-reference-page article[class*="card"],
body.registration-reference-page article[class*="trust"],
body.registration-reference-page article[class*="benefit"] {
    animation: none !important;
    transition: transform 220ms ease, box-shadow 220ms ease !important;
}

body.registration-reference-page article[class*="card"]:hover,
body.registration-reference-page article[class*="trust"]:hover,
body.registration-reference-page article[class*="benefit"]:hover {
    animation: none !important;
    transform: translateY(-6px) !important;
    box-shadow: 0 14px 28px rgba(35, 69, 54, .14) !important;
}

@media (min-width: 1051px) {
    body.registration-reference-page main > section:last-of-type [class*="trust-grid"],
    body.registration-reference-page main > section:last-of-type [class*="trust"],
      body.registration-reference-page main > section:last-of-type [class*="benefit-grid"],
      body.registration-reference-page main > section:last-of-type .opc-grid,
      body.registration-reference-page main > section:last-of-type .uk-grid,
      body.registration-reference-page main > section:last-of-type .usa-grid,
      body.registration-reference-page main > section:last-of-type .msme-grid,
      body.registration-reference-page main > section:last-of-type .startup-grid,
      body.registration-reference-page main > section:last-of-type .society-grid,
      body.registration-reference-page main > section:last-of-type .ngo-grid,
      body.registration-reference-page main > section:last-of-type .a12-grid,
      body.registration-reference-page main > section:last-of-type .pan-grid,
      body.registration-reference-page main > section:last-of-type .tan-grid,
      body.registration-reference-page main > section:last-of-type .gst-benefit-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

body.registration-reference-page main > section:last-of-type article[class*="card"],
body.registration-reference-page main > section:last-of-type article[class*="trust"],
body.registration-reference-page main > section:last-of-type article[class*="benefit"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
      animation: none !important;
      transition: transform 220ms ease, box-shadow 220ms ease !important;
}

body.registration-reference-page main > section:last-of-type article[class*="card"] > div:last-child,
body.registration-reference-page main > section:last-of-type article[class*="trust"] > div:last-child,
body.registration-reference-page main > section:last-of-type article[class*="benefit"] > div:last-child {
    width: 100% !important;
}

body.registration-reference-page main > section:last-of-type article[class*="card"] [class*="icon"],
body.registration-reference-page main > section:last-of-type article[class*="trust"] [class*="icon"],
body.registration-reference-page main > section:last-of-type article[class*="benefit"] [class*="icon"] {
    flex: 0 0 auto !important;
    margin: 0 auto 8px !important;
}

body.registration-reference-page main > section:last-of-type article[class*="card"]:hover,
body.registration-reference-page main > section:last-of-type article[class*="trust"]:hover,
body.registration-reference-page main > section:last-of-type article[class*="benefit"]:hover {
      animation: none !important;
      transform: translateY(-6px) !important;
      box-shadow: 0 14px 28px rgba(35, 69, 54, .14) !important;
}

/* Softer, lighter card palette for Partnership, LLP and Private Limited pages. */
html body.registration-reference-page main:is(.partnership-page, .llp-page, .plc-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]) { border-color:#a9ccf5 !important; }
html body.registration-reference-page main:is(.partnership-page, .llp-page, .plc-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+1) { background:#edf6ff !important; border-color:#a9ccf5 !important; }
html body.registration-reference-page main:is(.partnership-page, .llp-page, .plc-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+2) { background:#fff8d9 !important; border-color:#f5d77b !important; }
html body.registration-reference-page main:is(.partnership-page, .llp-page, .plc-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+3) { background:#e9faf2 !important; border-color:#96dfbf !important; }
html body.registration-reference-page main:is(.partnership-page, .llp-page, .plc-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n+4) { background:#fff0f5 !important; border-color:#f3a8c2 !important; }
html body.registration-reference-page main:is(.partnership-page, .llp-page, .plc-page) :is(article[class*="card"], article[class*="trust"], article[class*="benefit"]):nth-child(5n) { background:#f2ecff !important; border-color:#b9a1ee !important; }

/* Brighter card treatment for the One Person Company page. */
html body.opc-page main article.opc-card:nth-child(5n+1) { background:#e7f2ff !important; border-color:#8fc4f5 !important; }
html body.opc-page main article.opc-card:nth-child(5n+2) { background:#fff5ce !important; border-color:#f2c85c !important; }
html body.opc-page main article.opc-card:nth-child(5n+3) { background:#e2f8ef !important; border-color:#72dcb1 !important; }
html body.opc-page main article.opc-card:nth-child(5n+4) { background:#ffe8f0 !important; border-color:#ef91b4 !important; }
html body.opc-page main article.opc-card:nth-child(5n) { background:#eee5ff !important; border-color:#a98af0 !important; }

html body.usa-page .usa-table td:last-child {
    color: #111 !important;
}
