/* ════════════════════════════════════════════════════════
   MINC PORTAL — Full CSS
   minc-portal.css
   ════════════════════════════════════════════════════════ */

/* ── MINC Portal — Design Tokens ─────────────────────────────── */
:root {
    --minc-dark-green: #1b5e52;
    --minc-teal: #1b9e8a;
    --minc-teal-hover: #158575;
    --minc-cream: #f5f0dc;
    --minc-cream-dark: #ede8ce;
    --minc-border: #c8c0a0;
    --minc-text: #222222;
    --minc-text-muted: #555555;
    --minc-error: #cc0000;
    --minc-sidebar-bg: #1b5e52;
    --minc-sidebar-text: #ffffff;
    --minc-sidebar-hover: #14463d;
}

/* ════════════════════════════════════════════════════════
   RESET & BASE
   ════════════════════════════════════════════════════════ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* ── Body ── */
body.minc-public-body,
body.minc-portal-body {
    margin: 0;
    padding: 0;
    background-color: #2e6e60;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: var(--minc-text);
}


/* ════════════════════════════════════════════════════════
   PAGE WRAPPER
   ════════════════════════════════════════════════════════ */

/* .minc-page-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1240px;
    margin: 0 auto;
    background-color: var(--minc-cream);
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.45);
} */

/* ════════════════════════════════════════════════════════
   HEADER
   ════════════════════════════════════════════════════════ */

.minc-header {
    position: sticky;
    top: 0;
    z-index: 1;
}

/* ── Header Top Row (title + logo) ── */
.minc-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 10px;
    background-color: var(--minc-cream);
}

.minc-header-title p {
    margin: 0;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: #1a3530;
    line-height: 1.55;
}

/* ── MINC # NIMC Logo ── */
.minc-logo-box {
    display: flex;
    align-items: stretch;
    border: 2px solid #222;
    flex-shrink: 0;
}

.minc-logo-inner {
    background-color: #ffffff;
    padding: 6px 10px;
    display: flex;
    align-items: center;
}

.minc-logo-inner span {
    font-size: 15px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #000;
    letter-spacing: 1px;
    white-space: nowrap;
}

.minc-logo-hash {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    background-color: #222;
    padding: 6px 8px;
    display: flex;
    align-items: center;
}

.min-content-wrapper:has(.minc-dashboard--wrapper) {
    border: 0;
    padding: 0;
    margin: 32px 72.5px;
    background: transparent;
}

.minc-search--wrap p {
    color: #364153;
}

.minc-search-panel p.minc-search--wrap {
    color: #364153;
    font-size: 16px;
    font-weight: 500;
}

/* ── Header Image Strip ── */
.minc-header-images {
    position: relative;
    height: 120px;
    display: flex;
    overflow: hidden;
    background-color: var(--minc-dark-green);
}

.minc-header-images .img-panel {
    flex: 1;
    background-size: cover;
    background-position: center top;
    border-right: 2px solid rgba(255, 255, 255, 0.15);
    min-width: 0;
}

.minc-header-images .img-panel:last-of-type {
    border-right: none;
}

/* ── Scrolling number row inside header ── */
.minc-number-row {
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
    font-family: 'Courier New', Courier, monospace;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 10px;
    pointer-events: none;
    z-index: 1;
}

/* ── CAMD numbers overlay row ── */
.minc-header-overlay {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    font-size: 22px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 4px;
    font-family: 'Courier New', Courier, monospace;
    white-space: nowrap;
    overflow: hidden;
    padding: 0 20px;
    pointer-events: none;
    z-index: 1;
}

/* ════════════════════════════════════════════════════════
   TOP NAV BAR  (PRIVACY POLICY | CONTACT)
   ════════════════════════════════════════════════════════ */

