/* 
 * Platform Theme CSS
 * Consolidates global styles for Eagle Eye web platform
 */

:root {
    /* Brand Colors */
    --ee-teal: #1a9e78;
    --ee-teal-dk: #0d9488;
    --ee-navy: #0B2444;
    --ee-navy-dark: #051222;

    /* UI Colors */
    --ee-text-muted: #7A8FA8;
    --ee-t2: #64748b;
    --ee-t3: #94a3b8;
    --ee-nav-link: #3A5470;
    --ee-border: #e2e8f0;
    --ee-off: #f8fafc;
    --teal-dk: #0f6e56;
    --teal: #1a9e78;

    /* Typography & Utilities */
    /*--ee-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;*/
    --ee-mono: "Inter", sans-serif;
    --ee-radius: 8px;
    --color-slate-200: lab(91.7353% -.998765 -4.76968);

    --t2: #3a5470;
    --t3: #7a8fa8;
    --navy-deep: #071628;
    --serif: "DM Serif Display", Georgia, serif;
    --mono: "IBM Plex Mono", monospace;
    --t4: #b0c0d0;
    --rs: 8px;
}

/* =========================================
   Header Styles 
   ========================================= */

.ee-brand-name {
    /*font-family: var(--ee-mono);
    font-size: 14px;
    font-weight: 500;
    color: var(--ee-navy);
    letter-spacing: .05em;
    line-height: 1;*/
    font-family: var(--ee-mono);
    font-size: 22px;
    font-weight: 800;
    color: #0B2444;
    letter-spacing: .05em;
    line-height: 1
}

.ee-brand-tagline {
    /*font-family: var(--ee-mono);
    font-size: 8.5px;
    color: var(--ee-text-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1;*/
    font-family: var(--ee-mono);
    font-size: 6.2px;
    color: black;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.5
}

.ee-nav-link {
    color: var(--ee-nav-link);
    transition: color 0.2s;
}

.ee-nav-link:hover,
.ee-nav-link.active {
    color: var(--ee-navy);
    font-weight: 500;
}

.ee-btn-upgrade {
    font-size: 13px;
    font-weight: 600;
    background: var(--ee-teal);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: var(--ee-radius);
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.ee-btn-upgrade:hover {
    opacity: 0.9;
}

.ee-btn-logout {
    font-size: 13px;
    color: var(--ee-text-muted);
    background: none;
    border: 1px solid var(--ee-border);
    padding: 7px 14px;
    border-radius: var(--ee-radius);
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.ee-btn-logout:hover {
    background: #f8fafc;
    color: var(--ee-navy);
    border-color: var(--ee-text-muted);
}

.ee-icon-btn {
    background: none;
    border: none;
    color: var(--ee-text-muted);
    cursor: pointer;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.ee-icon-btn:hover {
    color: var(--ee-navy);
}

/* Mobile Menu Toggle Animation */
#ee_mobile_toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--ee-navy);
    transition: all 0.3s ease;
}

#ee_mobile_toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

#ee_mobile_toggle.active span:nth-child(2) {
    opacity: 0;
}

#ee_mobile_toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

#ee_mobile_overlay,
.ee-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 110;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

#ee_mobile_overlay.is-open,
.ee-mobile-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.ee-mobile-drawer,
#ee_mobile_drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    z-index: 120;
    background: linear-gradient(180deg, #0B2444 0%, #0a1f38 55%, rgba(10, 31, 56, 0.92) 100%);
    color: #fff;
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.25);
    transform: translateX(100%);
    transition: transform 0.5s ease-out;
}

.ee-mobile-drawer.is-open,
#ee_mobile_drawer.is-open {
    transform: translateX(0);
}

#ee_mobile_drawer .ee-mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem 1.25rem 1.75rem;
    box-sizing: border-box;
}

#ee_mobile_drawer .ee-mobile-drawer-brand {
    flex-shrink: 0;
    margin-bottom: 0.5rem;
}

#ee_mobile_drawer .ee-mobile-drawer-logo {
    display: block;
    flex: 1;
    min-width: 0;
    text-decoration: none;
}

#ee_mobile_drawer .ee-mobile-drawer-logo img {
    display: block;
    width: 155px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

#ee_mobile_drawer .ee-mobile-drawer-nav {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

#ee_mobile_drawer .ee-mobile-drawer-link {
    display: block;
    padding: 1.125rem 0;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease;
}

