/* Стили для откликов */
.sm-bid-item {
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 15px;
    background: #f9f9f9;
    border-radius: 4px;
}
.sm-bid-author {
    font-weight: bold;
    margin-bottom: 5px;
}
.sm-bid-author img {
    vertical-align: middle;
    margin-right: 5px;
    border-radius: 50%;
}
.sm-bid-history {
    margin: 5px 0 5px 20px;
    border-left: 2px solid #ccc;
    padding-left: 10px;
}
.sm-bid-offer {
    margin-bottom: 3px;
    font-size: 14px;
}
.sm-bid-offer-from {
    font-weight: bold;
    color: #555;
}
.sm-bid-offer-date {
    color: #999;
    font-size: 12px;
}
.sm-bid-status {
    margin: 5px 0;
}
.sm-bid-actions {
    margin-top: 8px;
}
.sm-bid-actions .recall-button {
    margin-right: 5px;
}
/* =========================================================
   СТИЛИ ДЛЯ ОТКЛИКОВ (СОГЛАСОВАНИЕ ЗАКАЗА)
   ========================================================= */

.sm-bid-item {
    border: 1px solid #444 !important;
    padding: 15px;
    margin-bottom: 15px;
    background: var(--secondarybg) !important;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    color: var(--maintext);
}

.sm-bid-author {
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--titles);
}

.sm-bid-author img {
    vertical-align: middle;
    margin-right: 8px;
    border-radius: 50%;
    border: 2px solid var(--links);
}

.sm-bid-history {
    margin: 8px 0 8px 20px;
    border-left: 2px solid var(--links);
    padding-left: 12px;
}

.sm-bid-offer {
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--maintext);
}

.sm-bid-offer-from {
    font-weight: bold;
    color: var(--links);
}

.sm-bid-offer-date {
    color: #aaa;
    font-size: 12px;
}

.sm-bid-status {
    margin: 8px 0;
    padding: 4px 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    display: inline-block;
    font-weight: bold;
    color: var(--titles);
}

.sm-bid-actions {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sm-bid-actions .recall-button {
    padding: 6px 16px;
    background: linear-gradient(0deg, #4d4d4d 95%, #afafaf 100%) !important;
    border: 1px solid #000 !important;
    border-radius: 5px !important;
    box-shadow: inset 0 0 3px #ffffff, 0 0 5px #000000 !important;
    color: var(--links) !important;
    text-shadow: 0px 0px 2px #000 !important;
    text-decoration: none;
    transition: 0.3s;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;
}

.sm-bid-actions .recall-button:hover {
    color: var(--links-hover) !important;
    filter: brightness(1.1);
}

.sm-bid-actions .sm-accept-bid {
    background: linear-gradient(0deg, #2e7d32 95%, #4caf50 100%) !important;
    color: #fff !important;
}

.sm-bid-actions .sm-accept-bid:hover {
    background: linear-gradient(0deg, #1b5e20 95%, #388e3c 100%) !important;
    color: #fff !important;
}

.sm-bid-actions .sm-counter-offer {
    background: linear-gradient(0deg, #b8860b 95%, #dbb300 100%) !important;
    color: #fff !important;
}

.sm-bid-actions .sm-counter-offer:hover {
    background: linear-gradient(0deg, #9a7209 95%, #c4a000 100%) !important;
    color: #fff !important;
}

.sm-bid-actions .sm-withdraw-bid {
    background: linear-gradient(0deg, #7f1d1d 95%, #dc3545 100%) !important;
    color: #fff !important;
}

.sm-bid-actions .sm-withdraw-bid:hover {
    background: linear-gradient(0deg, #5c1414 95%, #c82333 100%) !important;
    color: #fff !important;
}

.sm-bid-other-count {
    padding: 10px 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    border-left: 3px solid var(--links);
    color: var(--maintext);
    margin-top: 10px;
}

.sm-bid-other-count strong {
    color: var(--links);
    font-size: 18px;
}

.sm-bid-already {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
    border: 1px solid #444;
    color: var(--maintext);
}

.sm-bid-already .sm-bid-already-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sm-bid-already .sm-bid-already-text i {
    color: var(--links);
}

.sm-bid-already .sm-withdraw-bid {
    padding: 4px 14px;
    background: linear-gradient(0deg, #7f1d1d 95%, #dc3545 100%) !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 5px !important;
    cursor: pointer;
    text-decoration: none;
    transition: 0.3s;
    font-size: 13px;
}

.sm-bid-already .sm-withdraw-bid:hover {
    background: linear-gradient(0deg, #5c1414 95%, #c82333 100%) !important;
    color: #fff !important;
}

@media (max-width: 600px) {
    .sm-bid-actions {
        flex-direction: column;
    }
    
    .sm-bid-actions .recall-button {
        width: 100%;
        text-align: center;
    }
    
    .sm-bid-already {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
/* Кнопка отказа от заказа (для согласованных заказов) */
.sm-bid-actions .sm-reject-order {
    background: linear-gradient(0deg, #7f1d1d 95%, #dc3545 100%) !important;
    color: #fff !important;
}

.sm-bid-actions .sm-reject-order:hover {
    background: linear-gradient(0deg, #5c1414 95%, #c82333 100%) !important;
    color: #fff !important;
}