.minc-nav-bar {
    background-color: var(--minc-cream);
    border-top: 1px solid var(--minc-border);
    border-bottom: 1px solid var(--minc-border);
    padding: 7px 20px;
    text-align: right;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.minc-nav-bar a {
    color: #1a3530;
    text-decoration: none;
    font-weight: normal;
}

.minc-nav-bar a:hover,
.minc-nav-bar .minc-nav-active {
    text-decoration: underline;
    font-weight: bold;
}

.minc-nav-bar .sep {
    margin: 0 6px;
    color: #999;
}

.minc-lang-link {
    color: #1a3530;
    text-decoration: none;
    font-weight: bold;
}

.minc-lang-link:hover {
    text-decoration: underline;
}

/* ════════════════════════════════════════════════════════
   BODY LAYOUT  (sidebar + main content)
   ════════════════════════════════════════════════════════ */
.sidebar-logo {
    width: 200px;
    object-fit: cover;
}

.minc-body {
    display: flex;
    align-items: stretch;
    min-height: calc(100vh - 230px);
}

/* ════════════════════════════════════════════════════════
   PORTAL SIDEBAR  (logged-in users)
   ════════════════════════════════════════════════════════ */
.minc-sidebar {
    width: 256px;
    min-width: 165px;
    flex-shrink: 0;
    background: #2E3192;
    box-shadow: 0px 25px 50px -12px #00000040;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    flex-shrink: 0;
}

.minc-sidebar-user {
    padding: 13px;
    background: #FFFFFF1A;
    border: 1px solid #FFFFFF1A;
    border-radius: 14px;
}

.minc-sidebar-user .label {
    display: block;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #FFFFFF99;
}

.minc-sidebar-user .username {
    display: block;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.44px;
}

/* Sidebar nav links */
.minc-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.minc-sidebar-nav li a {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: #FFFFFFE5;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    padding: 12px;
    transition: all 0.2s ease;
    margin-bottom: 4px;
}

.minc-sidebar-nav li a:hover {
    transform: translateX(4px);
    background-color: color-mix(in oklab, var(--color-white) 15%, transparent);
    border-radius: 14px;
}

/* Sidebar separator line */
.minc-sidebar-nav li.sidebar-sep {
    border-top: 1px solid #FFFFFF1A;
}

/* ════════════════════════════════════════════════════════
   PUBLIC SIDEBAR  (public pages)
   ════════════════════════════════════════════════════════ */

.minc-public-sidebar {
    width: 165px;
    min-width: 165px;
    background-color: #c8ddd8;
    padding: 15px 0 30px;
    border-right: 1px solid #b0c8c2;
    flex-shrink: 0;
}

.minc-public-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.minc-public-nav li {
    border-bottom: 1px solid #b5cdc8;
}

.minc-public-nav li a {
    display: block;
    padding: 7px 14px;
    color: #1a3530;
    text-decoration: underline;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
    transition: background 0.15s;
}

.minc-public-nav li a:hover {
    background-color: #b0cec8;
    color: #0e2320;
}

.minc-public-nav-active a {
    font-weight: bold !important;
    color: #0e2320 !important;
    text-decoration: none !important;
    background-color: #9dbfb9;
}

/* Portal login link at bottom of public nav */
.minc-nav-login-sep {
    height: 1px;
    background-color: #a0bab5;
    margin: 10px 0 4px;
    border-bottom: none !important;
}

.minc-password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.password-toggle {
    color: #101828;
}


.minc-nav-login-link {
    font-weight: bold !important;
    color: var(--minc-dark-green) !important;
}

.minc-content {
    background: #F9FAFB;
    width: calc(100% - 256px);
}

.minc-welcome-card {
    background: linear-gradient(135deg, #2E3192 0%, #2E3192 50%, #2F439D 57.14%, #3054A9 64.29%, #3065B4 71.43%, #2F76C0 78.57%, #2D87CB 85.71%, #2A99D7 92.86%, #24AAE2 100%);
    border-radius: 24px;
    padding: 40px;
    margin-top: 32px;
    margin-bottom: 32px;
    box-shadow: 0px 25px 50px -12px #00000040;
    position: relative;
}

.minc-welcome-card:after {
    position: absolute;
    content: '';
    background-image: url(../images/wlc-right-circle.svg);
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    background-size: cover;
    width: 256px;
    height: 256px;
}
.minc-welcome-card .badge {
    background: #FFFFFF33;
}

.minc-welcome-card p {
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.44px;
    color: #FFFFFFE5;
}

.quick-action-section .search-card:hover {
    border: 2px solid #24aae2;
}

.search-card:hover h6 {
    color: #24aae2;
}

.quick-action-section .advance-search-card:hover {
    border: 2px solid #2e3192;
}

.advance-search-card:hover h6 {
    color: #2e3192;
}

.advance-search-card .common-icon {
    background: #2e3192;
}

.record-card .common-icon {
    background: linear-gradient(135deg, #51A154 0%, #4F9F52 10%, #4E9C51 20%, #4C9A4F 30%, #4A974D 40%, #48954B 50%, #47934A 60%, #459048 70%, #438E46 80%, #428B45 90%, #408943 100%);
}

.quick-action-section .record-card:hover {
    border: 2px solid #51a154;
}

.record-card:hover h6 {
    color: #51a154;
}

.allrecord-card .common-icon {
    background: linear-gradient(135deg, #4A5565 0%, #364153 100%);
}

.quick-action-section .allrecord-card:hover {
    border: 2px solid var(--color-gray-900);
}

.quick-action-section .data-card:hover {
    border: 2px solid oklab(0.5 0.14 -0.22);
}

.data-card:hover h6 {
    color: oklab(0.5 0.14 -0.22);
}

.data-card .common-icon {
    background: linear-gradient(135deg, #9810FA 0%, #8200DB 100%);
}

.export-data-card .common-icon {
    background: linear-gradient(135deg, #4F39F6 0%, #432DD7 100%);
}

.quick-action-section .export-data-card:hover {
    border: 2px solid #2e3192;
}

.export-data-card:hover h6 {
    color: #2e3192;
}

.quick-action-section .minc-card {
    border: 2px solid #E5E7EB;
}

.minc-left-content h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.07px;
}

.minc-left-content p {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.minc-right-contnet span {
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: #6A7282;
}

.minc-right-contnet p {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: right;
    color: #101828;
    text-transform: capitalize;
}


.minc-public-content {
    flex: 1;
    padding: 25px 35px 50px;
    background-color: var(--minc-cream);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    color: var(--minc-text);
    line-height: 1.7;
    min-width: 0;
}

/* ════════════════════════════════════════════════════════
   PUBLIC FOOTER
   ════════════════════════════════════════════════════════ */

.minc-public-footer {
    background-color: var(--minc-cream-dark);
    border-top: 1px solid var(--minc-border);
    padding: 12px 20px;
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
    color: #555;
    text-align: center;
}

.minc-public-footer a {
    color: var(--minc-dark-green);
    text-decoration: underline;
}

.minc-public-footer a:hover {
    color: #0e3d30;
}

/* ════════════════════════════════════════════════════════
   PRIVACY POLICY — Content Styles
   ════════════════════════════════════════════════════════ */

.minc-pp-wrap {
    max-width: 720px;
}

.minc-pp-title {
    font-size: 26px;
    font-weight: bold;
    color: var(--minc-teal);
    background: linear-gradient(to right, #d6ecea 70%, var(--minc-cream) 100%);
    padding: 6px 0 8px;
    margin-bottom: 20px;
    display: block;
    width: 100%;
}

.minc-pp-intro {
    margin-bottom: 14px;
    font-size: 13px;
    line-height: 1.7;
    color: var(--minc-text);
}

.minc-pp-intro a {
    color: #1a6e8a;
    text-decoration: underline;
}

.minc-pp-intro a:hover {
    color: #0e4a60;
}

.minc-pp-download-link {
    color: #1a6e8a;
    font-weight: bold;
    font-size: 13px;
    text-decoration: underline;
}

.minc-pp-download-link:hover {
    color: #0e4a60;
}

.minc-pp-section-title {
    font-size: 13px;
    color: var(--minc-text);
    margin: 20px 0 16px;
    line-height: 1.7;
}

.minc-pp-section {
    margin-bottom: 26px;
    padding-bottom: 10px;
    border-bottom: 1px solid #d8d3be;
}

.minc-pp-section:last-child {
    border-bottom: none;
}

.minc-pp-heading {
    font-size: 14px;
    font-weight: bold;
    color: #1b1b1b;
    margin-bottom: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.minc-pp-quote {
    border-left: 3px solid #2e7d6e;
    margin: 0 0 12px 0;
    padding: 8px 14px;
    background-color: #eef6f4;
    color: #333;
    font-size: 13px;
    line-height: 1.7;
    font-style: normal;
}

.minc-pp-list {
    margin: 10px 0 12px 20px;
    padding: 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--minc-text);
}

.minc-pp-list li {
    margin-bottom: 4px;
    list-style-type: disc;
}

.minc-pp-section p {
    margin-bottom: 10px;
}

.minc-pp-section a {
    color: #1a6e8a;
    text-decoration: underline;
}

.minc-pp-section a:hover {
    color: #0e4a60;
}

/* ════════════════════════════════════════════════════════
   SEARCH BY MINC — Styles
   ════════════════════════════════════════════════════════ */

.min-content-wrapper {
    margin: 32px;
    background: #FFFFFF;
    border: 2px solid #E5E7EB;
    padding: 34px;
    border-radius: 24px;

}

.min-content-wrapper:has(.minc-search-panel) {
    max-width: 896px;
    width: 100%;
}

.minc-instruction-box {
    background: #EFF6FF;
}

.minc-instruction-box ul li {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #364153;
}

.minc-instruction-box ul li span {
    background: #E5E7EB;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 5px;
}

.minc-content-body p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.31px;
}

.minc-search-panel p,
.minc-adv-box p,
.minc-adv-box p {
    color: #364153;
}

.search-input {
    display: flex;
    gap: 8px;
    flex-direction: column;
    width: 80%;
}

.search-input input {
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
}

.minc-search-input-row form {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
}

.minc-search-input-row {
    width: 100%;
}

.minc-loading {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #bbb;
    border-top-color: var(--minc-dark-green);
    border-radius: 50%;
    animation: minc-spin 0.7s linear infinite;
    vertical-align: middle;
    margin-left: 6px;
}

@keyframes minc-spin {
    to {
        transform: rotate(360deg);
    }
}

.minc-number-link {
    color: #24AAE2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    padding: 0;
    border: 0;
}

.minc-number-link:hover,
.minc-number-link:focus,
.minc-number-link:active {
    background: unset;
    color: #24AAE2;
}

.minc-results-table {
    margin-top: 24px;
}

/* ── Popup Overlay ── */
.minc-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.minc-popup-box {
    background: #fff;
    width: 100%;
    max-width: 540px;
    max-height: 88vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
}

.minc-popup-box--wide {
    max-width: 760px;
}

.minc-popup-header {
    color: #ffffff;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
    background: linear-gradient(90deg, #2E3192 0%, #2F3A98 7.14%, #2F439D 14.29%, #304CA3 21.43%, #3054A9 28.57%, #305DAF 35.71%, #3065B4 42.86%, #306EBA 50%, #2F76C0 57.14%, #2E7FC6 64.29%, #2D87CB 71.43%, #2C90D1 78.57%, #2A99D7 85.71%, #27A1DC 92.86%, #24AAE2 100%);
}

.minc-popup-header h4 {
    color: #ffffff;
}

.minc-popup-download {
    border: 1px solid #fff;
    font-weight: 600;
    font-size: 14px;
}

.minc-popup-download:hover {
    background: linear-gradient(to bottom, #d8d8d8, #bbb);
}

.minc-record-table {
    border-top: 1px solid #E5E7EB;
}

.minc-popup-body {
    padding: 16px 20px;
}

.minc-record-table tr {
    border-bottom: 1px solid #d0c9a8;
}

.minc-record-table tr:last-child {
    border-bottom: none;
}

.minc-record-table td {
    padding: 7px 10px;
    vertical-align: top;
}

.minc-record-table td:first-child {
    font-weight: bold;
    color: #1b3a34;
    width: 48%;
    white-space: nowrap;
    font-size: 13px;
    padding: 16px;
}

.minc-record-table td:last-child {
    color: #4A5565;
    font-size: 14px;
    font-weight: 400;
    padding: 16px;
}

.minc-record-table td:first-child {
    font-weight: 600;
    width: 48%;
    white-space: nowrap;
    font-size: 14px;
    color: #101828;
}

.minc-record-table tbody tr:first-child td:first-child {
    border-top-left-radius: 16px;
}

.minc-record-table tbody tr:first-child td:last-child {
    border-top-right-radius: 16px;
}

.minc-popup-footer {
    padding: 16px 24px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: space-between;
    border-top: 1px solid oklab(0.93 0.01 0);
    box-shadow: 0 0px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    position: sticky;
    bottom: 0;
    background: #fff;
}

.minc-popup-header a {
    cursor: pointer;
}

/* ════════════════════════════════════════════════════════
   USER MANUAL — Styles
   ════════════════════════════════════════════════════════ */

.minc-manual-list {
    padding: 6px 0;
}

.minc-manual-item {
    padding: 5px 0;
    border-bottom: 1px solid #ddd8b8;
}

.minc-manual-item:last-child {
    border-bottom: none;
}

.minc-manual-link {
    color: var(--minc-dark-green);
    text-decoration: underline;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
    padding: 2px 0;
    cursor: pointer;
}

.minc-manual-link:hover {
    color: #0e3d30;
}

.minc-manual-link:focus {
    outline: 2px solid var(--minc-teal);
    outline-offset: 2px;
}

/* ════════════════════════════════════════════════════════
   CHANGE PASSWORD — Styles
   ════════════════════════════════════════════════════════ */

.minc-change-pwd-wrap {
    max-width: 520px;
}

.minc-change-pwd-heading {
    font-size: 14px;
    font-weight: bold;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: underline;
    color: #1b1b1b;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.minc-pwd-success {
    background: #f0fff4;
    border: 1px solid #2e7d6e;
    color: var(--minc-dark-green);
    padding: 10px 15px;
    margin-bottom: 16px;
    font-size: 13px;
    font-weight: bold;
}

.minc-pwd-error {
    background: #fff4f4;
    border: 1px solid #cc0000;
    color: #cc0000;
    padding: 10px 15px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
}

.minc-pwd-table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 4px;
}

.minc-pwd-table tr {
    vertical-align: middle;
}

.minc-pwd-table td {
    padding: 6px 10px 6px 0;
    vertical-align: middle;
}

.minc-pwd-label {
    width: 180px;
    white-space: nowrap;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--minc-text);
    font-weight: normal;
    text-align: left;
    padding-right: 14px !important;
}

.minc-pwd-label label {
    cursor: default;
}

.minc-required {
    color: #cc0000;
    margin-left: 1px;
}

.minc-pwd-input {
    width: 220px;
    padding: 4px 8px;
    border: 1px solid #999;
    background: #ffffff;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    height: 26px;
    color: var(--minc-text);
    box-sizing: border-box;
}

.minc-pwd-input--readonly {
    background: #f0ece0;
    color: #555;
    cursor: default;
    border-color: #bbb;
}

.minc-pwd-input--readonly:focus {
    outline: none;
    box-shadow: none;
}

.minc-pwd-input:not(.minc-pwd-input--readonly):focus {
    outline: 2px solid var(--minc-teal);
    outline-offset: 1px;
    border-color: var(--minc-teal);
}

.minc-pwd-input.is-invalid {
    border-color: #cc0000;
    background: #fff8f8;
}

.minc-pwd-buttons {
    padding-top: 8px !important;
    display: flex;
    gap: 6px;
    align-items: center;
}

.minc-pwd-btn {
    padding: 3px 14px;
    background: linear-gradient(to bottom, #e8e8e8, #d0d0d0);
    border: 1px solid #999;
    font-size: 13px;
    font-family: Arial, Helvetica, sans-serif;
    cursor: pointer;
    color: var(--minc-text);
    border-radius: 2px;
    height: 26px;
    line-height: 1;
    white-space: nowrap;
}

.minc-pwd-btn:hover {
    background: linear-gradient(to bottom, #d8d8d8, #bbb);
    border-color: #666;
}

.minc-pwd-btn:active {
    background: linear-gradient(to bottom, #c0c0c0, #aaa);
}

.minc-pwd-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.minc-required-note {
    font-size: 12px;
    color: #444;
    margin-top: 14px;
    font-family: Arial, Helvetica, sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   MINC Data Change (matches legacy DataChange.aspx look)
   ---------------------------------------------------------------- */
button.minc-dc-remove-btn {
    color: #101828;
    font-size: 18px;
    margin-left: auto;
}

/* Messages */
.minc-dc-error,
.minc-dc-success {
    max-width: 640px;
    margin: 6px auto 0;
    padding: 6px 10px;
    font-size: 12px;
    border-radius: 0;
    box-sizing: border-box;
}

.minc-dc-error {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.minc-dc-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}



/* Mini bar: "MINC: CAMD-####-####" */
.minc-dc-record-id-bar,
.minc-dc-change-details-header {
    color: #ffffff;
    padding: 16px;
    font-size: 14px;
    font-weight: 600;
    background: linear-gradient(to right, #2e3192, #24aae2);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

/* Table body */

.minc-dc-field-label {
    color: #101828;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    font-weight: 500;
}

.minc-dc-record-table {
    margin: 0;
}

/* Value cell: text + pencil + inline editor */
.minc-dc-field-value {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #4A5565;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
}

.minc-dc-record-table tbody tr:last-child td {
    border-bottom: none;
}

.minc-dc-pencil-btn svg {
    width: 20px;
    height: 20px;
}

.minc-dc-field-value span {
    vertical-align: middle;
}

/* Pencil icon and edit controls */
.minc-dc-pencil-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 4px;
    border: none;
    background: none;
    color: #b7821d;
    /* orange-ish like screenshot */
    cursor: pointer;
    padding: 0;
}


/* Inline edit rows */
.minc-dc-edit-row,
.minc-dc-prev-names-update {
    display: none;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
}

.minc-dc-edit-row.minc-dc-show,
.minc-dc-prev-names-update.minc-dc-show {
    display: flex;
}

/* Inputs/selects inside record table – increase specificity
   so they override theme's pink borders/backgrounds */
.minc-dc-record-table .minc-dc-edit-input,
.minc-dc-record-table .minc-dc-edit-select,
.minc-dc-record-table .minc-dc-prev-type-select,
.minc-dc-record-table .minc-dc-prev-name-input {
    border-radius: 0;
    font-size: 12px;
    min-width: 130px;
    box-sizing: border-box;
}

.minc-dc-prev-toprow {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Ok / cancel buttons in inline editor */
.minc-dc-ok-btn,
.minc-dc-cancel-btn {
    cursor: pointer;
}

.minc-dc-cancel-btn {
    background-color: #f5e5e5;
    border-color: #e1b5b5;
}

.minc-dc-cancel-btn:hover {
    background-color: #f0d5d5;
}

/* One row per change */
.minc-dc-change-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    padding: 16px;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    margin: 20px;
    border-radius: 16px;
}

/* Remove (X) button */
.minc-dc-remove-btn {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background-color: #e74c3c;
    color: #ffffff;
    font-size: 11px;
    line-height: 1;
    cursor: pointer;
}

/* Change type dropdown ("Choose / Update / Correct") */
.minc-dc-change-type-select {
    border: 1px solid #8ba8a2 !important;
    background-color: #ffffff !important;
    border-radius: 0;
    font-size: 11px;
    height: 20px;
    padding: 1px 4px;
    min-width: 110px;
    box-sizing: border-box;
}

/* Description "Last Name from X to Y" */
.minc-dc-change-desc {
    font-size: 11px;
    color: #333333;
}

.minc-dc-change-desc strong {
    color: #000000;
}

/* Reason inline */
.minc-dc-reason-label-inline {
    font-size: 11px;
    font-weight: bold;
    margin-left: 4px;
}

.minc-dc-reason-input-inline {
    border: 1px solid #8ba8a2 !important;
    background-color: #ffffff !important;
    border-radius: 0;
    font-size: 11px;
    height: 20px;
    padding: 1px 4px;
    min-width: 160px;
    box-sizing: border-box;
}

/* Footer: "Change(s) Authorized By" + Submit button */
.minc-dc-change-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    border-top: 1px solid #8ba8a2;
    padding: 6px 10px 8px;
    font-size: 11px;
}

.minc-dc-changed-by-label {
    font-weight: bold;
    margin-right: 4px;
}


.minc-dc-submit-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.minc-dc-record-table button.minc-dc-pencil-btn,
.minc-dc-remove-btn {
    border: 0;
    padding: 0
}

.minc-dc-edit-row button {
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 10px;
}

.minc-dc-record-container,
.minc-dc-change-details {
    margin-top: 20px;
    border-bottom: 1px solid #E5E7EB;
    border-left: 1px solid #E5E7EB;
    border-right: 1px solid #E5E7EB;
    width: 100%;
    border-radius: 16px;
}

.minc-dc-record-container table,
.minc-dc-change-details table {
    border: 0;
}

.minc-upload-specs-note li::marker {
    color: var(--color-secondary);
}

.minc-upload-specs-note li {
    padding-bottom: 5px;
    font-size: 14px;
}

.minc-upload-specs-note ul {
    padding-left: 20px;
}

.minc-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.minc-upload-file-hidden {
    display: none;
}

.minc-upload-file-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.2s ease;
    background: #E5E7EB;
    color: #364153;
    padding: 8px 24px;
    width: max-content;
    line-height: 24px;
    letter-spacing: -0.31px;
}

.minc-file-upload-wrapper {
    margin: 16px 0 8px;
}

.minc-upload-file-btn:hover {
    background-color: oklch(87.2% 0.01 258.338);
}

.minc-adv-results-table td {
    font-size: 14px;
}


.minc-adv-results-table thead th,
.minc-adv-results-table td {
    padding: 10px 12px;
}

p.minc-adv-description {
    font-size: 14px;
    line-height: 20px;
}

.minc-adv-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.minc-upload-delete-btn {
    border: 0;
}
.minc-upload-delete-btn:hover {
    background-color: transparent;
    border: 0;
}
.hidden-date-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 1px;
    height: 1px;
}
/* Basic responsiveness (just wrap the search row / labels on narrow screens) */
@media (max-width: 640px) {

    .minc-dc-retrieve-box,
    .minc-dc-record-container,
    .minc-dc-change-details,
    .minc-dc-error,
    .minc-dc-success {
        max-width: 100%;
    }

    .minc-dc-retrieve-row {
        flex-wrap: wrap;
    }

    .minc-dc-field-label {
        width: 45%;
    }
}

/*-------------------------------


/* nishi code */

:root {
    /* Brand Colors */
    --color-primary: #2e3192;
    --color-secondary: #24aae2;
    --color-tertiary: #51a154;

    /* Neutral Colors */
    --color-gray-900: #111827;
    --color-gray-700: #374151;
    --color-gray-600: #4b5563;
    --color-gray-200: #e5e7eb;
    --color-white: #ffffff;
}

/* ====== Buttons ====== */
.btn-primary {
    background-color: var(--color-tertiary);
    color: var(--color-white);
    padding: 12px 32px;
    border-radius: 16px;
    font-weight: 500;
    transition: all 300ms ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #408943;
    color: #fff;
}

.btn-primary-outline {
    color: var(--color-tertiary);
    background-color: transparent;
    padding: 12px 32px;
    border-radius: 16px;
    font-weight: 500;
    transition: all 300ms ease;
    border: 2px solid var(--color-tertiary);
}

.btn-primary-outline:hover {
    background-color: var(--color-tertiary);
    color: var(--color-white);
}

.btn-primary-outline:focus,
.btn-primary-outline:active {
    background-color: var(--color-tertiary);
    color: var(--color-white);
}

.btn-primary:focus,
.btn-primary:active {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-white), 0 0 0 4px var(--color-tertiary);
    background-color: var(--color-tertiary);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 12px 32px;
    border-radius: 16px;
    font-weight: 500;
    transition: all 300ms ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-secondary:focus,
.btn-secondary:active {
    background-color: transparent;
    color: var(--color-primary);
}

/* ==========================================================================
   Base typography
   ========================================================================== */
body,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
}

body h1 {
    font-size: 60px;
    line-height: 75px;
    font-weight: 700 !important;
    letter-spacing: 0.26px;
}

p {
    font-size: 20px;
    font-weight: 400;
    line-height: 32.5px;
    letter-spacing: -0.45px;
    margin: 0;
    color: #4A5565;
}

h3 {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: 0.4px;
    color: var(--color-gray-900);
    margin: 0 0 24px;
}

h6 {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.45px;
    color: var(--color-gray-900);
}

.page-header .entry-title {
    display: none;
}

.page-header .entry-title,
.site-footer .footer-inner,
.site-footer:not(.dynamic-footer),
.site-header .header-inner,
.site-header:not(.dynamic-header),
body:not([class*=elementor-page-]) .site-main {
    max-width: 1440px !important;
}

/* ======= Layout utilities ========= */
.section-spacing {
    padding: 48px 80px;
}

.section-wrapper {
    padding: 96px 80px;
}

.section-container {
    max-width: 100%;
}

.section-title {
    margin: 0 0 24px;
    font-size: 48px;
    line-height: 48px;
    color: var(--color-gray-900);
    font-weight: 700;
    letter-spacing: 0.35px;
}

.section-title span {
    color: var(--color-primary);
}

.section-title-sm {
    font-size: 36px;
    line-height: 40px;
    font-weight: 700;
    color: #101828;
}

.section-lead {
    color: #4A5565;
    max-width: 768px;
}

.lead-minc {
    font-size: 20px;
    line-height: 32.5px;
    color: var(--color-gray-600);
}

.py-80 {
    padding-top: 80px;
    padding-bottom: 80px;
}

/* ======= Header ===== */
.login-btn {
    padding: 0;
    margin-left: auto;
}

.header-inner .login-btn a {
    color: var(--color-white);
}

.header-inner .lang-selector a {
    color: var(--color-gray-600);
}

.header-inner a {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: var(--color-gray-900);
}

.site-header {
    padding: 0 80px;
}

.site-header .header-inner {
    padding: 24px 32px;
    justify-content: unset;
}

.site-header .site-branding {
    width: 40%;
}

.site-navigation {
    width: 60%;
    position: relative;
}

.site-navigation ul.menu {
    width: 100%;
    margin-bottom: 0;
}

.header-inner .site-navigation .lang-selector {
    position: absolute;
    right: 78px;
}

/* ====== Home — banner ====== */
.banner-section {
    background:
        linear-gradient(90deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 90%, transparent) 50%, transparent 100%),
        url('https://mincdev.108.tips/wp-content/uploads/2026/05/banner.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 128px 112px;
}

.banner-content {
    max-width: 672px;
}

.banner-content h1,
.banner-content .display-5 {
    color: var(--color-white);
}

.banner-description {
    color: color-mix(in srgb, var(--color-white) 90%, transparent);
}

.banner-content h1 {
    margin-bottom: 23px;
}

.card-content {
    border: 1px solid color-mix(in srgb, var(--color-secondary) 30%, transparent);
    border-radius: 16px;
    padding: 25px;
}

.banner-cards-row {
    margin: 48px 0 32px;
}

.card-content h4,
.card-content .h5 {
    font-size: 24px;
    color: var(--color-white);
    line-height: 32px;
    font-weight: 700;
}

.card-content p,
.card-content .small {
    font-size: 14px;
    line-height: 20px;
    color: color-mix(in srgb, var(--color-white) 80%, transparent);
}

.note-content {
    font-size: 14px;
    color: color-mix(in srgb, var(--color-white) 70%, transparent);
    line-height: 20px;
    font-style: italic;
}

/* ====== Cards & icons ====== */
.card-icon,
.common-icon {
    background: var(--color-secondary);
    box-shadow: 0 10px 15px -3px color-mix(in srgb, var(--color-secondary) 30%, transparent);
    border-radius: 16px;
    width: 48px;
    height: 48px;
    min-width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.common-icon {
    padding: 16px;
    width: auto;
    height: auto;
    min-width: unset;
}

.foundation-icon.common-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    padding: 0;
}

.about-card,
.user-card,
.minc-card {
    border-radius: 16px;
}

.about-card {
    border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
    padding: 25px;
    margin-bottom: 24px;
}

.about-card-descr h3,
.about-card-descr .h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-900);
}

.about-card-descr p,
.about-card .card-text {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-gray-600);
}

.about-us--section p {
    font-size: 18px;
}

.about-us--section .about-section-row {
    --bs-gutter-x: 64px;
    --bs-gutter-y: 64px;
}

.user-card {
    border: 1px solid color-mix(in srgb, var(--color-primary) 15%, transparent);
    padding: 33px;
}

.user-card h5 {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gray-900);
}

.user-card p {
    font-size: 16px;
    line-height: 26px;
    color: var(--color-gray-600);
    text-align: left;
}

.minc-card {
    border-width: 2px;
    padding: 26px;
}

.minc-card h6 {
    margin: 16px 0 8px;
}

.minc-card p {
    font-size: 14px;
    line-height: 22.75px;
}

/* ====== Home — about & uses ====== */
.uses-section h2 {
    margin-bottom: 15.5px;
}


.uses-section .section-lead {
    font-size: 18px;
}

.about-us--section {
    padding-top: 96px;
}

.about-us--section p,
.uses-section .section-lead {
    color: var(--color-gray-600);
}

.learn-more-link {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
}

.uses-section .section-title,
.uses-section .section-lead {
    text-align: center;
}

/* ====== Contact ====== */
.contact-content {
    border-radius: 24px;
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 64px;
    text-align: center;
    min-width: 832px;
}

.contact-content h2 {
    font-size: 48px;
    line-height: 48px;
    font-weight: 700;
    color: var(--color-white);
}

.contact-content p {
    font-size: 16px;
    line-height: 24px;
    color: color-mix(in srgb, var(--color-white) 90%, transparent);
    padding: 0 25px;
}

.contact-content a {
    color: var(--color-white);
    font-size: 18px;
    text-decoration: none;
}

.contact-note {
    color: color-mix(in srgb, var(--color-white) 70%, transparent);
    font-size: 14px;
    font-style: italic;
}

/* ======= Footer ====== */
.footer-section {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.footer-section p,
.footer-section a {
    font-size: 14px;
    color: color-mix(in srgb, var(--color-white) 80%, transparent);
}

.footer-menu h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-section .footer-menu a {
    display: block;
    padding-bottom: 12px;
    text-decoration: none;
}

/* ====== Inner page banner ====== */
.inner-page-banner {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(https://mincdev.108.tips/wp-content/uploads/2026/05/Container.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: var(--color-white);
}

.breadcrumb-link,
.breadcrumb-current {
    font-size: 14px;
}

.breadcrumb-link {
    color: color-mix(in srgb, var(--color-white) 70%, transparent);
}

.inner-banner-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: color-mix(in srgb, var(--color-white) 10%, transparent);
}

.banner-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-white);
}

.inner-page-banner .banner-description {
    font-size: 18px;
    line-height: 28px;
    color: color-mix(in srgb, var(--color-white) 90%, transparent);
}

/* ====== What is MINC page ====== */
.minc-list li span {
    color: var(--color-gray-700);
    font-size: 18px;
    line-height: 29.25px;
}

.preview-container {
    border-radius: 24px;
    border: 1px solid var(--color-gray-200);
    padding: 49px;
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-gray-200) 40%, var(--color-white)) 0%, var(--color-white) 100%);
}