#ee_mobile_drawer .ee-mobile-drawer-link:hover {
    color: #5eead4;
}

#ee_mobile_drawer .ee-mobile-drawer-link.active,
#ee_mobile_drawer .ee-mobile-drawer-link-contact {
    color: #5eead4;
}

#ee_mobile_drawer .ee-mobile-drawer-bottom {
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#ee_mobile_drawer .ee-mobile-drawer-bottom--guest {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

#ee_mobile_drawer .ee-mobile-drawer-user {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.375rem;
    margin-bottom: 1.25rem;
}

#ee_mobile_drawer .ee-mobile-drawer-avatar-wrap {
    margin-bottom: 0.375rem;
}

#ee_mobile_drawer .ee-mobile-drawer-avatar-wrap .ee-mobile-drawer-avatar,
#ee_mobile_drawer .ee-mobile-drawer-avatar-wrap img {
    width: 64px !important;
    height: 64px !important;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

#ee_mobile_drawer .ee-mobile-drawer-avatar-wrap span {
    width: 64px !important;
    height: 64px !important;
    font-size: 1.375rem !important;
    background: var(--ee-teal) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

#ee_mobile_drawer .ee-mobile-drawer-name {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

#ee_mobile_drawer .ee-mobile-drawer-email {
    color: rgba(255, 255, 255, 0.8);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.75rem;
    line-height: 1.4;
    word-break: break-word;
    max-width: 100%;
}

#ee_mobile_drawer .ee-mobile-drawer-btn-dashboard {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--ee-teal);
    border: none;
    border-radius: var(--ee-radius);
    text-decoration: none;
    transition: opacity 0.2s ease;
    box-sizing: border-box;
}

#ee_mobile_drawer .ee-mobile-drawer-btn-dashboard:hover {
    opacity: 0.92;
    color: #fff;
}

#ee_mobile_drawer .ee-mobile-drawer-btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: rgba(5, 18, 34, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--ee-radius);
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease;
    box-sizing: border-box;
}

#ee_mobile_drawer .ee-mobile-drawer-btn-logout:hover {
    background: rgba(5, 18, 34, 0.85);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.ee-user-avatar-container img {
    height: 34px !important;
}

/* =========================================
   Secondary Navigation Styles 
   ========================================= */

.ee-secondary-nav {
    background: #fff;
    border-bottom: 1px solid var(--ee-border);
    position: sticky;
    top: 62px;
    z-index: 90;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex-shrink: 0;
}

.ee-secondary-nav-container {
    display: flex;
    flex-wrap: nowrap;
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    min-width: 0;
    padding: 0 48px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.ee-secondary-nav-container::-webkit-scrollbar {
    display: none;
}

.ee-secondary-nav-icon {
    display: none;
}

.ee-pn-a {
    font-size: 14px;
    font-weight: 500;
    color: var(--t2) !important;
    padding: 14px 18px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
    flex: 0 0 auto;
    text-decoration: none;
    transition: all 0.2s;
}

.ee-pn-a:hover {
    color: var(--navy) !important;
}

.ee-pn-a.active {
    border-bottom: 2px solid #c49a0c;
}

@media (max-width: 768px) {
    .ee-secondary-nav-container {
        padding: 0 32px;
    }

    .ee-pn-a {
        padding: 12px 14px;
        font-size: 13px;
    }

    .ee-secondary-nav-icon {
        display: block;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        font-size: 14px;
        color: #64748b;
        pointer-events: none;
    }

    .ee-secondary-nav-icon--left {
        left: 12px;
    }

    .ee-secondary-nav-icon--right {
        right: 12px;
    }

    .ee-subscription-product-nav .ee-subscription-product-nav-container {
        justify-content: flex-start;
    }
}

.page-header {
    background-color: rgb(11, 36, 68);
    background-image: linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
    background-size: 36px 36px;
    background-position: top center;
    color: #fff;
    border-bottom: 1px solid var(--ee-border);
    padding: 60px 0;
}


/* =========================================
   Dashboard Styles 
   ========================================= */

.kt-progress,
.kt-progress-indicator {
    height: 18px;
}

.kt-progress-indicator {
    min-width: 25px;
}

.top-link-mobile {
    display: none;
}

.br-border-5 {
    border-top: 2px solid #1b385b;
}

.app-card-title {
    max-width: 174px;
}

.app-container {
    display: flex;
    width: 100%;
    height: 100%;
    justify-content: space-between;
}

.app-img-container {
    display: table-cell;
    width: 75px;
    justify-content: flex-end;
    margin-left: 10px;
}

.app-text-container {
    display: table-cell;
}

.app-image {
    min-width: 70px;
    max-width: 75px;
}

.kt-card-footer.bg-eagle-eye {
    background-color: #5B7E96;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

html.dark .kt-card-footer.bg-eagle-eye {
    background-color: #000;
}

.kt-card-footer.bg-eagle-eye a {
    color: #fff;
}

.kt-card-footer.bg-eagle-eye a:hover {
    color: #fff;
}

html.dark .kt-card-footer.bg-eagle-eye a {
    color: #d8d3d4;
}

html.dark .kt-card-footer.bg-eagle-eye a:hover {
    color: #d8d3d4;
}

html.dark i.start-new-project-icon {
    color: #d8d3d4;
}

@media only screen and (min-width: 640px) {
    .start-new-project-card {
        padding-top: 4.2rem;
    }
}

@media only screen and (max-width: 640px) {
    .top-link-mobile {
        display: grid;
    }

    .top-link-desktop {
        display: none;
    }
}

.ee-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--ee-border);
    background: var(--ee-off);
}

