/* Kalviro Ventures v5.0 — auto-generated, edit kvl_asset_build_css() */

/*
 * INDEX — Ctrl+F any entry to jump to that CSS component
 *  1.  DESIGN TOKENS          2.  LAYOUT & GLOBAL        3.  ELEMENTOR FLICKER FIX
 *  4.  BUTTONS: UM            5.  BUTTONS: NAV/ACTION    6.  BUTTONS: READ MORE
 *  7.  TABLES: GENERIC        8.  TABLES: UNLISTED SHARE 9.  TABLES: UNLISTED ZONE
 * 10.  DASHBOARD: CARD       11.  DASHBOARD: TABLE      12.  DASHBOARD: ACCORDION
 * 13.  DATE WIDGET           14.  LOGIN FORM             15.  BLOG POST META
 * 16.  RESPONSIVE
 */

/* === COMPONENT: DESIGN TOKENS === */
:root {
    --kvl-green:       #228B22;
    --kvl-green-dark:  #1a5c1a;
    --kvl-green-mid:   #236b23;
    --kvl-green-hover: #1e6b1e;
    --kvl-accent:      #FFCD57;
    --kvl-accent-dark: #f5c14f;
    --kvl-text:        #2c2c2c;
    --kvl-text-muted:  #777;
    --kvl-border:      #e8e8e8;
    --kvl-bg-subtle:   #fafafa;
}

/* === COMPONENT: LAYOUT & GLOBAL === */
html { scroll-behavior: smooth; }
html, body, .elementor-section { overflow-x: hidden; }
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
.elementor-section { content-visibility: visible; isolation: isolate; }
.kvl-dashboard-section { isolation: isolate; }
.swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}
nav.navigation.post-navigation { display: none !important; }
figure.wp-block-image.size-full { max-width: 55%; display: inline-block; }

/* === COMPONENT: ELEMENTOR FLICKER FIX === */
/* Backed by inline head script — CSS is the fallback */
.elementor-invisible {
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transform: none !important;
}