.preview-container .preview-hint {
    font-style: italic;
    font-size: 14px;
    color: #6A7282;
    text-align: center;
}

.structure-item {
    box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.1), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 30px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 36px;
    width: fit-content;
}

.country-code {
    background: linear-gradient(135deg, var(--color-secondary) 0%, color-mix(in srgb, var(--color-secondary) 70%, var(--color-white)) 100%);
}

.profession-code {
    background: linear-gradient(135deg, var(--color-tertiary) 0%, color-mix(in srgb, var(--color-tertiary) 70%, var(--color-white)) 100%);
}

.serial-number {
    background: linear-gradient(135deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 75%, var(--color-white)) 100%);
}

.check-digit {
    background: linear-gradient(135deg, var(--color-gray-700) 0%, var(--color-gray-900) 100%);
}

.ca-card {
    border: 2px solid color-mix(in srgb, var(--color-secondary) 20%, transparent);
}

.md-card {
    border: 2px solid color-mix(in srgb, var(--color-tertiary) 20%, transparent);
}

.number-card {
    border: 2px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.digit-card {
    border: 2px solid var(--color-gray-200);
}

.info-tag {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    padding-top: 23.5px;
    border-top: 1px solid color-mix(in srgb, var(--color-gray-200) 60%, var(--color-white));
}

.ca-card .info-tag {
    color: var(--color-secondary);
}

.md-card .info-tag {
    color: var(--color-tertiary);
}

.number-card .info-tag {
    color: var(--color-primary);
}

.digit-card .info-tag {
    color: var(--color-gray-700);
}

.common-box {
    background: linear-gradient(135deg, #2E3192 0%, #303396 11.11%, #323699 22.22%, #34389D 33.33%, #363BA1 44.44%, #383DA4 55.56%, #3B40A8 66.67%, #3D42AC 77.78%, #3F45AF 88.89%, #4147B3 100%);
    border-radius: 24px;
    padding: 48.5px 48px;
}

.sample-minc-box {
    color: var(--color-white);
}

.sample-label {
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.55px;
    text-transform: uppercase;
    color: color-mix(in srgb, var(--color-white) 80%, transparent);
}

.sample-minc-code {
    font-weight: 700;
    font-size: clamp(32px, 6vw, 60px);
    letter-spacing: 3.26px;
    color: var(--color-white);
}

.sample-minc-box p {
    font-size: 14px;
    color: color-mix(in srgb, var(--color-white) 70%, transparent);
}

.note-box {
    border-left: 4px solid var(--color-secondary);
    border-radius: 4px 14px 14px 4px;
    padding: 24px 28px;
}

.important-note-section {
    background: color-mix(in srgb, var(--color-secondary) 5%, transparent);
}

.important-note-section h3,
.important-note-section .h5 {
    color: #101828;
    font-size: 18px;
    margin-bottom: 8px;
}

.note-box-content p {
    color: #364153;
    font-size: 16px;
    line-height: 26px;
}

.minc-assigned-section p {
    font-weight: 400;
    font-size: 18px;
    line-height: 29.25px;
    letter-spacing: -0.44px;
}

.minc-assigned-section strong {
    color: var(--color-gray-900);
}

.minc-strc-content h2 {
    margin-bottom: 15.5px;
}

.minc-structure-section p {
    font-size: 18px;
}

.structure-cards-row p {
    font-size: 14px;
    color: #4A5565;
    height: 70px;
}

.minc-structure-section .section-lead {
    padding: 0 10px;
}

.permanent-life-box {
    background: color-mix(in srgb, var(--color-tertiary) 5%, transparent);
    border-radius: 16px;
    padding: 32px;
}

.permanent-life-section p,
.permanent-life-section ul li {
    font-size: 18px;
    letter-spacing: -0.44px;
    line-height: 28px;
    color: #364153;
}

.permanent-life-box ul li::marker {
    color: var(--color-tertiary);
}

.permanent-life-box p {
    padding-bottom: 14.75px;
}

.questions-cta-section {
    background: linear-gradient(90deg, color-mix(in srgb, var(--color-primary) 5%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 5%, transparent) 100%);
    border-radius: 24px;
}

.questions-box p {
    max-width: 675px;
    color: #4A5565;
    font-size: 18px;
}

/* ====== Privacy Code page ====== */
.foundation-highlight {
    color: var(--color-primary);
    font-weight: 700;
}

.privacy-foundation-section {
    background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 5%, transparent) 0%, color-mix(in srgb, var(--color-secondary) 5%, transparent) 100%);
    border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
}