.ee-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.ee-category-header {
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 2.5px solid var(--ee-navy);
}

.ee-category-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--ee-navy);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ee-category-desc {
    font-size: 15px;
    color: var(--ee-t2);
    line-height: 1.6;
}

.ee-apps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 1024px) {
    .ee-apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .ee-apps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ee-container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .ee-apps-grid {
        grid-template-columns: 1fr;
    }
}

.ee-app-tile {
    background: #fff;
    border: 1px solid var(--ee-border);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.ee-app-tile:hover {
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transform: translateY(-2px);
}

.ee-tile-body {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 16px 14px;
}

.ee-tile-icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: #F0F2F7;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ee-border);
}

.ee-tile-info {
    flex: 1;
}

.ee-tile-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--ee-navy);
    margin-bottom: 5px;
    line-height: 1.3;
}

.ee-tile-desc {
    font-size: 13.5px;
    color: var(--ee-t2);
    line-height: 1.5;
}

.ee-tile-footer {
    display: flex;
    border-top: 1px solid var(--ee-border);
    margin-top: auto;
}

.ee-app-res-btn {
    /*flex: 1;
    text-align: center;
    padding: 8px 4px;
    font-family: var(--ee-mono);
    font-size: 10.5px;
    font-weight: 500;
    color: var(--ee-t3);
    border-right: 1px solid var(--ee-border);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;*/
    flex: 2;
    text-align: center;
    padding: 8px 4px;
    font-family: var(--ee-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-dk);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ee-app-res-btn:hover:not(.disabled) {
    background: #f8fafc;
    color: var(--ee-navy);
}

.ee-app-res-btn.disabled {
    opacity: 0.5;
    cursor: default;
    pointer-events: none;
}

.ee-app-res-btn.open-btn {
    /*flex: 2;
    font-size: 11px;
    font-weight: 600;
    color: var(--ee-teal-dk);
    gap: 4px;
    border-right: none;*/
    flex: 2;
    text-align: center;
    font-family: var(--ee-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: #e6f7f2;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.ee-app-res-btn.open-btn:hover {
    background: #e6f7f2;
}

/* =========================================
   Footer Styles 
   ========================================= */

.ee-footer {
    background: #071628;
    padding: 52px 0 28px;
    font-family: var(--ee-mono);
}

.ee-footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 48px;
}

.ee-footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.ee-footer-brand-container {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
}

.ee-footer-logo-box {
    width: 185px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ee-footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ee-footer-brand-name {
    font-family: var(--ee-mono);
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    letter-spacing: .05em;
    line-height: 1;
}

.ee-footer-brand-tagline {
    font-family: var(--ee-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1;
}

.ee-footer-desc {
    font-size: 14px;
    /*color: rgba(255, 255, 255, .4);*/
    color: rgba(255, 255, 255, 1);
    line-height: 1.75;
    max-width: 200px;
    margin-bottom: 12px;
    margin-top: 10px;
}

.ee-footer-company {
    font-family: var(--ee-mono);
    font-size: 10px;
    color: rgba(255, 255, 255, 1);
    line-height: 1.8;
    max-width: 220px;
}

.ee-footer-heading {
    font-family: var(--ee-mono);
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 1);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.ee-footer-link {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    margin-bottom: 9px;
    transition: color 0.2s;
}

.ee-footer-link:hover {
    color: #fff;
}

.ee-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.ee-footer-copyright {
    font-family: var(--ee-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .04em;
}

.ee-footer-legal-links {
    display: flex;
    gap: 18px;
}

.ee-footer-legal {
    font-family: var(--ee-mono);
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    transition: color 0.2s;
}

.ee-footer-legal:hover {
    color: #fff;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .ee-footer-container {
        padding: 0 32px;
    }

    .ee-footer-grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 28px;
        margin-bottom: 32px;
    }
}

@media (max-width: 767px) {
    .ee-footer {
        padding: 36px 0 24px;
    }

    .ee-footer-container {
        padding: 0 20px;
    }

    .ee-footer-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "brand brand"
            "products support"
            "platform platform";
        column-gap: 28px;
        row-gap: 12px;
        align-items: start;
        margin-bottom: 28px;
    }

    .ee-footer-brand-col {
        grid-area: brand;
        text-align: center;
        padding-bottom: 16px;
    }

    .ee-footer-products-col {
        grid-area: products;
        padding-bottom: 0;
    }

    .ee-footer-platform-col {
        grid-area: platform;
        padding-bottom: 0;
    }

    .ee-footer-support-col {
        grid-area: support;
        padding-top: 0;
        margin-top: 0;
    }

    .ee-footer-brand-container {
        justify-content: center;
        margin-bottom: 12px;
    }

    .ee-footer-logo-box {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .ee-footer-desc {
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
        font-size: 13px;
        line-height: 1.65;
        color: rgba(255, 255, 255, 0.6);
        text-align: center;
    }

    .ee-footer-company {
        max-width: none;
        margin-top: 10px;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.45);
        text-align: center;
    }

    .ee-footer-heading {
        font-size: 11px;
        margin-bottom: 14px;
    }

    .ee-footer-link {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .ee-footer-products-col .ee-footer-link:last-of-type,
    .ee-footer-platform-col .ee-footer-link:last-of-type,
    .ee-footer-support-col .ee-footer-link:last-of-type {
        margin-bottom: 0;
    }

    .ee-footer-support-col .ee-footer-heading {
        margin-top: 0;
    }

    .ee-footer-support-col .ee-footer-links-grid {
        display: block;
    }

    .ee-footer-bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-top: 18px;
    }

    .ee-footer-copyright {
        width: 100%;
        text-align: center;
    }
}

/* Product Header Styles */
.ee-product-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 50px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ee-border);
}

