.label-status{
    border-radius: 20px;
    padding: 5px 15px;
    color: #222;
}

.label-status.draft{
    background-color: #888787;
    color:#fff;
}

.label-status.ready{
    background-color: #fdc96a;
}
.label-status.published{
    background-color: #b6f49e;
}
.label-status.finished{
    background-color: #50649c;
    color:#fff;
}

.red-button {
    background-color: #d25175 !important;
    color: #ffffff !important;
    border: none !important;
}

.error-message {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}

.wppfesm.welcome-panel{
    background-color:transparent !important;
}





/* Wrapper around the entire dashboard area */
.sales-manager-wrap {
    margin: 20px 0;
    font-family: "Open Sans", sans-serif; /* Optional custom font */
}

/* ========== WELCOME PANEL ========== */
.sales-manager-wrap .wppfesm.welcome-panel {
    background-color: #f7f7f7;
    border-left: 4px solid #0073aa; /* WP primary color */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 3px;
}

.sales-manager-wrap .wppfesm.welcome-panel h2 {
    margin-top: 0;
    font-size: 24px;
    color: #0073aa;
}

.sales-manager-wrap .wppfesm.welcome-panel p {
    font-size: 15px;
    color: #555;
    margin: 10px 0;
}

.sales-manager-wrap .welcome-panel-column-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.sales-manager-wrap .welcome-panel-column {
    flex: 1;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 15px;
}

.sales-manager-wrap .welcome-panel-column h3 {
    margin-top: 0;
    font-size: 18px;
    color: #333;
}

.sales-manager-wrap .welcome-panel-column ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sales-manager-wrap .welcome-panel-column li {
    padding: 5px 0;
    border-bottom: 1px solid #f1f1f1;
}

.sales-manager-wrap .welcome-panel-column li:last-child {
    border-bottom: none;
}

.sales-manager-wrap .welcome-panel-column a {
    color: #0073aa;
    text-decoration: none;
}

.sales-manager-wrap .welcome-panel-column a:hover {
    text-decoration: underline;
}

/* ========== CARD COMPONENT ========== */
.sales-manager-wrap .card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 20px;
    max-width:inherit;
    margin-bottom: 20px;
}

.sales-manager-wrap .card h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 20px;
    color: #0073aa;
    display: flex;
    align-items: center;
}

.sales-manager-wrap .card h2::before {
    /* Example icon using a Dashicon */
    content: "\f147"; /* dashicons-tag icon */
    font-family: "Dashicons";
    font-size: 24px;
    margin-right: 8px;
    color: #0073aa;
}

.sales-manager-wrap .card p {
    font-size: 14px;
    color: #555;
    line-height: 1.6em;
    margin-bottom: 15px;
}

/* How it works list styling */
.sales-manager-wrap .how-it-works-card ol {
    counter-reset: hiwCounter;
    margin-left: 0;
    padding-left: 0;
}

.sales-manager-wrap .how-it-works-card li {
    list-style: none;
    margin: 10px 0;
    position: relative;
    padding-left: 30px;
}

.sales-manager-wrap .how-it-works-card li::before {
    counter-increment: hiwCounter;
    content: counter(hiwCounter) ". ";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
    color: #0073aa;
}

/* ========== RECENT ACTIVITY ========== */
.sales-manager-wrap .recent-activity-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sales-manager-wrap .recent-activity-card li {
    margin: 10px 0;
    padding: 10px;
    border-left: 4px solid #0073aa1c; /* Subtle accent on the left */
    background: #fafafa;
    border-radius: 3px;
    position: relative;
}

.sales-manager-wrap .recent-activity-card li:not(:last-child) {
    margin-bottom: 12px;
}

.sales-manager-wrap .recent-activity-card li strong {
    color: #0073aa;
}

.w-100{
    width:100%;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 782px) {
    .sales-manager-wrap .welcome-panel-column-container {
        flex-direction: column;
    }
    .sales-manager-wrap .welcome-panel-column {
        margin-bottom: 15px;
    }
}

.sales-manager-wrap .my-grid-container {
    display: grid; /* or display: flex; */
    grid-template-columns: 1fr 1fr; /* two equal-width columns */
    gap: 20px;
    width:calc(100% - 20px);
}
.sales-manager-wrap .my-grid-item {
    background: #fff;
    border: 1px solid #e2e2e2;
    padding: 15px;
}

.category-level-0 {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.category-level-0 > li {
    margin-bottom: 10px;
}

.category-level-1 {
    margin-left: 20px;
    list-style-type: disc;
}

.category-level-2 {
    margin-left: 40px;
    list-style-type: circle;
}

.category-name {
    font-weight: bold;
    margin-right: 10px;
}

.reduce-price-checkbox {
    margin-left: 10px;
}




/* Indent each level */
.wppfesm-cat-level-0 { margin: 0; padding-left: 0; }
.wppfesm-cat-level-1 { margin: 0; padding-left: 20px; }
.wppfesm-cat-level-2 { margin: 0; padding-left: 20px; }
/* Increase padding further for deeper levels as needed */

/* Remove default list style */
.wppfesm-categories-hierarchy ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.wppfesm-cat-item {
    margin-bottom: 8px;
    position: relative;
}

.toggle-children, .toggle-children-spacer {
    display: inline-block;
    width: 24px; /* Reserve space for the toggle icon */
    vertical-align: middle;
    cursor: pointer;
}

.toggle-children-spacer {
    cursor: default;
}

.toggle-children:before {
    font-family: "Dashicons";
    content: "\f347"; /* dashicons-arrow-down-alt2 */
    font-size: 16px;
    margin-right: 2px;
}

.wppfesm-cat-item.collapsed > ul {
    display: none;
}

/* You can also style the checkboxes or percentage inputs as desired */
.wppfesm-cat-name {
    font-weight: bold;
    margin-right: 10px;
}
.wppfesm-reduce-label,
.wppfesm-percentage-label {
    margin-left: 10px;
}
