/* Prevent parent theme/plugin overrides */

.fstcw-wrapper * {

    box-sizing: border-box;
}

.upfp_row .fstcw-wrapper .status-pill * {

    font-size: 11px;
}

.upfp_row .fstcw-wrapper .status-option *{

    font-size: 12px;
}

/* =========================================
   WRAPPER
========================================= */

.fstcw-wrapper {
    padding: 20px;
}


/* =========================================
   TITLE
========================================= */

.fstcw-title {

    font-size: 16px;

    font-weight: 600;

    margin-bottom: 14px;

    color: #111827;
}


/* =========================================
   ITEM ROW
========================================= */

.fstcw-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    padding: 6px 0;
}


/* =========================================
   STEP LABEL
========================================= */

.upfp_row .fstcw-step {

    font-size: 12px;

    font-weight: 500;

    color: #374151;

    white-space: nowrap;
}


/* =========================================
   STATUS WRAPPER
========================================= */

.fstcw-status-wrapper {

    position: relative;

    display: inline-block;
}


/* =========================================
   STATUS BUTTON
========================================= */

.status-pill {

    border: 1px solid #e5e7eb;

    background: #ffffff;

    color: #374151;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 600;

    cursor: pointer;

    min-width: 128px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 10px;

    transition: all .2s ease;

    box-shadow:
        0 1px 2px rgba(0,0,0,.04);
}


/* =========================================
   HOVER
========================================= */

.status-pill:hover {

    background: #f9fafb;

    transform: translateY(-1px);
}


/* =========================================
   ARROW
========================================= */

.status-arrow {

    font-size: 9px;

    opacity: .55;
}


/* =========================================
   STATUS COLORS
========================================= */

.status-pill.pending {

    background: #ffffff !important;

    color: #b45309 !important;
}

.status-pill.progress {

    background: #ffffff !important;

    color: #2563eb !important;
}

.status-pill.done {

    background: #ffffff !important;

    color: #16a34a !important;
}


/* =========================================
   KEEP COLORS ON HOVER
========================================= */

.status-pill.pending:hover {

    color: #b45309 !important;
}

.status-pill.progress:hover {

    color: #2563eb !important;
}

.status-pill.done:hover {

    color: #16a34a !important;
}



/* =========================================
   DROPDOWN
========================================= */

.status-dropdown {

    position: absolute;

    top: calc(100% + 6px);

    right: 0;

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    min-width: 160px;

    border: 1px solid #e5e7eb;

    box-shadow:
        0 10px 25px rgba(0,0,0,.08);

    display: none;

    z-index: 9999;
}


/* =========================================
   OPEN
========================================= */

.fstcw-status-wrapper.open .status-dropdown {

    display: block;
}


/* =========================================
   OPTION
========================================= */

.status-option {

    padding: 10px 12px;

    font-size: 12px;

    color: #374151;

    cursor: pointer;

    transition: background .15s ease;
}


/* =========================================
   OPTION HOVER
========================================= */

.status-option:hover {

    background: #f3f4f6;
}