.ee-product-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--ee-navy), var(--ee-teal-dk));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.25);
    color: #fff;
}

.ee-product-text h2 {
    font-family: var(--ee-mono);
    font-size: 24px;
    font-weight: 700;
    color: var(--ee-navy);
    margin: 0;
    letter-spacing: -0.02em;
}

.ee-product-text p {
    font-size: 13px;
    color: var(--ee-text-muted);
    margin: 3px 0 0 0;
    font-weight: 400;
}

/* Subscription product tabs (below profile secondary nav) */
.ee-subscription-product-nav {
    background: #fff;
    width: 100%;
    position: relative;
}

.ee-subscription-product-nav .ee-subscription-product-nav-container {
    gap: 0;
    justify-content: center;
}

.subscription-product-tab.active {
    color: var(--ee-navy) !important;
    border-bottom-color: #c49a0c;
}

.subscription-product-tab {
    background: transparent;
    border: none;
    cursor: pointer;
    font: inherit;
}

/* Product Tabs */
.ee-product-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 0;
    border-bottom: 1px solid var(--ee-border);
    padding-bottom: 0;
    overflow-x: auto;
}

.ee-product-tab {
    /*padding: 10px 16px;    
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;*/
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ee-product-tab-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
    flex-shrink: 0;
}

.ee-product-content {
    display: none;
}

.ee-product-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.ee-product-content .ee-section:nth-child(even) {
    background-color: #FFFFFF;
}