.principle-card {
    border: 2px solid color-mix(in srgb, var(--color-secondary) 20%, transparent);
}

.principle-icon.common-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
}

.foundation-content p {
    font-size: 18px;
    line-height: 29.25px;
}

.agreement-note-section {
    border-left-color: #51A154;
    background: #51A1540D;
}

.note-box-content h3 {
    font-weight: 700;
    color: #101828;
    margin-bottom: 12px;
}

.agreement-note-section strong {
    color: #51A154;
}

.note-box-container svg {
    min-width: 32px;
}

.privacy-box .card-icon {
    background: #FFFFFF1A;
    box-shadow: unset;
}

.common-box.privacy-box {}

.privacy-box .card-icon {
    background: #FFFFFF1A;
    box-shadow: unset;
}

.concern-section {
    color: #fff;
}

.concern-section h4 {
    font-weight: 700;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0.07px;
    margin: 0;
    color: #fff;
}

.concern-section h6 {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 4.5px;
}

.concern-section p {
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: -0.31px;
    color: #FFFFFFCC;
}

.concern-section h5 {
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.45px;
}

.contact-card {
    background: #FFFFFF1A;
}

.contact-card span {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
}

.contact-card a,
.contact-card .toll-free {
    color: #FFFFFFE5;
    font-family: Inter;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
}

