/* ============================= */
/*        WIZARD CONTAINER       */
/* ============================= */

/* Desktop */
.wizard-container {
    max-width: 1100px;
    margin: auto;
}

.fnt-weight
{
    font-weight: bold;
}

.modal-header-txt
{
    color: #121212;
    font-weight: bold;
}

.btn-section
{
    background:#015eb5 !important;
}
.btn-back
{
border-color:#121212 !important;
color: #121212 !important;
background:#fff;
}

.btn-back:hover
{
border-color:#121212 !important;
color: #121212 !important;
background:#ddd;
}

.txt-box-bg
{
    background:#eee;
}

/* ============================= */
/*        LABOR SECTION          */
/* ============================= */

/* Header */
.labor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.add-btn {
    border-radius: 10px;
    font-weight: 600;
    padding: 6px 14px;
    font-size: 12px;
}

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

.labor-card {
    background: #f9fafb;
    border-radius: 14px;
    padding: 16px;
    border: 1px solid #eeeeee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.labor-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* Icon box */
.labor-icon {
    width: 48px;
    height: 48px;
    background: #e6f0ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #0d6efd;
}

/* ============================= */
/*       THREE DOT MENU          */
/* ============================= */

.custom-dropdown {
    position: relative;
}

.dropdown-toggle-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.dropdown-menu-custom {
    position: absolute;
    right: 0;
    top: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
    list-style: none;
    padding: 6px 0;
    margin: 6px 0 0;
    display: none;
    min-width: 140px;
    z-index: 1000;
}

.dropdown-menu-custom li a {
    display: block;
    padding: 8px 14px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.dropdown-menu-custom li a:hover {
    background: #f5f5f5;
}

/* Remove click border / outline on 3-dot button */
.dropdown-toggle-btn,
.menu-dots {
    border: none;
    background: none;
    outline: none;
    box-shadow: none;
}

/* Remove focus ring */
.dropdown-toggle-btn:focus,
.menu-dots:focus {
    outline: none;
    box-shadow: none;
}

/* Remove active click effect */
.dropdown-toggle-btn:active,
.menu-dots:active {
    outline: none;
    box-shadow: none;
    background: transparent;
}


/* ============================= */
/*        MOBILE VIEW            */
/* ============================= */

@media (max-width: 576px) {
    .labor-card {
        padding: 14px;
    }

    .labor-icon {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
}

/* ============================= */
/*       DWR SUMMARY CARD        */
/* ============================= */

.dwr-summary-card {
    background: #f4f9ff;
    border: 2px solid #4a90ff;
    border-radius: 16px;
    padding: 18px 22px;
}

/* Header */
.dwr-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.dwr-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0d6efd;
    font-size: 18px;
}

/* Body rows */
.dwr-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 16px;
}

/* .label {
    color: #555;
} */

.value {
    font-weight: 600;
    color: #222;
}

/* Bid button */
.bid-btn {
    border-radius: 6px;
    font-size: 13px;
    padding: 3px 10px;
}

/* Mobile */
@media (max-width: 576px) {
    .dwr-row {
        font-size: 14px;
    }
}



/* Tablet */
@media (min-width: 577px) and (max-width: 991px) {
    .wizard-container {
        max-width: 750px;
    }
}

/* Mobile App Style */
@media (max-width: 576px) {
    .wizard-container {
        max-width: 100%;
        padding: 0;
    }

    .wizard-container .card {
        border-radius: 0 !important;
        /* min-height: 100vh; */
        box-shadow: none;
    }

    .wizard-container .card-body {
        padding: 20px !important;
    }
}


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

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.step-header span {
    font-size: 14px;
    color: #374151;
}

#stepPercent {
    text-align: right;
    min-width: 40px;
}


/* ============================= */
/*       STEP PROGRESS BAR       */
/* ============================= */

.step-progress {
    display: flex;
    width: 100%;
    margin-top: 6px;
    gap: 8px;
}

.step-seg {
    flex: 1;
    height: 7px;
    background: #e5e7eb;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.step-seg.active {
    background: #0d6efd;
}


/* ============================= */
/*        📱 MOBILE VIEW         */
/* ============================= */

@media (max-width: 576px) {

    .step-header span {
        font-size: 13px;
    }

    .step-progress {
        gap: 4px;
        margin-top: 4px;
    }

    .step-seg {
        height: 4px;
        border-radius: 20px;
    }
}


/* ============================= */
/*        📟 TABLET VIEW         */
/* ============================= */

@media (min-width: 577px) and (max-width: 991px) {

    .step-progress {
        gap: 6px;
    }

    .step-seg {
        height: 5px;
        border-radius: 30px;
    }
}


/* ============================= */
/*        💻 DESKTOP VIEW        */
/* ============================= */

@media (min-width: 992px) {

    .step-progress {
        gap: 8px;
    }

    .step-seg {
        height: 7px;
    }
}

/* ============================= */
/*     STICKY FOOTER INSIDE CARD */
/* ============================= */

.wizard-footer {
    margin-top: 30px;
}

/* Buttons row */
.wizard-buttons {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center;
}

/* 📱 Mobile + Tablet behavior */
@media (max-width: 991px) {

    .wizard-footer {
        position: sticky;
        bottom: 0;
        background: #ffffff;
        padding-top: 12px;
        margin-top: 40px;
    }

    /* subtle separator line */
    .wizard-footer::before {
        content: "";
        display: block;
        height: 1px;
        background: #eee;
        margin-bottom: 10px;
    }

    #nextBtn,
    #finishBtn {
        margin-left: auto;
    }
}


/* ============================= */
/*        LABOR MODAL            */
/* ============================= */

.labor-modal-card {
    border-radius: 22px;
    padding: 10px 10px 20px;
}

/* Close icon */
.close-btn {
    border: 1px solid #015eb5;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    opacity: 1;
    background:#015eb5;
    font-weight:bold;
    color:#fff;
}

/* Submit button */
.submit-btn {
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    margin-top: 10px;
    background:#015eb5;
    width:150px;
}

/* Mobile app-style sheet */

@media (max-width: 576px) {

    .labor-modal .modal-dialog {
        margin: auto;                 /* center horizontally */
        width: 92%;
        max-width: 420px;
        height: 100%;
        display: flex;
        align-items: center;          /* 🔥 vertical center */
        justify-content: center;
    }

    .labor-modal .modal-content {
        border-radius: 20px;
        width: 100%;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 12px 30px rgba(0,0,0,0.18);
    }

    .modal-body {
        padding: 18px;
    }
}