.kt-btn-primary{
    font-size: 14px;
    font-weight: 600;
    background: #0B2444;
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.bg-slate-200 {
    background-color: var(--color-slate-200);
}
.w-px {
    width: 1px;
}
.h-px{
    height: 1px;
}
.h-\[18px\] {
    height: 18px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Pricing Plans Styles */

#pricing_table {
    background: #fff;
}
#pricing_table td,
#pricing_table th {
    background: #fff;
    color: #0b2444;
}
#pricing_table tr.pricing-app-child td:first-child {
    border-radius: 0 !important;
}
#pricing_table .pricing-app-group:first-of-type > tr.application > td:first-child {
    border-top-left-radius: 0.75rem;
}
[dir="rtl"] #pricing_table .pricing-app-group:first-of-type > tr.application > td:first-child {
    border-top-left-radius: 0;
    border-top-right-radius: 0.75rem;
}
#pricing_table tr.application td {
    background: #f4f4f5;
}
#pricing_table tr.application td[class*="plan_"] {
    text-align: center;
    vertical-align: middle;
}
#pricing_table tr.application td[class*="plan_"] .pricing-app-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}
#pricing_table tr.application td[class*="plan_"] .application-buy-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
#pricing_table tr.application td[class*="plan_"] .application-buy-actions-dual {
    justify-content: center;
}
#pricing_table tr.pricing-app-child td {
    background: #fff;
}
#pricing_table tr.pricing-plan-header-row > td {
    background: #fff;
}
#pricing_table tr.pricing-plan-header-row > td.pricing-plan-column {
    vertical-align: top;
}
#pricing_table .pricing-plan-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#pricing_table .pricing-plan-card-top {
    flex: 1 1 auto;
}
#pricing_table .pricing-plan-description {
    flex: 0 0 auto;
}
#pricing_table .pricing-plan-description-hover {
    position: relative;
    cursor: default;
    z-index: 1;
}
#pricing_table .pricing-plan-description-hover.is-popover-open {
    z-index: 70;
}
#pricing_table .pricing-plan-description-hover.has-truncated-description {
    cursor: pointer;
}
#pricing_table .pricing-plan-description-clamp {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.5;
    min-height: calc(1.5em * 2);
    max-height: calc(1.5em * 2);
    word-break: break-word;
}
#pricing_table .pricing-plan-description-popover {
    display: none;
    position: fixed;
    z-index: 80;
    min-width: 200px;
    max-width: 280px;
    width: max-content;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(11, 36, 68, 0.12);
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    pointer-events: none;
    word-break: break-word;
}
#pricing_table .pricing-plan-description-hover.is-popover-open .pricing-plan-description-popover {
    display: block;
}
#pricing_table .pricing-plan-footer {
    flex-shrink: 0;
    margin-top: 0;
    padding-top: 0.5rem;
}
#pricing_table .pricing-plan-footer-spacer {
    min-height: 2.5rem;
}
#pricing_table .plan-buy-actions-dual,
#pricing_table .application-buy-actions-dual {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
    width: 100%;
}
#pricing_table .pricing-status-label {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    text-align: center;
    white-space: nowrap;
}
#pricing_table .pricing-status-label i {
    line-height: 1;
    font-size: 0.875rem;
    flex-shrink: 0;
}
#pricing_table .application-buy-actions-dual > .only-app-buy-button {
    flex: 1 1 0;
    width: auto !important;
    max-width: none;
    min-width: 0;
}
#pricing_table .application-buy-wrap .application-buy-actions-dual {
    gap: 0.375rem;
}
#pricing_table .application-buy-wrap .application-buy-actions-dual > .pricing-app-trial-status {
    flex: 1 1 auto;
    min-width: 0;
    padding-inline: 0.4375rem 0.3125rem;
    gap: 0.25rem;
    font-size: 0.6875rem;
    line-height: 1;
}
#pricing_table .application-buy-wrap .application-buy-actions-dual > .pricing-app-trial-status i {
    font-size: 0.75rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#pricing_table .application-buy-wrap .application-buy-actions-dual > .only-app-buy-button:not(.pricing-app-trial-status) {
    flex: 0 0 auto;
    min-width: 2.5rem;
    padding-inline: 0.625rem;
    font-size: 0.6875rem;
    line-height: 1;
}
#pricing_table .plan-buy-wrap.application-buy-actions .plan-buy-actions-dual > .plan-buy-trial,
#pricing_table .plan-buy-wrap.application-buy-actions .plan-buy-actions-dual > .plan-buy-purchase,
#pricing_table .plan-buy-wrap.application-buy-actions .plan-buy-actions-dual > span.kt-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
}
#pricing_table .application-buy-actions,
#pricing_table .plan-buy-wrap.application-buy-actions {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 0.5rem;
}