p.concern-content {
    color: #4A5565;
    margin-bottom: 40px;
}

.important-info-section {
    background: #24AAE20D;
}

.important-info-section ul li::marker {
    color: #24AAE2;
}

.important-info-section ul {
    padding-left: 20px;
}

.faq-section .card-icon {
    background: #24AAE21A;
    box-shadow: none;
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.45px;
    color: #24AAE2;
}

.faq-section .accordion-button {
    border: 0;
    color: #101828;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    width: 100%;
    text-align: left;
    background: transparent;
    box-shadow: unset;
    padding: 16px 0;
    white-space: break-spaces;
}

.faq-section .accordion-button:hover {
    background: transparent;
    border: 0;
}

.faq-section .accordion-button.collapsed:after {
    transform: translateY(-50%) rotate(0deg);
}

.faq-section .accordion-button:hover,
.faq-section .accordion-button[aria-expanded="true"] {
    color: #24aae2;
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url(../images/accordion-arrow.svg);
}

.faq-section .accordion-button::after {
    background-image: url(../images/down-arrow.svg);
    background-size: 30px;
    width: 30px;
    top: 25px;
    position: absolute;
    right: 0;
}

.faq-section .accordion-item ul li::marker {
    color: #24aae2;
}

.faq-section .accordion-item ul li,
.accordion-body {
    color: #364153;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.faq-section .accordion-item ul {
    margin-top: 8px;
}