/* === COMPONENT: BUTTONS — ULTIMATE MEMBER === */
.um-button { background: #4a7b3e !important; color: #fff !important; min-height: 44px; }
.um-button:hover,
.um .um-button.um-alt,
.um input[type=submit].um-button.um-alt {
    background: var(--kvl-accent) !important;
    color: #1a1a1a !important;
}

/* === COMPONENT: BUTTONS — NAVIGATION & ACTION === */
a.register-button {
    background: var(--kvl-green); padding: 10px 20px; min-height: 44px; color: #fff;
    font-size: 15px; font-weight: 500; border-radius: 50px; display: inline-flex;
    align-items: center; text-decoration: none; transition: background 0.2s ease;
}
a.register-button:hover { background: var(--kvl-accent-dark); color: #1a1a1a; }

a.aif-button,
a.product-dashboard {
    display: inline-flex; align-items: center; padding: 10px 20px; min-height: 44px;
    color: #fff; font-family: "Manrope", sans-serif; font-weight: 700;
    border-radius: 6px; text-decoration: none; transition: background 0.2s ease;
}
a.aif-button        { background: var(--kvl-green); }
a.product-dashboard { background: var(--kvl-green); font-size: 16px; }
a.aif-button:hover,
a.product-dashboard:hover { background: var(--kvl-accent-dark); color: #1a1a1a; }

a.logout-button {
    padding: 10px 20px; min-height: 44px; background: #2f862b !important; color: #fff !important;
    font-weight: 700; border-radius: 50px; text-decoration: none;
    display: inline-flex; align-items: center; transition: background 0.2s ease;
}
a.logout-button:hover { background: var(--kvl-accent-dark) !important; color: #1a1a1a !important; }
.logout-button, a.product-dashboard, a.aif-button { font-weight: 600; }

/* === COMPONENT: BUTTONS — BLOG READ MORE === */
/* tpg-post-link scoped to div.read-more — bare selector styles the title link too.
   JS kvlTagReadMore() injects .kvl-rmbtn on the correct element. */
.kvl-rmbtn,
div.read-more a.tpg-post-link,
.read-more a,
.ast-the-content-more-link a,
a.more-link {
    display: inline-flex !important; align-items: center !important;
    padding: 9px 22px !important; min-height: 40px !important;
    background: #228B22 !important; color: #ffffff !important;
    font-family: "Manrope", sans-serif !important; font-size: 14px !important;
    font-weight: 700 !important; border-radius: 50px !important;
    text-decoration: none !important; letter-spacing: 0.02em !important;
    box-shadow: 0 2px 8px rgba(34,139,34,0.18) !important; cursor: pointer !important;
    pointer-events: auto !important; position: relative !important; z-index: 1 !important;
    -webkit-transition-property: background-color, color, -webkit-transform, box-shadow !important;
            transition-property: background-color, color, transform, box-shadow !important;
    -webkit-transition-duration: 0.2s !important; transition-duration: 0.2s !important;
    -webkit-transition-timing-function: ease !important; transition-timing-function: ease !important;
}
.kvl-rmbtn:hover, .kvl-rmbtn:focus-visible,
div.read-more a.tpg-post-link:hover, div.read-more a.tpg-post-link:focus-visible,
.read-more a:hover, .read-more a:focus-visible,
.ast-the-content-more-link a:hover, .ast-the-content-more-link a:focus-visible,
a.more-link:hover, a.more-link:focus-visible {
    background: #FFCD57 !important; color: #1a1a1a !important;
    text-decoration: none !important;
    -webkit-transform: translateY(-2px) !important; transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(255,205,87,0.4) !important; cursor: pointer !important;
}
.ast-the-content-more-link { margin-top: 12px; }

/* === COMPONENT: TABLES — GENERIC STYLED === */
.table-container, .table-section { padding: 20px; font-family: "Manrope", sans-serif; }
.table-section h2 { font-size: 22px; margin-top: 30px; color: #2a2a2a; padding-bottom: 5px; }
.table-responsive { overflow-x: auto; }
.styled-table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 16px; border: 1px solid #ccc; text-align: left; }
.styled-table th, .styled-table td { padding: 12px 15px; border: 1px solid #ddd; }
.styled-table thead tr { background-color: var(--kvl-green); color: #fff; font-weight: bold; }
.styled-table tbody tr:nth-child(even) { background-color: #f9f9f9; }
.styled-table a { color: var(--kvl-green); text-decoration: none; }
.styled-table a:hover { text-decoration: underline; }
.tablepress {
    display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch;
    --head-active-bg-color: #10a033; --head-active-text-color: #ffffff;
    --head-sort-arrow-color: var(--head-active-text-color); --head-bg-color: #d3ffde;
}
.tablepress table { width: 100%; border-collapse: collapse; }
table.dataTable { font-family: "Manrope", sans-serif; }
table.dataTable tbody td, table.dataTable tbody th { font-size: 15px; }
table.dataTable tfoot th, table.dataTable thead th { font-weight: 700 !important; font-size: 16px !important; }
.unlisted-share-wrapper, .unlisted-zone-wrapper, .table-responsive, .tablepress { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* Unlisted share table */
.unlisted-share-table { width: 100%; border-collapse: collapse; font-family: "Manrope", sans-serif; font-size: 14px; }
.unlisted-share-table th, .unlisted-share-table td {
    border: 1px solid var(--kvl-border) !important; padding: 11px 14px; text-align: center; vertical-align: middle;
}
.unlisted-share-table thead { background: linear-gradient(135deg, var(--kvl-green-dark), #2e7d32); color: #fff; }
.unlisted-share-table thead th { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; }
.unlisted-share-table tbody tr:nth-child(even) { background: var(--kvl-bg-subtle); }
.unlisted-share-table tbody tr:hover { background: #f7f7f6; }
.book-now-btn {
    background: linear-gradient(135deg, #2e7d32, var(--kvl-green-mid));
    color: #fff; padding: 7px 16px; min-height: 36px; border-radius: 20px;
    text-decoration: none; display: inline-flex; align-items: center;
    font-size: 11.5px; font-weight: 700; white-space: nowrap; letter-spacing: 0.03em;
    box-shadow: 0 1px 4px rgba(46,125,50,0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.book-now-btn:hover { color: #fff; box-shadow: 0 4px 12px rgba(46,125,50,0.35); transform: translateY(-1px); }

/* Unlisted zone table */
.unlisted-zone-wrapper { width: 100%; overflow-x: visible; }
.unlisted-zone-table { width: 100%; border-collapse: collapse; font-family: "Manrope", sans-serif; table-layout: auto; }
.unlisted-zone-table th, .unlisted-zone-table td {
    border: 1px solid #ccc !important; padding: 10px; text-align: center;
    white-space: normal; word-break: break-word; overflow-wrap: break-word;
}
.unlisted-zone-table thead tr th:first-child { width: 60px; }
.unlisted-zone-table thead { background: linear-gradient(135deg, var(--kvl-green-dark), #2e7d32); color: #fff; }

/* === COMPONENT: DASHBOARD — SECTION CARD === */
.kvl-dashboard-section {
    margin-bottom: 40px; font-family: "Manrope", sans-serif; border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
    overflow: hidden; border: 1px solid #d4e8d4;
}
.kvl-section-header {
    display: flex; align-items: center; gap: 16px;
    background: linear-gradient(135deg, var(--kvl-green-dark) 0%, var(--kvl-green-mid) 60%, #2d7d2d 100%);
    padding: 18px 24px; margin-bottom: 0; position: relative; overflow: hidden;
}
.kvl-section-header::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
}
.kvl-section-icon {
    width: 44px; height: 44px; background: rgba(255,255,255,0.15);
    border: 1.5px solid rgba(255,255,255,0.28); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kvl-section-icon svg { width: 22px; height: 22px; fill: #fff; stroke: none; display: block; }
.kvl-section-icon svg[stroke="#fff"] { fill: none; stroke: #fff; }
.kvl-section-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.kvl-section-title { font-size: 17px; font-weight: 700; color: #fff; letter-spacing: 0.01em; margin: 0; line-height: 1.25; }
.kvl-section-subtitle { font-size: 12px; color: rgba(255,255,255,0.72); font-weight: 400; margin: 0; letter-spacing: 0.02em; }
.kvl-section-badge {
    margin-left: auto; flex-shrink: 0; background: rgba(255,255,255,0.18); color: #fff;
    border: 1.5px solid rgba(255,255,255,0.32); font-size: 11px; font-weight: 700;
    padding: 5px 12px; border-radius: 20px; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
}
.kvl-table-card { overflow-x: auto; -webkit-overflow-scrolling: touch; background: #fff; border-top: 1px solid rgba(26,92,26,0.10); }

/* === COMPONENT: DASHBOARD — PRODUCT TABLE === */
.unlisted-share-table-1 { width: 100%; border-collapse: collapse; font-family: "Manrope", sans-serif; font-size: 14px; background: #fff; }
.unlisted-share-table-1 thead tr { background: #f7faf7; border-bottom: 2px solid #e8ede8; }
.unlisted-share-table-1 thead th {
    padding: 13px 18px; text-align: left; color: #4a6b4a; font-size: 10.5px; font-weight: 700;
    letter-spacing: 0.1em; text-transform: uppercase; border: none; white-space: nowrap;
    background: #f8faf8; border-bottom: 2px solid #e0ebe0;
}
.unlisted-share-table-1 thead th:last-child { text-align: right; }
.unlisted-share-table-1 tbody tr { border-bottom: 1px solid #f0f0f0; transition: background 0.12s ease; }
.unlisted-share-table-1 tbody tr:last-child { border-bottom: none; }
.unlisted-share-table-1 tbody tr:hover { background: #f4f8f4; }
.unlisted-share-table-1 tbody tr:nth-child(even) { background: #fafcfa; }
.unlisted-share-table-1 tbody tr:nth-child(even):hover { background: #f4f8f4; }
.unlisted-share-table-1 td {
    padding: 13px 18px; text-align: left; color: var(--kvl-text);
    font-size: 14px; line-height: 1.5; border: none; vertical-align: middle;
}
.unlisted-share-table-1 td:first-child { font-weight: 600; color: #1a1a1a; }
.unlisted-share-table-1 td:first-child a {
    color: #1a1a1a; text-decoration: none;
    border-bottom: 1.5px solid transparent; padding-bottom: 1px;
    transition: border-color 0.18s ease, color 0.18s ease;
}
.unlisted-share-table-1 td:first-child a:hover { border-bottom-color: var(--kvl-green-mid); color: var(--kvl-green-mid); }
.unlisted-share-table-1 td:nth-child(3) { color: var(--kvl-text-muted); font-size: 13px; font-weight: 400; }
.unlisted-share-table-1 td:last-child {
    text-align: right; font-weight: 700; color: var(--kvl-green-dark); font-size: 12px;
    white-space: nowrap; font-variant-numeric: tabular-nums; letter-spacing: 0.01em;
}
.unlisted-share-table-1 a.kvl-fs-pill,
.unlisted-share-table-1 span.kvl-fs-pill {
    display: inline-flex; align-items: center; white-space: nowrap;
    font-family: "Manrope", sans-serif; font-size: 11px; font-weight: 700;
    letter-spacing: 0.03em; padding: 5px 12px; border-radius: 20px; text-decoration: none;
    transition: box-shadow 0.15s, transform 0.15s;
}
.unlisted-share-table-1 a.kvl-fs-pill {
    background: linear-gradient(135deg, #1e7e1e, var(--kvl-green-mid));
    color: #fff !important; border: none; box-shadow: 0 1px 4px rgba(26,92,26,0.20);
}
.unlisted-share-table-1 a.kvl-fs-pill:hover {
    background: linear-gradient(135deg, #1a6b1a, #1e5e1e);
    color: #fff !important; box-shadow: 0 3px 10px rgba(26,92,26,0.32); transform: translateY(-1px);
}
.unlisted-share-table-1 span.kvl-fs-nolink {
    background: transparent; color: #1e7e1e; border: 1.5px solid #1e7e1e; cursor: default; opacity: 0.8;
}
.unlisted-share-table-1 .kvl-fs-none { color: #ccc; font-size: 16px; }
.kvl-row-count { font-size: 13px; color: #999; font-weight: 400; margin-left: 6px; }
.kvl-dashboard-page { padding: 10px 0 40px; }
.kvl-dashboard-page .kvl-dashboard-section + .kvl-dashboard-section { margin-top: 28px; }
.kvl-section-divider { display: none; }

/* === COMPONENT: DASHBOARD — ACCORDION === */
.kvl-section-header[data-kvl-toggle] { cursor: pointer; user-select: none; -webkit-user-select: none; min-height: 44px; }
.kvl-section-header[data-kvl-toggle]:hover {
    background: linear-gradient(135deg, var(--kvl-green-hover) 0%, #28782a 60%, #337d33 100%);
}
.kvl-chevron { width: 22px; height: 22px; margin-left: 10px; flex-shrink: 0; transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1); }
.kvl-section-header[aria-expanded="true"] .kvl-chevron { transform: rotate(180deg); }
.kvl-panel-wrap { overflow: hidden; transition: height 0.32s cubic-bezier(0.4, 0, 0.2, 1); height: 0; }
@media (prefers-reduced-motion: reduce) { .kvl-panel-wrap, .kvl-chevron { transition: none; } }

/* === COMPONENT: DATE WIDGET === */
.product-dashboard-date, .unlisted-shares-date {
    font-size: 30px; font-weight: 600; color: #010101; font-family: "Manrope", sans-serif;
}

/* === COMPONENT: LOGIN FORM === */
.custom-login-wrapper { width: 40%; margin: 60px auto; text-align: left; }
.login-error-message {
    color: #d9534f; background: #f2dede; border: 1px solid #ebccd1;
    padding: 10px 15px; margin-bottom: 20px; border-radius: 5px; font-size: 14px;
}
#custom_loginform { display: flex; flex-direction: column; }
#custom_loginform label { font-weight: 600; color: #333; font-size: 14px; }
#custom_loginform input[type="text"],
#custom_loginform input[type="password"] {
    width: 100%; padding: 12px 14px; border: 1.5px solid #d0d0d0; border-radius: 8px;
    font-size: 14px; font-family: "Manrope", sans-serif; box-sizing: border-box;
    transition: border-color 0.15s ease, box-shadow 0.15s ease; outline: none;
}
#custom_loginform input[type="text"]:focus,
#custom_loginform input[type="password"]:focus {
    border-color: var(--kvl-green-mid);
    box-shadow: 0 0 0 3px rgba(35,107,35,0.12);
}
#custom_loginform input[type="checkbox"] { margin-right: 8px; }
#custom_loginform input[type="submit"]   { display: none; }
.login-remember { margin-bottom: 0 !important; }
.button-row { display: flex; gap: 12px; width: 100%; margin-top: 8px; }
.button-login,
.button-register {
    width: 50%; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 15px 20px; min-height: 44px; box-sizing: border-box;
    border-radius: 50px !important; font-family: "Manrope", sans-serif;
    font-size: 15px !important; font-weight: 700 !important; line-height: 1.2;
    cursor: pointer; text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none; appearance: none;
}
.button-login    { background-color: var(--kvl-green) !important; color: #fff !important; border: 2px solid var(--kvl-green) !important; }
.button-login:hover { background-color: var(--kvl-accent-dark) !important; border-color: var(--kvl-accent-dark) !important; color: #1a1a1a !important; }
.button-login:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(34,139,34,0.45) !important; }
.button-register { background-color: var(--kvl-accent) !important; color: #1a1a1a !important; border: 2px solid var(--kvl-accent) !important; }
.button-register:hover { background-color: var(--kvl-green) !important; border-color: var(--kvl-green) !important; color: #fff !important; }
.button-register:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(255,205,87,0.55) !important; }
.custom-login-msg { margin-bottom: 4% !important; }
.custom-login-wrapper .forgot-password-link {
    display: block; text-align: center; margin-top: 25px;
    color: #555; font-size: 16px; text-decoration: none; font-weight: 700;
}
.forgot-password-link:hover { color: #000; }

/* === COMPONENT: BLOG POST META === */
.kvl-post-meta {
    display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px;
    margin-bottom: 20px; padding: 10px 16px; background: var(--kvl-bg-subtle);
    border-left: 3px solid var(--kvl-green); border-radius: 4px;
    font-family: "Manrope", sans-serif; font-size: 13px; color: var(--kvl-text-muted); line-height: 1.4;
}
.kvl-post-date, .kvl-post-read-time { display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; }
.kvl-sep { color: var(--kvl-border); font-size: 16px; line-height: 1; user-select: none; }
.kvl-post-date svg, .kvl-post-read-time svg { flex-shrink: 0; color: var(--kvl-green); }
@media (max-width: 480px) { .kvl-post-meta { font-size: 12px; padding: 8px 12px; gap: 6px 12px; } }

/* === COMPONENT: RESPONSIVE BREAKPOINTS === */
@media (min-width: 768px) and (max-width: 1026px) {
    .product-dashboard-date, .unlisted-shares-date { font-size: 22px; }
}
@media (min-width: 769px) {
    .unlisted-share-table-1 { table-layout: fixed; }
    .unlisted-share-table-1 col.col-product   { width: 42%; }
    .unlisted-share-table-1 col.col-factsheet { width: 18%; }
    .unlisted-share-table-1 col.col-mfr       { width: 24%; }
    .unlisted-share-table-1 col.col-ticket    { width: 16%; }
}
@media (max-width: 768px) {
    a.register-button   { font-size: 12px; }
    a.product-dashboard { font-size: 14px; }
    .button-row { flex-direction: column; gap: 10px; }
    .button-login, .button-register { width: 100%; padding: 14px 20px; font-size: 15px !important; }
    .custom-login-wrapper { width: 100%; padding: 10px; }
    .product-dashboard-date { font-size: 11px; }
    .unlisted-shares-date   { font-size: 10px; }
    table.dataTable tbody td, table.dataTable tbody th { font-size: 12px; }
    table.dataTable tfoot th, table.dataTable thead th { font-weight: 600 !important; font-size: 12px !important; }
    .unlisted-share-table th:nth-child(1), .unlisted-share-table td:nth-child(1) { display: none; }
    .unlisted-share-table th, .unlisted-share-table td { padding: 9px 8px; font-size: 12px; }
    .unlisted-share-table img { width: 60px !important; height: auto; }
    .book-now-btn { padding: 5px 10px; font-size: 11px; }
    .unlisted-zone-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .unlisted-zone-table { min-width: 560px; table-layout: auto; }
    .unlisted-zone-table th, .unlisted-zone-table td { font-size: 12px; padding: 8px 10px; }
    .unlisted-zone-table th:nth-child(6), .unlisted-zone-table td:nth-child(6) { display: none; }
    .kvl-dashboard-section { margin-bottom: 24px; border-radius: 10px; }
    .kvl-section-header { padding: 14px 16px; gap: 12px; }
    .kvl-section-icon { width: 36px; height: 36px; border-radius: 8px; }
    .kvl-section-icon svg { width: 18px; height: 18px; }
    .kvl-section-title    { font-size: 14px; }
    .kvl-section-subtitle { font-size: 11px; }
    .kvl-section-badge    { font-size: 10px; padding: 4px 9px; }
    .kvl-table-card { overflow-x: visible; }
    .kvl-section-header[data-kvl-toggle] { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
    .kvl-chevron { width: 18px; height: 18px; margin-left: 6px; }
    .unlisted-share-table-1 { table-layout: auto; width: 100%; }
    .unlisted-share-table-1 col.col-mfr { display: none; }
    .unlisted-share-table-1 thead th:nth-child(3), .unlisted-share-table-1 tbody td:nth-child(3) { display: none; }
    .unlisted-share-table-1 thead th { padding: 9px 10px; font-size: 10px; letter-spacing: 0.05em; }
    .unlisted-share-table-1 thead th:last-child { text-align: left; }
    .unlisted-share-table-1 td { padding: 11px 10px; font-size: 13px; line-height: 1.4; }
    .unlisted-share-table-1 td:first-child { font-size: 13px; word-break: break-word; min-width: 0; }
    .unlisted-share-table-1 td:last-child { text-align: left; white-space: normal; font-size: 12px; }
    .unlisted-share-table-1 a.kvl-fs-pill,
    .unlisted-share-table-1 span.kvl-fs-pill { padding: 5px 10px; font-size: 11px; white-space: nowrap; }
    div#popmake-1460, #popmake-1207, #popmake-1218 {
        max-width: 90% !important; left: 20px !important; right: 20px !important; top: 50px !important;
    }
}