.application-buy-actions {
    display: flex;
    gap: 10px;
}

#pricing_table .application-buy-actions > .only-app-buy-button,
#pricing_table .application-buy-actions > .plan-buy-trial,
#pricing_table .application-buy-actions > .plan-buy-purchase,
#pricing_table .plan-buy-wrap.application-buy-actions > .plan-buy-trial,
#pricing_table .plan-buy-wrap.application-buy-actions > .plan-buy-purchase,
#pricing_table .plan-buy-wrap.application-buy-actions > .only-app-buy-button {
    flex: 0 0 auto;
    width: 100% !important;
    max-width: 100%;
}
#pricing_table .plan-buy-purchase.is-hidden {
    display: none !important;
}
#pricing_table .application-buy-wrap.is-hidden {
    display: none !important;
}
#pricing_table .application-buy-wrap,
#pricing_table .plan-buy-wrap:not(.pricing-plan-footer-spacer) {
    margin-top: 0.5rem;
}
#pricing_table .app_trial_hint,
#pricing_table .plan_trial_hint {
    margin-top: 0.5rem;
}
#pricing_table .pricing-price-period {
    font-size: 0.65em;
    font-weight: 400;
    color: #7a8fa8;
    margin-left: 1px;
    white-space: nowrap;
}
#pricing_table tr.application label.kt-accordion-toggle {
    position: relative;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding-right: 1.25rem;
}
#pricing_table tr.application label.kt-accordion-toggle > .pricing-app-cell {
    width: 100% !important;
    padding-left: 0 !important;
}
#pricing_table tr.application .pricing-app-plus,
#pricing_table tr.application .pricing-app-minus {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
}
.pricing-contract-selector {
    text-align: center;
    margin-bottom: 2.5rem;
}
.pricing-contract-heading {
    font-size: clamp(1.75rem, 4vw, 2.875rem);
    font-weight: 700;
    color: #0b2444;
    line-height: 1.15;
    margin: 0 0 1.75rem;
}
.pricing-contract-heading-accent {
    color: #1a9e78;
    font-style: italic;
    font-weight: 400;
}
.pricing-contract-toggle {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem;
    padding: 4px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
}
.pricing-contract-toggle-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 7rem;
    padding: 10px 24px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    color: #0b2444;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    border: none;
    background: transparent;
    margin: 0;
}
.pricing-contract-toggle-option.is-active {
    background: #0b2444;
    color: #fff;
}
.pricing-contract-toggle-option.is-active .pricing-contract-save-badge {
    font-size: 12px;
    font-weight: 700;
    font-family: Inter, Roboto, sans-serif;
    background: #e6f7f2;
    color: #0f6e56;
    padding: 2px 8px;
    border-radius: 9999px;
    line-height: 1.2;
}
.pricing-contract-save-badge {
    font-size: 12px;
    font-weight: 700;
    font-family: Inter, Roboto, sans-serif;
    background: #e6f7f2;
    color: #0f6e56;
    padding: 2px 8px;
    border-radius: 9999px;
    line-height: 1.2;
}