.faq-section .accordion-item a {
    color: #24aae2;
}

.faq-section .accordion-item a:hover {
    color: #1a8bbf;
}

.faq-section .accordion-button:hover::after {
    background-image: url(../images/accordion-arrow.svg);
}

.faq-section .accordion-item {
    border: 0;
    border-bottom: 1px solid #E5E7EB;
    border-radius: 0;
}

.faq-section .accordion-header {
    margin-top: 0;
}

.faq-section .accordion-body {
    padding: 0 0px 16px;
}

.leadership-section .badge {
    border-radius: 10px;
    background: #24AAE21A;
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    text-align: center;
    color: #24AAE2;
    display: block;
    width: max-content;
    margin: 0 auto;
}

.leadership-section .minc-card {
    border: 2px solid #E5E7EB;
    padding: 34px;
}

.leadership-section .minc-card p {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: #24AAE2;
}

.leadership-section .minc-card ul {
    list-style-type: none;
    padding-left: 0;
    padding-top: 24.5px;
}

.leadership-section .minc-card ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
    padding-bottom: 12px;
    color: #4A5565;
}

.director-card .card-icon {
    background: #2E3192;
}

.integrity-card .card-icon {
    background: #51A154;
}

.support-section {
    background: linear-gradient(90deg, rgba(81, 161, 84, 0.05) 0%, rgba(36, 170, 226, 0.05) 100%);
    border-left: 4px solid #51A154;
}

.support-section .common-icon {
    background: #51A154;
}

.contact-info-section .badge {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: #24AAE2;
    background: #24AAE21A;
    border-radius: 10px;
}

.contact-info-section h2 {
    font-weight: 700;
    font-size: 36px;
    line-height: 40px;
    letter-spacing: 0.37px;
    color: #101828;
}

.contact-info-section .contact-card {
    background: #F9FAFB;
}

.contact-info-section .contact-card h6 {
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    color: #101828;
}

.contact-info-section p {
    font-weight: 400;
    font-size: 18px;
    line-height: 29.25px;
    letter-spacing: -0.44px;
    margin-bottom: 31.25px;
}

.contact-info-section .email-card .card-icon {
    background: #24AAE21A;
}

.email-card p {
    color: #24AAE2;
}

.contact-info-section .contact-card p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
}

.contact-info-section .phn-card .card-icon {
    background: #51A1541A;
}

