.jb-main-dashboard {
    all: initial;
    font-family: "Inter", sans-serif;
    color: #1f2937;
    box-sizing: border-box;
    font-size: 14px;
    overflow: visible;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 18px;
    padding: 0;
    border-radius: 12px;
    margin: 0 auto;
    max-width: 1160px;
    width: 100%;
    align-items: start;
}

.jb-main-dashboard *,
.jb-main-dashboard *::before,
.jb-main-dashboard *::after {
    box-sizing: inherit;
}

.jb-main-dashboard a {
    color: #111827;
}

.jb-main-dashboard button,
.jb-main-dashboard input,
.jb-main-dashboard textarea,
.jb-main-dashboard select {
    font: inherit;
    color: inherit;
}

.jb-main-dashboard select,
.jb-main-dashboard textarea,
.jb-main-dashboard input:is([type="url"], [type="tel"], [type="text"], [type="time"], [type="date"], [type="datetime"], [type="datetime-local"], [type="email"], [type="number"], [type="search"], [type="password"]) {
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: #111827;
    box-shadow: none;
    font-size: 14px;
}

.jb-main-dashboard select:not(.jb-suite-category-select):not([multiple]) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M6 8l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 34px;
}

.jb-main-dashboard .button:not([class*="jb-suite-"]),
.jb-main-dashboard .added_to_cart:not([class*="jb-suite-"]),
.jb-main-dashboard [type="submit"]:not([class*="jb-suite-"]),
.jb-main-dashboard .wp-element-button:not([class*="jb-suite-"]),
.jb-main-dashboard .wp-block-button__link:not([class*="jb-suite-"]) {
    all: unset;
    font: inherit;
    color: inherit;
}

.jb-suite-dashboard-sidebar {
    background: #fff;
    border: 1px solid #dedbd2;
    border-radius: 12px;
    padding: 16px;
    min-width: 0;
}

@media (min-width: 992px) {
    .jb-suite-dashboard-sidebar {
        position: sticky;
        top: 16px;
        align-self: stretch;
        height: fit-content;
    }
}

.jb-suite-dashboard-brand {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.jb-suite-dashboard-logo {
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: auto;
}

.jb-suite-dashboard-logo img {
    max-width: 45px;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e5e1d9;
}

.jb-suite-dashboard-avatar img {
    max-width: 45px;
    height: auto;
    border-radius: 50%;
    display: block;
}

.jb-suite-dashboard-avatar {
    width: 16%;
}

.jb-suite-dashboard-brand-text strong {
    display: block;
    font-size: 16px;
}

.jb-suite-dashboard-brand-text span {
    color: #6b7280;
    font-size: 12px;
}

.jb-suite-dashboard-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.jb-suite-dashboard-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

.jb-suite-dashboard-menu a.is-active {
    background: #e7efe3;
    color: #1b5e20;
}

@media (max-width: 768px) {
    .jb-suite-dashboard-menu ul {
        display: flex;
        overflow: auto;
        padding-bottom: 10px;
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .jb-main-dashboard {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .jb-suite-dashboard-sidebar {
        overflow: hidden;
    }

    .jb-suite-dashboard-menu {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .jb-suite-dashboard-menu ul {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        padding-bottom: 6px;
        margin-bottom: 0;
    }

    .jb-suite-dashboard-menu li {
        flex: 0 0 auto;
    }

    .jb-suite-dashboard-menu a {
        display: inline-flex;
        align-items: center;
        min-height: 40px;
        padding: 10px 14px;
        font-size: 15px;
    }
}
