/* ==========================================================================
   1. CARD CONTAINER
   ========================================================================== */
.wr-savelisting {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wr-tabbitem__listtwo {
    background: #ffffff;
    border: 1px solid #eef2f6;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 12px; /* Slightly smoother corners */
}

/* Very subtle hover - high level professional feel */
.wr-tabbitem__listtwo:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border-color: #e2e8f0; 
}

/* ==========================================================================
   2. IMAGE & CONTENT SECTION
   ========================================================================== */
.wr-deatlswithimg {
    display: flex;
    gap: 24px;
    flex: 1;
}

.wr-deatlswithimg figure {
    margin: 0;
    flex-shrink: 0;
    width: 250px !important;
}

.wr-deatlswithimg figure img {
    border-radius: 8px;
    object-fit: cover;
    width: 250px !important;
    height: 220px !important;
    display: block;
}

/* Category Tags - Freelancer Skill Style */
.wr-desclinks {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wr-desclinks li h5 { margin: 0; line-height: 1; }

.wr-desclinks li a {
    color: #475569;
    background: #f1f5f9; /* Soft grey like freelancer skills */
    padding: 6px 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 11px !important;
    border-radius: 50px; /* Capsule shape */
    display: inline-block;
}

/* Task Title */
.wr-icondetails h6 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.wr-icondetails h6 a {
    color: #1e293b;
    text-decoration: none;
}

/* Meta Stats */
.wr-rateviews {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: center;
}

.wr-rateviews li {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 5px;
}

.wr-yellow { color: #f59e0b !important; }

/* Performance Grid */
.wr-profilestatus {
    list-style: none;
    padding: 15px 0 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    border-top: 1px solid #f1f5f9;
}

.wr-profiletime span {
    font-size: 10px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

.wr-profileprogress {
    height: 6px !important;
    background-color: #f1f5f9 !important;
    border-radius: 10px;
}

/* Progress Colors */
.wr-profilestatus li:nth-child(1) .progress-bar { background-color: #235eb0; } 
.wr-profilestatus li:nth-child(2) .progress-bar { background-color: #10b981; } 
.wr-profilestatus li:nth-child(3) .progress-bar { background-color: #ef4444; }

/* ==========================================================================
   3. RIGHT SIDE ACTIONS (Price, Toggles, Icons)
   ========================================================================== */
.wr-itemlinks {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    border-left: 1px solid #f1f5f9;
    padding-left: 24px;
    margin-left: 20px;
    align-items: center;

}

.wr-startingprice {
    text-align: right;
    margin-bottom: 10px;
}

.wr-startingprice i {
    font-style: normal;
    font-size: 11px;
    color: #94a3b8;
    display: block;
    font-weight: 600;
}

.wr-startingprice span {
    font-size: 24px;
    font-weight: 800;
    color: #235eb0;
}

/* Switches and Action Icons Group */
.wr-action-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    align-items: flex-end;
}

.wr-switchservice {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    width: 100%;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.wr-tabicon {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 8px;
}

.wr-tabicon li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    border-radius: 8px;
    transition: all 0.2s;
}

.wr-tabicon li a:hover {
    background: #235eb0;
    color: #fff;
    border-color: #235eb0;
}

/* ==========================================================================
   4. MOBILE RESPONSIVE (Fixes Image, Toggles, and Sequence)
   ========================================================================== */
@media (max-width: 991px) {
    .wr-tabbitem__listtwo {
        flex-direction: column;
        padding: 20px;
    }

    .wr-deatlswithimg {
        flex-direction: column;
        gap: 15px;
    }

    .wr-deatlswithimg figure {
    margin: 0;
    flex-shrink: 0;
    width: 100% !important;
    }

    .wr-deatlswithimg figure img {
        width: 100% !important; /* Full width on mobile */
        height: auto !important;
        aspect-ratio: 16/9; /* Clean landscape look for tasks */
    }

    .wr-itemlinks {
        width: 100%;
        min-width: 100%;
        margin-left: 0;
        padding-left: 0;
        padding-top: 20px;
        border-left: none;
        border-top: 1px solid #f1f5f9;
        margin-top: 20px;
        align-items: flex-start; /* Align left for mobile reading */
    }

    .wr-startingprice {
        text-align: left;
    }

    .wr-action-footer {
        align-items: flex-start;
    }

    .wr-switchservice {
        justify-content: space-between; /* Space out toggle labels and buttons */
    }

    .wr-profilestatus {
        grid-template-columns: 1fr; /* Stack progress bars on mobile */
        gap: 12px;
    }

    .wr-savelisting .wr-tabbitem__list .wr-itemlinks .wr-tabicon {
        padding-top: 20px !important;
        justify-items: center;
        justify-content: center;
    }
}