.contact-info-section .phn-card p span {
    color: #51A154;
}

.map-card .card-icon {
    background: #2E31921A;
}

.site-navigation ul.menu li:last-child {
    padding: 0;
    margin-left: auto;
    background: #51A154;
    border-radius: 16px;
}

.site-navigation ul.menu li:last-child a {
    color: #fff;
}

.site-navigation ul.menu li:last-child a:hover {
    color: #fff;
}

.about-prime-users-section .badge,
.requesting-mincs-section .badge {
    border-radius: 10px;
}

.about-prime-users-section p {
    color: #364153;
    font-weight: 400;
    font-size: 18px;
    line-height: 29.25px;
    letter-spacing: -0.44px;
}

.minc-reset-password a {
    font-weight: 500;
    font-size: 16px;
    line-height: 23px;
    letter-spacing: -0.31px;
    color: #24AAE2;
    text-decoration: none;
    justify-content: center;
}

.my-32 {
    margin-top: 32px;
}

.mb-32 {
    margin-bottom: 32px;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-64 {
    margin-bottom: 64px;
}

.pt-32 {
    padding-top: 32px;
}

.p-32 {
    padding: 32px;
}

.my-64 {
    margin: 64px 0;
}

p:empty {
    display: none;
}

.site-navigation ul.menu li a:hover {
    color: #2e3192;
}

.site-navigation ul.menu li:last-child a:hover {
    color: #fff;
}

.structure-wrapper {
    position: relative;
    transition: transform 0.3s ease;
}

.structure-wrapper:hover {
    transform: scale(1.05);
}

.structure-tooltip {
    position: absolute;
    bottom: -10px;
    color: #fff;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    left: 50%;
    text-align: center;
    width: max-content;
    transform: translateX(-50%);
}

.structure-wrapper:hover .structure-tooltip {
    opacity: 1;
    visibility: visible;
}

.structure-tooltip.country-code {
    background: #24aae2;
}

.structure-tooltip.serial-number {
    background-color: #2e3192;
}

.structure-tooltip.check-digit {
    background-color: oklch(37.3% 0.034 259.733);
}

.structure-tooltip.profession-code {
    background-color: #51a154;
}

.ca-card:hover {
    border-color: #24aae2;
}

.minc-card {
    transition: transform 0.3s ease;
}

.minc-card:hover .structure-item {
    transform: scale(1.05);
}

.ca-card:hover {
    border-color: #24aae2;
}

.ca-card:hover h6 {
    color: #24aae2;
}

.md-card:hover {
    border-color: #51a154;
}

.md-card:hover h6 {
    color: #51a154;
}

.number-card:hover {
    border-color: #2e3192;
}

.number-card:hover h6 {
    color: #2e3192;
}

.digit-card:hover {
    border-color: oklab(0.37 -0.01 -0.03);
}

/* Login page css  */
.minc-page-wrapper {
    background: linear-gradient(135deg, #2E3192 0%, rgba(46, 49, 146, 0.95) 50%, rgba(36, 170, 226, 0.8) 100%), url(https://mincdev.108.tips/wp-content/uploads/2026/05/banner.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 100vh;
    color: #fff;
}

.minc-page-wrapper .minc-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.minc-login-container {
    width: 448px;
    margin: 0 auto;
}

.minc-login-box {
    box-shadow: 0px 25px 50px -12px #00000040;
    background: #fff;
    border-radius: 24px;
    border: 1px solid #FFFFFF33;
}

.support-cta span {
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: #4A5565;
}

.minc-login-box form {
    padding: 32px;
}

.minc-login-box form table td {
    border: 0;
    background: #fff !important;
}

form table.minc-form-table,
.minc-login-container table {
    border: 0;
    border-radius: 0;
}

body form table.minc-form-table td,
body .minc-login-container table {
    border: 0 !important;
}

.minc-forgot-link:hover,
.support-cta a:hover {
    color: #1a8fc7;
}

.minc-form-table label {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: #101828;
    margin-bottom: 7.5px;
}

.minc-form-table td {
    padding: 0;
}

.minc-login-box form table input {
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    padding: 16.5px 16px;
}

.minc-login-heading p {
    font-size: 18px;
    line-height: 28px;
    letter-spacing: -0.44px;
    text-align: center;
    color: #FFFFFFE5;
    font-weight: 400;
}

#prime-user-tab {
    border-top-left-radius: 24px;
}

#prime-user-tab.active,
#prime-user-tab.active:hover,
#prime-user-tab.active:focus {
    color: #fff;
    background: linear-gradient(90deg, #2E3192 0%, #2F3A98 7.14%, #2F439D 14.29%, #304CA3 21.43%, #3054A9 28.57%, #305DAF 35.71%, #3065B4 42.86%, #306EBA 50%, #2F76C0 57.14%, #2E7FC6 64.29%, #2D87CB 71.43%, #2C90D1 78.57%, #2A99D7 85.71%, #27A1DC 92.86%, #24AAE2 100%);
}

#licensed-user-tab {
    border-top-right-radius: 24px;
}

.minc-tab {
    width: 50%;
    border: 0;
    font-weight: 600;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    text-align: center;
    color: #4A5565;
    padding: 16px 24px;
    transition: box-shadow 0.3s ease;
}

.minc-tab:hover {
    box-shadow:
        0 10px 15px -3px rgb(0 0 0 / 0.1),
        0 4px 6px -4px rgb(0 0 0 / 0.1);
    background: #fff;
    color: #4A5565;
}

.minc-btn-login {
    width: 100%;
    border-radius: 16px;
    color: #fff;
    border: 0;
    box-shadow: 0px 4px 6px -4px #0000001A, 0px 10px 15px -3px #0000001A;
    padding: 12px;
    background: linear-gradient(90deg, #2E3192 0%, #2F3A98 7.14%, #2F439D 14.29%, #304CA3 21.43%, #3054A9 28.57%, #305DAF 35.71%, #3065B4 42.86%, #306EBA 50%, #2F76C0 57.14%, #2E7FC6 64.29%, #2D87CB 71.43%, #2C90D1 78.57%, #2A99D7 85.71%, #27A1DC 92.86%, #24AAE2 100%);
}

.minc-btn-login.prime-btn {
    background: linear-gradient(90deg, #2E3192 0%, #2F3A98 7.14%, #2F439D 14.29%, #304CA3 21.43%, #3054A9 28.57%, #305DAF 35.71%, #3065B4 42.86%, #306EBA 50%, #2F76C0 57.14%, #2E7FC6 64.29%, #2D87CB 71.43%, #2C90D1 78.57%, #2A99D7 85.71%, #27A1DC 92.86%, #24AAE2 100%);
}

.minc-btn-login.licensed-btn {
    background: linear-gradient(to right, #24aae2, #51a154);
}

.minc-forgot-link,
.support-cta a {
    font-weight: 500;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: #24AAE2;
    text-decoration: none;
}

.minc-forgot-link:hover,
.support-cta a:hover {
    text-decoration: underline;
}

.forget-support-cta a {
    color: #51a154;
}

.forget-support-cta span {
    font-size: .875rem;
}

.minc-password-field {
    position: relative;
}

.minc-eye-icon {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

#prime-user-tab svg path,
#licensed-user-tab svg path {
    stroke: #4A5565;
}

#prime-user-tab.active svg path,
#licensed-user-tab.active svg path {
    stroke: #fff;
}

#licensed-user-tab.active,
#licensed-user-tab.active:hover,
#licensed-user-tab.active:focus {
    background: linear-gradient(to right, #24aae2, #51a154);
    color: #fff;
}

#prime-user-tab.active {
    color: #fff;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.minc-login-tabs svg {
    min-width: 20px;
}

.minc-eye-icon {
    display: none;
}

.minc-sidebar h2 {
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #FFFFFF80;
    padding-top: 17px;
    padding-left: 12px;
    padding-bottom: 12px;
}

.minc-sidebar-nav li a.active {
    background: #fff;
    color: #2E3192;
    border-radius: 14px;
}

.minc-sidebar-nav li a.active svg path {
    stroke: #2E3192;
}

header {
    border-bottom: 1px solid oklab(0.93 0.01 0);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1),
        0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* advance search css  */
.minc-adv-field {
    width: calc(50% - 24px);
}

.min-content-wrapper select,
.min-content-wrapper input {
    height: 50px;
    padding: 16px !important;
}

/* error message css  */
.minc-search-error {
    display: block;
    margin-top: 48px;
}

.minc-search-error h4 {
    font-size: 18px;
}

.minc-no-results {
    background: oklch(98.5% .002 247.839);
    padding: 48px;
    border: 2px solid #ebe6e7;
    border-radius: 16px;
    text-align: center;
}

.minc-no-results h6 {
    font-size: 16px;
    color: #364153;
    font-weight: 700;
}

.minc-no-results p {
    font-size: 14px;
}

#minc-history-panel .minc-popup-box--wide {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}

/* additional req  css  */
#minc-record-popup .minc-add-modal-success {
    display: none;
}