/* Pricing table — whole plan column hover (CSS :has, columns 2–12) */
#pricing_table td[class*="plan_"] {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-radius 0.2s ease;
}
#pricing_table:has(td:nth-child(2):hover) td:nth-child(2),
#pricing_table:has(td:nth-child(3):hover) td:nth-child(3),
#pricing_table:has(td:nth-child(4):hover) td:nth-child(4),
#pricing_table:has(td:nth-child(5):hover) td:nth-child(5),
#pricing_table:has(td:nth-child(6):hover) td:nth-child(6),
#pricing_table:has(td:nth-child(7):hover) td:nth-child(7),
#pricing_table:has(td:nth-child(8):hover) td:nth-child(8),
#pricing_table:has(td:nth-child(9):hover) td:nth-child(9),
#pricing_table:has(td:nth-child(10):hover) td:nth-child(10),
#pricing_table:has(td:nth-child(11):hover) td:nth-child(11),
#pricing_table:has(td:nth-child(12):hover) td:nth-child(12),
#pricing_table:has(td:last-child:hover) td:last-child {
    position: relative;
    z-index: 2;
    background: #fff !important;
    border-left: 2px solid var(--teal-dk) !important;
    border-right: 2px solid var(--teal-dk) !important;
    border-top: 1px solid var(--border, #e2e8f0) !important;
    border-bottom: 1px solid var(--border, #e2e8f0) !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}
#pricing_table:has(td:nth-child(2):hover) tr.pricing-plan-header-row td:nth-child(2),
#pricing_table:has(td:nth-child(3):hover) tr.pricing-plan-header-row td:nth-child(3),
#pricing_table:has(td:nth-child(4):hover) tr.pricing-plan-header-row td:nth-child(4),
#pricing_table:has(td:nth-child(5):hover) tr.pricing-plan-header-row td:nth-child(5),
#pricing_table:has(td:nth-child(6):hover) tr.pricing-plan-header-row td:nth-child(6),
#pricing_table:has(td:nth-child(7):hover) tr.pricing-plan-header-row td:nth-child(7),
#pricing_table:has(td:nth-child(8):hover) tr.pricing-plan-header-row td:nth-child(8),
#pricing_table:has(td:nth-child(9):hover) tr.pricing-plan-header-row td:nth-child(9),
#pricing_table:has(td:nth-child(10):hover) tr.pricing-plan-header-row td:nth-child(10),
#pricing_table:has(td:nth-child(11):hover) tr.pricing-plan-header-row td:nth-child(11),
#pricing_table:has(td:nth-child(12):hover) tr.pricing-plan-header-row td:nth-child(12),
#pricing_table:has(td:last-child:hover) tr.pricing-plan-header-row td:last-child {
    border-top: 2px solid var(--teal-dk) !important;
}
#pricing_table:has(td:nth-child(2):hover) tr.pricing-plan-header-row td:nth-child(2) {
    border-top-left-radius: 0.75rem !important;
}
#pricing_table:has(td:last-child:hover) tr.pricing-plan-header-row td:last-child {
    border-top-right-radius: 0.75rem !important;
}
/* Bottom border: target last visible row (not hidden .pricing-app-child rows when collapsed) */
#pricing_table:has(td:nth-child(2):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(2),
#pricing_table:has(td:nth-child(2):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(2),
#pricing_table:has(td:nth-child(3):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(3),
#pricing_table:has(td:nth-child(3):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(3),
#pricing_table:has(td:nth-child(4):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(4),
#pricing_table:has(td:nth-child(4):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(4),
#pricing_table:has(td:nth-child(5):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(5),
#pricing_table:has(td:nth-child(5):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(5),
#pricing_table:has(td:nth-child(6):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(6),
#pricing_table:has(td:nth-child(6):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(6),
#pricing_table:has(td:nth-child(7):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(7),
#pricing_table:has(td:nth-child(7):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(7),
#pricing_table:has(td:nth-child(8):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(8),
#pricing_table:has(td:nth-child(8):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(8),
#pricing_table:has(td:nth-child(9):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(9),
#pricing_table:has(td:nth-child(9):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(9),
#pricing_table:has(td:nth-child(10):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(10),
#pricing_table:has(td:nth-child(10):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(10),
#pricing_table:has(td:nth-child(11):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(11),
#pricing_table:has(td:nth-child(11):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(11),
#pricing_table:has(td:nth-child(12):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:nth-child(12),
#pricing_table:has(td:nth-child(12):hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:nth-child(12),
#pricing_table:has(td:last-child:hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked) > tr.pricing-app-child:last-child td:last-child,
#pricing_table:has(td:last-child:hover) .pricing-app-group:last-child:has(.pricing-app-toggle:checked):not(:has(> tr.pricing-app-child)) > tr.application td:last-child {
    border-bottom: 2px solid var(--teal-dk) !important;
}
#pricing_table:has(td:nth-child(2):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(2),
#pricing_table:has(td:nth-child(3):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(3),
#pricing_table:has(td:nth-child(4):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(4),
#pricing_table:has(td:nth-child(5):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(5),
#pricing_table:has(td:nth-child(6):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(6),
#pricing_table:has(td:nth-child(7):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(7),
#pricing_table:has(td:nth-child(8):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(8),
#pricing_table:has(td:nth-child(9):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(9),
#pricing_table:has(td:nth-child(10):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(10),
#pricing_table:has(td:nth-child(11):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(11),
#pricing_table:has(td:nth-child(12):hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:nth-child(12),
#pricing_table:has(td:last-child:hover) .pricing-app-group:last-child:not(:has(.pricing-app-toggle:checked)) > tr.application td:last-child {
    border-bottom: 2px solid var(--teal-dk) !important;
}