/* =========================================================
   Очередь просчетов: смена статуса по нажатию на клиента
   ========================================================= */

.calc-queue-floating-item {
    width: 100% !important;
    text-align: left !important;
    cursor: pointer !important;
    border-top: none !important;
    border-right: none !important;
    border-bottom: none !important;
    color: inherit !important;
}

.calc-queue-floating-item:hover {
    background: #f8fafc !important;
}

.calc-queue-floating-stats .sent-today {
    background: #ecfdf5 !important;
    border-color: #bbf7d0 !important;
}

.calc-queue-floating-stats .sent-today span,
.calc-queue-floating-stats .sent-today b {
    color: #047857 !important;
}

.calc-queue-floating-empty {
    padding: 10px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #64748b;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

.calc-queue-status-modal {
    width: 560px;
}

.calc-queue-status-client {
    padding: 12px;
    margin-bottom: 12px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-weight: 900;
}

.calc-queue-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.calc-queue-status-grid button {
    min-height: 48px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

.calc-queue-status-grid .now {
    background: #16a34a !important;
}

.calc-queue-status-grid .next {
    background: #1d4ed8 !important;
}

.calc-queue-status-grid .wait {
    background: #f97316 !important;
}

.calc-queue-status-grid .slow {
    background: #64748b !important;
}

.calc-queue-status-grid .sent {
    grid-column: 1 / -1;
    background: #059669 !important;
}

.calc-queue-wait-block {
    margin-top: 12px;
    padding: 12px;
    border-radius: 14px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
}

.calc-queue-wait-block label {
    color: #9a3412;
}

.calc-queue-wait-block button {
    margin-top: 8px;
    background: #f97316 !important;
}

@media (max-width: 950px) {
    .calc-queue-status-modal {
        width: 100% !important;
        max-width: 100% !important;
    }

    .calc-queue-status-grid {
        grid-template-columns: 1fr !important;
    }
}