.minc-add-new-wrapper {
    position: sticky;
    bottom: 0;
    background-color: #fff;
}

.minc-add-new-wrapper a {
    text-decoration: none;
}

/* change password css  */
table.minc-pwd-table {
    border: 0;
}

#minc-history-panel .minc-popup-box--wide {
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
}


body .dataTables_wrapper .dataTables_paginate .paginate_button {
    width: 25px;
    height: 25px;
    background: #fff !important;
    border-radius: 50%;
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
}

body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: linear-gradient(to right, #2e3192, #24aae2) !important;
    color: #fff !important;
    border: 0;
}

.dataTables_paginate {
    display: flex;
    align-items: center;
    gap: 10px;
}

.minc-adv-results {
    position: relative;
}

body .dataTables_paginate .paginate_button.previous,
body .dataTables_paginate .paginate_button.next {
    position: relative;
    font-size: 0;
}

body .dataTables_paginate .paginate_button.previous:before,
body .dataTables_paginate .paginate_button.next:before {
    width: 25px;
    height: 25px;
    font-size: 25px;
    top: 0;
    display: flex;
    align-items: center;
    position: absolute;
}

body .dataTables_paginate .paginate_button.previous:before {
    content: '<';
    left: 0;
}

body .dataTables_paginate .paginate_button.next:before {
    content: '>';
    right: 0;
}

.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding-top: 20px !important;
}

body .dataTables_paginate .paginate_button.next.disabled:before,
body .dataTables_paginate .paginate_button.previous.disabled:before {
    opacity: 0.5;
}

/* upload data css  */
.min-content-wrapper:has(.minc-upload-card),
.min-content-wrapper:has(.download-data-card),
.min-content-wrapper:has(.minc-dc-retrieve-box) {
    max-width: 896px;
}

.minc-upload-dropzone {
    border: 2px dashed #D1D5DC;
    padding: 34px;
    transition: 0.2s linear all;
}

.minc-upload-dropzone:hover {
    border-color: var(--color-secondary);
}

.upload-file--label:hover {
    background: oklch(87.2% .01 258.338);
}

.upload-file--label {
    background: #E5E7EB;
    border-radius: 14px;
    padding: 7.5px 24px;
    color: #364153;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: -0.31px;
    text-align: center;
    font-weight: 500;
    transition: 0.2s linear all;
}

.minc-upload-dropzone p {
    font-size: 14px;
}

.minc-upload-card .form-check-label {
    cursor: pointer;
}

.minc-warning-box p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: -0.15px;
}

.minc-upload-dropzone small {
    color: #6A7282;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0px;
}

.upload-file--label {
    cursor: pointer;
}

/* download page css  */
.download-data-card input,
.download-data-card select {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.calendar-btn {
    background: #E5E7EB;
    border: 0;
    border-radius: 16px;
    transition: 0.2s linear all;
    height: 50px;
}

.calendar-btn i {
    color: #0A0A0A;
}

.calendar-btn:hover,
.calendar-btn:focus,
.calendar-btn:focus-visible {
    background: oklch(87.2% .01 258.338);
}

.download-data-card input[type="checkbox"] {
    height: unset;
}

.download-data-card input.form-control {
    width: 80px;
}

.min-content-wrapper select {
    padding-right: 50px !important;
}

/* ======== Responsive ====== */
@media (max-width: 1200px) {
    .site-header {
        padding: 0 40px;
    }

    .site-header .site-branding {
        width: 30%;
    }

    .site-navigation {
        width: 70%;
    }
}

@media (max-width: 1024px) {
    .contact-content {
        min-width: 100%;
    }
}

@media (max-width: 991px) {

    .site-header .site-branding,
    .site-navigation {
        width: auto;
    }

    .header-inner .site-navigation .lang-selector {
        position: static;
        right: auto;
    }

    .site-header .header-inner {
        padding: 24px 0px;
        justify-content: space-between;
    }

    .banner-cards-row {
        gap: 15px;
    }

    .section-title {
        font-size: 40px;
        line-height: 40px;
    }
}

@media (max-width: 820px) {
    .contact-content {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    body h1 {
        font-size: 40px;
        line-height: 50px;
    }

    p {
        font-size: 18px;
        line-height: 28px;
    }

    .section-spacing {
        padding: 48px 16px;
    }

    .section-wrapper {
        padding: 48px 0;
    }

    .site-header {
        padding: 0 16px;
    }

    .banner-section {
        padding: 64px 24px;
    }

    .py-80 {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .foundation-icon.common-icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .structure-item {
        padding: 12px 16px;
        font-size: 18px;
    }

    .sample-minc-code {
        letter-spacing: 0.08em;
        word-break: break-all;
    }

    .contact-content {
        padding: 32px 24px;
    }

    .about-us--section p,
    .uses-section .section-lead {
        font-size: 16px;
    }

    .section-title {
        font-size: 30px;
    }

    .contact-content h2 {
        font-size: 35px;
    }

    .contact-content p {
        padding: 0;
    }

    .lead-minc {
        font-size: 16px;
        line-height: 25px;
    }

    .minc-list li span,
    .minc-structure-section p,
    .note-box-content p,
    .minc-assigned-section p,
    .permanent-life-section p,
    .permanent-life-section ul li,
    .questions-box p,
    .important-info-section ul li {
        font-size: 14px;
        line-height: 20px;
    }

    .section-title-sm,
    .sample-minc-code {
        font-size: 25px;
        line-height: 30px;
    }

    .common-box {
        padding: 29.5px 20px;
    }

    .note-box {
        padding: 24px 15px;
    }

    .inner-banner-icon {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 440px) {
    .section-spacing {
        padding: 48px 8px;
    }

    .contact-content a {
        font-size: 14px;
    }

    .contact-note {
        font-size: 12px;
    }

    .structure-item {
        padding: 6px 13px;
        font-size: 16px;
    }
}

/* × close button top-right of modal header */
.minc-popup-close-x {
    margin-left: auto;
    background: none;
    border: none;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    padding: 0 0.25rem;
    transition: opacity 150ms ease;
}

.minc-popup-close-x:hover,
.minc-popup-close-x:focus-visible {
    opacity: 1;
}