.status-dropdown {
    position: relative;
    display: inline-block;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid #e5e5e5;
    border-radius: 7px;
    background: #fff;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: #333;
    transition: background .15s ease, border-color .15s ease;
}

.status-badge:hover {
    background: #f8f8f8;
    border-color: #d8d8d8;
}

.status-chevron {
    margin-left: 2px;
    font-size: 13px;
    color: #999;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #999;
    flex-shrink: 0;
}

/* Statusfärger */

.status-pending .status-dot,
.status-dot-pending {
    background: #e5a100;
}

.status-paid .status-dot,
.status-dot-paid {
    background: #3b82f6;
}

.status-processing .status-dot,
.status-dot-processing {
    background: #8b5cf6;
}

.status-shipped .status-dot,
.status-dot-shipped {
    background: #06a77d;
}

.status-canceled .status-dot,
.status-dot-canceled {
    background: #d64545;
}


/* Dropdown */

.status-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 190px;
    padding: 5px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .10);
    z-index: 100;
}

.status-dropdown.open .status-menu {
    display: block;
}

.status-menu button {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border: 0;
    border-radius: 5px;
    background: transparent;
    cursor: pointer;
    text-align: left;
    font-size: 12px;
    color: #333;
}

.status-menu button:hover {
    background: #f5f5f5;
}