/* ========================================
   LIVESTOCKX TOOLS
   APP SHELL
======================================== */

:root {

    /* Branding
    ======================== */

    --lx-primary: #24543b;
    --lx-secondary: #c9a227;

    /* Neutral Colors
    ======================== */

    --lx-background: #f5f7f5;
    --lx-surface: #ffffff;

    --lx-border: #d7ddd8;

    --lx-text: #253128;
    --lx-text-light: #6b776e;

    /* Status */

    --lx-success: #2e7d32;
    --lx-warning: #f9a825;
    --lx-danger: #c62828;

    /* Typography
    ======================== */

    --lx-font:
        Inter,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    /* Radius
    ======================== */

    --lx-radius-sm: 6px;
    --lx-radius: 10px;
    --lx-radius-lg: 16px;

    /* Shadows
    ======================== */

    --lx-shadow-sm:
        0 1px 2px rgba(0,0,0,.05);

    --lx-shadow:
        0 4px 16px rgba(0,0,0,.08);

    --lx-shadow-lg:
        0 10px 30px rgba(0,0,0,.10);

    /* Layout
    ======================== */

    --lx-max-width: 960px;

    --lx-header-height: 84px;

    --lx-nav-height: 72px;

    /* Animation */

    --lx-speed: .2s;

}

/* ========================================
   BASE
======================================== */

html {

    background: var(--lx-background);

    font-family: var(--lx-font);

}

body {

    background: var(--lx-background);

    color: var(--lx-text);

    min-height: 100vh;

}

/* ========================================
   APP
======================================== */

.lx-app {

    display: flex;

    flex-direction: column;

    min-height: 100vh;

}

/* ========================================
   HEADER
======================================== */

.lx-header {

    display: flex;

    align-items: center;

    gap: 18px;

    padding: 18px;

    background: var(--lx-primary);

    color: white;

    box-shadow: var(--lx-shadow);

}

.lx-header__logo img {

    width: 60px;

    height: 60px;

    object-fit: contain;

}

.lx-header__text {

    display: flex;

    flex-direction: column;

}

.lx-header h1 {

    font-size: 1.35rem;

    font-weight: 700;

}

.lx-header p {

    margin-top: 2px;

    color: rgba(255,255,255,.85);

    font-size: .95rem;

}

/* ========================================
   DESKTOP TABS
======================================== */

.lx-tabs {

    display: none;

    background: white;

    border-bottom: 1px solid var(--lx-border);

}

.lx-tabs__item {

    padding: 18px 28px;

    transition: .2s;

    font-weight: 600;

}

.lx-tabs__item:hover {

    background: #f4f6f4;

}

.lx-tabs__item.active {

    color: var(--lx-primary);

    box-shadow:
        inset 0 -3px 0 var(--lx-secondary);

}

/* ========================================
   INSTALL
======================================== */

.lx-install-banner {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 20px;

    padding: 18px;

    background: #fff9e6;

    border-bottom: 1px solid #ead89d;

}

.lx-install-banner.hidden {

    display: none;

}

.lx-install-banner {

    position: relative;

}

.lx-install-banner__close {

    position: absolute;

    top: 10px;

    right: 10px;

    border: 0;

    background: none;

    cursor: pointer;

    font-size: 22px;

    color: inherit;

}

.lx-install-banner__content {

    margin-right: 80px;

}

.hidden {
    display: none !important;
}

.lx-install-banner h3 {

    margin-bottom: 6px;

    font-size: 1.1rem;

}

.lx-install-banner p {

    margin: 0;

    line-height: 1.5;

}

/* ========================================
   CONTENT
======================================== */

.lx-main {

    flex: 1;

    width: 100%;

    padding: 20px;

}

.lx-main__content {

    width: 100%;

    max-width: var(--lx-max-width);

    margin: auto;

}

/* ========================================
   FOOTER
======================================== */

.lx-footer {

    padding: 20px;

    text-align: center;

    color: var(--lx-text-light);

    font-size: .9rem;

}

/* ========================================
   MOBILE NAV
======================================== */

.lx-nav {

    position: sticky;

    bottom: 0;

    display: flex;

    justify-content: space-around;

    background: white;

    border-top: 1px solid var(--lx-border);

    height: var(--lx-nav-height);

}

.lx-nav__item {

    display: flex;

    flex-direction: column;

    justify-content: center;

    align-items: center;

    gap: 4px;

    flex: 1;

    color: var(--lx-text-light);

    transition: .2s;

}

.lx-nav__item.active {

    color: var(--lx-primary);

}

.lx-nav__icon {

    width: 22px;

    height: 22px;

}

/* ========================================
   BUTTONS
======================================== */

.lx-button {

    display: inline-flex;

    justify-content: center;

    align-items: center;

    gap: 8px;

    padding: 12px 20px;

    border-radius: var(--lx-radius);

    background: var(--lx-primary);

    color: white;

    font-weight: 600;

    transition: .2s;

}

.lx-button:hover {

    filter: brightness(1.08);

}

.lx-button--secondary {

    background: white;

    color: var(--lx-primary);

    border: 1px solid var(--lx-border);

}

/* ========================================
   CARD
======================================== */

.lx-card {

    background: white;

    border-radius: var(--lx-radius-lg);

    box-shadow: var(--lx-shadow);

    padding: 24px;

}

/* ========================================
   LOADING
======================================== */

.lx-loading {

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 80px;

    color: var(--lx-text-light);

}

/* ========================================
   DESKTOP
======================================== */

@media (min-width: 768px) {

    .lx-tabs {

        display: flex;

        justify-content: center;

    }

    .lx-nav {

        display: none;

    }

    .lx-header {

        justify-content: center;

        padding: 26px;

    }

    .lx-main {

        padding: 40px;

    }

}